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

Amazonka.CertificateManager.GetCertificate

Description

Retrieves an Amazon-issued certificate and its certificate chain. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use OpenSSL to decode the certificates and inspect individual fields.

Synopsis

Creating a Request

data GetCertificate Source #

See: newGetCertificate smart constructor.

Constructors

GetCertificate' 

Fields

  • certificateArn :: Text

    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).

Instances

Instances details
Eq GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Read GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Show GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Generic GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Associated Types

type Rep GetCertificate :: Type -> Type #

NFData GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Methods

rnf :: GetCertificate -> () #

Hashable GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

ToJSON GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

AWSRequest GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Associated Types

type AWSResponse GetCertificate #

ToHeaders GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

ToPath GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

ToQuery GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

type Rep GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

type Rep GetCertificate = D1 ('MetaData "GetCertificate" "Amazonka.CertificateManager.GetCertificate" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "GetCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

newGetCertificate Source #

Create a value of GetCertificate 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:certificateArn:GetCertificate', getCertificate_certificateArn - 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).

Request Lenses

getCertificate_certificateArn :: 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).

Destructuring the Response

data GetCertificateResponse Source #

See: newGetCertificateResponse smart constructor.

Constructors

GetCertificateResponse' 

Fields

  • certificate :: Maybe Text

    The ACM-issued certificate corresponding to the ARN specified as input.

  • certificateChain :: Maybe Text

    Certificates forming the requested certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Read GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Show GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Generic GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Associated Types

type Rep GetCertificateResponse :: Type -> Type #

NFData GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

Methods

rnf :: GetCertificateResponse -> () #

type Rep GetCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.GetCertificate

type Rep GetCertificateResponse = D1 ('MetaData "GetCertificateResponse" "Amazonka.CertificateManager.GetCertificate" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "GetCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "certificateChain") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetCertificateResponse Source #

Create a value of GetCertificateResponse 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:GetCertificateResponse', getCertificateResponse_certificate - The ACM-issued certificate corresponding to the ARN specified as input.

$sel:certificateChain:GetCertificateResponse', getCertificateResponse_certificateChain - Certificates forming the requested certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.

$sel:httpStatus:GetCertificateResponse', getCertificateResponse_httpStatus - The response's http status code.

Response Lenses

getCertificateResponse_certificate :: Lens' GetCertificateResponse (Maybe Text) Source #

The ACM-issued certificate corresponding to the ARN specified as input.

getCertificateResponse_certificateChain :: Lens' GetCertificateResponse (Maybe Text) Source #

Certificates forming the requested certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.