libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager
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.CertificateManager.ListCertificates

Description

Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only RSA_2048 certificates. For more information, see Filters.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCertificates Source #

See: newListCertificates smart constructor.

Constructors

ListCertificates' 

Fields

  • certificateStatuses :: Maybe [CertificateStatus]

    Filter the certificate list by status value.

  • nextToken :: Maybe Text

    Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

  • includes :: Maybe Filters

    Filter the certificate list. For more information, see the Filters structure.

  • maxItems :: Maybe Natural

    Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

Instances

Instances details
Eq ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Read ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Generic ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

NFData ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Methods

rnf :: ListCertificates -> () #

Hashable ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

ToJSON ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Associated Types

type AWSResponse ListCertificates #

ToHeaders ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

type Rep ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

type Rep ListCertificates = D1 ('MetaData "ListCertificates" "Amazonka.CertificateManager.ListCertificates" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "ListCertificates'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificateStatuses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateStatus])) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "includes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Filters)) :*: S1 ('MetaSel ('Just "maxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))
type AWSResponse ListCertificates Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

newListCertificates :: ListCertificates Source #

Create a value of ListCertificates 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:certificateStatuses:ListCertificates', listCertificates_certificateStatuses - Filter the certificate list by status value.

$sel:nextToken:ListCertificates', listCertificates_nextToken - Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

$sel:includes:ListCertificates', listCertificates_includes - Filter the certificate list. For more information, see the Filters structure.

$sel:maxItems:ListCertificates', listCertificates_maxItems - Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

Request Lenses

listCertificates_nextToken :: Lens' ListCertificates (Maybe Text) Source #

Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of NextToken from the response you just received.

listCertificates_includes :: Lens' ListCertificates (Maybe Filters) Source #

Filter the certificate list. For more information, see the Filters structure.

listCertificates_maxItems :: Lens' ListCertificates (Maybe Natural) Source #

Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the NextToken element is sent in the response. Use this NextToken value in a subsequent request to retrieve additional items.

Destructuring the Response

data ListCertificatesResponse Source #

See: newListCertificatesResponse smart constructor.

Constructors

ListCertificatesResponse' 

Fields

Instances

Instances details
Eq ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Read ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Generic ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

NFData ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.ListCertificates

type Rep ListCertificatesResponse = D1 ('MetaData "ListCertificatesResponse" "Amazonka.CertificateManager.ListCertificates" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "ListCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListCertificatesResponse Source #

Create a value of ListCertificatesResponse 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:certificateSummaryList:ListCertificatesResponse', listCertificatesResponse_certificateSummaryList - A list of ACM certificates.

$sel:nextToken:ListCertificates', listCertificatesResponse_nextToken - When the list is truncated, this value is present and contains the value to use for the NextToken parameter in a subsequent pagination request.

$sel:httpStatus:ListCertificatesResponse', listCertificatesResponse_httpStatus - The response's http status code.

Response Lenses

listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #

When the list is truncated, this value is present and contains the value to use for the NextToken parameter in a subsequent pagination request.