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.

Constant Summary collapse

SENSITIVE =
[]

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)


2191
2192
2193
2194
2195
2196
2197
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2191

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

#keyString

The name of the parameter to filter on.

Returns:

  • (String)


2191
2192
2193
2194
2195
2196
2197
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2191

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

#valueString

The value to match.

Returns:

  • (String)


2191
2192
2193
2194
2195
2196
2197
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2191

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