Class: Aws::S3::Types::InputSerialization
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3::Types::InputSerialization
- 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",
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
-
#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.
7595 7596 7597 7598 7599 7600 7601 7602 |
# File 'lib/aws-sdk-s3/types.rb', line 7595 class InputSerialization < Struct.new( :csv, :compression_type, :json, :parquet) SENSITIVE = [] include Aws::Structure end |
#csv ⇒ Types::CSVInput
Describes the serialization of a CSV-encoded object.
7595 7596 7597 7598 7599 7600 7601 7602 |
# File 'lib/aws-sdk-s3/types.rb', line 7595 class InputSerialization < Struct.new( :csv, :compression_type, :json, :parquet) SENSITIVE = [] include Aws::Structure end |
#json ⇒ Types::JSONInput
Specifies JSON as object’s input serialization format.
7595 7596 7597 7598 7599 7600 7601 7602 |
# File 'lib/aws-sdk-s3/types.rb', line 7595 class InputSerialization < Struct.new( :csv, :compression_type, :json, :parquet) SENSITIVE = [] include Aws::Structure end |
#parquet ⇒ Types::ParquetInput
Specifies Parquet as object’s input serialization format.
7595 7596 7597 7598 7599 7600 7601 7602 |
# File 'lib/aws-sdk-s3/types.rb', line 7595 class InputSerialization < Struct.new( :csv, :compression_type, :json, :parquet) SENSITIVE = [] include Aws::Structure end |