amazonka-iam-2.0: Amazon Identity and Access Management SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IAM.GetCredentialReport

Description

Retrieves a credential report for the Amazon Web Services account. For more information about the credential report, see Getting credential reports in the IAM User Guide.

Synopsis

Creating a Request

data GetCredentialReport Source #

See: newGetCredentialReport smart constructor.

Constructors

GetCredentialReport' 

Instances

Instances details
ToHeaders GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

ToPath GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

ToQuery GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

AWSRequest GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Associated Types

type AWSResponse GetCredentialReport #

Generic GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReport :: Type -> Type #

Read GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Show GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

NFData GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Methods

rnf :: GetCredentialReport -> () #

Eq GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Hashable GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

type AWSResponse GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

type Rep GetCredentialReport Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

type Rep GetCredentialReport = D1 ('MetaData "GetCredentialReport" "Amazonka.IAM.GetCredentialReport" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "GetCredentialReport'" 'PrefixI 'False) (U1 :: Type -> Type))

newGetCredentialReport :: GetCredentialReport Source #

Create a value of GetCredentialReport with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetCredentialReportResponse Source #

Contains the response to a successful GetCredentialReport request.

See: newGetCredentialReportResponse smart constructor.

Constructors

GetCredentialReportResponse' 

Fields

Instances

Instances details
Generic GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Associated Types

type Rep GetCredentialReportResponse :: Type -> Type #

Read GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Show GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

NFData GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

Eq GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

type Rep GetCredentialReportResponse Source # 
Instance details

Defined in Amazonka.IAM.GetCredentialReport

type Rep GetCredentialReportResponse = D1 ('MetaData "GetCredentialReportResponse" "Amazonka.IAM.GetCredentialReport" "amazonka-iam-2.0-5DxkArXx9sD3CCYYGFyGET" 'False) (C1 ('MetaCons "GetCredentialReportResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "generatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "reportFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportFormatType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetCredentialReportResponse Source #

Create a value of GetCredentialReportResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:content:GetCredentialReportResponse', getCredentialReportResponse_content - 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.

$sel:generatedTime:GetCredentialReportResponse', getCredentialReportResponse_generatedTime - The date and time when the credential report was created, in ISO 8601 date-time format.

$sel:reportFormat:GetCredentialReportResponse', getCredentialReportResponse_reportFormat - The format (MIME type) of the credential report.

$sel:httpStatus:GetCredentialReportResponse', getCredentialReportResponse_httpStatus - The response's http status code.

Response Lenses

getCredentialReportResponse_content :: 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.