Module Smaws_Client_DynamoDB.GetItem

val request : Smaws_Lib.Context.t -> get_item_input -> (get_item_output, [> Smaws_Lib.Protocols.AwsJson.error | `InternalServerError of internal_server_error | `InvalidEndpointException of invalid_endpoint_exception | `ProvisionedThroughputExceededException of provisioned_throughput_exceeded_exception | `RequestLimitExceeded of request_limit_exceeded | `ResourceNotFoundException of resource_not_found_exception ]) Stdlib.result

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.