amazonka-iam-1.4.5: 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 #

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

data GetCredentialReport #

See: getCredentialReport smart constructor.

Instances

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

Methods

rnf :: GetCredentialReport -> () #

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

Destructuring the Response

getCredentialReportResponse #

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 #

Contains the response to a successful GetCredentialReport request.

See: getCredentialReportResponse smart constructor.

Instances

Eq GetCredentialReportResponse # 
Data GetCredentialReportResponse # 

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 # 
Show GetCredentialReportResponse # 
Generic GetCredentialReportResponse # 
NFData GetCredentialReportResponse # 
type Rep GetCredentialReportResponse # 
type Rep GetCredentialReportResponse = D1 (MetaData "GetCredentialReportResponse" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.4.5-1ijrgQyRuWgA7Tx0390Dx2" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

grsContent :: Lens' GetCredentialReportResponse (Maybe ByteString) #

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) #

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

grsReportFormat :: Lens' GetCredentialReportResponse (Maybe ReportFormatType) #

The format (MIME type) of the credential report.

grsResponseStatus :: Lens' GetCredentialReportResponse Int #

  • - | The response status code.