amazonka-rds-2.0: Amazon Relational Database Service 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.RDS.DescribeCertificates

Description

Lists the set of CA certificates provided by Amazon RDS for this Amazon Web Services account.

For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.

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 identified certificate is returned. This parameter isn't case-sensitive.

    Constraints:

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

    This parameter isn't 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 you can retrieve the remaining results.

    Default: 100

    Constraints: Minimum 20, maximum 100.

Instances

Instances details
ToHeaders DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

ToPath DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

ToQuery DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

AWSPager DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

AWSRequest DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Associated Types

type AWSResponse DescribeCertificates #

Generic DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Associated Types

type Rep DescribeCertificates :: Type -> Type #

Read DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Show DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

NFData DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Methods

rnf :: DescribeCertificates -> () #

Eq DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Hashable DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

type AWSResponse DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

type Rep DescribeCertificates Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

type Rep DescribeCertificates = D1 ('MetaData "DescribeCertificates" "Amazonka.RDS.DescribeCertificates" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" '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 identified certificate is returned. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing CertificateIdentifier.

$sel:filters:DescribeCertificates', describeCertificates_filters - This parameter isn't 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 you can retrieve the remaining results.

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 identified certificate is returned. This parameter isn't case-sensitive.

Constraints:

  • Must match an existing CertificateIdentifier.

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

This parameter isn't 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 you can retrieve the remaining results.

Default: 100

Constraints: Minimum 20, maximum 100.

Destructuring the Response

data DescribeCertificatesResponse Source #

Data returned by the DescribeCertificates action.

See: newDescribeCertificatesResponse smart constructor.

Constructors

DescribeCertificatesResponse' 

Fields

  • certificates :: Maybe [Certificate]

    The list of Certificate objects for the Amazon Web Services account.

  • 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 .

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Associated Types

type Rep DescribeCertificatesResponse :: Type -> Type #

Read DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Show DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

NFData DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

Eq DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

type Rep DescribeCertificatesResponse Source # 
Instance details

Defined in Amazonka.RDS.DescribeCertificates

type Rep DescribeCertificatesResponse = D1 ('MetaData "DescribeCertificatesResponse" "Amazonka.RDS.DescribeCertificates" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" '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 - The list of Certificate objects for the Amazon Web Services account.

DescribeCertificates, describeCertificatesResponse_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:httpStatus:DescribeCertificatesResponse', describeCertificatesResponse_httpStatus - The response's http status code.

Response Lenses

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

The list of Certificate objects for the Amazon Web Services account.

describeCertificatesResponse_marker :: Lens' DescribeCertificatesResponse (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 .