Deletes one or more attributes associated with an item. If all attributes of the item are deleted, the item is deleted.
NOTE: If DeleteAttributes is called without being passed any attributes or values specified, all the attributes for the item are deleted.
DeleteAttributes
is an idempotent operation; running it multiple times on the same item or attribute does not result in an error response.
Because Amazon SimpleDB makes multiple copies of item data and uses an eventual consistency update model, performing a GetAttributes or Select operation (read) immediately after a DeleteAttributes
or PutAttributes operation (write) might not return updated item data.
@param deleteAttributesRequest Container for the necessary parametersto execute the DeleteAttributes service method on AmazonSimpleDB.
@throws InvalidParameterValueException
@throws NoSuchDomainException
@throws AttributeDoesNotExistException
@throws MissingParameterException
@throws AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
@throws AmazonServiceException If an error response is returned by AmazonSimpleDB indicating either a problem with the data in the request, or a server side issue.