import { _AttributeDefinition } from './_AttributeDefinition'; import { _ProvisionedThroughput } from './_ProvisionedThroughput'; import { _GlobalSecondaryIndexUpdate } from './_GlobalSecondaryIndexUpdate'; import { _StreamSpecification } from './_StreamSpecification'; import { _SSESpecification } from './_SSESpecification'; import { BrowserHttpOptions as __HttpOptions__ } from '@aws-sdk/types'; import * as __aws_sdk_types from '@aws-sdk/types'; /** *

Represents the input of an UpdateTable operation.

*/ export interface UpdateTableInput { /** *

An array of attributes that describe the key schema for the table and indexes. If you are adding a new global secondary index to the table, AttributeDefinitions must include the key element(s) of the new index.

*/ AttributeDefinitions?: Array<_AttributeDefinition> | Iterable<_AttributeDefinition>; /** *

The name of the table to be updated.

*/ TableName: string; /** *

The new provisioned throughput settings for the specified table or index.

*/ ProvisionedThroughput?: _ProvisionedThroughput; /** *

An array of one or more global secondary indexes for the table. For each index in the array, you can request one action:

For more information, see Managing Global Secondary Indexes in the Amazon DynamoDB Developer Guide.

*/ GlobalSecondaryIndexUpdates?: Array<_GlobalSecondaryIndexUpdate> | Iterable<_GlobalSecondaryIndexUpdate>; /** *

Represents the DynamoDB Streams configuration for the table.

You will receive a ResourceInUseException if you attempt to enable a stream on a table that already has a stream, or if you attempt to disable a stream on a table which does not have a stream.

*/ StreamSpecification?: _StreamSpecification; /** *

The new server-side encryption settings for the specified table.

*/ SSESpecification?: _SSESpecification; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }