You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ForecastService::Types::Filter
- Inherits:
-
Struct
- Object
- Struct
- Aws::ForecastService::Types::Filter
- Defined in:
- (unknown)
Overview
When passing Filter as input to an Aws::Client method, you can use a vanilla 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
-
#condition ⇒ String
The condition to apply.
-
#key ⇒ String
The name of the parameter to filter on.
-
#value ⇒ String
The value to match.
Instance Attribute Details
#condition ⇒ String
The condition to apply. To include the objects that match the statement,
specify IS
. To exclude matching objects, specify IS_NOT
.
Possible values:
- IS
- IS_NOT
#key ⇒ String
The name of the parameter to filter on.
#value ⇒ String
The value to match.