Skip to content

Execute statement

async_boto.validation.dynamodb.execute_statement

ExecuteStatementRequest

Bases: BaseModel

Allows you to perform reads and singleton writes on data stored in DynamoDB, using PartiQL.

ATTRIBUTE DESCRIPTION
Statement

The PartiQL statement representing the operation to run.

TYPE: str

ConsistentRead

Determines the read consistency model: If set to true, then the operation uses strongly consistent reads; otherwise, the operation uses eventually consistent reads.

TYPE: Optional[bool]

Limit

The maximum number of items to evaluate (not necessarily the number of matching items).

TYPE: Optional[int]

NextToken

An optional string that, if supplied, must be copied from the output of a previous call to the same operation.

TYPE: Optional[str]

Parameters

The parameters for the PartiQL statement.

TYPE: Optional[List[AttributeValue]]

ReturnConsumedCapacity

Determines the level of detail about either provisioned or on-demand throughput consumption that is returned in the response.

TYPE: Optional[Literal['INDEXES', 'TOTAL', 'NONE']]

ReturnValuesOnConditionCheckFailure

An optional parameter that returns the item attributes for a condition check failure.

TYPE: Optional[Literal['ALL_OLD', 'NONE']]

Statement instance-attribute

Statement

ConsistentRead class-attribute instance-attribute

ConsistentRead = None

Limit class-attribute instance-attribute

Limit = None

NextToken class-attribute instance-attribute

NextToken = None

Parameters class-attribute instance-attribute

Parameters = None

ReturnConsumedCapacity class-attribute instance-attribute

ReturnConsumedCapacity = None

ReturnValuesOnConditionCheckFailure class-attribute instance-attribute

ReturnValuesOnConditionCheckFailure = None

ExecuteStatementResponse

Bases: BaseModel

Response for the ExecuteStatement operation.

ATTRIBUTE DESCRIPTION
ConsumedCapacity

The capacity units consumed by an operation.

TYPE: Optional[ConsumedCapacity]

Items

The items returned by the operation.

TYPE: Optional[List[Dict[str, AttributeValue]]]

LastEvaluatedKey

The primary key of the item where the operation stopped, inclusive of the previous result set.

TYPE: Optional[Dict[str, AttributeValue]]

NextToken

An optional string that, if supplied, must be copied from the output of a previous call to the same operation.

TYPE: Optional[str]

ConsumedCapacity class-attribute instance-attribute

ConsumedCapacity = None

Items class-attribute instance-attribute

Items = None

LastEvaluatedKey class-attribute instance-attribute

LastEvaluatedKey = None

NextToken class-attribute instance-attribute

NextToken = None