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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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",
  },
  compression_type: "NONE", # accepts NONE, GZIP
  json: {
    type: "DOCUMENT", # accepts DOCUMENT, LINES
  },
}

Describes the serialization format of the object.

Instance Attribute Summary collapse

Instance Attribute Details

#compression_typeString

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

Returns:

  • (String)


3643
3644
3645
3646
3647
3648
# File 'lib/aws-sdk-s3/types.rb', line 3643

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json)
  include Aws::Structure
end

#csvTypes::CSVInput

Describes the serialization of a CSV-encoded object.

Returns:



3643
3644
3645
3646
3647
3648
# File 'lib/aws-sdk-s3/types.rb', line 3643

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json)
  include Aws::Structure
end

#jsonTypes::JSONInput

Specifies JSON as object’s input serialization format.

Returns:



3643
3644
3645
3646
3647
3648
# File 'lib/aws-sdk-s3/types.rb', line 3643

class InputSerialization < Struct.new(
  :csv,
  :compression_type,
  :json)
  include Aws::Structure
end