Class: Aws::KinesisAnalyticsV2::Types::SourceSchema
- Inherits:
-
Struct
- Object
- Struct
- Aws::KinesisAnalyticsV2::Types::SourceSchema
- Defined in:
- gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb
Overview
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
},
],
}
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#record_columns ⇒ Array<Types::RecordColumn>
A list of
RecordColumn
objects. -
#record_encoding ⇒ String
Specifies the encoding of the records in the streaming source.
-
#record_format ⇒ Types::RecordFormat
Specifies the format of the records on the streaming source.
Instance Attribute Details
#record_columns ⇒ Array<Types::RecordColumn>
A list of RecordColumn
objects.
5251 5252 5253 5254 5255 5256 5257 |
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5251 class SourceSchema < Struct.new( :record_format, :record_encoding, :record_columns) SENSITIVE = [] include Aws::Structure end |
#record_encoding ⇒ String
Specifies the encoding of the records in the streaming source. For example, UTF-8.
5251 5252 5253 5254 5255 5256 5257 |
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5251 class SourceSchema < Struct.new( :record_format, :record_encoding, :record_columns) SENSITIVE = [] include Aws::Structure end |
#record_format ⇒ Types::RecordFormat
Specifies the format of the records on the streaming source.
5251 5252 5253 5254 5255 5256 5257 |
# File 'gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/types.rb', line 5251 class SourceSchema < Struct.new( :record_format, :record_encoding, :record_columns) SENSITIVE = [] include Aws::Structure end |