Execute Statement API

Documentation

The ExecuteStatement API is used for running the PartiQL statements against the DynamoDB tables.

  • Statement is the PartiQL Statement

  • ConsistentRead may be set to true for Strongly consistent read

  • NextToken is to support pagination. If the response returns a NextToken, that indicates additional page(s) which may retrieved by passing the NextToken in subsequent calls to this operation

  • Parameters is for specifying the parameters. This parameter is an array of AttributeValue object

aws dynamodb execute-statement \
    --statement  "SELECT FirstName, LastName FROM Employee WHERE LoginAlias='johns'"