Class: Aws::ForecastService::Types::TimeSeriesCondition

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

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

Returns:

  • (String)


6756
6757
6758
6759
6760
6761
6762
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6756

class TimeSeriesCondition < Struct.new(
  :attribute_name,
  :attribute_value,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#attribute_valueString

The value that is applied for the chosen Condition.

Returns:

  • (String)


6756
6757
6758
6759
6760
6761
6762
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6756

class TimeSeriesCondition < Struct.new(
  :attribute_name,
  :attribute_value,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end

#conditionString

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

Returns:

  • (String)


6756
6757
6758
6759
6760
6761
6762
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6756

class TimeSeriesCondition < Struct.new(
  :attribute_name,
  :attribute_value,
  :condition)
  SENSITIVE = []
  include Aws::Structure
end