Class: Aws::Pinpoint::Types::SegmentDimensions
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::SegmentDimensions
- 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"],
},
gps_point: {
coordinates: {
latitude: 1.0,
longitude: 1.0,
},
range_in_kilometers: 1.0,
},
},
metrics: {
"__string" => {
comparison_operator: "__string",
value: 1.0,
},
},
user_attributes: {
"__string" => {
attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"],
},
},
}
Segment dimensions
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,Types::AttributeDimension>
Custom segment attributes.
-
#behavior ⇒ Types::SegmentBehaviors
The segment behaviors attributes.
-
#demographic ⇒ Types::SegmentDemographics
The segment demographics attributes.
-
#location ⇒ Types::SegmentLocation
The segment location attributes.
-
#metrics ⇒ Hash<String,Types::MetricDimension>
Custom segment metrics.
-
#user_attributes ⇒ Hash<String,Types::AttributeDimension>
Custom segment user attributes.
Instance Attribute Details
#attributes ⇒ Hash<String,Types::AttributeDimension>
Custom segment attributes.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |
#behavior ⇒ Types::SegmentBehaviors
The segment behaviors attributes.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |
#demographic ⇒ Types::SegmentDemographics
The segment demographics attributes.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |
#location ⇒ Types::SegmentLocation
The segment location attributes.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |
#metrics ⇒ Hash<String,Types::MetricDimension>
Custom segment metrics.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |
#user_attributes ⇒ Hash<String,Types::AttributeDimension>
Custom segment user attributes.
7914 7915 7916 7917 7918 7919 7920 7921 7922 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 7914 class SegmentDimensions < Struct.new( :attributes, :behavior, :demographic, :location, :metrics, :user_attributes) include Aws::Structure end |