Class: Aws::Pinpoint::Types::ConditionalSplitActivity
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::ConditionalSplitActivity
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-pinpoint/types.rb
Overview
When making an API call, you may pass ConditionalSplitActivity data as a hash:
{
condition: {
conditions: [
{
event_condition: {
dimensions: { # required
attributes: {
"__string" => {
attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
},
event_type: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
metrics: {
"__string" => {
comparison_operator: "__string", # required
value: 1.0, # required
},
},
},
message_activity: "__string",
},
segment_condition: {
segment_id: "__string", # required
},
segment_dimensions: {
attributes: {
"__string" => {
attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
},
behavior: {
recency: {
duration: "HR_24", # required, accepts HR_24, DAY_7, DAY_14, DAY_30
recency_type: "ACTIVE", # required, accepts ACTIVE, INACTIVE
},
},
demographic: {
app_version: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
channel: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
device_type: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
make: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
model: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
platform: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
},
location: {
country: {
dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
gps_point: {
coordinates: { # required
latitude: 1.0, # required
longitude: 1.0, # required
},
range_in_kilometers: 1.0,
},
},
metrics: {
"__string" => {
comparison_operator: "__string", # required
value: 1.0, # required
},
},
user_attributes: {
"__string" => {
attribute_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
values: ["__string"], # required
},
},
},
},
],
operator: "ALL", # accepts ALL, ANY
},
evaluation_wait_time: {
wait_for: "__string",
wait_until: "__string",
},
false_activity: "__string",
true_activity: "__string",
}
Specifies the settings for a yes/no split activity in a journey. This type of activity sends participants down one of two paths in a journey, based on conditions that you specify.
Instance Attribute Summary collapse
-
#condition ⇒ Types::Condition
The conditions that define the paths for the activity, and the relationship between the conditions.
-
#evaluation_wait_time ⇒ Types::WaitTime
The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
-
#false_activity ⇒ String
The unique identifier for the activity to perform if the conditions aren’t met.
-
#true_activity ⇒ String
The unique identifier for the activity to perform if the conditions are met.
Instance Attribute Details
#condition ⇒ Types::Condition
The conditions that define the paths for the activity, and the relationship between the conditions.
3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3057 class ConditionalSplitActivity < Struct.new( :condition, :evaluation_wait_time, :false_activity, :true_activity) include Aws::Structure end |
#evaluation_wait_time ⇒ Types::WaitTime
The amount of time to wait before determining whether the conditions are met, or the date and time when Amazon Pinpoint determines whether the conditions are met.
3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3057 class ConditionalSplitActivity < Struct.new( :condition, :evaluation_wait_time, :false_activity, :true_activity) include Aws::Structure end |
#false_activity ⇒ String
The unique identifier for the activity to perform if the conditions aren’t met.
3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3057 class ConditionalSplitActivity < Struct.new( :condition, :evaluation_wait_time, :false_activity, :true_activity) include Aws::Structure end |
#true_activity ⇒ String
The unique identifier for the activity to perform if the conditions are met.
3057 3058 3059 3060 3061 3062 3063 |
# File 'lib/aws-sdk-pinpoint/types.rb', line 3057 class ConditionalSplitActivity < Struct.new( :condition, :evaluation_wait_time, :false_activity, :true_activity) include Aws::Structure end |