Class: Aws::Pinpoint::Types::SetDimension

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass SetDimension data as a hash:

{
  dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
  values: ["__string"], # required
}

Specifies the dimension type and values for a segment dimension.

Instance Attribute Summary collapse

Instance Attribute Details

#dimension_typeString

The type of segment dimension to use. Valid values are: INCLUSIVE, endpoints that match the criteria are included in the segment; and, EXCLUSIVE, endpoints that match the criteria are excluded from the segment.

Returns:

  • (String)


14372
14373
14374
14375
14376
# File 'lib/aws-sdk-pinpoint/types.rb', line 14372

class SetDimension < Struct.new(
  :dimension_type,
  :values)
  include Aws::Structure
end

#valuesArray<String>

The criteria values to use for the segment dimension. Depending on the value of the DimensionType property, endpoints are included or excluded from the segment if their values match the criteria values.

Returns:

  • (Array<String>)


14372
14373
14374
14375
14376
# File 'lib/aws-sdk-pinpoint/types.rb', line 14372

class SetDimension < Struct.new(
  :dimension_type,
  :values)
  include Aws::Structure
end