libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.ErrorDetails

Description

 
Synopsis

Documentation

data ErrorDetails Source #

Contains information about the reason that the operation failed.

This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.

See: newErrorDetails smart constructor.

Constructors

ErrorDetails' 

Fields

  • message :: Text

    Detailed information about the reason that the operation failed.

  • code :: Text

    The error code associated with the operation failure.

Instances

Instances details
Eq ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

Read ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

Show ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

Generic ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

Associated Types

type Rep ErrorDetails :: Type -> Type #

NFData ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

Methods

rnf :: ErrorDetails -> () #

Hashable ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

FromXML ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

type Rep ErrorDetails Source # 
Instance details

Defined in Amazonka.IAM.Types.ErrorDetails

type Rep ErrorDetails = D1 ('MetaData "ErrorDetails" "Amazonka.IAM.Types.ErrorDetails" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "ErrorDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newErrorDetails Source #

Create a value of ErrorDetails 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:message:ErrorDetails', errorDetails_message - Detailed information about the reason that the operation failed.

$sel:code:ErrorDetails', errorDetails_code - The error code associated with the operation failure.

errorDetails_message :: Lens' ErrorDetails Text Source #

Detailed information about the reason that the operation failed.

errorDetails_code :: Lens' ErrorDetails Text Source #

The error code associated with the operation failure.