PaymentCryptographyControlPlane / Client / exceptions / ResourceNotFoundException
ResourceNotFoundException¶
- class PaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundException¶
The request was denied due to resource not found.
The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.
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
{ 'ResourceId': 'string', 'Error': { 'Code': 'string', 'Message': 'string' } }
Structure
(dict) –
The request was denied due to resource not found.
The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.
ResourceId (string) –
The identifier of the resource that was not found.
This field contains the specific resource identifier (such as a key ARN or alias name) that could not be located.
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.