KeyspacesStreams / Client / exceptions / ResourceNotFoundException

ResourceNotFoundException

class KeyspacesStreams.Client.exceptions.ResourceNotFoundException

The requested resource doesn’t exist or could not be found.

This exception occurs when you attempt to access a keyspace, table, stream, or other Amazon Keyspaces resource that doesn’t exist or that has been deleted. Verify that the resource identifier is correct and that the resource exists in your account.

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

Structure

  • (dict) –

    The requested resource doesn’t exist or could not be found.

    This exception occurs when you attempt to access a keyspace, table, stream, or other Amazon Keyspaces resource that doesn’t exist or that has been deleted. Verify that the resource identifier is correct and that the resource exists in your account.

    • message (string) –

      The requested resource wasn’t found. Verify that the resource exists and try again.

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