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

Class: Aws::KinesisAnalytics::Types::InputSchemaUpdate

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb

Overview

Note:

When making an API call, you may pass InputSchemaUpdate data as a hash:

{
  record_format_update: {
    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_update: "RecordEncoding",
  record_column_updates: [
    {
      name: "RecordColumnName", # required
      mapping: "RecordColumnMapping",
      sql_type: "RecordColumnSqlType", # required
    },
  ],
}

Describes updates for the application's input schema.

Instance Attribute Summary collapse

Instance Attribute Details

#record_column_updatesArray<Types::RecordColumn>

A list of RecordColumn objects. Each object describes the mapping of the streaming source element to the corresponding column in the in-application stream.

Returns:



1698
1699
1700
1701
1702
1703
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 1698

class InputSchemaUpdate < Struct.new(
  :record_format_update,
  :record_encoding_update,
  :record_column_updates)
  include Aws::Structure
end

#record_encoding_updateString

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

Returns:

  • (String)


1698
1699
1700
1701
1702
1703
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 1698

class InputSchemaUpdate < Struct.new(
  :record_format_update,
  :record_encoding_update,
  :record_column_updates)
  include Aws::Structure
end

#record_format_updateTypes::RecordFormat

Specifies the format of the records on the streaming source.

Returns:



1698
1699
1700
1701
1702
1703
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 1698

class InputSchemaUpdate < Struct.new(
  :record_format_update,
  :record_encoding_update,
  :record_column_updates)
  include Aws::Structure
end