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

Description

 
Synopsis

Documentation

data BackfillError Source #

A list of errors that can occur when registering partition indexes for an existing table.

These errors give the details about why an index registration failed and provide a limited number of partitions in the response, so that you can fix the partitions at fault and try registering the index again. The most common set of errors that can occur are categorized as follows:

  • EncryptedPartitionError: The partitions are encrypted.
  • InvalidPartitionTypeDataError: The partition value doesn't match the data type for that partition column.
  • MissingPartitionValueError: The partitions are encrypted.
  • UnsupportedPartitionCharacterError: Characters inside the partition value are not supported. For example: U+0000 , U+0001, U+0002.
  • InternalError: Any error which does not belong to other error codes.

See: newBackfillError smart constructor.

Constructors

BackfillError' 

Fields

Instances

Instances details
Eq BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Read BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Show BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Generic BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Associated Types

type Rep BackfillError :: Type -> Type #

NFData BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

Methods

rnf :: BackfillError -> () #

Hashable BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

FromJSON BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

type Rep BackfillError Source # 
Instance details

Defined in Amazonka.Glue.Types.BackfillError

type Rep BackfillError = D1 ('MetaData "BackfillError" "Amazonka.Glue.Types.BackfillError" "libZSservicesZSamazonka-glueZSamazonka-glue" 'False) (C1 ('MetaCons "BackfillError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PartitionValueList])) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackfillErrorCode))))

newBackfillError :: BackfillError Source #

Create a value of BackfillError 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:partitions:BackfillError', backfillError_partitions - A list of a limited number of partitions in the response.

$sel:code:BackfillError', backfillError_code - The error code for an error that occurred when registering partition indexes for an existing table.

backfillError_partitions :: Lens' BackfillError (Maybe [PartitionValueList]) Source #

A list of a limited number of partitions in the response.

backfillError_code :: Lens' BackfillError (Maybe BackfillErrorCode) Source #

The error code for an error that occurred when registering partition indexes for an existing table.