Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DescribeCertificate' | |
|
Instances
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.
DescribeCertificateResponse' | |
|
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.