amazonka-migration-hub-refactor-spaces-2.0: Amazon Migration Hub Refactor Spaces 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.MigrationHubReFactorSpaces.Types.ErrorResponse

Description

 
Synopsis

Documentation

data ErrorResponse Source #

Error associated with a resource returned for a Get or List resource response.

See: newErrorResponse smart constructor.

Constructors

ErrorResponse' 

Fields

Instances

Instances details
FromJSON ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

Generic ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

Associated Types

type Rep ErrorResponse :: Type -> Type #

Read ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

Show ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

NFData ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

Methods

rnf :: ErrorResponse -> () #

Eq ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

Hashable ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

type Rep ErrorResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse

type Rep ErrorResponse = D1 ('MetaData "ErrorResponse" "Amazonka.MigrationHubReFactorSpaces.Types.ErrorResponse" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "ErrorResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "additionalDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCode)))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorResourceType))))))

newErrorResponse :: ErrorResponse Source #

Create a value of ErrorResponse 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:accountId:ErrorResponse', errorResponse_accountId - The Amazon Web Services account ID of the resource owner.

$sel:additionalDetails:ErrorResponse', errorResponse_additionalDetails - Additional details about the error.

$sel:code:ErrorResponse', errorResponse_code - The error code associated with the error.

$sel:message:ErrorResponse', errorResponse_message - The message associated with the error.

$sel:resourceIdentifier:ErrorResponse', errorResponse_resourceIdentifier - The ID of the resource.

$sel:resourceType:ErrorResponse', errorResponse_resourceType - The type of resource.

errorResponse_accountId :: Lens' ErrorResponse (Maybe Text) Source #

The Amazon Web Services account ID of the resource owner.

errorResponse_code :: Lens' ErrorResponse (Maybe ErrorCode) Source #

The error code associated with the error.

errorResponse_message :: Lens' ErrorResponse (Maybe Text) Source #

The message associated with the error.