You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AttributeDimension as input to an Aws::Client method, you can use a vanilla 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.

Possible values:

  • INCLUSIVE
  • EXCLUSIVE

Returns:

  • (String)

    The type of segment dimension to use.

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

    The criteria values to use for the segment dimension.