Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Error CodeError DefinitionError Description
 REGION_NOT_FOUNDNo region with the provided regionName exists.
 CONSTRAINT_VIOLATIONThe type of value provided for the key doesn’t match the region’s constraints. 


RemoveAll

 

Description

Removes all of a list of entries from a region.

...

Request

 

RemoveAllRequest
Field NameData typeDescriptionMandatory?Repeated?
regionNameStringThe name of the region to remove entries from.YN
keyEncodedValueA list of keys who's entries should be removed.YY

 



Response

 

...

RemoveAllResponse
Field NameData typeDescriptionMandatory?Repeated
failedKeysKeyedErrorResponseA list of keys that were not removed.NY

...


Expected behavior 

 

  • If a key is not present in the region, this operation will ignore it and continue with the others.

  • If a RemoveAllResponse is returned with a list of failedKeys, any keys from the request not present in the response have been removed.  If an empty list is returned, all keys were removed.

  • Any keys present in failedKeys will have their entry remain in the same state they were in prior to this operation.

  • If an error response is returned by this operation (instead of a RemoveAllResponse), all entries remain in the same state as prior to this operation.

 

Errors

...

Error CodeError DefinitionError Description
 REGION_NOT_FOUNDNo region with the provided regionName exists.

...