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

Defined in Network.AWS.IAM.GetServerCertificate

Data GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.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 # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Show GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Generic GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rep GetServerCertificate :: Type -> Type #

Hashable GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

AWSRequest GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rs GetServerCertificate :: Type #

ToHeaders GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

ToPath GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

ToQuery GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

NFData GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Methods

rnf :: GetServerCertificate -> () #

type Rep GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

type Rep GetServerCertificate = D1 (MetaData "GetServerCertificate" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.1-GVjkJ4xTMMc7GNa2rMCkPz" True) (C1 (MetaCons "GetServerCertificate'" PrefixI True) (S1 (MetaSel (Just "_gscServerCertificateName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetServerCertificate # 
Instance details

Defined in Network.AWS.IAM.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 # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Data GetServerCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

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

Defined in Network.AWS.IAM.GetServerCertificate

Show GetServerCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Generic GetServerCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rep GetServerCertificateResponse :: Type -> Type #

NFData GetServerCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

type Rep GetServerCertificateResponse # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

type Rep GetServerCertificateResponse = D1 (MetaData "GetServerCertificateResponse" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.1-GVjkJ4xTMMc7GNa2rMCkPz" False) (C1 (MetaCons "GetServerCertificateResponse'" PrefixI True) (S1 (MetaSel (Just "_gscrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gscrsServerCertificate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ServerCertificate)))

Response Lenses

gscrsServerCertificate :: Lens' GetServerCertificateResponse ServerCertificate #

A structure containing details about the server certificate.