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

Class: Aws::KinesisAnalytics::Types::RecordFormat

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RecordFormat as input to an Aws::Client method, you can use a vanilla Hash:

{
  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
    },
  },
}

Describes the record format and relevant mapping information that should be applied to schematize the records on the stream.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#mapping_parametersTypes::MappingParameters

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.

Returns:

  • (Types::MappingParameters)

    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.

#record_format_typeString

The type of record format.

Possible values:

  • JSON
  • CSV

Returns:

  • (String)

    The type of record format.