amazonka-certificatemanager-pca-1.6.0: Amazon Certificate Manager Private Certificate Authority SDK.

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

Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCertificate

Contents

Description

Retrieves the certificate and certificate chain for your private certificate authority (CA). 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

getCertificateAuthorityCertificate Source #

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

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

  • gcacCertificateAuthorityARN - The Amazon Resource Name (ARN) of your private CA. This is of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 .

data GetCertificateAuthorityCertificate Source #

See: getCertificateAuthorityCertificate smart constructor.

Instances

Eq GetCertificateAuthorityCertificate Source # 
Data GetCertificateAuthorityCertificate Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetCertificateAuthorityCertificate -> c GetCertificateAuthorityCertificate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetCertificateAuthorityCertificate #

toConstr :: GetCertificateAuthorityCertificate -> Constr #

dataTypeOf :: GetCertificateAuthorityCertificate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetCertificateAuthorityCertificate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetCertificateAuthorityCertificate) #

gmapT :: (forall b. Data b => b -> b) -> GetCertificateAuthorityCertificate -> GetCertificateAuthorityCertificate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetCertificateAuthorityCertificate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetCertificateAuthorityCertificate -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetCertificateAuthorityCertificate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetCertificateAuthorityCertificate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificate -> m GetCertificateAuthorityCertificate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificate -> m GetCertificateAuthorityCertificate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificate -> m GetCertificateAuthorityCertificate #

Read GetCertificateAuthorityCertificate Source # 
Show GetCertificateAuthorityCertificate Source # 
Generic GetCertificateAuthorityCertificate Source # 
Hashable GetCertificateAuthorityCertificate Source # 
ToJSON GetCertificateAuthorityCertificate Source # 
NFData GetCertificateAuthorityCertificate Source # 
AWSRequest GetCertificateAuthorityCertificate Source # 
ToHeaders GetCertificateAuthorityCertificate Source # 
ToPath GetCertificateAuthorityCertificate Source # 
ToQuery GetCertificateAuthorityCertificate Source # 
type Rep GetCertificateAuthorityCertificate Source # 
type Rep GetCertificateAuthorityCertificate = D1 * (MetaData "GetCertificateAuthorityCertificate" "Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCertificate" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" True) (C1 * (MetaCons "GetCertificateAuthorityCertificate'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gcacCertificateAuthorityARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetCertificateAuthorityCertificate Source # 

Request Lenses

gcacCertificateAuthorityARN :: Lens' GetCertificateAuthorityCertificate Text Source #

The Amazon Resource Name (ARN) of your private CA. This is of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 .

Destructuring the Response

getCertificateAuthorityCertificateResponse Source #

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

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

  • gcacrsCertificate - Base64-encoded certificate authority (CA) certificate.
  • gcacrsCertificateChain - Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate.
  • gcacrsResponseStatus - -- | The response status code.

data GetCertificateAuthorityCertificateResponse Source #

Instances

Eq GetCertificateAuthorityCertificateResponse Source # 
Data GetCertificateAuthorityCertificateResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetCertificateAuthorityCertificateResponse -> c GetCertificateAuthorityCertificateResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetCertificateAuthorityCertificateResponse #

toConstr :: GetCertificateAuthorityCertificateResponse -> Constr #

dataTypeOf :: GetCertificateAuthorityCertificateResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetCertificateAuthorityCertificateResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetCertificateAuthorityCertificateResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetCertificateAuthorityCertificateResponse -> GetCertificateAuthorityCertificateResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetCertificateAuthorityCertificateResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetCertificateAuthorityCertificateResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetCertificateAuthorityCertificateResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetCertificateAuthorityCertificateResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificateResponse -> m GetCertificateAuthorityCertificateResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificateResponse -> m GetCertificateAuthorityCertificateResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetCertificateAuthorityCertificateResponse -> m GetCertificateAuthorityCertificateResponse #

Read GetCertificateAuthorityCertificateResponse Source # 
Show GetCertificateAuthorityCertificateResponse Source # 
Generic GetCertificateAuthorityCertificateResponse Source # 
NFData GetCertificateAuthorityCertificateResponse Source # 
type Rep GetCertificateAuthorityCertificateResponse Source # 
type Rep GetCertificateAuthorityCertificateResponse = D1 * (MetaData "GetCertificateAuthorityCertificateResponse" "Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCertificate" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "GetCertificateAuthorityCertificateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcacrsCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcacrsCertificateChain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcacrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

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

Base64-encoded certificate authority (CA) certificate.

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

Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate.