libZSservicesZSamazonka-finspace-dataZSamazonka-finspace-data
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.FinSpaceData.Types.ErrorInfo

Description

 
Synopsis

Documentation

data ErrorInfo Source #

Error message.

See: newErrorInfo smart constructor.

Constructors

ErrorInfo' 

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 - A user recoverable error has occurred.
  • errorMessage :: Maybe Text

    The text of the error message.

Instances

Instances details
Eq ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

Read ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

Show ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

Generic ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

Associated Types

type Rep ErrorInfo :: Type -> Type #

NFData ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

Methods

rnf :: ErrorInfo -> () #

Hashable ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

FromJSON ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

type Rep ErrorInfo Source # 
Instance details

Defined in Amazonka.FinSpaceData.Types.ErrorInfo

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

newErrorInfo :: ErrorInfo Source #

Create a value of ErrorInfo 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:ErrorInfo', errorInfo_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 - A user recoverable error has occurred.

$sel:errorMessage:ErrorInfo', errorInfo_errorMessage - The text of the error message.

errorInfo_errorCategory :: Lens' ErrorInfo (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 - A user recoverable error has occurred.

errorInfo_errorMessage :: Lens' ErrorInfo (Maybe Text) Source #

The text of the error message.