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.DataViewErrorInfo

Description

 
Synopsis

Documentation

data DataViewErrorInfo Source #

The structure with error messages.

See: newDataViewErrorInfo smart constructor.

Constructors

DataViewErrorInfo' 

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 DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

Generic DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

Associated Types

type Rep DataViewErrorInfo :: Type -> Type #

Read DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

Show DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

NFData DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

Methods

rnf :: DataViewErrorInfo -> () #

Eq DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

Hashable DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

type Rep DataViewErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.DataViewErrorInfo

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

newDataViewErrorInfo :: DataViewErrorInfo Source #

Create a value of DataViewErrorInfo 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:DataViewErrorInfo', dataViewErrorInfo_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:DataViewErrorInfo', dataViewErrorInfo_errorMessage - The text of the error message.

dataViewErrorInfo_errorCategory :: Lens' DataViewErrorInfo (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.