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 #

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 #

See: getServerCertificate smart constructor.

Instances

Eq GetServerCertificate # 
Data GetServerCertificate # 

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 # 
Show GetServerCertificate # 
Generic GetServerCertificate # 
Hashable GetServerCertificate # 
NFData GetServerCertificate # 

Methods

rnf :: GetServerCertificate -> () #

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

Request Lenses

gscServerCertificateName :: Lens' GetServerCertificate Text #

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 #

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 #

Contains the response to a successful GetServerCertificate request.

See: getServerCertificateResponse smart constructor.

Instances

Eq GetServerCertificateResponse # 
Data GetServerCertificateResponse # 

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 # 
Show GetServerCertificateResponse # 
Generic GetServerCertificateResponse # 
NFData GetServerCertificateResponse # 
type Rep GetServerCertificateResponse # 
type Rep GetServerCertificateResponse = D1 * (MetaData "GetServerCertificateResponse" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" 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 #

A structure containing details about the server certificate.