The GetItem operation returns a set of attributes for the item with the given primary key. If there is no matching item, GetItem does not return any data and there will be no Item element in the response.GetItem provides an eventually consistent read by default. If your application requires a strongly consistent read, set ConsistentRead to true. Although a strongly consistent read might take more time than an eventually consistent read, it always returns the last updated value.
Request
Header Params
Body Params application/json
Examples
Responses
🟢200Success
application/json
Body
🟠480ProvisionedThroughputExceededException
🟠481ResourceNotFoundException
🟠482RequestLimitExceeded
🟠483InternalServerError
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST '/' \
--header'X-Amz-Target;' \
--header'Content-Type: application/json' \
--data-raw''
Response Response Example
200 - Example 1
{"Item":{"AlbumTitle":{"S":"Songs About Life"},"Artist":{"S":"Acme Band"},"SongTitle":{"S":"Happy Day"}}}