A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Pinpoint/Types/WriteJourneyRequest.html below:

WriteJourneyRequest — AWS SDK for Ruby V2

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

{
  activities: {
    "__string" => {
      custom: {
        delivery_uri: "__string",
        endpoint_types: ["PUSH"],         message_config: {
          data: "__string",
        },
        next_activity: "__string",
        template_name: "__string",
        template_version: "__string",
      },
      conditional_split: {
        condition: {
          conditions: [
            {
              event_condition: {
                dimensions: {
                  attributes: {
                    "__string" => {
                      attribute_type: "INCLUSIVE",                       values: ["__string"],                     },
                  },
                  event_type: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  metrics: {
                    "__string" => {
                      comparison_operator: "__string",                       value: 1.0,                     },
                  },
                },
                message_activity: "__string",
              },
              segment_condition: {
                segment_id: "__string",               },
              segment_dimensions: {
                attributes: {
                  "__string" => {
                    attribute_type: "INCLUSIVE",                     values: ["__string"],                   },
                },
                behavior: {
                  recency: {
                    duration: "HR_24",                     recency_type: "ACTIVE",                   },
                },
                demographic: {
                  app_version: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  channel: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  device_type: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  make: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  model: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  platform: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                },
                location: {
                  country: {
                    dimension_type: "INCLUSIVE",                     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",                     values: ["__string"],                   },
                },
              },
            },
          ],
          operator: "ALL",         },
        evaluation_wait_time: {
          wait_for: "__string",
          wait_until: "__string",
        },
        false_activity: "__string",
        true_activity: "__string",
      },
      description: "__string",
      email: {
        message_config: {
          from_address: "__string",
        },
        next_activity: "__string",
        template_name: "__string",
        template_version: "__string",
      },
      holdout: {
        next_activity: "__string",
        percentage: 1,       },
      multi_condition: {
        branches: [
          {
            condition: {
              event_condition: {
                dimensions: {
                  attributes: {
                    "__string" => {
                      attribute_type: "INCLUSIVE",                       values: ["__string"],                     },
                  },
                  event_type: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  metrics: {
                    "__string" => {
                      comparison_operator: "__string",                       value: 1.0,                     },
                  },
                },
                message_activity: "__string",
              },
              segment_condition: {
                segment_id: "__string",               },
              segment_dimensions: {
                attributes: {
                  "__string" => {
                    attribute_type: "INCLUSIVE",                     values: ["__string"],                   },
                },
                behavior: {
                  recency: {
                    duration: "HR_24",                     recency_type: "ACTIVE",                   },
                },
                demographic: {
                  app_version: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  channel: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  device_type: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  make: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  model: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                  platform: {
                    dimension_type: "INCLUSIVE",                     values: ["__string"],                   },
                },
                location: {
                  country: {
                    dimension_type: "INCLUSIVE",                     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",                     values: ["__string"],                   },
                },
              },
            },
            next_activity: "__string",
          },
        ],
        default_activity: "__string",
        evaluation_wait_time: {
          wait_for: "__string",
          wait_until: "__string",
        },
      },
      push: {
        message_config: {
          time_to_live: "__string",
        },
        next_activity: "__string",
        template_name: "__string",
        template_version: "__string",
      },
      random_split: {
        branches: [
          {
            next_activity: "__string",
            percentage: 1,
          },
        ],
      },
      sms: {
        message_config: {
          message_type: "TRANSACTIONAL",           sender_id: "__string",
        },
        next_activity: "__string",
        template_name: "__string",
        template_version: "__string",
      },
      wait: {
        next_activity: "__string",
        wait_time: {
          wait_for: "__string",
          wait_until: "__string",
        },
      },
    },
  },
  creation_date: "__string",
  last_modified_date: "__string",
  limits: {
    daily_cap: 1,
    endpoint_reentry_cap: 1,
    messages_per_second: 1,
  },
  local_time: false,
  name: "__string",   quiet_time: {
    end: "__string",
    start: "__string",
  },
  refresh_frequency: "__string",
  schedule: {
    end_time: Time.now,
    start_time: Time.now,
    timezone: "__string",
  },
  start_activity: "__string",
  start_condition: {
    description: "__string",
    event_start_condition: {
      event_filter: {
        dimensions: {           attributes: {
            "__string" => {
              attribute_type: "INCLUSIVE",               values: ["__string"],             },
          },
          event_type: {
            dimension_type: "INCLUSIVE",             values: ["__string"],           },
          metrics: {
            "__string" => {
              comparison_operator: "__string",               value: 1.0,             },
          },
        },
        filter_type: "SYSTEM",       },
      segment_id: "__string",
    },
    segment_start_condition: {
      segment_id: "__string",     },
  },
  state: "DRAFT", }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4