amazonka-ds-2.0: Amazon Directory 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.DirectoryService.ListCertificates

Description

For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.

This operation returns paginated results.

Synopsis

Creating a Request

data ListCertificates Source #

See: newListCertificates smart constructor.

Constructors

ListCertificates' 

Fields

  • limit :: Maybe Natural

    The number of items that should show up on one page

  • nextToken :: Maybe Text

    A token for requesting another page of certificates if the NextToken response element indicates that more certificates are available. Use the value of the returned NextToken element in your request until the token comes back as null. Pass null if this is the first call.

  • directoryId :: Text

    The identifier of the directory.

Instances

Instances details
ToJSON ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

ToHeaders ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

ToPath ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

ToQuery ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

AWSPager ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type AWSResponse ListCertificates #

Generic ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

Read ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

NFData ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Methods

rnf :: ListCertificates -> () #

Eq ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Hashable ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type AWSResponse ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type Rep ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type Rep ListCertificates = D1 ('MetaData "ListCertificates" "Amazonka.DirectoryService.ListCertificates" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "ListCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListCertificates 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:limit:ListCertificates', listCertificates_limit - The number of items that should show up on one page

ListCertificates, listCertificates_nextToken - A token for requesting another page of certificates if the NextToken response element indicates that more certificates are available. Use the value of the returned NextToken element in your request until the token comes back as null. Pass null if this is the first call.

ListCertificates, listCertificates_directoryId - The identifier of the directory.

Request Lenses

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

The number of items that should show up on one page

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

A token for requesting another page of certificates if the NextToken response element indicates that more certificates are available. Use the value of the returned NextToken element in your request until the token comes back as null. Pass null if this is the first call.

listCertificates_directoryId :: Lens' ListCertificates Text Source #

The identifier of the directory.

Destructuring the Response

data ListCertificatesResponse Source #

See: newListCertificatesResponse smart constructor.

Constructors

ListCertificatesResponse' 

Fields

  • certificatesInfo :: Maybe [CertificateInfo]

    A list of certificates with basic details including certificate ID, certificate common name, certificate state.

  • nextToken :: Maybe Text

    Indicates whether another page of certificates is available when the number of available certificates exceeds the page limit.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

Read ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

NFData ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Eq ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type Rep ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type Rep ListCertificatesResponse = D1 ('MetaData "ListCertificatesResponse" "Amazonka.DirectoryService.ListCertificates" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "ListCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificatesInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateInfo])) :*: (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:certificatesInfo:ListCertificatesResponse', listCertificatesResponse_certificatesInfo - A list of certificates with basic details including certificate ID, certificate common name, certificate state.

ListCertificates, listCertificatesResponse_nextToken - Indicates whether another page of certificates is available when the number of available certificates exceeds the page limit.

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

Response Lenses

listCertificatesResponse_certificatesInfo :: Lens' ListCertificatesResponse (Maybe [CertificateInfo]) Source #

A list of certificates with basic details including certificate ID, certificate common name, certificate state.

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

Indicates whether another page of certificates is available when the number of available certificates exceeds the page limit.