| 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.CertificateManager.DescribeCertificate
Description
Returns detailed metadata about the specified ACM certificate.
If you have just created a certificate using the RequestCertificate
action, there is a delay of several seconds before you can retrieve
information about it.
Synopsis
- data DescribeCertificate = DescribeCertificate' {}
- newDescribeCertificate :: Text -> DescribeCertificate
- describeCertificate_certificateArn :: Lens' DescribeCertificate Text
- data DescribeCertificateResponse = DescribeCertificateResponse' {}
- newDescribeCertificateResponse :: Int -> DescribeCertificateResponse
- describeCertificateResponse_certificate :: Lens' DescribeCertificateResponse (Maybe CertificateDetail)
- describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int
Creating a Request
data DescribeCertificate Source #
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_certificateArn - The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have
the following form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
Request Lenses
describeCertificate_certificateArn :: Lens' DescribeCertificate Text Source #
The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have the following form:
arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012
For more information about ARNs, see Amazon Resource Names (ARNs).
Destructuring the Response
data DescribeCertificateResponse Source #
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:certificate:DescribeCertificateResponse', describeCertificateResponse_certificate - Metadata about an ACM certificate.
$sel:httpStatus:DescribeCertificateResponse', describeCertificateResponse_httpStatus - The response's http status code.
Response Lenses
describeCertificateResponse_certificate :: Lens' DescribeCertificateResponse (Maybe CertificateDetail) Source #
Metadata about an ACM certificate.
describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int Source #
The response's http status code.