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

Class: Aws::KinesisAnalytics::Types::CSVMappingParameters

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

{
  record_row_delimiter: "RecordRowDelimiter", # required
  record_column_delimiter: "RecordColumnDelimiter", # required
}

Provides additional mapping information when the record format uses delimiters, such as CSV. For example, the following sample records use CSV format, where the records use the '\n' as the row delimiter and a comma (",") as the column delimiter:

"name1", "address1"

"name2, "address2"

Instance Attribute Summary collapse

Instance Attribute Details

#record_column_delimiterString

Column delimiter. For example, in a CSV format, a comma (",") is the typical column delimiter.

Returns:

  • (String)


597
598
599
600
601
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 597

class CSVMappingParameters < Struct.new(
  :record_row_delimiter,
  :record_column_delimiter)
  include Aws::Structure
end

#record_row_delimiterString

Row delimiter. For example, in a CSV format, '\n' is the typical row delimiter.

Returns:

  • (String)


597
598
599
600
601
# File 'gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/types.rb', line 597

class CSVMappingParameters < Struct.new(
  :record_row_delimiter,
  :record_column_delimiter)
  include Aws::Structure
end