amazonka-certificatemanager-1.4.0: Amazon Certificate Manager SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CertificateManager.GetCertificate

Contents

Description

Retrieves an ACM Certificate and certificate chain for the certificate specified by an ARN. The chain is an ordered list of certificates that contains the root certificate, intermediate certificates of subordinate CAs, and the ACM Certificate. The certificate and certificate chain are base64 encoded. If you want to decode the certificate chain to see the individual certificate fields, you can use OpenSSL.

Currently, ACM Certificates can be used only with Elastic Load Balancing and Amazon CloudFront.

Synopsis

Creating a Request

getCertificate Source

Creates a value of GetCertificate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

gcCertificateARN :: Lens' GetCertificate Text Source

String that contains a certificate ARN in the following format:

'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

getCertificateResponse Source

Creates a value of GetCertificateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

gcrsCertificate :: Lens' GetCertificateResponse (Maybe Text) Source

String that contains the ACM Certificate represented by the ARN specified at input.

gcrsCertificateChain :: Lens' GetCertificateResponse (Maybe Text) Source

The certificate chain that contains the root certificate issued by the certificate authority (CA).