Class: Aws::Pinpoint::Types::MultiConditionalSplitActivity

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 MultiConditionalSplitActivity data as a hash:

{
  branches: [
    {
      condition: {
        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
            },
          },
        },
      },
      next_activity: "__string",
    },
  ],
  default_activity: "__string",
  evaluation_wait_time: {
    wait_for: "__string",
    wait_until: "__string",
  },
}

Specifies the settings for a multivariate split activity in a journey. This type of activity sends participants down one of as many as five paths (including a default Else path) in a journey, based on conditions that you specify.

Instance Attribute Summary collapse

Instance Attribute Details

#branchesArray<Types::MultiConditionalBranch>

The paths for the activity, including the conditions for entering each path and the activity to perform for each path.

Returns:



11381
11382
11383
11384
11385
11386
# File 'lib/aws-sdk-pinpoint/types.rb', line 11381

class MultiConditionalSplitActivity < Struct.new(
  :branches,
  :default_activity,
  :evaluation_wait_time)
  include Aws::Structure
end

#default_activityString

The unique identifier for the activity to perform for participants who don’t meet any of the conditions specified for other paths in the activity.

Returns:

  • (String)


11381
11382
11383
11384
11385
11386
# File 'lib/aws-sdk-pinpoint/types.rb', line 11381

class MultiConditionalSplitActivity < Struct.new(
  :branches,
  :default_activity,
  :evaluation_wait_time)
  include Aws::Structure
end

#evaluation_wait_timeTypes::WaitTime

The amount of time to wait or the date and time when Amazon Pinpoint determines whether the conditions are met.

Returns:



11381
11382
11383
11384
11385
11386
# File 'lib/aws-sdk-pinpoint/types.rb', line 11381

class MultiConditionalSplitActivity < Struct.new(
  :branches,
  :default_activity,
  :evaluation_wait_time)
  include Aws::Structure
end