Module Smaws_Client_DynamoDB.UpdateItem

Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).

You can also return the item's attribute values in the same UpdateItem operation using the ReturnValues parameter.

val request : Smaws_Lib.Context.t -> Types.update_item_input -> (Types.update_item_output, [> Smaws_Lib.Protocols.AwsJson.error | `ConditionalCheckFailedException of Types.conditional_check_failed_exception | `InternalServerError of Types.internal_server_error | `InvalidEndpointException of Types.invalid_endpoint_exception | `ItemCollectionSizeLimitExceededException of Types.item_collection_size_limit_exceeded_exception | `ProvisionedThroughputExceededException of Types.provisioned_throughput_exceeded_exception | `ReplicatedWriteConflictException of Types.replicated_write_conflict_exception | `RequestLimitExceeded of Types.request_limit_exceeded | `ResourceNotFoundException of Types.resource_not_found_exception | `TransactionConflictException of Types.transaction_conflict_exception ]) Stdlib.result