| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.DescribeCertificate
Description
Gets information about the specified certificate.
Requires permission to access the DescribeCertificate action.
Synopsis
- data DescribeCertificate = DescribeCertificate' {}
- newDescribeCertificate :: Text -> DescribeCertificate
- describeCertificate_certificateId :: Lens' DescribeCertificate Text
- data DescribeCertificateResponse = DescribeCertificateResponse' {}
- newDescribeCertificateResponse :: Int -> DescribeCertificateResponse
- describeCertificateResponse_certificateDescription :: Lens' DescribeCertificateResponse (Maybe CertificateDescription)
- describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int
Creating a Request
data DescribeCertificate Source #
The input for the DescribeCertificate operation.
See: newDescribeCertificate smart constructor.
Constructors
| DescribeCertificate' | |
Fields
| |
Instances
newDescribeCertificate Source #
Arguments
| :: Text | |
| -> DescribeCertificate |
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_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
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
describeCertificateResponse_certificateDescription :: Lens' DescribeCertificateResponse (Maybe CertificateDescription) Source #
The description of the certificate.
describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int Source #
The response's http status code.