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

Class: Aws::KinesisAnalytics::Types::MappingParameters

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 MappingParameters data as a hash:

{
  json_mapping_parameters: {
    record_row_path: "RecordRowPath", # required
  },
  csv_mapping_parameters: {
    record_row_delimiter: "RecordRowDelimiter", # required
    record_column_delimiter: "RecordColumnDelimiter", # required
  },
}

When configuring application input at the time of creating or updating an application, provides additional mapping information specific to the record format (such as JSON, CSV, or record fields delimited by some delimiter) on the streaming source.

Instance Attribute Summary collapse

Instance Attribute Details

#csv_mapping_parametersTypes::CSVMappingParameters

Provides additional mapping information when the record format uses delimiters (for example, CSV).



2259
2260
2261
2262
2263
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 2259

class MappingParameters < Struct.new(
  :json_mapping_parameters,
  :csv_mapping_parameters)
  include Aws::Structure
end

#json_mapping_parametersTypes::JSONMappingParameters

Provides additional mapping information when JSON is the record format on the streaming source.



2259
2260
2261
2262
2263
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 2259

class MappingParameters < Struct.new(
  :json_mapping_parameters,
  :csv_mapping_parameters)
  include Aws::Structure
end