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

Defined in Network.AWS.IAM.GetServerCertificate

Data GetServerCertificate Source # 
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 Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Show GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Generic GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rep GetServerCertificate :: Type -> Type #

Hashable GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

AWSRequest GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rs GetServerCertificate :: Type #

ToHeaders GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

ToPath GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

ToQuery GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

NFData GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Methods

rnf :: GetServerCertificate -> () #

type Rep GetServerCertificate Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

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

Defined in Network.AWS.IAM.GetServerCertificate

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

Defined in Network.AWS.IAM.GetServerCertificate

Data GetServerCertificateResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Show GetServerCertificateResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Generic GetServerCertificateResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

Associated Types

type Rep GetServerCertificateResponse :: Type -> Type #

NFData GetServerCertificateResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

type Rep GetServerCertificateResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetServerCertificate

type Rep GetServerCertificateResponse = D1 (MetaData "GetServerCertificateResponse" "Network.AWS.IAM.GetServerCertificate" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" 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 Source #

A structure containing details about the server certificate.