amazonka-forecast-2.0: Amazon Forecast Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Forecast.Types.TimeSeriesCondition

Description

 
Synopsis

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

  • attributeName :: Text

    The item_id, dimension name, IM name, or timestamp that you are modifying.

  • attributeValue :: Text

    The value that is applied for the chosen Condition.

  • condition :: Condition

    The condition to apply. Valid values are EQUALS, NOT_EQUALS, LESS_THAN and GREATER_THAN.

Instances

Instances details
FromJSON TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

ToJSON TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

Generic TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

Associated Types

type Rep TimeSeriesCondition :: Type -> Type #

Read TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

Show TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

NFData TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

Methods

rnf :: TimeSeriesCondition -> () #

Eq TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

Hashable TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

type Rep TimeSeriesCondition Source # 
Instance details

Defined in Amazonka.Forecast.Types.TimeSeriesCondition

type Rep TimeSeriesCondition = D1 ('MetaData "TimeSeriesCondition" "Amazonka.Forecast.Types.TimeSeriesCondition" "amazonka-forecast-2.0-HHvJwvxGrDPBJtUcnmLBqf" 'False) (C1 ('MetaCons "TimeSeriesCondition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attributeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "attributeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "condition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Condition))))

newTimeSeriesCondition Source #

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.