| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Forecast.Types.TimeSeriesCondition
Description
Synopsis
- data TimeSeriesCondition = TimeSeriesCondition' {}
- newTimeSeriesCondition :: Text -> Text -> Condition -> TimeSeriesCondition
- timeSeriesCondition_attributeName :: Lens' TimeSeriesCondition Text
- timeSeriesCondition_attributeValue :: Lens' TimeSeriesCondition Text
- timeSeriesCondition_condition :: Lens' TimeSeriesCondition Condition
Documentation
data TimeSeriesCondition Source #
Creates a subset of items within an attribute that are modified. For
example, you can use this operation to create a subset of items that
cost $5 or less. To do this, you specify "AttributeName": "price",
"AttributeValue": "5", and "Condition": "LESS_THAN". Pair
this operation with the Action operation within the
CreateWhatIfForecastRequest$TimeSeriesTransformations operation to
define how the attribute is modified.
See: newTimeSeriesCondition smart constructor.
Constructors
| TimeSeriesCondition' | |
Fields
| |
Instances
newTimeSeriesCondition Source #
Arguments
| :: Text | |
| -> Text | |
| -> Condition | |
| -> TimeSeriesCondition |
Create a value of TimeSeriesCondition with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attributeName:TimeSeriesCondition', timeSeriesCondition_attributeName - The item_id, dimension name, IM name, or timestamp that you are
modifying.
$sel:attributeValue:TimeSeriesCondition', timeSeriesCondition_attributeValue - The value that is applied for the chosen Condition.
$sel:condition:TimeSeriesCondition', timeSeriesCondition_condition - The condition to apply. Valid values are EQUALS, NOT_EQUALS,
LESS_THAN and GREATER_THAN.
timeSeriesCondition_attributeName :: Lens' TimeSeriesCondition Text Source #
The item_id, dimension name, IM name, or timestamp that you are modifying.
timeSeriesCondition_attributeValue :: Lens' TimeSeriesCondition Text Source #
The value that is applied for the chosen Condition.
timeSeriesCondition_condition :: Lens' TimeSeriesCondition Condition Source #
The condition to apply. Valid values are EQUALS, NOT_EQUALS,
LESS_THAN and GREATER_THAN.