amazonka-finspace-data-2.0: Amazon FinSpace Public API 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.FinSpaceData.Types.ChangesetErrorInfo

Description

 
Synopsis

Documentation

data ChangesetErrorInfo Source #

The structure with error messages.

See: newChangesetErrorInfo smart constructor.

Constructors

ChangesetErrorInfo' 

Fields

  • errorCategory :: Maybe ErrorCategory

    The category of the error.

    • VALIDATION – The inputs to this request are invalid.
    • SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase quotas.
    • ACCESS_DENIED – Missing required permission to perform this request.
    • RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
    • THROTTLING – The system temporarily lacks sufficient resources to process the request.
    • INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
    • CANCELLED – Cancelled.
    • USER_RECOVERABLE – A user recoverable error has occurred.
  • errorMessage :: Maybe Text

    The text of the error message.

Instances

Instances details
FromJSON ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

Generic ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

Associated Types

type Rep ChangesetErrorInfo :: Type -> Type #

Read ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

Show ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

NFData ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

Methods

rnf :: ChangesetErrorInfo -> () #

Eq ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

Hashable ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

type Rep ChangesetErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ChangesetErrorInfo

type Rep ChangesetErrorInfo = D1 ('MetaData "ChangesetErrorInfo" "Amazonka.FinSpaceData.Types.ChangesetErrorInfo" "amazonka-finspace-data-2.0-Io6eLKJnFUxHbvASHvgCzj" 'False) (C1 ('MetaCons "ChangesetErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCategory)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newChangesetErrorInfo :: ChangesetErrorInfo Source #

Create a value of ChangesetErrorInfo 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:errorCategory:ChangesetErrorInfo', changesetErrorInfo_errorCategory - The category of the error.

  • VALIDATION – The inputs to this request are invalid.
  • SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase quotas.
  • ACCESS_DENIED – Missing required permission to perform this request.
  • RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
  • THROTTLING – The system temporarily lacks sufficient resources to process the request.
  • INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
  • CANCELLED – Cancelled.
  • USER_RECOVERABLE – A user recoverable error has occurred.

$sel:errorMessage:ChangesetErrorInfo', changesetErrorInfo_errorMessage - The text of the error message.

changesetErrorInfo_errorCategory :: Lens' ChangesetErrorInfo (Maybe ErrorCategory) Source #

The category of the error.

  • VALIDATION – The inputs to this request are invalid.
  • SERVICE_QUOTA_EXCEEDED – Service quotas have been exceeded. Please contact AWS support to increase quotas.
  • ACCESS_DENIED – Missing required permission to perform this request.
  • RESOURCE_NOT_FOUND – One or more inputs to this request were not found.
  • THROTTLING – The system temporarily lacks sufficient resources to process the request.
  • INTERNAL_SERVICE_EXCEPTION – An internal service error has occurred.
  • CANCELLED – Cancelled.
  • USER_RECOVERABLE – A user recoverable error has occurred.