libZSservicesZSamazonka-glueZSamazonka-glue
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.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
Eq ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Read ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Show 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 #

NFData ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

Methods

rnf :: ColumnError -> () #

Hashable ColumnError Source # 
Instance details

Defined in Amazonka.Glue.Types.ColumnError

FromJSON 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" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "ColumnError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorDetail)) :*: S1 ('MetaSel ('Just "columnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:error:ColumnError', columnError_error - An error message with the reason for the failure of an operation.

$sel:columnName:ColumnError', columnError_columnName - 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.

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

The name of the column that failed.