amazonka-opensearch-2.0: Amazon OpenSearch Service 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.OpenSearch.Types.ErrorDetails

Description

 
Synopsis

Documentation

data ErrorDetails Source #

Additional information if the package is in an error state. Null otherwise.

See: newErrorDetails smart constructor.

Constructors

ErrorDetails' 

Fields

Instances

Instances details
FromJSON ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

Generic ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

Associated Types

type Rep ErrorDetails :: Type -> Type #

Read ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

Show ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

NFData ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

Methods

rnf :: ErrorDetails -> () #

Eq ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

Hashable ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

type Rep ErrorDetails Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.ErrorDetails

type Rep ErrorDetails = D1 ('MetaData "ErrorDetails" "Amazonka.OpenSearch.Types.ErrorDetails" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "ErrorDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "errorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newErrorDetails :: ErrorDetails 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:errorMessage:ErrorDetails', errorDetails_errorMessage - A message describing the error.

$sel:errorType:ErrorDetails', errorDetails_errorType - The type of error that occurred.

errorDetails_errorMessage :: Lens' ErrorDetails (Maybe Text) Source #

A message describing the error.

errorDetails_errorType :: Lens' ErrorDetails (Maybe Text) Source #

The type of error that occurred.