You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ForecastService::Types::ListForecastsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ForecastService::Types::ListForecastsRequest
- Defined in:
- (unknown)
Overview
When passing ListForecastsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
next_token: "NextToken",
max_results: 1,
filters: [
{
key: "String", # required
value: "Arn", # required
condition: "IS", # required, accepts IS, IS_NOT
},
],
}
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::Filter>
An array of filters.
-
#max_results ⇒ Integer
The number of items to return in the response.
-
#next_token ⇒ String
If the result of the previous request was truncated, the response includes a
NextToken.
Instance Attribute Details
#filters ⇒ Array<Types::Filter>
An array of filters. For each filter, you provide a condition and a
match statement. The condition is either IS or IS_NOT, which
specifies whether to include or exclude the forecasts that match the
statement from the list, respectively. The match statement consists of a
key and a value.
Filter properties
Condition- The condition to apply. Valid values areISandIS_NOT. To include the forecasts that match the statement, specifyIS. To exclude matching forecasts, specifyIS_NOT.Key- The name of the parameter to filter on. Valid values areDatasetGroupArn,PredictorArn, andStatus.Value- The value to match.
For example, to list all forecasts whose status is not ACTIVE, you would specify:
"Filters": [ { "Condition": "IS_NOT", "Key": "Status", "Value":
"ACTIVE" } ]
#max_results ⇒ Integer
The number of items to return in the response.
#next_token ⇒ String
If the result of the previous request was truncated, the response
includes a NextToken. To retrieve the next set of results, use the
token in the next request. Tokens expire after 24 hours.