| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DynamoDB.Types.GlobalSecondaryIndexUpdate
Description
Synopsis
- data GlobalSecondaryIndexUpdate = GlobalSecondaryIndexUpdate' {}
- newGlobalSecondaryIndexUpdate :: GlobalSecondaryIndexUpdate
- globalSecondaryIndexUpdate_create :: Lens' GlobalSecondaryIndexUpdate (Maybe CreateGlobalSecondaryIndexAction)
- globalSecondaryIndexUpdate_delete :: Lens' GlobalSecondaryIndexUpdate (Maybe DeleteGlobalSecondaryIndexAction)
- globalSecondaryIndexUpdate_update :: Lens' GlobalSecondaryIndexUpdate (Maybe UpdateGlobalSecondaryIndexAction)
Documentation
data GlobalSecondaryIndexUpdate Source #
Represents one of the following:
- A new global secondary index to be added to an existing table.
- New provisioned throughput parameters for an existing global secondary index.
- An existing global secondary index to be removed from an existing table.
See: newGlobalSecondaryIndexUpdate smart constructor.
Constructors
| GlobalSecondaryIndexUpdate' | |
Fields
| |
Instances
newGlobalSecondaryIndexUpdate :: GlobalSecondaryIndexUpdate Source #
Create a value of GlobalSecondaryIndexUpdate 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:create:GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_create - The parameters required for creating a global secondary index on an
existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
$sel:delete':GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_delete - The name of an existing global secondary index to be removed.
$sel:update:GlobalSecondaryIndexUpdate', globalSecondaryIndexUpdate_update - The name of an existing global secondary index, along with new
provisioned throughput settings to be applied to that index.
globalSecondaryIndexUpdate_create :: Lens' GlobalSecondaryIndexUpdate (Maybe CreateGlobalSecondaryIndexAction) Source #
The parameters required for creating a global secondary index on an existing table:
IndexName
KeySchema
AttributeDefinitions
Projection
ProvisionedThroughput
globalSecondaryIndexUpdate_delete :: Lens' GlobalSecondaryIndexUpdate (Maybe DeleteGlobalSecondaryIndexAction) Source #
The name of an existing global secondary index to be removed.
globalSecondaryIndexUpdate_update :: Lens' GlobalSecondaryIndexUpdate (Maybe UpdateGlobalSecondaryIndexAction) Source #
The name of an existing global secondary index, along with new provisioned throughput settings to be applied to that index.