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

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

data GetCredentialReport #

See: getCredentialReport smart constructor.

Instances
Eq GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

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

Defined in Network.AWS.IAM.GetCredentialReport

Show GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Generic GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReport :: * -> * #

Hashable GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

AWSRequest GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rs GetCredentialReport :: * #

ToHeaders GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

ToPath GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

ToQuery GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

NFData GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Methods

rnf :: GetCredentialReport -> () #

type Rep GetCredentialReport # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

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

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

Defined in Network.AWS.IAM.GetCredentialReport

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

Defined in Network.AWS.IAM.GetCredentialReport

Show GetCredentialReportResponse # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Generic GetCredentialReportResponse # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReportResponse :: * -> * #

NFData GetCredentialReportResponse # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

type Rep GetCredentialReportResponse # 
Instance details

Defined in Network.AWS.IAM.GetCredentialReport

type Rep GetCredentialReportResponse = D1 (MetaData "GetCredentialReportResponse" "Network.AWS.IAM.GetCredentialReport" "amazonka-iam-1.6.0-KLHg33OPBsA2oss7MTCyZq" 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) #

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.