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

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 SegmentDimensions data as a 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

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,Types::AttributeDimension>

Custom segment attributes.

Returns:



6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-pinpoint/types.rb', line 6167

class SegmentDimensions < Struct.new(
  :attributes,
  :behavior,
  :demographic,
  :location,
  :user_attributes)
  include Aws::Structure
end

#behaviorTypes::SegmentBehaviors

The segment behaviors attributes.



6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-pinpoint/types.rb', line 6167

class SegmentDimensions < Struct.new(
  :attributes,
  :behavior,
  :demographic,
  :location,
  :user_attributes)
  include Aws::Structure
end

#demographicTypes::SegmentDemographics

The segment demographics attributes.



6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-pinpoint/types.rb', line 6167

class SegmentDimensions < Struct.new(
  :attributes,
  :behavior,
  :demographic,
  :location,
  :user_attributes)
  include Aws::Structure
end

#locationTypes::SegmentLocation

The segment location attributes.



6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-pinpoint/types.rb', line 6167

class SegmentDimensions < Struct.new(
  :attributes,
  :behavior,
  :demographic,
  :location,
  :user_attributes)
  include Aws::Structure
end

#user_attributesHash<String,Types::AttributeDimension>

Custom segment user attributes.

Returns:



6167
6168
6169
6170
6171
6172
6173
6174
# File 'lib/aws-sdk-pinpoint/types.rb', line 6167

class SegmentDimensions < Struct.new(
  :attributes,
  :behavior,
  :demographic,
  :location,
  :user_attributes)
  include Aws::Structure
end