Smaws_Client_DynamoDB.GetItem
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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `RequestLimitExceeded of Types.request_limit_exceeded
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.get_item_input ->
(Types.get_item_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `RequestLimitExceeded of Types.request_limit_exceeded
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.result