amazonka-certificatemanager-1.6.0: Amazon Certificate Manager 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.CertificateManager.GetCertificate

Contents

Description

Retrieves a certificate specified by an ARN and its certificate chain . The chain is an ordered list of certificates that contains the end entity certificate, intermediate certificates of subordinate CAs, and the root certificate in that order. The certificate and certificate chain are base64 encoded. If you want to decode the certificate to see the individual fields, you can use OpenSSL.

Synopsis

Creating a Request

getCertificate #

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

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

data GetCertificate #

See: getCertificate smart constructor.

Instances
Eq GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Data GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Methods

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

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

toConstr :: GetCertificate -> Constr #

dataTypeOf :: GetCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Show GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Generic GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Associated Types

type Rep GetCertificate :: * -> * #

Hashable GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

ToJSON GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

AWSRequest GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Associated Types

type Rs GetCertificate :: * #

ToHeaders GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

ToPath GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

ToQuery GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

NFData GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Methods

rnf :: GetCertificate -> () #

type Rep GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

type Rep GetCertificate = D1 (MetaData "GetCertificate" "Network.AWS.CertificateManager.GetCertificate" "amazonka-certificatemanager-1.6.0-7JB8JsCwrfRJtf8W91f9vY" True) (C1 (MetaCons "GetCertificate'" PrefixI True) (S1 (MetaSel (Just "_gcCertificateARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetCertificate # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Request Lenses

gcCertificateARN :: Lens' GetCertificate 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) and AWS Service Namespaces .

Destructuring the Response

getCertificateResponse #

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

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

  • gcrsCertificate - String that contains the ACM certificate represented by the ARN specified at input.
  • gcrsCertificateChain - The certificate chain that contains the root certificate issued by the certificate authority (CA).
  • gcrsResponseStatus - -- | The response status code.

data GetCertificateResponse #

See: getCertificateResponse smart constructor.

Instances
Eq GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Data GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Methods

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

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

toConstr :: GetCertificateResponse -> Constr #

dataTypeOf :: GetCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Show GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Generic GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Associated Types

type Rep GetCertificateResponse :: * -> * #

NFData GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

Methods

rnf :: GetCertificateResponse -> () #

type Rep GetCertificateResponse # 
Instance details

Defined in Network.AWS.CertificateManager.GetCertificate

type Rep GetCertificateResponse = D1 (MetaData "GetCertificateResponse" "Network.AWS.CertificateManager.GetCertificate" "amazonka-certificatemanager-1.6.0-7JB8JsCwrfRJtf8W91f9vY" False) (C1 (MetaCons "GetCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_gcrsCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gcrsCertificateChain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gcrsCertificate :: Lens' GetCertificateResponse (Maybe Text) #

String that contains the ACM certificate represented by the ARN specified at input.

gcrsCertificateChain :: Lens' GetCertificateResponse (Maybe Text) #

The certificate chain that contains the root certificate issued by the certificate authority (CA).

gcrsResponseStatus :: Lens' GetCertificateResponse Int #

  • - | The response status code.