amazonka-certificatemanager-pca-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Data GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

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 # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Show GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Generic GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Associated Types

type Rep GetCertificateAuthorityCSR :: Type -> Type #

Hashable GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

ToJSON GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

AWSRequest GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Associated Types

type Rs GetCertificateAuthorityCSR :: Type #

ToHeaders GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

ToPath GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

ToQuery GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

NFData GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

type Rep GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

type Rep GetCertificateAuthorityCSR = D1 (MetaData "GetCertificateAuthorityCSR" "Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" True) (C1 (MetaCons "GetCertificateAuthorityCSR'" PrefixI True) (S1 (MetaSel (Just "_gcacsrCertificateAuthorityARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetCertificateAuthorityCSR Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

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 # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Data GetCertificateAuthorityCSRResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

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 # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Show GetCertificateAuthorityCSRResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Generic GetCertificateAuthorityCSRResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

Associated Types

type Rep GetCertificateAuthorityCSRResponse :: Type -> Type #

NFData GetCertificateAuthorityCSRResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

type Rep GetCertificateAuthorityCSRResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR

type Rep GetCertificateAuthorityCSRResponse = D1 (MetaData "GetCertificateAuthorityCSRResponse" "Network.AWS.CertificateManagerPCA.GetCertificateAuthorityCSR" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" False) (C1 (MetaCons "GetCertificateAuthorityCSRResponse'" PrefixI True) (S1 (MetaSel (Just "_gcacsrrsCSR") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.