Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data PartitionIndexDescriptor = PartitionIndexDescriptor' {}
- newPartitionIndexDescriptor :: Text -> NonEmpty KeySchemaElement -> PartitionIndexStatus -> PartitionIndexDescriptor
- partitionIndexDescriptor_backfillErrors :: Lens' PartitionIndexDescriptor (Maybe [BackfillError])
- partitionIndexDescriptor_indexName :: Lens' PartitionIndexDescriptor Text
- partitionIndexDescriptor_keys :: Lens' PartitionIndexDescriptor (NonEmpty KeySchemaElement)
- partitionIndexDescriptor_indexStatus :: Lens' PartitionIndexDescriptor PartitionIndexStatus
Documentation
data PartitionIndexDescriptor Source #
A descriptor for a partition index in a table.
See: newPartitionIndexDescriptor
smart constructor.
PartitionIndexDescriptor' | |
|
Instances
newPartitionIndexDescriptor Source #
Create a value of PartitionIndexDescriptor
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:backfillErrors:PartitionIndexDescriptor'
, partitionIndexDescriptor_backfillErrors
- A list of errors that can occur when registering partition indexes for
an existing table.
$sel:indexName:PartitionIndexDescriptor'
, partitionIndexDescriptor_indexName
- The name of the partition index.
$sel:keys:PartitionIndexDescriptor'
, partitionIndexDescriptor_keys
- A list of one or more keys, as KeySchemaElement
structures, for the
partition index.
$sel:indexStatus:PartitionIndexDescriptor'
, partitionIndexDescriptor_indexStatus
- The status of the partition index.
The possible statuses are:
- CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
- ACTIVE: The index creation succeeds.
- FAILED: The index creation fails.
- DELETING: The index is deleted from the list of indexes.
partitionIndexDescriptor_backfillErrors :: Lens' PartitionIndexDescriptor (Maybe [BackfillError]) Source #
A list of errors that can occur when registering partition indexes for an existing table.
partitionIndexDescriptor_indexName :: Lens' PartitionIndexDescriptor Text Source #
The name of the partition index.
partitionIndexDescriptor_keys :: Lens' PartitionIndexDescriptor (NonEmpty KeySchemaElement) Source #
A list of one or more keys, as KeySchemaElement
structures, for the
partition index.
partitionIndexDescriptor_indexStatus :: Lens' PartitionIndexDescriptor PartitionIndexStatus Source #
The status of the partition index.
The possible statuses are:
- CREATING: The index is being created. When an index is in a CREATING state, the index or its table cannot be deleted.
- ACTIVE: The index creation succeeds.
- FAILED: The index creation fails.
- DELETING: The index is deleted from the list of indexes.