libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.ListCertificates

Description

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

Synopsis

Creating a Request

data ListCertificates Source #

See: newListCertificates smart constructor.

Constructors

ListCertificates' 

Fields

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

  • limit :: Maybe Natural

    The number of items that should show up on one page

  • directoryId :: Text

    The identifier of the directory.

Instances

Instances details
Eq ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Read ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Show ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Generic ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type Rep ListCertificates :: Type -> Type #

NFData ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Methods

rnf :: ListCertificates -> () #

Hashable ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

ToJSON ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

AWSRequest ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type AWSResponse 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

type Rep ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

type Rep ListCertificates = D1 ('MetaData "ListCertificates" "Amazonka.DirectoryService.ListCertificates" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListCertificates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListCertificates Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

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:nextToken: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.

$sel:limit:ListCertificates', listCertificates_limit - The number of items that should show up on one page

$sel:directoryId:ListCertificates', listCertificates_directoryId - The identifier of the directory.

Request Lenses

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_limit :: Lens' ListCertificates (Maybe Natural) Source #

The number of items that should show up on one page

listCertificates_directoryId :: Lens' ListCertificates Text Source #

The identifier of the directory.

Destructuring the Response

data ListCertificatesResponse Source #

See: newListCertificatesResponse smart constructor.

Constructors

ListCertificatesResponse' 

Fields

  • nextToken :: Maybe Text

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

  • certificatesInfo :: Maybe [CertificateInfo]

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Read ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Show ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Generic ListCertificatesResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.ListCertificates

Associated Types

type Rep ListCertificatesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "ListCertificatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "certificatesInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CertificateInfo])) :*: 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:nextToken:ListCertificates', listCertificatesResponse_nextToken - Indicates whether another page of certificates is available when the number of available certificates exceeds the page limit.

$sel:certificatesInfo:ListCertificatesResponse', listCertificatesResponse_certificatesInfo - A list of certificates with basic details including certificate ID, certificate common name, certificate state.

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

Response Lenses

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.

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

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