You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::KinesisAnalyticsV2::Types::SourceSchema

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SourceSchema as input to an Aws::Client method, you can use a vanilla Hash:

{
  record_format: { # required
    record_format_type: "JSON", # required, accepts JSON, CSV
    mapping_parameters: {
      json_mapping_parameters: {
        record_row_path: "RecordRowPath", # required
      },
      csv_mapping_parameters: {
        record_row_delimiter: "RecordRowDelimiter", # required
        record_column_delimiter: "RecordColumnDelimiter", # required
      },
    },
  },
  record_encoding: "RecordEncoding",
  record_columns: [ # required
    {
      name: "RecordColumnName", # required
      mapping: "RecordColumnMapping",
      sql_type: "RecordColumnSqlType", # required
    },
  ],
}

For a SQL-based Kinesis Data Analytics application, describes the format of the data in the streaming source, and how each data element maps to corresponding columns created in the in-application stream.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#record_columnsArray<Types::RecordColumn>

A list of RecordColumn objects.

Returns:

#record_encodingString

Specifies the encoding of the records in the streaming source. For example, UTF-8.

Returns:

  • (String)

    Specifies the encoding of the records in the streaming source.

#record_formatTypes::RecordFormat

Specifies the format of the records on the streaming source.

Returns: