libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.DescribeCertificate

Description

Gets information about the specified certificate.

Requires permission to access the DescribeCertificate action.

Synopsis

Creating a Request

data DescribeCertificate Source #

The input for the DescribeCertificate operation.

See: newDescribeCertificate smart constructor.

Constructors

DescribeCertificate' 

Fields

  • certificateId :: Text

    The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Instances

Instances details
Eq DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Read DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Show DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Generic DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Associated Types

type Rep DescribeCertificate :: Type -> Type #

NFData DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Methods

rnf :: DescribeCertificate -> () #

Hashable DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

AWSRequest DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Associated Types

type AWSResponse DescribeCertificate #

ToHeaders DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

ToPath DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

ToQuery DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

type Rep DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

type Rep DescribeCertificate = D1 ('MetaData "DescribeCertificate" "Amazonka.IoT.DescribeCertificate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeCertificate Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

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:

$sel:certificateId:DescribeCertificate', describeCertificate_certificateId - The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Request Lenses

describeCertificate_certificateId :: Lens' DescribeCertificate Text Source #

The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

Destructuring the Response

data DescribeCertificateResponse Source #

The output of the DescribeCertificate operation.

See: newDescribeCertificateResponse smart constructor.

Constructors

DescribeCertificateResponse' 

Fields

Instances

Instances details
Eq DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Read DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Show DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Generic DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

Associated Types

type Rep DescribeCertificateResponse :: Type -> Type #

NFData DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

type Rep DescribeCertificateResponse Source # 
Instance details

Defined in Amazonka.IoT.DescribeCertificate

type Rep DescribeCertificateResponse = D1 ('MetaData "DescribeCertificateResponse" "Amazonka.IoT.DescribeCertificate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DescribeCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CertificateDescription)) :*: 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:certificateDescription:DescribeCertificateResponse', describeCertificateResponse_certificateDescription - The description of the certificate.

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

Response Lenses