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

Class: Aws::DataPipeline::Types::Selector

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb

Overview

Note:

When making an API call, you may pass Selector data as a hash:

{
  field_name: "string",
  operator: {
    type: "EQ", # accepts EQ, REF_EQ, LE, GE, BETWEEN
    values: ["string"],
  },
}

A comparision that is used to determine whether a query should return this object.

Instance Attribute Summary collapse

Instance Attribute Details

#field_nameString

The name of the field that the operator will be applied to. The field name is the "key" portion of the field definition in the pipeline definition syntax that is used by the AWS Data Pipeline API. If the field is not set on the object, the condition fails.

Returns:

  • (String)


1234
1235
1236
1237
1238
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 1234

class Selector < Struct.new(
  :field_name,
  :operator)
  include Aws::Structure
end

#operatorTypes::Operator

Contains a logical operation for comparing the value of a field with a specified value.

Returns:



1234
1235
1236
1237
1238
# File 'gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/types.rb', line 1234

class Selector < Struct.new(
  :field_name,
  :operator)
  include Aws::Structure
end