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
- Struct
- Aws::S3::Types::InputSerialization
- 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
},
parquet: {
},
}
Describes the serialization format of the object.
Returned by:
Instance Attribute Summary collapse
-
#compression_type ⇒ String
Specifies object\'s compression format.
-
#csv ⇒ Types::CSVInput
Describes the serialization of a CSV-encoded object.
-
#json ⇒ Types::JSONInput
Specifies JSON as object\'s input serialization format.
-
#parquet ⇒ Types::ParquetInput
Specifies Parquet as object\'s input serialization format.
Instance Attribute Details
#compression_type ⇒ String
Specifies object\'s compression format. Valid values: NONE, GZIP, BZIP2. Default Value: NONE.
Possible values:
- NONE
- GZIP
- BZIP2
#csv ⇒ Types::CSVInput
Describes the serialization of a CSV-encoded object.
#json ⇒ Types::JSONInput
Specifies JSON as object\'s input serialization format.
#parquet ⇒ Types::ParquetInput
Specifies Parquet as object\'s input serialization format.