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

Description

Displays information about the certificate registered for secure LDAP or client certificate authentication.

Synopsis

Creating a Request

data DescribeCertificate Source #

See: newDescribeCertificate smart constructor.

Constructors

DescribeCertificate' 

Fields

Instances

Instances details
ToJSON DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

ToHeaders DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

ToPath DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

ToQuery DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

AWSRequest DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Associated Types

type AWSResponse DescribeCertificate #

Generic DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Associated Types

type Rep DescribeCertificate :: Type -> Type #

Read DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Show DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

NFData DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Methods

rnf :: DescribeCertificate -> () #

Eq DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Hashable DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

type AWSResponse DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

type Rep DescribeCertificate Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

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

newDescribeCertificate Source #

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

DescribeCertificate, describeCertificate_directoryId - The identifier of the directory.

DescribeCertificate, describeCertificate_certificateId - The identifier of the certificate.

Request Lenses

Destructuring the Response

data DescribeCertificateResponse Source #

See: newDescribeCertificateResponse smart constructor.

Constructors

DescribeCertificateResponse' 

Fields

  • certificate :: Maybe Certificate

    Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Associated Types

type Rep DescribeCertificateResponse :: Type -> Type #

Read DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Show DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

NFData DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

Eq DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

type Rep DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.DescribeCertificate

type Rep DescribeCertificateResponse = D1 ('MetaData "DescribeCertificateResponse" "Amazonka.DirectoryService.DescribeCertificate" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "DescribeCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Certificate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeCertificateResponse Source #

Create a value of DescribeCertificateResponse 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:certificate:DescribeCertificateResponse', describeCertificateResponse_certificate - Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.

$sel:httpStatus:DescribeCertificateResponse', describeCertificateResponse_httpStatus - The response's http status code.

Response Lenses

describeCertificateResponse_certificate :: Lens' DescribeCertificateResponse (Maybe Certificate) Source #

Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.