amazonka-docdb-2.0: Amazon DocumentDB with MongoDB compatibility SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DocumentDB.DescribeCertificates

Description

Returns a list of certificate authority (CA) certificates provided by Amazon DocumentDB for this Amazon Web Services account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeCertificates Source #

See: newDescribeCertificates smart constructor.

Constructors

DescribeCertificates' 

Fields

  • certificateIdentifier :: Maybe Text

    The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to MaxRecords certificates is returned. This parameter is not case sensitive.

    Constraints

    • Must match an existing CertificateIdentifier.
  • filters :: Maybe [Filter]

    This parameter is not currently supported.

  • marker :: Maybe Text

    An optional pagination token provided by a previous DescribeCertificates 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 called a marker is included in the response so that the remaining results can be retrieved.

    Default: 100

    Constraints:

    • Minimum: 20
    • Maximum: 100

Instances

Instances details
ToHeaders DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

ToPath DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

ToQuery DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

AWSPager DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

AWSRequest DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Associated Types

type AWSResponse DescribeCertificates #

Generic DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Associated Types

type Rep DescribeCertificates :: Type -> Type #

Read DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Show DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

NFData DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Methods

rnf :: DescribeCertificates -> () #

Eq DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Hashable DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

type AWSResponse DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

type Rep DescribeCertificates Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

type Rep DescribeCertificates = D1 ('MetaData "DescribeCertificates" "Amazonka.DocumentDB.DescribeCertificates" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "DescribeCertificates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificateIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newDescribeCertificates :: DescribeCertificates Source #

Create a value of DescribeCertificates 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:

DescribeCertificates, describeCertificates_certificateIdentifier - The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to MaxRecords certificates is returned. This parameter is not case sensitive.

Constraints

  • Must match an existing CertificateIdentifier.

$sel:filters:DescribeCertificates', describeCertificates_filters - This parameter is not currently supported.

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

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

Default: 100

Constraints:

  • Minimum: 20
  • Maximum: 100

Request Lenses

describeCertificates_certificateIdentifier :: Lens' DescribeCertificates (Maybe Text) Source #

The user-supplied certificate identifier. If this parameter is specified, information for only the specified certificate is returned. If this parameter is omitted, a list of up to MaxRecords certificates is returned. This parameter is not case sensitive.

Constraints

  • Must match an existing CertificateIdentifier.

describeCertificates_filters :: Lens' DescribeCertificates (Maybe [Filter]) Source #

This parameter is not currently supported.

describeCertificates_marker :: Lens' DescribeCertificates (Maybe Text) Source #

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

describeCertificates_maxRecords :: Lens' DescribeCertificates (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 called a 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 DescribeCertificatesResponse Source #

See: newDescribeCertificatesResponse smart constructor.

Constructors

DescribeCertificatesResponse' 

Fields

  • certificates :: Maybe [Certificate]

    A list of certificates for this Amazon Web Services account.

  • marker :: Maybe Text

    An optional pagination token provided if the number of records retrieved is greater than MaxRecords. If this parameter is specified, the marker specifies the next record in the list. Including the value of Marker in the next call to DescribeCertificates results in the next page of certificates.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Associated Types

type Rep DescribeCertificatesResponse :: Type -> Type #

Read DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Show DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

NFData DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

Eq DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

type Rep DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.DocumentDB.DescribeCertificates

type Rep DescribeCertificatesResponse = D1 ('MetaData "DescribeCertificatesResponse" "Amazonka.DocumentDB.DescribeCertificates" "amazonka-docdb-2.0-7OwFe1BulfiBtMsDpDrdzX" 'False) (C1 ('MetaCons "DescribeCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Certificate])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeCertificatesResponse Source #

Create a value of DescribeCertificatesResponse 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:certificates:DescribeCertificatesResponse', describeCertificatesResponse_certificates - A list of certificates for this Amazon Web Services account.

DescribeCertificates, describeCertificatesResponse_marker - An optional pagination token provided if the number of records retrieved is greater than MaxRecords. If this parameter is specified, the marker specifies the next record in the list. Including the value of Marker in the next call to DescribeCertificates results in the next page of certificates.

$sel:httpStatus:DescribeCertificatesResponse', describeCertificatesResponse_httpStatus - The response's http status code.

Response Lenses

describeCertificatesResponse_certificates :: Lens' DescribeCertificatesResponse (Maybe [Certificate]) Source #

A list of certificates for this Amazon Web Services account.

describeCertificatesResponse_marker :: Lens' DescribeCertificatesResponse (Maybe Text) Source #

An optional pagination token provided if the number of records retrieved is greater than MaxRecords. If this parameter is specified, the marker specifies the next record in the list. Including the value of Marker in the next call to DescribeCertificates results in the next page of certificates.