Class: Aws::ForecastService::Types::Filter

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

Overview

Note:

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

{
  key: "String", # required
  value: "Arn", # required
  condition: "IS", # required, accepts IS, IS_NOT
}

Describes a filter for choosing a subset of objects. Each filter consists of a condition and a match statement. The condition is either IS or IS_NOT, which specifies whether to include or exclude the objects that match the statement, respectively. The match statement consists of a key and a value.

Instance Attribute Summary collapse

Instance Attribute Details

#conditionString

The condition to apply. To include the objects that match the statement, specify IS. To exclude matching objects, specify IS_NOT.

Returns:

  • (String)


1891
1892
1893
1894
1895
1896
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1891

class Filter < Struct.new(
  :key,
  :value,
  :condition)
  include Aws::Structure
end

#keyString

The name of the parameter to filter on.

Returns:

  • (String)


1891
1892
1893
1894
1895
1896
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1891

class Filter < Struct.new(
  :key,
  :value,
  :condition)
  include Aws::Structure
end

#valueString

The value to match.

Returns:

  • (String)


1891
1892
1893
1894
1895
1896
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 1891

class Filter < Struct.new(
  :key,
  :value,
  :condition)
  include Aws::Structure
end