Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns a list of the fields contained in the specified ACM Certificate. For example, this action returns the certificate status, a flag that indicates whether the certificate is associated with any other AWS service, and the date at which the certificate request was created. The ACM Certificate is specified on input by its Amazon Resource Name (ARN).
- describeCertificate :: Text -> DescribeCertificate
- data DescribeCertificate
- dCertificateARN :: Lens' DescribeCertificate Text
- describeCertificateResponse :: Int -> DescribeCertificateResponse
- data DescribeCertificateResponse
- dcrsCertificate :: Lens' DescribeCertificateResponse (Maybe CertificateDetail)
- dcrsResponseStatus :: Lens' DescribeCertificateResponse Int
Creating a Request
Creates a value of DescribeCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCertificate Source
See: describeCertificate
smart constructor.
Request Lenses
dCertificateARN :: Lens' DescribeCertificate Text Source
String that contains an ACM Certificate ARN. The ARN must be of the form:
'arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012'
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
Destructuring the Response
describeCertificateResponse Source
Creates a value of DescribeCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeCertificateResponse Source
See: describeCertificateResponse
smart constructor.
Response Lenses
dcrsCertificate :: Lens' DescribeCertificateResponse (Maybe CertificateDetail) Source
Contains a CertificateDetail structure that lists the fields of an ACM Certificate.
dcrsResponseStatus :: Lens' DescribeCertificateResponse Int Source
The response status code.