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.GetCredentialReport

Contents

Description

Retrieves a credential report for the AWS account. For more information about the credential report, see Getting Credential Reports in the IAM User Guide .

Synopsis

Creating a Request

getCredentialReport :: GetCredentialReport Source #

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

data GetCredentialReport Source #

See: getCredentialReport smart constructor.

Instances
Eq GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Data GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Methods

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

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

toConstr :: GetCredentialReport -> Constr #

dataTypeOf :: GetCredentialReport -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Show GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Generic GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReport :: Type -> Type #

Hashable GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

AWSRequest GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rs GetCredentialReport :: Type #

ToHeaders GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

ToPath GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

ToQuery GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

NFData GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Methods

rnf :: GetCredentialReport -> () #

type Rep GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

type Rep GetCredentialReport = D1 (MetaData "GetCredentialReport" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "GetCredentialReport'" PrefixI False) (U1 :: Type -> Type))
type Rs GetCredentialReport Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Destructuring the Response

getCredentialReportResponse Source #

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

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

  • grsContent - Contains the credential report. The report is Base64-encoded.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
  • grsGeneratedTime - The date and time when the credential report was created, in ISO 8601 date-time format .
  • grsReportFormat - The format (MIME type) of the credential report.
  • grsResponseStatus - -- | The response status code.

data GetCredentialReportResponse Source #

Contains the response to a successful GetCredentialReport request.

See: getCredentialReportResponse smart constructor.

Instances
Eq GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Data GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Methods

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

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

toConstr :: GetCredentialReportResponse -> Constr #

dataTypeOf :: GetCredentialReportResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Show GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Generic GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReportResponse :: Type -> Type #

NFData GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

type Rep GetCredentialReportResponse Source # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

type Rep GetCredentialReportResponse = D1 (MetaData "GetCredentialReportResponse" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "GetCredentialReportResponse'" PrefixI True) ((S1 (MetaSel (Just "_grsContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 (MetaSel (Just "_grsGeneratedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 (MetaSel (Just "_grsReportFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReportFormatType)) :*: S1 (MetaSel (Just "_grsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString) Source #

Contains the credential report. The report is Base64-encoded.-- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.

grsGeneratedTime :: Lens' GetCredentialReportResponse (Maybe UTCTime) Source #

The date and time when the credential report was created, in ISO 8601 date-time format .

grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType) Source #

The format (MIME type) of the credential report.