DynamoDB / Client / exceptions / ResourceInUseException
ResourceInUseException#
- class DynamoDB.Client.exceptions.ResourceInUseException#
The operation conflicts with the resource’s availability. For example:
You attempted to recreate an existing table.
You tried to delete a table currently in the
CREATING
state.You tried to update a resource that was already being updated.
When appropriate, wait for the ongoing update to complete and attempt the request again.
Example
try: ... except client.exceptions.ResourceInUseException as e: print(e.response)
- response#
The parsed error response. All exceptions have a top level
Error
key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.Syntax
{ 'message': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The operation conflicts with the resource’s availability. For example:
You attempted to recreate an existing table.
You tried to delete a table currently in the
CREATING
state.You tried to update a resource that was already being updated.
When appropriate, wait for the ongoing update to complete and attempt the request again.
message (string) –
The resource which is being attempted to be changed is in use.
Error (dict) – Normalized access to common exception attributes.
Code (string) – An identifier specifying the exception type.
Message (string) – A descriptive message explaining why the exception occured.