BackupSearch / Client / exceptions / ResourceNotFoundException
ResourceNotFoundException#
- class BackupSearch.Client.exceptions.ResourceNotFoundException#
The resource was not found for this request.
Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.
Example
try: ... except client.exceptions.ResourceNotFoundException 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': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The resource was not found for this request.
Confirm the resource information, such as the ARN or type is correct and exists, then retry the request.
message (string) –
Request references a resource which does not exist.
resourceId (string) –
Hypothetical identifier of the resource affected.
resourceType (string) –
Hypothetical type of the resource affected.
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.