DynamoDB Client delete_item has incorrect request syntax #4339
Labels
bug
This issue is a confirmed bug.
documentation
This is a problem with documentation.
dynamodb
p3
This is a minor priority issue
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the issue
The Request Syntax shows these ReturnValues:
ReturnValues='NONE'|'ALL_OLD'|'UPDATED_OLD'|'ALL_NEW'|'UPDATED_NEW',
This is not true. If I attempt to return
UPDATED_NEW
, I receive this error:[ERROR] ClientError: An error occurred (ValidationException) when calling the DeleteItem operation: ReturnValues can only be ALL_OLD or NONE
The correct return value options are:
ALL_OLD
orNONE
.Links
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/delete_item.html
The text was updated successfully, but these errors were encountered: