Class: Aws::Pinpoint::Types::AttributeDimension

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 AttributeDimension data as a hash:

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

Specifies attribute-based criteria for including or excluding endpoints from a segment.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_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)


1967
1968
1969
1970
1971
# File 'lib/aws-sdk-pinpoint/types.rb', line 1967

class AttributeDimension < Struct.new(
  :attribute_type,
  :values)
  include Aws::Structure
end

#valuesArray<String>

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

Returns:

  • (Array<String>)


1967
1968
1969
1970
1971
# File 'lib/aws-sdk-pinpoint/types.rb', line 1967

class AttributeDimension < Struct.new(
  :attribute_type,
  :values)
  include Aws::Structure
end