amazonka-glue-2.0: Amazon Glue 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.Glue.Types.ColumnError

Description

 
Synopsis

Documentation

data ColumnError Source #

Encapsulates a column name that failed and the reason for failure.

See: newColumnError smart constructor.

Constructors

ColumnError' 

Fields

Instances

Instances details
FromJSON ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Generic ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Associated Types

type Rep ColumnError :: Type -> Type #

Read ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Show ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

NFData ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Methods

rnf :: ColumnError -> () #

Eq ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Hashable ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

type Rep ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

type Rep ColumnError = D1 ('MetaData "ColumnError" "Amazonka.Glue.Types.ColumnError" "amazonka-glue-2.0-7miPWwBHdfn8N8SvbpLgE0" 'False) (C1 ('MetaCons "ColumnError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "columnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorDetail))))

newColumnError :: ColumnError Source #

Create a value of ColumnError 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:columnName:ColumnError', columnError_columnName - The name of the column that failed.

$sel:error:ColumnError', columnError_error - An error message with the reason for the failure of an operation.

columnError_columnName :: Lens' ColumnError (Maybe Text) Source #

The name of the column that failed.

columnError_error :: Lens' ColumnError (Maybe ErrorDetail) Source #

An error message with the reason for the failure of an operation.