DataExchange / Client / exceptions / ConflictException
ConflictException#
- class DataExchange.Client.exceptions.ConflictException#
The request couldn’t be completed because it conflicted with the current state of the resource.
Example
try: ... except client.exceptions.ConflictException 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', 'ResourceId': 'string', 'ResourceType': 'DATA_SET'|'REVISION'|'ASSET'|'JOB'|'EVENT_ACTION'|'DATA_GRANT', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request couldn’t be completed because it conflicted with the current state of the resource.
Message (string) –
The request couldn’t be completed because it conflicted with the current state of the resource.
ResourceId (string) –
The unique identifier for the resource with the conflict.
ResourceType (string) –
The type of the resource with the conflict.
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.