amazonka-iam-1.6.0: Amazon Identity and Access Management 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.IAM.GetServerCertificate

Contents

Description

Retrieves information about the specified server certificate stored in IAM.

For more information about working with server certificates, see Working with Server Certificates in the IAM User Guide . This topic includes a list of AWS services that can use the server certificates that you manage with IAM.

Synopsis

Creating a Request

getServerCertificate Source #

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

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

  • gscServerCertificateName - The name of the server certificate you want to retrieve information about. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

data GetServerCertificate Source #

See: getServerCertificate smart constructor.

Instances

Eq GetServerCertificate Source # 
Data GetServerCertificate Source # 

Methods

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

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

toConstr :: GetServerCertificate -> Constr #

dataTypeOf :: GetServerCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServerCertificate Source # 
Show GetServerCertificate Source # 
Generic GetServerCertificate Source # 
Hashable GetServerCertificate Source # 
NFData GetServerCertificate Source # 

Methods

rnf :: GetServerCertificate -> () #

AWSRequest GetServerCertificate Source # 
ToHeaders GetServerCertificate Source # 
ToPath GetServerCertificate Source # 
ToQuery GetServerCertificate Source # 
type Rep GetServerCertificate Source # 
type Rep GetServerCertificate = D1 * (MetaData "GetServerCertificate" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" True) (C1 * (MetaCons "GetServerCertificate'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gscServerCertificateName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetServerCertificate Source # 

Request Lenses

gscServerCertificateName :: Lens' GetServerCertificate Text Source #

The name of the server certificate you want to retrieve information about. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Destructuring the Response

getServerCertificateResponse Source #

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

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

data GetServerCertificateResponse Source #

Contains the response to a successful GetServerCertificate request.

See: getServerCertificateResponse smart constructor.

Instances

Eq GetServerCertificateResponse Source # 
Data GetServerCertificateResponse Source # 

Methods

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

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

toConstr :: GetServerCertificateResponse -> Constr #

dataTypeOf :: GetServerCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetServerCertificateResponse Source # 
Show GetServerCertificateResponse Source # 
Generic GetServerCertificateResponse Source # 
NFData GetServerCertificateResponse Source # 
type Rep GetServerCertificateResponse Source # 
type Rep GetServerCertificateResponse = D1 * (MetaData "GetServerCertificateResponse" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.0-CI3f7XZIc4eD0Ehb04tNY7" False) (C1 * (MetaCons "GetServerCertificateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gscrsServerCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ServerCertificate))))

Response Lenses

gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate Source #

A structure containing details about the server certificate.