Keyspaces / Client / exceptions / ResourceNotFoundException

ResourceNotFoundException#

class Keyspaces.Client.exceptions.ResourceNotFoundException#

The operation tried to access a keyspace, table, or type that doesn’t exist. The resource might not be specified correctly, or its status might not be ACTIVE.

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',
    'resourceArn': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The operation tried to access a keyspace, table, or type that doesn’t exist. The resource might not be specified correctly, or its status might not be ACTIVE.

    • message (string) –

      Description of the error.

    • resourceArn (string) –

      The unique identifier in the format of Amazon Resource Name (ARN) for the resource couldn’t be found.

    • 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.