amazonka-iam-1.4.1: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 # 
Data GetCredentialReport Source # 

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

Methods

rnf :: GetCredentialReport -> () #

AWSRequest GetCredentialReport Source # 
ToQuery GetCredentialReport Source # 
ToPath GetCredentialReport Source # 
ToHeaders GetCredentialReport Source # 
type Rep GetCredentialReport Source # 
type Rep GetCredentialReport = D1 (MetaData "GetCredentialReport" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.4.1-7UxTCVdPNcf8CA4oHmoXZ6" False) (C1 (MetaCons "GetCredentialReport'" PrefixI False) U1)
type Rs GetCredentialReport Source # 

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:

data GetCredentialReportResponse Source #

Contains the response to a successful GetCredentialReport request.

See: getCredentialReportResponse smart constructor.

Instances

Eq GetCredentialReportResponse Source # 
Data GetCredentialReportResponse Source # 

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 # 
Show GetCredentialReportResponse Source # 
Generic GetCredentialReportResponse Source # 
NFData GetCredentialReportResponse Source # 
type Rep GetCredentialReportResponse Source # 
type Rep GetCredentialReportResponse = D1 (MetaData "GetCredentialReportResponse" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.4.1-7UxTCVdPNcf8CA4oHmoXZ6" False) (C1 (MetaCons "GetCredentialReportResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_grsContent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) (S1 (MetaSel (Just Symbol "_grsGeneratedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_grsReportFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReportFormatType))) (S1 (MetaSel (Just Symbol "_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, despite what the AWS documentation might say. 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.