libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
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.CertificateManagerPCA.GetCertificateAuthorityCertificate

Description

Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it.

Synopsis

Creating a Request

data GetCertificateAuthorityCertificate Source #

Constructors

GetCertificateAuthorityCertificate' 

Fields

  • certificateAuthorityArn :: Text

    The Amazon Resource Name (ARN) of your private CA. This is of the form:

    arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

Instances

Instances details
Eq GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Read GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Show GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Generic GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Associated Types

type Rep GetCertificateAuthorityCertificate :: Type -> Type #

NFData GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Hashable GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

ToJSON GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

AWSRequest GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

ToHeaders GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

ToPath GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

ToQuery GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

type Rep GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

type Rep GetCertificateAuthorityCertificate = D1 ('MetaData "GetCertificateAuthorityCertificate" "Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "GetCertificateAuthorityCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetCertificateAuthorityCertificate Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

newGetCertificateAuthorityCertificate Source #

Create a value of GetCertificateAuthorityCertificate 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:certificateAuthorityArn:GetCertificateAuthorityCertificate', getCertificateAuthorityCertificate_certificateAuthorityArn - The Amazon Resource Name (ARN) of your private CA. This is of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

Request Lenses

getCertificateAuthorityCertificate_certificateAuthorityArn :: Lens' GetCertificateAuthorityCertificate Text Source #

The Amazon Resource Name (ARN) of your private CA. This is of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012 .

Destructuring the Response

data GetCertificateAuthorityCertificateResponse Source #

Constructors

GetCertificateAuthorityCertificateResponse' 

Fields

  • certificate :: Maybe Text

    Base64-encoded certificate authority (CA) certificate.

  • certificateChain :: Maybe Text

    Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Read GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Show GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

Generic GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

NFData GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

type Rep GetCertificateAuthorityCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate

type Rep GetCertificateAuthorityCertificateResponse = D1 ('MetaData "GetCertificateAuthorityCertificateResponse" "Amazonka.CertificateManagerPCA.GetCertificateAuthorityCertificate" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "GetCertificateAuthorityCertificateResponse'" '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))))

newGetCertificateAuthorityCertificateResponse Source #

Create a value of GetCertificateAuthorityCertificateResponse 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:GetCertificateAuthorityCertificateResponse', getCertificateAuthorityCertificateResponse_certificate - Base64-encoded certificate authority (CA) certificate.

$sel:certificateChain:GetCertificateAuthorityCertificateResponse', getCertificateAuthorityCertificateResponse_certificateChain - Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null.

$sel:httpStatus:GetCertificateAuthorityCertificateResponse', getCertificateAuthorityCertificateResponse_httpStatus - The response's http status code.

Response Lenses

getCertificateAuthorityCertificateResponse_certificateChain :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text) Source #

Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null.