Class: Aws::S3::Types::InputSerialization

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

Overview

Note:

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

{
  csv: {
    file_header_info: "USE", # accepts USE, IGNORE, NONE
    comments: "Comments",
    quote_escape_character: "QuoteEscapeCharacter",
    record_delimiter: "RecordDelimiter",
    field_delimiter: "FieldDelimiter",
    quote_character: "QuoteCharacter",
    allow_quoted_record_delimiter: false,
  },
  compression_type: "NONE", # accepts NONE, GZIP, BZIP2
  json: {
    type: "DOCUMENT", # accepts DOCUMENT, LINES
  },
  parquet: {
  },
}

Describes the serialization format of the object.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#compression_typeString

Specifies object's compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.

Returns:

  • (String)


6202
6203
6204
6205
6206
6207
6208
6209
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6202

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json,
  :parquet)
  SENSITIVE = []
  include Aws::Structure
end

#csvTypes::CSVInput

Describes the serialization of a CSV-encoded object.

Returns:



6202
6203
6204
6205
6206
6207
6208
6209
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6202

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json,
  :parquet)
  SENSITIVE = []
  include Aws::Structure
end

#jsonTypes::JSONInput

Specifies JSON as object's input serialization format.

Returns:



6202
6203
6204
6205
6206
6207
6208
6209
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6202

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json,
  :parquet)
  SENSITIVE = []
  include Aws::Structure
end

#parquetTypes::ParquetInput

Specifies Parquet as object's input serialization format.

Returns:

  • (Types::ParquetInput)


6202
6203
6204
6205
6206
6207
6208
6209
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 6202

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json,
  :parquet)
  SENSITIVE = []
  include Aws::Structure
end