SES / Client / exceptions / CannotDeleteException
CannotDeleteException¶
- class SES.Client.exceptions.CannotDeleteException¶
- Indicates that the delete operation could not be completed. - Example- try: ... except client.exceptions.CannotDeleteException as e: print(e.response) - response¶
- The parsed error response. All exceptions have a top level - Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.- Syntax- { 'Name': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - Indicates that the delete operation could not be completed. - Name (string) – - Indicates that a resource could not be deleted because no resource with the specified name exists. 
- 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.