import { _WriteRequest } from './_WriteRequest'; import { BrowserHttpOptions as __HttpOptions__ } from '@aws-sdk/types'; import * as __aws_sdk_types from '@aws-sdk/types'; /** *

Represents the input of a BatchWriteItem operation.

*/ export interface BatchWriteItemInput { /** *

A map of one or more table names and, for each table, a list of operations to be performed (DeleteRequest or PutRequest). Each element in the map consists of the following:

*/ RequestItems: { [key: string]: Array<_WriteRequest> | Iterable<_WriteRequest>; } | Iterable<[string, Array<_WriteRequest> | Iterable<_WriteRequest>]>; /** *

Determines the level of detail about provisioned throughput consumption that is returned in the response:

*/ ReturnConsumedCapacity?: 'INDEXES' | 'TOTAL' | 'NONE' | string; /** *

Determines whether item collection metrics are returned. If set to SIZE, the response includes statistics about item collections, if any, that were modified during the operation are returned in the response. If set to NONE (the default), no statistics are returned.

*/ ReturnItemCollectionMetrics?: 'SIZE' | 'NONE' | string; /** * 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__; }