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

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

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

Overview

Note:

When passing InputSerialization as input to an Aws::Client method, you can use a vanilla 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
  },
}

Describes the serialization format of the object.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#compression_typeString

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

Possible values:

  • NONE
  • GZIP
  • BZIP2

Returns:

  • (String)

    Specifies object\'s compression format.

#csvTypes::CSVInput

Describes the serialization of a CSV-encoded object.

Returns:

  • (Types::CSVInput)

    Describes the serialization of a CSV-encoded object.

#jsonTypes::JSONInput

Specifies JSON as object\'s input serialization format.

Returns:

  • (Types::JSONInput)

    Specifies JSON as object\'s input serialization format.