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

Contents

Description

Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority function. Take the CSR to your on-premises X.509 infrastructure and sign it by using your root or a subordinate CA. Then import the signed certificate back into ACM PCA by calling the ImportCertificateAuthorityCertificate function. The CSR is returned as a base64 PEM-encoded string.

Synopsis

Creating a Request

getCertificateAuthorityCSR Source #

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

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

  • gcacsrCertificateAuthorityARN - The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority function. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

data GetCertificateAuthorityCSR Source #

See: getCertificateAuthorityCSR smart constructor.

Instances

Eq GetCertificateAuthorityCSR Source # 
Data GetCertificateAuthorityCSR Source # 

Methods

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

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

toConstr :: GetCertificateAuthorityCSR -> Constr #

dataTypeOf :: GetCertificateAuthorityCSR -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

gcacsrCertificateAuthorityARN :: Lens' GetCertificateAuthorityCSR Text Source #

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority function. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012

Destructuring the Response

getCertificateAuthorityCSRResponse Source #

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

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

data GetCertificateAuthorityCSRResponse Source #

See: getCertificateAuthorityCSRResponse smart constructor.

Instances

Eq GetCertificateAuthorityCSRResponse Source # 
Data GetCertificateAuthorityCSRResponse Source # 

Methods

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

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

toConstr :: GetCertificateAuthorityCSRResponse -> Constr #

dataTypeOf :: GetCertificateAuthorityCSRResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

gcacsrrsCSR :: Lens' GetCertificateAuthorityCSRResponse (Maybe Text) Source #

The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.