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

Class: Aws::S3::Types::SelectParameters

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 SelectParameters data as a hash:

{
  input_serialization: { # required
    csv: {
      file_header_info: "USE", # accepts USE, IGNORE, NONE
      comments: "Comments",
      quote_escape_character: "QuoteEscapeCharacter",
      record_delimiter: "RecordDelimiter",
      field_delimiter: "FieldDelimiter",
      quote_character: "QuoteCharacter",
    },
  },
  expression_type: "SQL", # required, accepts SQL
  expression: "Expression", # required
  output_serialization: { # required
    csv: {
      quote_fields: "ALWAYS", # accepts ALWAYS, ASNEEDED
      quote_escape_character: "QuoteEscapeCharacter",
      record_delimiter: "RecordDelimiter",
      field_delimiter: "FieldDelimiter",
      quote_character: "QuoteCharacter",
    },
  },
}

Describes the parameters for Select job types.

Instance Attribute Summary collapse

Instance Attribute Details

#expressionString

The expression that is used to query the object.

Returns:

  • (String)


7903
7904
7905
7906
7907
7908
7909
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7903

class SelectParameters < Struct.new(
  :input_serialization,
  :expression_type,
  :expression,
  :output_serialization)
  include Aws::Structure
end

#expression_typeString

The type of the provided expression (e.g., SQL).

Returns:

  • (String)


7903
7904
7905
7906
7907
7908
7909
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7903

class SelectParameters < Struct.new(
  :input_serialization,
  :expression_type,
  :expression,
  :output_serialization)
  include Aws::Structure
end

#input_serializationTypes::InputSerialization

Describes the serialization format of the object.



7903
7904
7905
7906
7907
7908
7909
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7903

class SelectParameters < Struct.new(
  :input_serialization,
  :expression_type,
  :expression,
  :output_serialization)
  include Aws::Structure
end

#output_serializationTypes::OutputSerialization

Describes how the results of the Select job are serialized.



7903
7904
7905
7906
7907
7908
7909
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 7903

class SelectParameters < Struct.new(
  :input_serialization,
  :expression_type,
  :expression,
  :output_serialization)
  include Aws::Structure
end