You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::SetDimension
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::SetDimension
- Defined in:
- (unknown)
Overview
When passing SetDimension as input to an Aws::Client method, you can use a vanilla Hash:
{
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
}
Specifies the dimension type and values for a segment dimension.
Returned by:
- EventDimensions#event_type
- Aws::Pinpoint::Types::SegmentDemographics#app_version
- Aws::Pinpoint::Types::SegmentDemographics#channel
- Aws::Pinpoint::Types::SegmentDemographics#device_type
- Aws::Pinpoint::Types::SegmentDemographics#make
- Aws::Pinpoint::Types::SegmentDemographics#model
- Aws::Pinpoint::Types::SegmentDemographics#platform
- Aws::Pinpoint::Types::SegmentLocation#country
Instance Attribute Summary collapse
-
#dimension_type ⇒ String
The type of segment dimension to use.
-
#values ⇒ Array<String>
The criteria values to use for the segment dimension.
Instance Attribute Details
#dimension_type ⇒ String
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
#values ⇒ Array<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.