libZSservicesZSamazonka-docdbZSamazonka-docdb
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DocumentDB.DescribeDBInstances

Description

Returns information about provisioned Amazon DocumentDB instances. This API supports pagination.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeDBInstances Source #

Represents the input to DescribeDBInstances.

See: newDescribeDBInstances smart constructor.

Constructors

DescribeDBInstances' 

Fields

  • filters :: Maybe [Filter]

    A filter that specifies one or more instances to describe.

    Supported filters:

    • db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs.
    • db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.
  • dbInstanceIdentifier :: Maybe Text

    The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.

    Constraints:

    • If provided, must match the identifier of an existing DBInstance.
  • marker :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • maxRecords :: Maybe Int

    The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints: Minimum 20, maximum 100.

Instances

Instances details
Eq DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Read DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Show DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Generic DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Associated Types

type Rep DescribeDBInstances :: Type -> Type #

NFData DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Methods

rnf :: DescribeDBInstances -> () #

Hashable DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

AWSPager DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

AWSRequest DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Associated Types

type AWSResponse DescribeDBInstances #

ToHeaders DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

ToPath DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

ToQuery DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

type Rep DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

type Rep DescribeDBInstances = D1 ('MetaData "DescribeDBInstances" "Amazonka.DocumentDB.DescribeDBInstances" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "DescribeDBInstances'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "dbInstanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeDBInstances Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

newDescribeDBInstances :: DescribeDBInstances Source #

Create a value of DescribeDBInstances with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:filters:DescribeDBInstances', describeDBInstances_filters - A filter that specifies one or more instances to describe.

Supported filters:

  • db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs.
  • db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.

$sel:dbInstanceIdentifier:DescribeDBInstances', describeDBInstances_dbInstanceIdentifier - The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.

Constraints:

  • If provided, must match the identifier of an existing DBInstance.

$sel:marker:DescribeDBInstances', describeDBInstances_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:maxRecords:DescribeDBInstances', describeDBInstances_maxRecords - The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Request Lenses

describeDBInstances_filters :: Lens' DescribeDBInstances (Maybe [Filter]) Source #

A filter that specifies one or more instances to describe.

Supported filters:

  • db-cluster-id - Accepts cluster identifiers and cluster Amazon Resource Names (ARNs). The results list includes only the information about the instances that are associated with the clusters that are identified by these ARNs.
  • db-instance-id - Accepts instance identifiers and instance ARNs. The results list includes only the information about the instances that are identified by these ARNs.

describeDBInstances_dbInstanceIdentifier :: Lens' DescribeDBInstances (Maybe Text) Source #

The user-provided instance identifier. If this parameter is specified, information from only the specific instance is returned. This parameter isn't case sensitive.

Constraints:

  • If provided, must match the identifier of an existing DBInstance.

describeDBInstances_marker :: Lens' DescribeDBInstances (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

describeDBInstances_maxRecords :: Lens' DescribeDBInstances (Maybe Int) Source #

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token (marker) is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Destructuring the Response

data DescribeDBInstancesResponse Source #

Represents the output of DescribeDBInstances.

See: newDescribeDBInstancesResponse smart constructor.

Constructors

DescribeDBInstancesResponse' 

Fields

  • dbInstances :: Maybe [DBInstance]

    Detailed information about one or more instances.

  • marker :: Maybe Text

    An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Read DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Show DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Generic DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

Associated Types

type Rep DescribeDBInstancesResponse :: Type -> Type #

NFData DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

type Rep DescribeDBInstancesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeDBInstances

type Rep DescribeDBInstancesResponse = D1 ('MetaData "DescribeDBInstancesResponse" "Amazonka.DocumentDB.DescribeDBInstances" "libZSservicesZSamazonka-docdbZSamazonka-docdb" 'False) (C1 ('MetaCons "DescribeDBInstancesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DBInstance])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeDBInstancesResponse Source #

Create a value of DescribeDBInstancesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dbInstances:DescribeDBInstancesResponse', describeDBInstancesResponse_dbInstances - Detailed information about one or more instances.

$sel:marker:DescribeDBInstances', describeDBInstancesResponse_marker - An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

$sel:httpStatus:DescribeDBInstancesResponse', describeDBInstancesResponse_httpStatus - The response's http status code.

Response Lenses

describeDBInstancesResponse_dbInstances :: Lens' DescribeDBInstancesResponse (Maybe [DBInstance]) Source #

Detailed information about one or more instances.

describeDBInstancesResponse_marker :: Lens' DescribeDBInstancesResponse (Maybe Text) Source #

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.