class Aws::DynamoDB::Types::UpdateTableInput
@see docs.aws.amazon.com/goto/WebAPI/dynamodb-2012-08-10/UpdateTableInput AWS API Documentation
@return [Types::SSESpecification]
The new server-side encryption settings for the specified table.
@!attribute [rw] sse_specification
@return [Types::StreamSpecification]
</note>
disable a stream on a table which does not have a stream.
a stream on a table that already has a stream, or if you attempt to
<note markdown=“1”> You will receive a ‘ResourceInUseException` if you attempt to enable
Represents the DynamoDB Streams configuration for the table.
@!attribute [rw] stream_specification
@return [Array<Types::GlobalSecondaryIndexUpdate>]<br>: docs.aws.amazon.com/amazondynamodb/latest/developerguide/GSI.OnlineOps.html<br><br><br><br>the *Amazon DynamoDB Developer Guide*.
For more information, see [Managing Global Secondary Indexes] in
* `Delete` - remove a global secondary index from the table.
existing global secondary index.
* `Update` - modify the provisioned throughput settings of an
* `Create` - add a new global secondary index to the table.
each index in the array, you can request one action:
An array of one or more global secondary indexes for the table. For
@!attribute [rw] global_secondary_index_updates
@return [Types::ProvisionedThroughput]
index.
The new provisioned throughput settings for the specified table or
@!attribute [rw] provisioned_throughput
@return [String]
The name of the table to be updated.
@!attribute [rw] table_name
@return [Array<Types::AttributeDefinition>]
new index.
table, `AttributeDefinitions` must include the key element(s) of the
and indexes. If you are adding a new global secondary index to the
An array of attributes that describe the key schema for the table
@!attribute [rw] attribute_definitions
}
},
kms_master_key_id: “KMSMasterKeyId”,
sse_type: “AES256”, # accepts AES256, KMS
enabled: false,
sse_specification: {
},
stream_view_type: “NEW_IMAGE”, # accepts NEW_IMAGE, OLD_IMAGE, NEW_AND_OLD_IMAGES, KEYS_ONLY
stream_enabled: false,
stream_specification: {
],
},
},
index_name: “IndexName”, # required
delete: {
},
},
write_capacity_units: 1, # required
read_capacity_units: 1, # required
provisioned_throughput: { # required
},
non_key_attributes: [“NonKeyAttributeName”],
projection_type: “ALL”, # accepts ALL, KEYS_ONLY, INCLUDE
projection: { # required
],
},
key_type: “HASH”, # required, accepts HASH, RANGE
attribute_name: “KeySchemaAttributeName”, # required
{
key_schema: [ # required
index_name: “IndexName”, # required
create: {
},
},
write_capacity_units: 1, # required
read_capacity_units: 1, # required
provisioned_throughput: { # required
index_name: “IndexName”, # required
update: {
{
global_secondary_index_updates: [
},
write_capacity_units: 1, # required
read_capacity_units: 1, # required
provisioned_throughput: {
table_name: “TableName”, # required
],
},
attribute_type: “S”, # required, accepts S, N, B
attribute_name: “KeySchemaAttributeName”, # required
{
attribute_definitions: [
{
data as a hash:
@note When making an API call, you may pass UpdateTableInput
Represents the input of an `UpdateTable` operation.