Increment treats the initial value as 0 if no value exists for the key.
Increment adds the given amount to the value.
An error is thrown if the value exists and is not a number.
Example
Use a bare-bones client and the command you need to make an API call.
Increment a value.
Increment treats the initial value as 0 if no value exists for the key. Increment adds the given amount to the value. An error is thrown if the value exists and is not a number.
Example
Use a bare-bones client and the command you need to make an API call.
Param
IncrementValueCommandInput
Returns
IncrementValueCommandOutput
See
input
shape.response
shape.config
shape.Throws
KeyspaceNotFoundError (client fault)
Throws
AccessDeniedError (client fault)
Throws
InternalServerError (server fault)
Throws
ThrottledError (client fault)
Throws
UnauthorizedError (client fault)
Throws
ValidationError (client fault)
Throws
StashServiceException
Base exception class for all service exceptions from Stash service.