class Aws::KinesisAnalytics::Types::SourceSchema

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.

@note When making an API call, you may pass SourceSchema

data as a 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
        },
      ],
    }

@!attribute [rw] record_format

Specifies the format of the records on the streaming source.
@return [Types::RecordFormat]

@!attribute [rw] record_encoding

Specifies the encoding of the records in the streaming source. For
example, UTF-8.
@return [String]

@!attribute [rw] record_columns

A list of `RecordColumn` objects.
@return [Array<Types::RecordColumn>]

@see docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/SourceSchema AWS API Documentation

Constants

SENSITIVE