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

Class: Aws::Pinpoint::Types::SegmentDimensions

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

Overview

Note:

When passing SegmentDimensions as input to an Aws::Client method, you can use a vanilla Hash:

{
  attributes: {
    "__string" => {
      attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
  },
  behavior: {
    recency: {
      duration: "HR_24", # accepts HR_24, DAY_7, DAY_14, DAY_30
      recency_type: "ACTIVE", # accepts ACTIVE, INACTIVE
    },
  },
  demographic: {
    app_version: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
    channel: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
    device_type: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
    make: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
    model: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
    platform: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
  },
  location: {
    country: {
      dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
  },
  user_attributes: {
    "__string" => {
      attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
      values: ["__string"],
    },
  },
}

Segment dimensions

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,Types::AttributeDimension>

Returns:

#behaviorTypes::SegmentBehaviors

The segment behaviors attributes.

Returns:

#demographicTypes::SegmentDemographics

The segment demographics attributes.

Returns:

#locationTypes::SegmentLocation

The segment location attributes.

Returns:

#user_attributesHash<String,Types::AttributeDimension>

Returns: