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 CreateGlobalSecondaryIndexAction = CreateGlobalSecondaryIndexAction' {}
- newCreateGlobalSecondaryIndexAction :: Text -> NonEmpty KeySchemaElement -> Projection -> CreateGlobalSecondaryIndexAction
- createGlobalSecondaryIndexAction_provisionedThroughput :: Lens' CreateGlobalSecondaryIndexAction (Maybe ProvisionedThroughput)
- createGlobalSecondaryIndexAction_indexName :: Lens' CreateGlobalSecondaryIndexAction Text
- createGlobalSecondaryIndexAction_keySchema :: Lens' CreateGlobalSecondaryIndexAction (NonEmpty KeySchemaElement)
- createGlobalSecondaryIndexAction_projection :: Lens' CreateGlobalSecondaryIndexAction Projection
Documentation
data CreateGlobalSecondaryIndexAction Source #
Represents a new global secondary index to be added to an existing table.
See: newCreateGlobalSecondaryIndexAction
smart constructor.
CreateGlobalSecondaryIndexAction' | |
|
Instances
newCreateGlobalSecondaryIndexAction Source #
Create a value of CreateGlobalSecondaryIndexAction
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:provisionedThroughput:CreateGlobalSecondaryIndexAction'
, createGlobalSecondaryIndexAction_provisionedThroughput
- Represents the provisioned throughput settings for the specified global
secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
$sel:indexName:CreateGlobalSecondaryIndexAction'
, createGlobalSecondaryIndexAction_indexName
- The name of the global secondary index to be created.
$sel:keySchema:CreateGlobalSecondaryIndexAction'
, createGlobalSecondaryIndexAction_keySchema
- The key schema for the global secondary index.
$sel:projection:CreateGlobalSecondaryIndexAction'
, createGlobalSecondaryIndexAction_projection
- Represents attributes that are copied (projected) from the table into an
index. These are in addition to the primary key attributes and index key
attributes, which are automatically projected.
createGlobalSecondaryIndexAction_provisionedThroughput :: Lens' CreateGlobalSecondaryIndexAction (Maybe ProvisionedThroughput) Source #
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
createGlobalSecondaryIndexAction_indexName :: Lens' CreateGlobalSecondaryIndexAction Text Source #
The name of the global secondary index to be created.
createGlobalSecondaryIndexAction_keySchema :: Lens' CreateGlobalSecondaryIndexAction (NonEmpty KeySchemaElement) Source #
The key schema for the global secondary index.
createGlobalSecondaryIndexAction_projection :: Lens' CreateGlobalSecondaryIndexAction Projection Source #
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.