KinesisAnalyticsV2 / Client / exceptions / UnableToDetectSchemaException

UnableToDetectSchemaException#

class KinesisAnalyticsV2.Client.exceptions.UnableToDetectSchemaException#

The data format is not valid. Kinesis Data Analytics cannot detect the schema for the given streaming source.

Example

try:
  ...
except client.exceptions.UnableToDetectSchemaException 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',
    'RawInputRecords': [
        'string',
    ],
    'ProcessedInputRecords': [
        'string',
    ],
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The data format is not valid. Kinesis Data Analytics cannot detect the schema for the given streaming source.

    • Message (string) –

    • RawInputRecords (list) –

      Raw stream data that was sampled to infer the schema.

      • (string) –

    • ProcessedInputRecords (list) –

      Stream data that was modified by the processor specified in the InputProcessingConfiguration parameter.

      • (string) –

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