aws-sdk-pinpoint 1.54.0 → 1.58.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +1301 -58
- data/lib/aws-sdk-pinpoint/client_api.rb +263 -0
- data/lib/aws-sdk-pinpoint/types.rb +1747 -40
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +5 -5
@@ -1252,7 +1252,7 @@ module Aws::Pinpoint
|
|
1252
1252
|
# {
|
1253
1253
|
# custom: {
|
1254
1254
|
# delivery_uri: "__string",
|
1255
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
1255
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
1256
1256
|
# message_config: {
|
1257
1257
|
# data: "__string",
|
1258
1258
|
# },
|
@@ -1515,6 +1515,9 @@ module Aws::Pinpoint
|
|
1515
1515
|
# wait_until: "__string",
|
1516
1516
|
# },
|
1517
1517
|
# },
|
1518
|
+
# contact_center: {
|
1519
|
+
# next_activity: "__string",
|
1520
|
+
# },
|
1518
1521
|
# }
|
1519
1522
|
#
|
1520
1523
|
# @!attribute [rw] custom
|
@@ -1573,6 +1576,11 @@ module Aws::Pinpoint
|
|
1573
1576
|
# moving participants to the next activity in a journey.
|
1574
1577
|
# @return [Types::WaitActivity]
|
1575
1578
|
#
|
1579
|
+
# @!attribute [rw] contact_center
|
1580
|
+
# The settings for a connect activity. This type of activity initiates
|
1581
|
+
# a contact center call to participants.
|
1582
|
+
# @return [Types::ContactCenterActivity]
|
1583
|
+
#
|
1576
1584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/Activity AWS API Documentation
|
1577
1585
|
#
|
1578
1586
|
class Activity < Struct.new(
|
@@ -1585,7 +1593,8 @@ module Aws::Pinpoint
|
|
1585
1593
|
:push,
|
1586
1594
|
:random_split,
|
1587
1595
|
:sms,
|
1588
|
-
:wait
|
1596
|
+
:wait,
|
1597
|
+
:contact_center)
|
1589
1598
|
SENSITIVE = []
|
1590
1599
|
include Aws::Structure
|
1591
1600
|
end
|
@@ -1682,7 +1691,7 @@ module Aws::Pinpoint
|
|
1682
1691
|
#
|
1683
1692
|
# {
|
1684
1693
|
# body_override: "__string",
|
1685
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
1694
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
1686
1695
|
# context: {
|
1687
1696
|
# "__string" => "__string",
|
1688
1697
|
# },
|
@@ -2595,6 +2604,107 @@ module Aws::Pinpoint
|
|
2595
2604
|
include Aws::Structure
|
2596
2605
|
end
|
2597
2606
|
|
2607
|
+
# In-app message configuration.
|
2608
|
+
#
|
2609
|
+
# @note When making an API call, you may pass CampaignInAppMessage
|
2610
|
+
# data as a hash:
|
2611
|
+
#
|
2612
|
+
# {
|
2613
|
+
# body: "__string",
|
2614
|
+
# content: [
|
2615
|
+
# {
|
2616
|
+
# background_color: "__string",
|
2617
|
+
# body_config: {
|
2618
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
2619
|
+
# body: "__string", # required
|
2620
|
+
# text_color: "__string", # required
|
2621
|
+
# },
|
2622
|
+
# header_config: {
|
2623
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
2624
|
+
# header: "__string", # required
|
2625
|
+
# text_color: "__string", # required
|
2626
|
+
# },
|
2627
|
+
# image_url: "__string",
|
2628
|
+
# primary_btn: {
|
2629
|
+
# android: {
|
2630
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2631
|
+
# link: "__string",
|
2632
|
+
# },
|
2633
|
+
# default_config: {
|
2634
|
+
# background_color: "__string",
|
2635
|
+
# border_radius: 1,
|
2636
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2637
|
+
# link: "__string",
|
2638
|
+
# text: "__string", # required
|
2639
|
+
# text_color: "__string",
|
2640
|
+
# },
|
2641
|
+
# ios: {
|
2642
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2643
|
+
# link: "__string",
|
2644
|
+
# },
|
2645
|
+
# web: {
|
2646
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2647
|
+
# link: "__string",
|
2648
|
+
# },
|
2649
|
+
# },
|
2650
|
+
# secondary_btn: {
|
2651
|
+
# android: {
|
2652
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2653
|
+
# link: "__string",
|
2654
|
+
# },
|
2655
|
+
# default_config: {
|
2656
|
+
# background_color: "__string",
|
2657
|
+
# border_radius: 1,
|
2658
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2659
|
+
# link: "__string",
|
2660
|
+
# text: "__string", # required
|
2661
|
+
# text_color: "__string",
|
2662
|
+
# },
|
2663
|
+
# ios: {
|
2664
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2665
|
+
# link: "__string",
|
2666
|
+
# },
|
2667
|
+
# web: {
|
2668
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
2669
|
+
# link: "__string",
|
2670
|
+
# },
|
2671
|
+
# },
|
2672
|
+
# },
|
2673
|
+
# ],
|
2674
|
+
# custom_config: {
|
2675
|
+
# "__string" => "__string",
|
2676
|
+
# },
|
2677
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
2678
|
+
# }
|
2679
|
+
#
|
2680
|
+
# @!attribute [rw] body
|
2681
|
+
# The message body of the notification, the email body or the text
|
2682
|
+
# message.
|
2683
|
+
# @return [String]
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] content
|
2686
|
+
# In-app message content.
|
2687
|
+
# @return [Array<Types::InAppMessageContent>]
|
2688
|
+
#
|
2689
|
+
# @!attribute [rw] custom_config
|
2690
|
+
# Custom config to be sent to client.
|
2691
|
+
# @return [Hash<String,String>]
|
2692
|
+
#
|
2693
|
+
# @!attribute [rw] layout
|
2694
|
+
# In-app message layout.
|
2695
|
+
# @return [String]
|
2696
|
+
#
|
2697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignInAppMessage AWS API Documentation
|
2698
|
+
#
|
2699
|
+
class CampaignInAppMessage < Struct.new(
|
2700
|
+
:body,
|
2701
|
+
:content,
|
2702
|
+
:custom_config,
|
2703
|
+
:layout)
|
2704
|
+
SENSITIVE = []
|
2705
|
+
include Aws::Structure
|
2706
|
+
end
|
2707
|
+
|
2598
2708
|
# For a campaign, specifies limits on the messages that the campaign can
|
2599
2709
|
# send. For an application, specifies the default limits for messages
|
2600
2710
|
# that campaigns in the application can send.
|
@@ -2607,6 +2717,7 @@ module Aws::Pinpoint
|
|
2607
2717
|
# maximum_duration: 1,
|
2608
2718
|
# messages_per_second: 1,
|
2609
2719
|
# total: 1,
|
2720
|
+
# session: 1,
|
2610
2721
|
# }
|
2611
2722
|
#
|
2612
2723
|
# @!attribute [rw] daily
|
@@ -2637,13 +2748,19 @@ module Aws::Pinpoint
|
|
2637
2748
|
# is 100.
|
2638
2749
|
# @return [Integer]
|
2639
2750
|
#
|
2751
|
+
# @!attribute [rw] session
|
2752
|
+
# The maximum total number of messages that the campaign can send per
|
2753
|
+
# user session.
|
2754
|
+
# @return [Integer]
|
2755
|
+
#
|
2640
2756
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignLimits AWS API Documentation
|
2641
2757
|
#
|
2642
2758
|
class CampaignLimits < Struct.new(
|
2643
2759
|
:daily,
|
2644
2760
|
:maximum_duration,
|
2645
2761
|
:messages_per_second,
|
2646
|
-
:total
|
2762
|
+
:total,
|
2763
|
+
:session)
|
2647
2764
|
SENSITIVE = []
|
2648
2765
|
include Aws::Structure
|
2649
2766
|
end
|
@@ -2761,6 +2878,12 @@ module Aws::Pinpoint
|
|
2761
2878
|
# The version number of the campaign.
|
2762
2879
|
# @return [Integer]
|
2763
2880
|
#
|
2881
|
+
# @!attribute [rw] priority
|
2882
|
+
# Defines the priority of the campaign, used to decide the order of
|
2883
|
+
# messages displayed to user if there are multiple messages scheduled
|
2884
|
+
# to be displayed at the same moment
|
2885
|
+
# @return [Integer]
|
2886
|
+
#
|
2764
2887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CampaignResponse AWS API Documentation
|
2765
2888
|
#
|
2766
2889
|
class CampaignResponse < Struct.new(
|
@@ -2787,7 +2910,8 @@ module Aws::Pinpoint
|
|
2787
2910
|
:template_configuration,
|
2788
2911
|
:treatment_description,
|
2789
2912
|
:treatment_name,
|
2790
|
-
:version
|
2913
|
+
:version,
|
2914
|
+
:priority)
|
2791
2915
|
SENSITIVE = []
|
2792
2916
|
include Aws::Structure
|
2793
2917
|
end
|
@@ -3253,6 +3377,29 @@ module Aws::Pinpoint
|
|
3253
3377
|
include Aws::Structure
|
3254
3378
|
end
|
3255
3379
|
|
3380
|
+
# The settings for a connect activity. This type of activity initiates a
|
3381
|
+
# contact center call to participants.
|
3382
|
+
#
|
3383
|
+
# @note When making an API call, you may pass ContactCenterActivity
|
3384
|
+
# data as a hash:
|
3385
|
+
#
|
3386
|
+
# {
|
3387
|
+
# next_activity: "__string",
|
3388
|
+
# }
|
3389
|
+
#
|
3390
|
+
# @!attribute [rw] next_activity
|
3391
|
+
# The unique identifier for the next activity to perform after the
|
3392
|
+
# this activity.
|
3393
|
+
# @return [String]
|
3394
|
+
#
|
3395
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ContactCenterActivity AWS API Documentation
|
3396
|
+
#
|
3397
|
+
class ContactCenterActivity < Struct.new(
|
3398
|
+
:next_activity)
|
3399
|
+
SENSITIVE = []
|
3400
|
+
include Aws::Structure
|
3401
|
+
end
|
3402
|
+
|
3256
3403
|
# Provides information about an API request or response.
|
3257
3404
|
#
|
3258
3405
|
# @!attribute [rw] message
|
@@ -3350,7 +3497,7 @@ module Aws::Pinpoint
|
|
3350
3497
|
# {
|
3351
3498
|
# custom_delivery_configuration: {
|
3352
3499
|
# delivery_uri: "__string", # required
|
3353
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
3500
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3354
3501
|
# },
|
3355
3502
|
# message_configuration: {
|
3356
3503
|
# adm_message: {
|
@@ -3440,6 +3587,73 @@ module Aws::Pinpoint
|
|
3440
3587
|
# entity_id: "__string",
|
3441
3588
|
# template_id: "__string",
|
3442
3589
|
# },
|
3590
|
+
# in_app_message: {
|
3591
|
+
# body: "__string",
|
3592
|
+
# content: [
|
3593
|
+
# {
|
3594
|
+
# background_color: "__string",
|
3595
|
+
# body_config: {
|
3596
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3597
|
+
# body: "__string", # required
|
3598
|
+
# text_color: "__string", # required
|
3599
|
+
# },
|
3600
|
+
# header_config: {
|
3601
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3602
|
+
# header: "__string", # required
|
3603
|
+
# text_color: "__string", # required
|
3604
|
+
# },
|
3605
|
+
# image_url: "__string",
|
3606
|
+
# primary_btn: {
|
3607
|
+
# android: {
|
3608
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3609
|
+
# link: "__string",
|
3610
|
+
# },
|
3611
|
+
# default_config: {
|
3612
|
+
# background_color: "__string",
|
3613
|
+
# border_radius: 1,
|
3614
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3615
|
+
# link: "__string",
|
3616
|
+
# text: "__string", # required
|
3617
|
+
# text_color: "__string",
|
3618
|
+
# },
|
3619
|
+
# ios: {
|
3620
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3621
|
+
# link: "__string",
|
3622
|
+
# },
|
3623
|
+
# web: {
|
3624
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3625
|
+
# link: "__string",
|
3626
|
+
# },
|
3627
|
+
# },
|
3628
|
+
# secondary_btn: {
|
3629
|
+
# android: {
|
3630
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3631
|
+
# link: "__string",
|
3632
|
+
# },
|
3633
|
+
# default_config: {
|
3634
|
+
# background_color: "__string",
|
3635
|
+
# border_radius: 1,
|
3636
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3637
|
+
# link: "__string",
|
3638
|
+
# text: "__string", # required
|
3639
|
+
# text_color: "__string",
|
3640
|
+
# },
|
3641
|
+
# ios: {
|
3642
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3643
|
+
# link: "__string",
|
3644
|
+
# },
|
3645
|
+
# web: {
|
3646
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3647
|
+
# link: "__string",
|
3648
|
+
# },
|
3649
|
+
# },
|
3650
|
+
# },
|
3651
|
+
# ],
|
3652
|
+
# custom_config: {
|
3653
|
+
# "__string" => "__string",
|
3654
|
+
# },
|
3655
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
3656
|
+
# },
|
3443
3657
|
# },
|
3444
3658
|
# schedule: {
|
3445
3659
|
# end_time: "__string",
|
@@ -3464,7 +3678,7 @@ module Aws::Pinpoint
|
|
3464
3678
|
# },
|
3465
3679
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
3466
3680
|
# },
|
3467
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
3681
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
3468
3682
|
# is_local_time: false,
|
3469
3683
|
# quiet_time: {
|
3470
3684
|
# end: "__string",
|
@@ -3498,7 +3712,7 @@ module Aws::Pinpoint
|
|
3498
3712
|
# ],
|
3499
3713
|
# custom_delivery_configuration: {
|
3500
3714
|
# delivery_uri: "__string", # required
|
3501
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
3715
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3502
3716
|
# },
|
3503
3717
|
# description: "__string",
|
3504
3718
|
# holdout_percent: 1,
|
@@ -3513,6 +3727,7 @@ module Aws::Pinpoint
|
|
3513
3727
|
# maximum_duration: 1,
|
3514
3728
|
# messages_per_second: 1,
|
3515
3729
|
# total: 1,
|
3730
|
+
# session: 1,
|
3516
3731
|
# },
|
3517
3732
|
# message_configuration: {
|
3518
3733
|
# adm_message: {
|
@@ -3602,6 +3817,73 @@ module Aws::Pinpoint
|
|
3602
3817
|
# entity_id: "__string",
|
3603
3818
|
# template_id: "__string",
|
3604
3819
|
# },
|
3820
|
+
# in_app_message: {
|
3821
|
+
# body: "__string",
|
3822
|
+
# content: [
|
3823
|
+
# {
|
3824
|
+
# background_color: "__string",
|
3825
|
+
# body_config: {
|
3826
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3827
|
+
# body: "__string", # required
|
3828
|
+
# text_color: "__string", # required
|
3829
|
+
# },
|
3830
|
+
# header_config: {
|
3831
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
3832
|
+
# header: "__string", # required
|
3833
|
+
# text_color: "__string", # required
|
3834
|
+
# },
|
3835
|
+
# image_url: "__string",
|
3836
|
+
# primary_btn: {
|
3837
|
+
# android: {
|
3838
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3839
|
+
# link: "__string",
|
3840
|
+
# },
|
3841
|
+
# default_config: {
|
3842
|
+
# background_color: "__string",
|
3843
|
+
# border_radius: 1,
|
3844
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3845
|
+
# link: "__string",
|
3846
|
+
# text: "__string", # required
|
3847
|
+
# text_color: "__string",
|
3848
|
+
# },
|
3849
|
+
# ios: {
|
3850
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3851
|
+
# link: "__string",
|
3852
|
+
# },
|
3853
|
+
# web: {
|
3854
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3855
|
+
# link: "__string",
|
3856
|
+
# },
|
3857
|
+
# },
|
3858
|
+
# secondary_btn: {
|
3859
|
+
# android: {
|
3860
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3861
|
+
# link: "__string",
|
3862
|
+
# },
|
3863
|
+
# default_config: {
|
3864
|
+
# background_color: "__string",
|
3865
|
+
# border_radius: 1,
|
3866
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3867
|
+
# link: "__string",
|
3868
|
+
# text: "__string", # required
|
3869
|
+
# text_color: "__string",
|
3870
|
+
# },
|
3871
|
+
# ios: {
|
3872
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3873
|
+
# link: "__string",
|
3874
|
+
# },
|
3875
|
+
# web: {
|
3876
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
3877
|
+
# link: "__string",
|
3878
|
+
# },
|
3879
|
+
# },
|
3880
|
+
# },
|
3881
|
+
# ],
|
3882
|
+
# custom_config: {
|
3883
|
+
# "__string" => "__string",
|
3884
|
+
# },
|
3885
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
3886
|
+
# },
|
3605
3887
|
# },
|
3606
3888
|
# name: "__string",
|
3607
3889
|
# schedule: {
|
@@ -3627,7 +3909,7 @@ module Aws::Pinpoint
|
|
3627
3909
|
# },
|
3628
3910
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
3629
3911
|
# },
|
3630
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
3912
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
3631
3913
|
# is_local_time: false,
|
3632
3914
|
# quiet_time: {
|
3633
3915
|
# end: "__string",
|
@@ -3661,6 +3943,7 @@ module Aws::Pinpoint
|
|
3661
3943
|
# },
|
3662
3944
|
# treatment_description: "__string",
|
3663
3945
|
# treatment_name: "__string",
|
3946
|
+
# priority: 1,
|
3664
3947
|
# },
|
3665
3948
|
# }
|
3666
3949
|
#
|
@@ -3836,6 +4119,111 @@ module Aws::Pinpoint
|
|
3836
4119
|
include Aws::Structure
|
3837
4120
|
end
|
3838
4121
|
|
4122
|
+
# @note When making an API call, you may pass CreateInAppTemplateRequest
|
4123
|
+
# data as a hash:
|
4124
|
+
#
|
4125
|
+
# {
|
4126
|
+
# in_app_template_request: { # required
|
4127
|
+
# content: [
|
4128
|
+
# {
|
4129
|
+
# background_color: "__string",
|
4130
|
+
# body_config: {
|
4131
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
4132
|
+
# body: "__string", # required
|
4133
|
+
# text_color: "__string", # required
|
4134
|
+
# },
|
4135
|
+
# header_config: {
|
4136
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
4137
|
+
# header: "__string", # required
|
4138
|
+
# text_color: "__string", # required
|
4139
|
+
# },
|
4140
|
+
# image_url: "__string",
|
4141
|
+
# primary_btn: {
|
4142
|
+
# android: {
|
4143
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4144
|
+
# link: "__string",
|
4145
|
+
# },
|
4146
|
+
# default_config: {
|
4147
|
+
# background_color: "__string",
|
4148
|
+
# border_radius: 1,
|
4149
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4150
|
+
# link: "__string",
|
4151
|
+
# text: "__string", # required
|
4152
|
+
# text_color: "__string",
|
4153
|
+
# },
|
4154
|
+
# ios: {
|
4155
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4156
|
+
# link: "__string",
|
4157
|
+
# },
|
4158
|
+
# web: {
|
4159
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4160
|
+
# link: "__string",
|
4161
|
+
# },
|
4162
|
+
# },
|
4163
|
+
# secondary_btn: {
|
4164
|
+
# android: {
|
4165
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4166
|
+
# link: "__string",
|
4167
|
+
# },
|
4168
|
+
# default_config: {
|
4169
|
+
# background_color: "__string",
|
4170
|
+
# border_radius: 1,
|
4171
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4172
|
+
# link: "__string",
|
4173
|
+
# text: "__string", # required
|
4174
|
+
# text_color: "__string",
|
4175
|
+
# },
|
4176
|
+
# ios: {
|
4177
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4178
|
+
# link: "__string",
|
4179
|
+
# },
|
4180
|
+
# web: {
|
4181
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
4182
|
+
# link: "__string",
|
4183
|
+
# },
|
4184
|
+
# },
|
4185
|
+
# },
|
4186
|
+
# ],
|
4187
|
+
# custom_config: {
|
4188
|
+
# "__string" => "__string",
|
4189
|
+
# },
|
4190
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
4191
|
+
# tags: {
|
4192
|
+
# "__string" => "__string",
|
4193
|
+
# },
|
4194
|
+
# template_description: "__string",
|
4195
|
+
# },
|
4196
|
+
# template_name: "__string", # required
|
4197
|
+
# }
|
4198
|
+
#
|
4199
|
+
# @!attribute [rw] in_app_template_request
|
4200
|
+
# In-App Template Request.
|
4201
|
+
# @return [Types::InAppTemplateRequest]
|
4202
|
+
#
|
4203
|
+
# @!attribute [rw] template_name
|
4204
|
+
# @return [String]
|
4205
|
+
#
|
4206
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplateRequest AWS API Documentation
|
4207
|
+
#
|
4208
|
+
class CreateInAppTemplateRequest < Struct.new(
|
4209
|
+
:in_app_template_request,
|
4210
|
+
:template_name)
|
4211
|
+
SENSITIVE = []
|
4212
|
+
include Aws::Structure
|
4213
|
+
end
|
4214
|
+
|
4215
|
+
# @!attribute [rw] template_create_message_body
|
4216
|
+
# Provides information about a request to create a message template.
|
4217
|
+
# @return [Types::TemplateCreateMessageBody]
|
4218
|
+
#
|
4219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplateResponse AWS API Documentation
|
4220
|
+
#
|
4221
|
+
class CreateInAppTemplateResponse < Struct.new(
|
4222
|
+
:template_create_message_body)
|
4223
|
+
SENSITIVE = []
|
4224
|
+
include Aws::Structure
|
4225
|
+
end
|
4226
|
+
|
3839
4227
|
# @note When making an API call, you may pass CreateJourneyRequest
|
3840
4228
|
# data as a hash:
|
3841
4229
|
#
|
@@ -3846,7 +4234,7 @@ module Aws::Pinpoint
|
|
3846
4234
|
# "__string" => {
|
3847
4235
|
# custom: {
|
3848
4236
|
# delivery_uri: "__string",
|
3849
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
4237
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
3850
4238
|
# message_config: {
|
3851
4239
|
# data: "__string",
|
3852
4240
|
# },
|
@@ -4109,6 +4497,9 @@ module Aws::Pinpoint
|
|
4109
4497
|
# wait_until: "__string",
|
4110
4498
|
# },
|
4111
4499
|
# },
|
4500
|
+
# contact_center: {
|
4501
|
+
# next_activity: "__string",
|
4502
|
+
# },
|
4112
4503
|
# },
|
4113
4504
|
# },
|
4114
4505
|
# creation_date: "__string",
|
@@ -4165,6 +4556,10 @@ module Aws::Pinpoint
|
|
4165
4556
|
# state: "DRAFT", # accepts DRAFT, ACTIVE, COMPLETED, CANCELLED, CLOSED, PAUSED
|
4166
4557
|
# wait_for_quiet_time: false,
|
4167
4558
|
# refresh_on_segment_update: false,
|
4559
|
+
# journey_channel_settings: {
|
4560
|
+
# connect_campaign_arn: "__string",
|
4561
|
+
# connect_campaign_execution_role_arn: "__string",
|
4562
|
+
# },
|
4168
4563
|
# },
|
4169
4564
|
# }
|
4170
4565
|
#
|
@@ -4800,7 +5195,7 @@ module Aws::Pinpoint
|
|
4800
5195
|
#
|
4801
5196
|
# {
|
4802
5197
|
# delivery_uri: "__string", # required
|
4803
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5198
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
4804
5199
|
# }
|
4805
5200
|
#
|
4806
5201
|
# @!attribute [rw] delivery_uri
|
@@ -4839,7 +5234,7 @@ module Aws::Pinpoint
|
|
4839
5234
|
#
|
4840
5235
|
# {
|
4841
5236
|
# delivery_uri: "__string",
|
4842
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
5237
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
4843
5238
|
# message_config: {
|
4844
5239
|
# data: "__string",
|
4845
5240
|
# },
|
@@ -4911,6 +5306,57 @@ module Aws::Pinpoint
|
|
4911
5306
|
include Aws::Structure
|
4912
5307
|
end
|
4913
5308
|
|
5309
|
+
# Default button configuration.
|
5310
|
+
#
|
5311
|
+
# @note When making an API call, you may pass DefaultButtonConfiguration
|
5312
|
+
# data as a hash:
|
5313
|
+
#
|
5314
|
+
# {
|
5315
|
+
# background_color: "__string",
|
5316
|
+
# border_radius: 1,
|
5317
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
5318
|
+
# link: "__string",
|
5319
|
+
# text: "__string", # required
|
5320
|
+
# text_color: "__string",
|
5321
|
+
# }
|
5322
|
+
#
|
5323
|
+
# @!attribute [rw] background_color
|
5324
|
+
# The background color of the button.
|
5325
|
+
# @return [String]
|
5326
|
+
#
|
5327
|
+
# @!attribute [rw] border_radius
|
5328
|
+
# The border radius of the button.
|
5329
|
+
# @return [Integer]
|
5330
|
+
#
|
5331
|
+
# @!attribute [rw] button_action
|
5332
|
+
# Action triggered by the button.
|
5333
|
+
# @return [String]
|
5334
|
+
#
|
5335
|
+
# @!attribute [rw] link
|
5336
|
+
# Button destination.
|
5337
|
+
# @return [String]
|
5338
|
+
#
|
5339
|
+
# @!attribute [rw] text
|
5340
|
+
# Button text.
|
5341
|
+
# @return [String]
|
5342
|
+
#
|
5343
|
+
# @!attribute [rw] text_color
|
5344
|
+
# The text color of the button.
|
5345
|
+
# @return [String]
|
5346
|
+
#
|
5347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DefaultButtonConfiguration AWS API Documentation
|
5348
|
+
#
|
5349
|
+
class DefaultButtonConfiguration < Struct.new(
|
5350
|
+
:background_color,
|
5351
|
+
:border_radius,
|
5352
|
+
:button_action,
|
5353
|
+
:link,
|
5354
|
+
:text,
|
5355
|
+
:text_color)
|
5356
|
+
SENSITIVE = []
|
5357
|
+
include Aws::Structure
|
5358
|
+
end
|
5359
|
+
|
4914
5360
|
# Specifies the default message for all channels.
|
4915
5361
|
#
|
4916
5362
|
# @note When making an API call, you may pass DefaultMessage
|
@@ -5518,6 +5964,41 @@ module Aws::Pinpoint
|
|
5518
5964
|
include Aws::Structure
|
5519
5965
|
end
|
5520
5966
|
|
5967
|
+
# @note When making an API call, you may pass DeleteInAppTemplateRequest
|
5968
|
+
# data as a hash:
|
5969
|
+
#
|
5970
|
+
# {
|
5971
|
+
# template_name: "__string", # required
|
5972
|
+
# version: "__string",
|
5973
|
+
# }
|
5974
|
+
#
|
5975
|
+
# @!attribute [rw] template_name
|
5976
|
+
# @return [String]
|
5977
|
+
#
|
5978
|
+
# @!attribute [rw] version
|
5979
|
+
# @return [String]
|
5980
|
+
#
|
5981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplateRequest AWS API Documentation
|
5982
|
+
#
|
5983
|
+
class DeleteInAppTemplateRequest < Struct.new(
|
5984
|
+
:template_name,
|
5985
|
+
:version)
|
5986
|
+
SENSITIVE = []
|
5987
|
+
include Aws::Structure
|
5988
|
+
end
|
5989
|
+
|
5990
|
+
# @!attribute [rw] message_body
|
5991
|
+
# Provides information about an API request or response.
|
5992
|
+
# @return [Types::MessageBody]
|
5993
|
+
#
|
5994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplateResponse AWS API Documentation
|
5995
|
+
#
|
5996
|
+
class DeleteInAppTemplateResponse < Struct.new(
|
5997
|
+
:message_body)
|
5998
|
+
SENSITIVE = []
|
5999
|
+
include Aws::Structure
|
6000
|
+
end
|
6001
|
+
|
5521
6002
|
# @note When making an API call, you may pass DeleteJourneyRequest
|
5522
6003
|
# data as a hash:
|
5523
6004
|
#
|
@@ -6532,7 +7013,7 @@ module Aws::Pinpoint
|
|
6532
7013
|
# attributes: {
|
6533
7014
|
# "__string" => ["__string"],
|
6534
7015
|
# },
|
6535
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
7016
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6536
7017
|
# demographic: {
|
6537
7018
|
# app_version: "__string",
|
6538
7019
|
# locale: "__string",
|
@@ -6685,7 +7166,7 @@ module Aws::Pinpoint
|
|
6685
7166
|
# attributes: {
|
6686
7167
|
# "__string" => ["__string"],
|
6687
7168
|
# },
|
6688
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
7169
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6689
7170
|
# demographic: {
|
6690
7171
|
# app_version: "__string",
|
6691
7172
|
# locale: "__string",
|
@@ -6959,7 +7440,7 @@ module Aws::Pinpoint
|
|
6959
7440
|
# attributes: {
|
6960
7441
|
# "__string" => ["__string"],
|
6961
7442
|
# },
|
6962
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
7443
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
6963
7444
|
# demographic: {
|
6964
7445
|
# app_version: "__string",
|
6965
7446
|
# locale: "__string",
|
@@ -7716,7 +8197,7 @@ module Aws::Pinpoint
|
|
7716
8197
|
# attributes: {
|
7717
8198
|
# "__string" => ["__string"],
|
7718
8199
|
# },
|
7719
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8200
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7720
8201
|
# demographic: {
|
7721
8202
|
# app_version: "__string",
|
7722
8203
|
# locale: "__string",
|
@@ -7805,7 +8286,7 @@ module Aws::Pinpoint
|
|
7805
8286
|
# attributes: {
|
7806
8287
|
# "__string" => ["__string"],
|
7807
8288
|
# },
|
7808
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8289
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7809
8290
|
# demographic: {
|
7810
8291
|
# app_version: "__string",
|
7811
8292
|
# locale: "__string",
|
@@ -9441,6 +9922,76 @@ module Aws::Pinpoint
|
|
9441
9922
|
include Aws::Structure
|
9442
9923
|
end
|
9443
9924
|
|
9925
|
+
# @note When making an API call, you may pass GetInAppMessagesRequest
|
9926
|
+
# data as a hash:
|
9927
|
+
#
|
9928
|
+
# {
|
9929
|
+
# application_id: "__string", # required
|
9930
|
+
# endpoint_id: "__string", # required
|
9931
|
+
# }
|
9932
|
+
#
|
9933
|
+
# @!attribute [rw] application_id
|
9934
|
+
# @return [String]
|
9935
|
+
#
|
9936
|
+
# @!attribute [rw] endpoint_id
|
9937
|
+
# @return [String]
|
9938
|
+
#
|
9939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessagesRequest AWS API Documentation
|
9940
|
+
#
|
9941
|
+
class GetInAppMessagesRequest < Struct.new(
|
9942
|
+
:application_id,
|
9943
|
+
:endpoint_id)
|
9944
|
+
SENSITIVE = []
|
9945
|
+
include Aws::Structure
|
9946
|
+
end
|
9947
|
+
|
9948
|
+
# @!attribute [rw] in_app_messages_response
|
9949
|
+
# Get in-app messages response object.
|
9950
|
+
# @return [Types::InAppMessagesResponse]
|
9951
|
+
#
|
9952
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessagesResponse AWS API Documentation
|
9953
|
+
#
|
9954
|
+
class GetInAppMessagesResponse < Struct.new(
|
9955
|
+
:in_app_messages_response)
|
9956
|
+
SENSITIVE = []
|
9957
|
+
include Aws::Structure
|
9958
|
+
end
|
9959
|
+
|
9960
|
+
# @note When making an API call, you may pass GetInAppTemplateRequest
|
9961
|
+
# data as a hash:
|
9962
|
+
#
|
9963
|
+
# {
|
9964
|
+
# template_name: "__string", # required
|
9965
|
+
# version: "__string",
|
9966
|
+
# }
|
9967
|
+
#
|
9968
|
+
# @!attribute [rw] template_name
|
9969
|
+
# @return [String]
|
9970
|
+
#
|
9971
|
+
# @!attribute [rw] version
|
9972
|
+
# @return [String]
|
9973
|
+
#
|
9974
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplateRequest AWS API Documentation
|
9975
|
+
#
|
9976
|
+
class GetInAppTemplateRequest < Struct.new(
|
9977
|
+
:template_name,
|
9978
|
+
:version)
|
9979
|
+
SENSITIVE = []
|
9980
|
+
include Aws::Structure
|
9981
|
+
end
|
9982
|
+
|
9983
|
+
# @!attribute [rw] in_app_template_response
|
9984
|
+
# In-App Template Response.
|
9985
|
+
# @return [Types::InAppTemplateResponse]
|
9986
|
+
#
|
9987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplateResponse AWS API Documentation
|
9988
|
+
#
|
9989
|
+
class GetInAppTemplateResponse < Struct.new(
|
9990
|
+
:in_app_template_response)
|
9991
|
+
SENSITIVE = []
|
9992
|
+
include Aws::Structure
|
9993
|
+
end
|
9994
|
+
|
9444
9995
|
# @note When making an API call, you may pass GetJourneyDateRangeKpiRequest
|
9445
9996
|
# data as a hash:
|
9446
9997
|
#
|
@@ -10489,6 +11040,520 @@ module Aws::Pinpoint
|
|
10489
11040
|
include Aws::Structure
|
10490
11041
|
end
|
10491
11042
|
|
11043
|
+
# @!attribute [rw] end_date
|
11044
|
+
# The scheduled time after which the in-app message should not be
|
11045
|
+
# shown. Timestamp is in ISO 8601 format.
|
11046
|
+
# @return [String]
|
11047
|
+
#
|
11048
|
+
# @!attribute [rw] event_filter
|
11049
|
+
# The event filter the SDK has to use to show the in-app message in
|
11050
|
+
# the application.
|
11051
|
+
# @return [Types::CampaignEventFilter]
|
11052
|
+
#
|
11053
|
+
# @!attribute [rw] quiet_time
|
11054
|
+
# Time during which the in-app message should not be shown to the
|
11055
|
+
# user.
|
11056
|
+
# @return [Types::QuietTime]
|
11057
|
+
#
|
11058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppCampaignSchedule AWS API Documentation
|
11059
|
+
#
|
11060
|
+
class InAppCampaignSchedule < Struct.new(
|
11061
|
+
:end_date,
|
11062
|
+
:event_filter,
|
11063
|
+
:quiet_time)
|
11064
|
+
SENSITIVE = []
|
11065
|
+
include Aws::Structure
|
11066
|
+
end
|
11067
|
+
|
11068
|
+
# Provides all fields required for building an in-app message.
|
11069
|
+
#
|
11070
|
+
# @!attribute [rw] content
|
11071
|
+
# In-app message content.
|
11072
|
+
# @return [Array<Types::InAppMessageContent>]
|
11073
|
+
#
|
11074
|
+
# @!attribute [rw] custom_config
|
11075
|
+
# Custom config to be sent to SDK.
|
11076
|
+
# @return [Hash<String,String>]
|
11077
|
+
#
|
11078
|
+
# @!attribute [rw] layout
|
11079
|
+
# The layout of the message.
|
11080
|
+
# @return [String]
|
11081
|
+
#
|
11082
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessage AWS API Documentation
|
11083
|
+
#
|
11084
|
+
class InAppMessage < Struct.new(
|
11085
|
+
:content,
|
11086
|
+
:custom_config,
|
11087
|
+
:layout)
|
11088
|
+
SENSITIVE = []
|
11089
|
+
include Aws::Structure
|
11090
|
+
end
|
11091
|
+
|
11092
|
+
# Text config for Message Body.
|
11093
|
+
#
|
11094
|
+
# @note When making an API call, you may pass InAppMessageBodyConfig
|
11095
|
+
# data as a hash:
|
11096
|
+
#
|
11097
|
+
# {
|
11098
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11099
|
+
# body: "__string", # required
|
11100
|
+
# text_color: "__string", # required
|
11101
|
+
# }
|
11102
|
+
#
|
11103
|
+
# @!attribute [rw] alignment
|
11104
|
+
# The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
|
11105
|
+
# @return [String]
|
11106
|
+
#
|
11107
|
+
# @!attribute [rw] body
|
11108
|
+
# Message Body.
|
11109
|
+
# @return [String]
|
11110
|
+
#
|
11111
|
+
# @!attribute [rw] text_color
|
11112
|
+
# The text color.
|
11113
|
+
# @return [String]
|
11114
|
+
#
|
11115
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageBodyConfig AWS API Documentation
|
11116
|
+
#
|
11117
|
+
class InAppMessageBodyConfig < Struct.new(
|
11118
|
+
:alignment,
|
11119
|
+
:body,
|
11120
|
+
:text_color)
|
11121
|
+
SENSITIVE = []
|
11122
|
+
include Aws::Structure
|
11123
|
+
end
|
11124
|
+
|
11125
|
+
# Button Config for an in-app message.
|
11126
|
+
#
|
11127
|
+
# @note When making an API call, you may pass InAppMessageButton
|
11128
|
+
# data as a hash:
|
11129
|
+
#
|
11130
|
+
# {
|
11131
|
+
# android: {
|
11132
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11133
|
+
# link: "__string",
|
11134
|
+
# },
|
11135
|
+
# default_config: {
|
11136
|
+
# background_color: "__string",
|
11137
|
+
# border_radius: 1,
|
11138
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11139
|
+
# link: "__string",
|
11140
|
+
# text: "__string", # required
|
11141
|
+
# text_color: "__string",
|
11142
|
+
# },
|
11143
|
+
# ios: {
|
11144
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11145
|
+
# link: "__string",
|
11146
|
+
# },
|
11147
|
+
# web: {
|
11148
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11149
|
+
# link: "__string",
|
11150
|
+
# },
|
11151
|
+
# }
|
11152
|
+
#
|
11153
|
+
# @!attribute [rw] android
|
11154
|
+
# Default button content.
|
11155
|
+
# @return [Types::OverrideButtonConfiguration]
|
11156
|
+
#
|
11157
|
+
# @!attribute [rw] default_config
|
11158
|
+
# Default button content.
|
11159
|
+
# @return [Types::DefaultButtonConfiguration]
|
11160
|
+
#
|
11161
|
+
# @!attribute [rw] ios
|
11162
|
+
# Default button content.
|
11163
|
+
# @return [Types::OverrideButtonConfiguration]
|
11164
|
+
#
|
11165
|
+
# @!attribute [rw] web
|
11166
|
+
# Default button content.
|
11167
|
+
# @return [Types::OverrideButtonConfiguration]
|
11168
|
+
#
|
11169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageButton AWS API Documentation
|
11170
|
+
#
|
11171
|
+
class InAppMessageButton < Struct.new(
|
11172
|
+
:android,
|
11173
|
+
:default_config,
|
11174
|
+
:ios,
|
11175
|
+
:web)
|
11176
|
+
SENSITIVE = []
|
11177
|
+
include Aws::Structure
|
11178
|
+
end
|
11179
|
+
|
11180
|
+
# @!attribute [rw] campaign_id
|
11181
|
+
# Campaign id of the corresponding campaign.
|
11182
|
+
# @return [String]
|
11183
|
+
#
|
11184
|
+
# @!attribute [rw] daily_cap
|
11185
|
+
# Daily cap which controls the number of times any in-app messages can
|
11186
|
+
# be shown to the endpoint during a day.
|
11187
|
+
# @return [Integer]
|
11188
|
+
#
|
11189
|
+
# @!attribute [rw] in_app_message
|
11190
|
+
# In-app message content with all fields required for rendering an
|
11191
|
+
# in-app message.
|
11192
|
+
# @return [Types::InAppMessage]
|
11193
|
+
#
|
11194
|
+
# @!attribute [rw] priority
|
11195
|
+
# Priority of the in-app message.
|
11196
|
+
# @return [Integer]
|
11197
|
+
#
|
11198
|
+
# @!attribute [rw] schedule
|
11199
|
+
# Schedule of the campaign.
|
11200
|
+
# @return [Types::InAppCampaignSchedule]
|
11201
|
+
#
|
11202
|
+
# @!attribute [rw] session_cap
|
11203
|
+
# Session cap which controls the number of times an in-app message can
|
11204
|
+
# be shown to the endpoint during an application session.
|
11205
|
+
# @return [Integer]
|
11206
|
+
#
|
11207
|
+
# @!attribute [rw] total_cap
|
11208
|
+
# Total cap which controls the number of times an in-app message can
|
11209
|
+
# be shown to the endpoint.
|
11210
|
+
# @return [Integer]
|
11211
|
+
#
|
11212
|
+
# @!attribute [rw] treatment_id
|
11213
|
+
# Treatment id of the campaign.
|
11214
|
+
# @return [String]
|
11215
|
+
#
|
11216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageCampaign AWS API Documentation
|
11217
|
+
#
|
11218
|
+
class InAppMessageCampaign < Struct.new(
|
11219
|
+
:campaign_id,
|
11220
|
+
:daily_cap,
|
11221
|
+
:in_app_message,
|
11222
|
+
:priority,
|
11223
|
+
:schedule,
|
11224
|
+
:session_cap,
|
11225
|
+
:total_cap,
|
11226
|
+
:treatment_id)
|
11227
|
+
SENSITIVE = []
|
11228
|
+
include Aws::Structure
|
11229
|
+
end
|
11230
|
+
|
11231
|
+
# The configuration for the message content.
|
11232
|
+
#
|
11233
|
+
# @note When making an API call, you may pass InAppMessageContent
|
11234
|
+
# data as a hash:
|
11235
|
+
#
|
11236
|
+
# {
|
11237
|
+
# background_color: "__string",
|
11238
|
+
# body_config: {
|
11239
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11240
|
+
# body: "__string", # required
|
11241
|
+
# text_color: "__string", # required
|
11242
|
+
# },
|
11243
|
+
# header_config: {
|
11244
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11245
|
+
# header: "__string", # required
|
11246
|
+
# text_color: "__string", # required
|
11247
|
+
# },
|
11248
|
+
# image_url: "__string",
|
11249
|
+
# primary_btn: {
|
11250
|
+
# android: {
|
11251
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11252
|
+
# link: "__string",
|
11253
|
+
# },
|
11254
|
+
# default_config: {
|
11255
|
+
# background_color: "__string",
|
11256
|
+
# border_radius: 1,
|
11257
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11258
|
+
# link: "__string",
|
11259
|
+
# text: "__string", # required
|
11260
|
+
# text_color: "__string",
|
11261
|
+
# },
|
11262
|
+
# ios: {
|
11263
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11264
|
+
# link: "__string",
|
11265
|
+
# },
|
11266
|
+
# web: {
|
11267
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11268
|
+
# link: "__string",
|
11269
|
+
# },
|
11270
|
+
# },
|
11271
|
+
# secondary_btn: {
|
11272
|
+
# android: {
|
11273
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11274
|
+
# link: "__string",
|
11275
|
+
# },
|
11276
|
+
# default_config: {
|
11277
|
+
# background_color: "__string",
|
11278
|
+
# border_radius: 1,
|
11279
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11280
|
+
# link: "__string",
|
11281
|
+
# text: "__string", # required
|
11282
|
+
# text_color: "__string",
|
11283
|
+
# },
|
11284
|
+
# ios: {
|
11285
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11286
|
+
# link: "__string",
|
11287
|
+
# },
|
11288
|
+
# web: {
|
11289
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11290
|
+
# link: "__string",
|
11291
|
+
# },
|
11292
|
+
# },
|
11293
|
+
# }
|
11294
|
+
#
|
11295
|
+
# @!attribute [rw] background_color
|
11296
|
+
# The background color for the message.
|
11297
|
+
# @return [String]
|
11298
|
+
#
|
11299
|
+
# @!attribute [rw] body_config
|
11300
|
+
# The configuration for the message body.
|
11301
|
+
# @return [Types::InAppMessageBodyConfig]
|
11302
|
+
#
|
11303
|
+
# @!attribute [rw] header_config
|
11304
|
+
# The configuration for the message header.
|
11305
|
+
# @return [Types::InAppMessageHeaderConfig]
|
11306
|
+
#
|
11307
|
+
# @!attribute [rw] image_url
|
11308
|
+
# The image url for the background of message.
|
11309
|
+
# @return [String]
|
11310
|
+
#
|
11311
|
+
# @!attribute [rw] primary_btn
|
11312
|
+
# The first button inside the message.
|
11313
|
+
# @return [Types::InAppMessageButton]
|
11314
|
+
#
|
11315
|
+
# @!attribute [rw] secondary_btn
|
11316
|
+
# The second button inside message.
|
11317
|
+
# @return [Types::InAppMessageButton]
|
11318
|
+
#
|
11319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageContent AWS API Documentation
|
11320
|
+
#
|
11321
|
+
class InAppMessageContent < Struct.new(
|
11322
|
+
:background_color,
|
11323
|
+
:body_config,
|
11324
|
+
:header_config,
|
11325
|
+
:image_url,
|
11326
|
+
:primary_btn,
|
11327
|
+
:secondary_btn)
|
11328
|
+
SENSITIVE = []
|
11329
|
+
include Aws::Structure
|
11330
|
+
end
|
11331
|
+
|
11332
|
+
# Text config for Message Header.
|
11333
|
+
#
|
11334
|
+
# @note When making an API call, you may pass InAppMessageHeaderConfig
|
11335
|
+
# data as a hash:
|
11336
|
+
#
|
11337
|
+
# {
|
11338
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11339
|
+
# header: "__string", # required
|
11340
|
+
# text_color: "__string", # required
|
11341
|
+
# }
|
11342
|
+
#
|
11343
|
+
# @!attribute [rw] alignment
|
11344
|
+
# The alignment of the text. Valid values: LEFT, CENTER, RIGHT.
|
11345
|
+
# @return [String]
|
11346
|
+
#
|
11347
|
+
# @!attribute [rw] header
|
11348
|
+
# Message Header.
|
11349
|
+
# @return [String]
|
11350
|
+
#
|
11351
|
+
# @!attribute [rw] text_color
|
11352
|
+
# The text color.
|
11353
|
+
# @return [String]
|
11354
|
+
#
|
11355
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessageHeaderConfig AWS API Documentation
|
11356
|
+
#
|
11357
|
+
class InAppMessageHeaderConfig < Struct.new(
|
11358
|
+
:alignment,
|
11359
|
+
:header,
|
11360
|
+
:text_color)
|
11361
|
+
SENSITIVE = []
|
11362
|
+
include Aws::Structure
|
11363
|
+
end
|
11364
|
+
|
11365
|
+
# Get in-app messages response object.
|
11366
|
+
#
|
11367
|
+
# @!attribute [rw] in_app_message_campaigns
|
11368
|
+
# List of targeted in-app message campaigns.
|
11369
|
+
# @return [Array<Types::InAppMessageCampaign>]
|
11370
|
+
#
|
11371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppMessagesResponse AWS API Documentation
|
11372
|
+
#
|
11373
|
+
class InAppMessagesResponse < Struct.new(
|
11374
|
+
:in_app_message_campaigns)
|
11375
|
+
SENSITIVE = []
|
11376
|
+
include Aws::Structure
|
11377
|
+
end
|
11378
|
+
|
11379
|
+
# In-App Template Request.
|
11380
|
+
#
|
11381
|
+
# @note When making an API call, you may pass InAppTemplateRequest
|
11382
|
+
# data as a hash:
|
11383
|
+
#
|
11384
|
+
# {
|
11385
|
+
# content: [
|
11386
|
+
# {
|
11387
|
+
# background_color: "__string",
|
11388
|
+
# body_config: {
|
11389
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11390
|
+
# body: "__string", # required
|
11391
|
+
# text_color: "__string", # required
|
11392
|
+
# },
|
11393
|
+
# header_config: {
|
11394
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
11395
|
+
# header: "__string", # required
|
11396
|
+
# text_color: "__string", # required
|
11397
|
+
# },
|
11398
|
+
# image_url: "__string",
|
11399
|
+
# primary_btn: {
|
11400
|
+
# android: {
|
11401
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11402
|
+
# link: "__string",
|
11403
|
+
# },
|
11404
|
+
# default_config: {
|
11405
|
+
# background_color: "__string",
|
11406
|
+
# border_radius: 1,
|
11407
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11408
|
+
# link: "__string",
|
11409
|
+
# text: "__string", # required
|
11410
|
+
# text_color: "__string",
|
11411
|
+
# },
|
11412
|
+
# ios: {
|
11413
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11414
|
+
# link: "__string",
|
11415
|
+
# },
|
11416
|
+
# web: {
|
11417
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11418
|
+
# link: "__string",
|
11419
|
+
# },
|
11420
|
+
# },
|
11421
|
+
# secondary_btn: {
|
11422
|
+
# android: {
|
11423
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11424
|
+
# link: "__string",
|
11425
|
+
# },
|
11426
|
+
# default_config: {
|
11427
|
+
# background_color: "__string",
|
11428
|
+
# border_radius: 1,
|
11429
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11430
|
+
# link: "__string",
|
11431
|
+
# text: "__string", # required
|
11432
|
+
# text_color: "__string",
|
11433
|
+
# },
|
11434
|
+
# ios: {
|
11435
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11436
|
+
# link: "__string",
|
11437
|
+
# },
|
11438
|
+
# web: {
|
11439
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
11440
|
+
# link: "__string",
|
11441
|
+
# },
|
11442
|
+
# },
|
11443
|
+
# },
|
11444
|
+
# ],
|
11445
|
+
# custom_config: {
|
11446
|
+
# "__string" => "__string",
|
11447
|
+
# },
|
11448
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
11449
|
+
# tags: {
|
11450
|
+
# "__string" => "__string",
|
11451
|
+
# },
|
11452
|
+
# template_description: "__string",
|
11453
|
+
# }
|
11454
|
+
#
|
11455
|
+
# @!attribute [rw] content
|
11456
|
+
# The content of the message, can include up to 5 modals. Each modal
|
11457
|
+
# must contain a message, a header, and background color. ImageUrl and
|
11458
|
+
# buttons are optional.
|
11459
|
+
# @return [Array<Types::InAppMessageContent>]
|
11460
|
+
#
|
11461
|
+
# @!attribute [rw] custom_config
|
11462
|
+
# Custom config to be sent to client.
|
11463
|
+
# @return [Hash<String,String>]
|
11464
|
+
#
|
11465
|
+
# @!attribute [rw] layout
|
11466
|
+
# The layout of the message.
|
11467
|
+
# @return [String]
|
11468
|
+
#
|
11469
|
+
# @!attribute [rw] tags
|
11470
|
+
# A string-to-string map of key-value pairs that defines the tags to
|
11471
|
+
# associate with the message template. Each tag consists of a required
|
11472
|
+
# tag key and an associated tag value.
|
11473
|
+
# @return [Hash<String,String>]
|
11474
|
+
#
|
11475
|
+
# @!attribute [rw] template_description
|
11476
|
+
# The description of the template.
|
11477
|
+
# @return [String]
|
11478
|
+
#
|
11479
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppTemplateRequest AWS API Documentation
|
11480
|
+
#
|
11481
|
+
class InAppTemplateRequest < Struct.new(
|
11482
|
+
:content,
|
11483
|
+
:custom_config,
|
11484
|
+
:layout,
|
11485
|
+
:tags,
|
11486
|
+
:template_description)
|
11487
|
+
SENSITIVE = []
|
11488
|
+
include Aws::Structure
|
11489
|
+
end
|
11490
|
+
|
11491
|
+
# In-App Template Response.
|
11492
|
+
#
|
11493
|
+
# @!attribute [rw] arn
|
11494
|
+
# The resource arn of the template.
|
11495
|
+
# @return [String]
|
11496
|
+
#
|
11497
|
+
# @!attribute [rw] content
|
11498
|
+
# The content of the message, can include up to 5 modals. Each modal
|
11499
|
+
# must contain a message, a header, and background color. ImageUrl and
|
11500
|
+
# buttons are optional.
|
11501
|
+
# @return [Array<Types::InAppMessageContent>]
|
11502
|
+
#
|
11503
|
+
# @!attribute [rw] creation_date
|
11504
|
+
# The creation date of the template.
|
11505
|
+
# @return [String]
|
11506
|
+
#
|
11507
|
+
# @!attribute [rw] custom_config
|
11508
|
+
# Custom config to be sent to client.
|
11509
|
+
# @return [Hash<String,String>]
|
11510
|
+
#
|
11511
|
+
# @!attribute [rw] last_modified_date
|
11512
|
+
# The last modified date of the template.
|
11513
|
+
# @return [String]
|
11514
|
+
#
|
11515
|
+
# @!attribute [rw] layout
|
11516
|
+
# The layout of the message.
|
11517
|
+
# @return [String]
|
11518
|
+
#
|
11519
|
+
# @!attribute [rw] tags
|
11520
|
+
# Tags map that contains arn and InternalId for API GW.
|
11521
|
+
# @return [Hash<String,String>]
|
11522
|
+
#
|
11523
|
+
# @!attribute [rw] template_description
|
11524
|
+
# The description of the template.
|
11525
|
+
# @return [String]
|
11526
|
+
#
|
11527
|
+
# @!attribute [rw] template_name
|
11528
|
+
# The name of the template.
|
11529
|
+
# @return [String]
|
11530
|
+
#
|
11531
|
+
# @!attribute [rw] template_type
|
11532
|
+
# The type of the template.
|
11533
|
+
# @return [String]
|
11534
|
+
#
|
11535
|
+
# @!attribute [rw] version
|
11536
|
+
# The version id of the template.
|
11537
|
+
# @return [String]
|
11538
|
+
#
|
11539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/InAppTemplateResponse AWS API Documentation
|
11540
|
+
#
|
11541
|
+
class InAppTemplateResponse < Struct.new(
|
11542
|
+
:arn,
|
11543
|
+
:content,
|
11544
|
+
:creation_date,
|
11545
|
+
:custom_config,
|
11546
|
+
:last_modified_date,
|
11547
|
+
:layout,
|
11548
|
+
:tags,
|
11549
|
+
:template_description,
|
11550
|
+
:template_name,
|
11551
|
+
:template_type,
|
11552
|
+
:version)
|
11553
|
+
SENSITIVE = []
|
11554
|
+
include Aws::Structure
|
11555
|
+
end
|
11556
|
+
|
10492
11557
|
# Provides information about an API request or response.
|
10493
11558
|
#
|
10494
11559
|
# @!attribute [rw] message
|
@@ -10826,6 +11891,34 @@ module Aws::Pinpoint
|
|
10826
11891
|
include Aws::Structure
|
10827
11892
|
end
|
10828
11893
|
|
11894
|
+
# The channel-specific configurations for the journey.
|
11895
|
+
#
|
11896
|
+
# @note When making an API call, you may pass JourneyChannelSettings
|
11897
|
+
# data as a hash:
|
11898
|
+
#
|
11899
|
+
# {
|
11900
|
+
# connect_campaign_arn: "__string",
|
11901
|
+
# connect_campaign_execution_role_arn: "__string",
|
11902
|
+
# }
|
11903
|
+
#
|
11904
|
+
# @!attribute [rw] connect_campaign_arn
|
11905
|
+
# Amazon Resource Name (ARN) of the Connect Campaign.
|
11906
|
+
# @return [String]
|
11907
|
+
#
|
11908
|
+
# @!attribute [rw] connect_campaign_execution_role_arn
|
11909
|
+
# IAM role ARN to be assumed when invoking Connect campaign execution
|
11910
|
+
# APIs for dialing.
|
11911
|
+
# @return [String]
|
11912
|
+
#
|
11913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyChannelSettings AWS API Documentation
|
11914
|
+
#
|
11915
|
+
class JourneyChannelSettings < Struct.new(
|
11916
|
+
:connect_campaign_arn,
|
11917
|
+
:connect_campaign_execution_role_arn)
|
11918
|
+
SENSITIVE = []
|
11919
|
+
include Aws::Structure
|
11920
|
+
end
|
11921
|
+
|
10829
11922
|
# Provides information about the status, configuration, and other
|
10830
11923
|
# settings for a journey.
|
10831
11924
|
#
|
@@ -10944,6 +12037,10 @@ module Aws::Pinpoint
|
|
10944
12037
|
# This object is not used or supported.
|
10945
12038
|
# @return [Hash<String,String>]
|
10946
12039
|
#
|
12040
|
+
# @!attribute [rw] journey_channel_settings
|
12041
|
+
# Amazon Resource Name (ARN) of the Connect Campaign.
|
12042
|
+
# @return [Types::JourneyChannelSettings]
|
12043
|
+
#
|
10947
12044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/JourneyResponse AWS API Documentation
|
10948
12045
|
#
|
10949
12046
|
class JourneyResponse < Struct.new(
|
@@ -10961,7 +12058,8 @@ module Aws::Pinpoint
|
|
10961
12058
|
:start_activity,
|
10962
12059
|
:start_condition,
|
10963
12060
|
:state,
|
10964
|
-
:tags
|
12061
|
+
:tags,
|
12062
|
+
:journey_channel_settings)
|
10965
12063
|
SENSITIVE = []
|
10966
12064
|
include Aws::Structure
|
10967
12065
|
end
|
@@ -11554,6 +12652,73 @@ module Aws::Pinpoint
|
|
11554
12652
|
# entity_id: "__string",
|
11555
12653
|
# template_id: "__string",
|
11556
12654
|
# },
|
12655
|
+
# in_app_message: {
|
12656
|
+
# body: "__string",
|
12657
|
+
# content: [
|
12658
|
+
# {
|
12659
|
+
# background_color: "__string",
|
12660
|
+
# body_config: {
|
12661
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
12662
|
+
# body: "__string", # required
|
12663
|
+
# text_color: "__string", # required
|
12664
|
+
# },
|
12665
|
+
# header_config: {
|
12666
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
12667
|
+
# header: "__string", # required
|
12668
|
+
# text_color: "__string", # required
|
12669
|
+
# },
|
12670
|
+
# image_url: "__string",
|
12671
|
+
# primary_btn: {
|
12672
|
+
# android: {
|
12673
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12674
|
+
# link: "__string",
|
12675
|
+
# },
|
12676
|
+
# default_config: {
|
12677
|
+
# background_color: "__string",
|
12678
|
+
# border_radius: 1,
|
12679
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12680
|
+
# link: "__string",
|
12681
|
+
# text: "__string", # required
|
12682
|
+
# text_color: "__string",
|
12683
|
+
# },
|
12684
|
+
# ios: {
|
12685
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12686
|
+
# link: "__string",
|
12687
|
+
# },
|
12688
|
+
# web: {
|
12689
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12690
|
+
# link: "__string",
|
12691
|
+
# },
|
12692
|
+
# },
|
12693
|
+
# secondary_btn: {
|
12694
|
+
# android: {
|
12695
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12696
|
+
# link: "__string",
|
12697
|
+
# },
|
12698
|
+
# default_config: {
|
12699
|
+
# background_color: "__string",
|
12700
|
+
# border_radius: 1,
|
12701
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12702
|
+
# link: "__string",
|
12703
|
+
# text: "__string", # required
|
12704
|
+
# text_color: "__string",
|
12705
|
+
# },
|
12706
|
+
# ios: {
|
12707
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12708
|
+
# link: "__string",
|
12709
|
+
# },
|
12710
|
+
# web: {
|
12711
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
12712
|
+
# link: "__string",
|
12713
|
+
# },
|
12714
|
+
# },
|
12715
|
+
# },
|
12716
|
+
# ],
|
12717
|
+
# custom_config: {
|
12718
|
+
# "__string" => "__string",
|
12719
|
+
# },
|
12720
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
12721
|
+
# },
|
11557
12722
|
# }
|
11558
12723
|
#
|
11559
12724
|
# @!attribute [rw] adm_message
|
@@ -11604,6 +12769,10 @@ module Aws::Pinpoint
|
|
11604
12769
|
# specified, this message overrides the default message.
|
11605
12770
|
# @return [Types::CampaignSmsMessage]
|
11606
12771
|
#
|
12772
|
+
# @!attribute [rw] in_app_message
|
12773
|
+
# The in-app message configuration.
|
12774
|
+
# @return [Types::CampaignInAppMessage]
|
12775
|
+
#
|
11607
12776
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration AWS API Documentation
|
11608
12777
|
#
|
11609
12778
|
class MessageConfiguration < Struct.new(
|
@@ -11614,7 +12783,8 @@ module Aws::Pinpoint
|
|
11614
12783
|
:default_message,
|
11615
12784
|
:email_message,
|
11616
12785
|
:gcm_message,
|
11617
|
-
:sms_message
|
12786
|
+
:sms_message,
|
12787
|
+
:in_app_message)
|
11618
12788
|
SENSITIVE = []
|
11619
12789
|
include Aws::Structure
|
11620
12790
|
end
|
@@ -11628,7 +12798,7 @@ module Aws::Pinpoint
|
|
11628
12798
|
# addresses: {
|
11629
12799
|
# "__string" => {
|
11630
12800
|
# body_override: "__string",
|
11631
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
12801
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
11632
12802
|
# context: {
|
11633
12803
|
# "__string" => "__string",
|
11634
12804
|
# },
|
@@ -12451,6 +13621,33 @@ module Aws::Pinpoint
|
|
12451
13621
|
include Aws::Structure
|
12452
13622
|
end
|
12453
13623
|
|
13624
|
+
# Override button configuration.
|
13625
|
+
#
|
13626
|
+
# @note When making an API call, you may pass OverrideButtonConfiguration
|
13627
|
+
# data as a hash:
|
13628
|
+
#
|
13629
|
+
# {
|
13630
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
13631
|
+
# link: "__string",
|
13632
|
+
# }
|
13633
|
+
#
|
13634
|
+
# @!attribute [rw] button_action
|
13635
|
+
# Action triggered by the button.
|
13636
|
+
# @return [String]
|
13637
|
+
#
|
13638
|
+
# @!attribute [rw] link
|
13639
|
+
# Button destination.
|
13640
|
+
# @return [String]
|
13641
|
+
#
|
13642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/OverrideButtonConfiguration AWS API Documentation
|
13643
|
+
#
|
13644
|
+
class OverrideButtonConfiguration < Struct.new(
|
13645
|
+
:button_action,
|
13646
|
+
:link)
|
13647
|
+
SENSITIVE = []
|
13648
|
+
include Aws::Structure
|
13649
|
+
end
|
13650
|
+
|
12454
13651
|
# Provides information about an API request or response.
|
12455
13652
|
#
|
12456
13653
|
# @!attribute [rw] message
|
@@ -12513,7 +13710,7 @@ module Aws::Pinpoint
|
|
12513
13710
|
# attributes: {
|
12514
13711
|
# "__string" => ["__string"],
|
12515
13712
|
# },
|
12516
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
13713
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
12517
13714
|
# demographic: {
|
12518
13715
|
# app_version: "__string",
|
12519
13716
|
# locale: "__string",
|
@@ -12993,7 +14190,7 @@ module Aws::Pinpoint
|
|
12993
14190
|
# attributes: {
|
12994
14191
|
# "__string" => ["__string"],
|
12995
14192
|
# },
|
12996
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
14193
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
12997
14194
|
# demographic: {
|
12998
14195
|
# app_version: "__string",
|
12999
14196
|
# locale: "__string",
|
@@ -13894,7 +15091,7 @@ module Aws::Pinpoint
|
|
13894
15091
|
# },
|
13895
15092
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
13896
15093
|
# },
|
13897
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
15094
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
13898
15095
|
# is_local_time: false,
|
13899
15096
|
# quiet_time: {
|
13900
15097
|
# end: "__string",
|
@@ -14676,7 +15873,7 @@ module Aws::Pinpoint
|
|
14676
15873
|
# addresses: {
|
14677
15874
|
# "__string" => {
|
14678
15875
|
# body_override: "__string",
|
14679
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
15876
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
14680
15877
|
# context: {
|
14681
15878
|
# "__string" => "__string",
|
14682
15879
|
# },
|
@@ -15935,6 +17132,33 @@ module Aws::Pinpoint
|
|
15935
17132
|
include Aws::Structure
|
15936
17133
|
end
|
15937
17134
|
|
17135
|
+
# Provides information about a request to create a message template.
|
17136
|
+
#
|
17137
|
+
# @!attribute [rw] arn
|
17138
|
+
# The Amazon Resource Name (ARN) of the message template that was
|
17139
|
+
# created.
|
17140
|
+
# @return [String]
|
17141
|
+
#
|
17142
|
+
# @!attribute [rw] message
|
17143
|
+
# The message that's returned from the API for the request to create
|
17144
|
+
# the message template.
|
17145
|
+
# @return [String]
|
17146
|
+
#
|
17147
|
+
# @!attribute [rw] request_id
|
17148
|
+
# The unique identifier for the request to create the message
|
17149
|
+
# template.
|
17150
|
+
# @return [String]
|
17151
|
+
#
|
17152
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TemplateCreateMessageBody AWS API Documentation
|
17153
|
+
#
|
17154
|
+
class TemplateCreateMessageBody < Struct.new(
|
17155
|
+
:arn,
|
17156
|
+
:message,
|
17157
|
+
:request_id)
|
17158
|
+
SENSITIVE = []
|
17159
|
+
include Aws::Structure
|
17160
|
+
end
|
17161
|
+
|
15938
17162
|
# Provides information about a message template that's associated with
|
15939
17163
|
# your Amazon Pinpoint account.
|
15940
17164
|
#
|
@@ -16470,6 +17694,7 @@ module Aws::Pinpoint
|
|
16470
17694
|
# maximum_duration: 1,
|
16471
17695
|
# messages_per_second: 1,
|
16472
17696
|
# total: 1,
|
17697
|
+
# session: 1,
|
16473
17698
|
# },
|
16474
17699
|
# quiet_time: {
|
16475
17700
|
# end: "__string",
|
@@ -16586,7 +17811,7 @@ module Aws::Pinpoint
|
|
16586
17811
|
# {
|
16587
17812
|
# custom_delivery_configuration: {
|
16588
17813
|
# delivery_uri: "__string", # required
|
16589
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
17814
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
16590
17815
|
# },
|
16591
17816
|
# message_configuration: {
|
16592
17817
|
# adm_message: {
|
@@ -16676,6 +17901,73 @@ module Aws::Pinpoint
|
|
16676
17901
|
# entity_id: "__string",
|
16677
17902
|
# template_id: "__string",
|
16678
17903
|
# },
|
17904
|
+
# in_app_message: {
|
17905
|
+
# body: "__string",
|
17906
|
+
# content: [
|
17907
|
+
# {
|
17908
|
+
# background_color: "__string",
|
17909
|
+
# body_config: {
|
17910
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
17911
|
+
# body: "__string", # required
|
17912
|
+
# text_color: "__string", # required
|
17913
|
+
# },
|
17914
|
+
# header_config: {
|
17915
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
17916
|
+
# header: "__string", # required
|
17917
|
+
# text_color: "__string", # required
|
17918
|
+
# },
|
17919
|
+
# image_url: "__string",
|
17920
|
+
# primary_btn: {
|
17921
|
+
# android: {
|
17922
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17923
|
+
# link: "__string",
|
17924
|
+
# },
|
17925
|
+
# default_config: {
|
17926
|
+
# background_color: "__string",
|
17927
|
+
# border_radius: 1,
|
17928
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17929
|
+
# link: "__string",
|
17930
|
+
# text: "__string", # required
|
17931
|
+
# text_color: "__string",
|
17932
|
+
# },
|
17933
|
+
# ios: {
|
17934
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17935
|
+
# link: "__string",
|
17936
|
+
# },
|
17937
|
+
# web: {
|
17938
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17939
|
+
# link: "__string",
|
17940
|
+
# },
|
17941
|
+
# },
|
17942
|
+
# secondary_btn: {
|
17943
|
+
# android: {
|
17944
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17945
|
+
# link: "__string",
|
17946
|
+
# },
|
17947
|
+
# default_config: {
|
17948
|
+
# background_color: "__string",
|
17949
|
+
# border_radius: 1,
|
17950
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17951
|
+
# link: "__string",
|
17952
|
+
# text: "__string", # required
|
17953
|
+
# text_color: "__string",
|
17954
|
+
# },
|
17955
|
+
# ios: {
|
17956
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17957
|
+
# link: "__string",
|
17958
|
+
# },
|
17959
|
+
# web: {
|
17960
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
17961
|
+
# link: "__string",
|
17962
|
+
# },
|
17963
|
+
# },
|
17964
|
+
# },
|
17965
|
+
# ],
|
17966
|
+
# custom_config: {
|
17967
|
+
# "__string" => "__string",
|
17968
|
+
# },
|
17969
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
17970
|
+
# },
|
16679
17971
|
# },
|
16680
17972
|
# schedule: {
|
16681
17973
|
# end_time: "__string",
|
@@ -16700,7 +17992,7 @@ module Aws::Pinpoint
|
|
16700
17992
|
# },
|
16701
17993
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
16702
17994
|
# },
|
16703
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
17995
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
16704
17996
|
# is_local_time: false,
|
16705
17997
|
# quiet_time: {
|
16706
17998
|
# end: "__string",
|
@@ -16734,7 +18026,7 @@ module Aws::Pinpoint
|
|
16734
18026
|
# ],
|
16735
18027
|
# custom_delivery_configuration: {
|
16736
18028
|
# delivery_uri: "__string", # required
|
16737
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18029
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
16738
18030
|
# },
|
16739
18031
|
# description: "__string",
|
16740
18032
|
# holdout_percent: 1,
|
@@ -16749,6 +18041,7 @@ module Aws::Pinpoint
|
|
16749
18041
|
# maximum_duration: 1,
|
16750
18042
|
# messages_per_second: 1,
|
16751
18043
|
# total: 1,
|
18044
|
+
# session: 1,
|
16752
18045
|
# },
|
16753
18046
|
# message_configuration: {
|
16754
18047
|
# adm_message: {
|
@@ -16838,6 +18131,73 @@ module Aws::Pinpoint
|
|
16838
18131
|
# entity_id: "__string",
|
16839
18132
|
# template_id: "__string",
|
16840
18133
|
# },
|
18134
|
+
# in_app_message: {
|
18135
|
+
# body: "__string",
|
18136
|
+
# content: [
|
18137
|
+
# {
|
18138
|
+
# background_color: "__string",
|
18139
|
+
# body_config: {
|
18140
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18141
|
+
# body: "__string", # required
|
18142
|
+
# text_color: "__string", # required
|
18143
|
+
# },
|
18144
|
+
# header_config: {
|
18145
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18146
|
+
# header: "__string", # required
|
18147
|
+
# text_color: "__string", # required
|
18148
|
+
# },
|
18149
|
+
# image_url: "__string",
|
18150
|
+
# primary_btn: {
|
18151
|
+
# android: {
|
18152
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18153
|
+
# link: "__string",
|
18154
|
+
# },
|
18155
|
+
# default_config: {
|
18156
|
+
# background_color: "__string",
|
18157
|
+
# border_radius: 1,
|
18158
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18159
|
+
# link: "__string",
|
18160
|
+
# text: "__string", # required
|
18161
|
+
# text_color: "__string",
|
18162
|
+
# },
|
18163
|
+
# ios: {
|
18164
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18165
|
+
# link: "__string",
|
18166
|
+
# },
|
18167
|
+
# web: {
|
18168
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18169
|
+
# link: "__string",
|
18170
|
+
# },
|
18171
|
+
# },
|
18172
|
+
# secondary_btn: {
|
18173
|
+
# android: {
|
18174
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18175
|
+
# link: "__string",
|
18176
|
+
# },
|
18177
|
+
# default_config: {
|
18178
|
+
# background_color: "__string",
|
18179
|
+
# border_radius: 1,
|
18180
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18181
|
+
# link: "__string",
|
18182
|
+
# text: "__string", # required
|
18183
|
+
# text_color: "__string",
|
18184
|
+
# },
|
18185
|
+
# ios: {
|
18186
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18187
|
+
# link: "__string",
|
18188
|
+
# },
|
18189
|
+
# web: {
|
18190
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18191
|
+
# link: "__string",
|
18192
|
+
# },
|
18193
|
+
# },
|
18194
|
+
# },
|
18195
|
+
# ],
|
18196
|
+
# custom_config: {
|
18197
|
+
# "__string" => "__string",
|
18198
|
+
# },
|
18199
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
18200
|
+
# },
|
16841
18201
|
# },
|
16842
18202
|
# name: "__string",
|
16843
18203
|
# schedule: {
|
@@ -16863,7 +18223,7 @@ module Aws::Pinpoint
|
|
16863
18223
|
# },
|
16864
18224
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
16865
18225
|
# },
|
16866
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
18226
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
16867
18227
|
# is_local_time: false,
|
16868
18228
|
# quiet_time: {
|
16869
18229
|
# end: "__string",
|
@@ -16897,6 +18257,7 @@ module Aws::Pinpoint
|
|
16897
18257
|
# },
|
16898
18258
|
# treatment_description: "__string",
|
16899
18259
|
# treatment_name: "__string",
|
18260
|
+
# priority: 1,
|
16900
18261
|
# },
|
16901
18262
|
# }
|
16902
18263
|
#
|
@@ -17045,7 +18406,7 @@ module Aws::Pinpoint
|
|
17045
18406
|
# attributes: {
|
17046
18407
|
# "__string" => ["__string"],
|
17047
18408
|
# },
|
17048
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18409
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17049
18410
|
# demographic: {
|
17050
18411
|
# app_version: "__string",
|
17051
18412
|
# locale: "__string",
|
@@ -17124,7 +18485,7 @@ module Aws::Pinpoint
|
|
17124
18485
|
# attributes: {
|
17125
18486
|
# "__string" => ["__string"],
|
17126
18487
|
# },
|
17127
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18488
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17128
18489
|
# demographic: {
|
17129
18490
|
# app_version: "__string",
|
17130
18491
|
# locale: "__string",
|
@@ -17236,6 +18597,121 @@ module Aws::Pinpoint
|
|
17236
18597
|
include Aws::Structure
|
17237
18598
|
end
|
17238
18599
|
|
18600
|
+
# @note When making an API call, you may pass UpdateInAppTemplateRequest
|
18601
|
+
# data as a hash:
|
18602
|
+
#
|
18603
|
+
# {
|
18604
|
+
# create_new_version: false,
|
18605
|
+
# in_app_template_request: { # required
|
18606
|
+
# content: [
|
18607
|
+
# {
|
18608
|
+
# background_color: "__string",
|
18609
|
+
# body_config: {
|
18610
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18611
|
+
# body: "__string", # required
|
18612
|
+
# text_color: "__string", # required
|
18613
|
+
# },
|
18614
|
+
# header_config: {
|
18615
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
18616
|
+
# header: "__string", # required
|
18617
|
+
# text_color: "__string", # required
|
18618
|
+
# },
|
18619
|
+
# image_url: "__string",
|
18620
|
+
# primary_btn: {
|
18621
|
+
# android: {
|
18622
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18623
|
+
# link: "__string",
|
18624
|
+
# },
|
18625
|
+
# default_config: {
|
18626
|
+
# background_color: "__string",
|
18627
|
+
# border_radius: 1,
|
18628
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18629
|
+
# link: "__string",
|
18630
|
+
# text: "__string", # required
|
18631
|
+
# text_color: "__string",
|
18632
|
+
# },
|
18633
|
+
# ios: {
|
18634
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18635
|
+
# link: "__string",
|
18636
|
+
# },
|
18637
|
+
# web: {
|
18638
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18639
|
+
# link: "__string",
|
18640
|
+
# },
|
18641
|
+
# },
|
18642
|
+
# secondary_btn: {
|
18643
|
+
# android: {
|
18644
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18645
|
+
# link: "__string",
|
18646
|
+
# },
|
18647
|
+
# default_config: {
|
18648
|
+
# background_color: "__string",
|
18649
|
+
# border_radius: 1,
|
18650
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18651
|
+
# link: "__string",
|
18652
|
+
# text: "__string", # required
|
18653
|
+
# text_color: "__string",
|
18654
|
+
# },
|
18655
|
+
# ios: {
|
18656
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18657
|
+
# link: "__string",
|
18658
|
+
# },
|
18659
|
+
# web: {
|
18660
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
18661
|
+
# link: "__string",
|
18662
|
+
# },
|
18663
|
+
# },
|
18664
|
+
# },
|
18665
|
+
# ],
|
18666
|
+
# custom_config: {
|
18667
|
+
# "__string" => "__string",
|
18668
|
+
# },
|
18669
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
18670
|
+
# tags: {
|
18671
|
+
# "__string" => "__string",
|
18672
|
+
# },
|
18673
|
+
# template_description: "__string",
|
18674
|
+
# },
|
18675
|
+
# template_name: "__string", # required
|
18676
|
+
# version: "__string",
|
18677
|
+
# }
|
18678
|
+
#
|
18679
|
+
# @!attribute [rw] create_new_version
|
18680
|
+
# @return [Boolean]
|
18681
|
+
#
|
18682
|
+
# @!attribute [rw] in_app_template_request
|
18683
|
+
# In-App Template Request.
|
18684
|
+
# @return [Types::InAppTemplateRequest]
|
18685
|
+
#
|
18686
|
+
# @!attribute [rw] template_name
|
18687
|
+
# @return [String]
|
18688
|
+
#
|
18689
|
+
# @!attribute [rw] version
|
18690
|
+
# @return [String]
|
18691
|
+
#
|
18692
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplateRequest AWS API Documentation
|
18693
|
+
#
|
18694
|
+
class UpdateInAppTemplateRequest < Struct.new(
|
18695
|
+
:create_new_version,
|
18696
|
+
:in_app_template_request,
|
18697
|
+
:template_name,
|
18698
|
+
:version)
|
18699
|
+
SENSITIVE = []
|
18700
|
+
include Aws::Structure
|
18701
|
+
end
|
18702
|
+
|
18703
|
+
# @!attribute [rw] message_body
|
18704
|
+
# Provides information about an API request or response.
|
18705
|
+
# @return [Types::MessageBody]
|
18706
|
+
#
|
18707
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplateResponse AWS API Documentation
|
18708
|
+
#
|
18709
|
+
class UpdateInAppTemplateResponse < Struct.new(
|
18710
|
+
:message_body)
|
18711
|
+
SENSITIVE = []
|
18712
|
+
include Aws::Structure
|
18713
|
+
end
|
18714
|
+
|
17239
18715
|
# @note When making an API call, you may pass UpdateJourneyRequest
|
17240
18716
|
# data as a hash:
|
17241
18717
|
#
|
@@ -17247,7 +18723,7 @@ module Aws::Pinpoint
|
|
17247
18723
|
# "__string" => {
|
17248
18724
|
# custom: {
|
17249
18725
|
# delivery_uri: "__string",
|
17250
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
18726
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
17251
18727
|
# message_config: {
|
17252
18728
|
# data: "__string",
|
17253
18729
|
# },
|
@@ -17510,6 +18986,9 @@ module Aws::Pinpoint
|
|
17510
18986
|
# wait_until: "__string",
|
17511
18987
|
# },
|
17512
18988
|
# },
|
18989
|
+
# contact_center: {
|
18990
|
+
# next_activity: "__string",
|
18991
|
+
# },
|
17513
18992
|
# },
|
17514
18993
|
# },
|
17515
18994
|
# creation_date: "__string",
|
@@ -17566,6 +19045,10 @@ module Aws::Pinpoint
|
|
17566
19045
|
# state: "DRAFT", # accepts DRAFT, ACTIVE, COMPLETED, CANCELLED, CLOSED, PAUSED
|
17567
19046
|
# wait_for_quiet_time: false,
|
17568
19047
|
# refresh_on_segment_update: false,
|
19048
|
+
# journey_channel_settings: {
|
19049
|
+
# connect_campaign_arn: "__string",
|
19050
|
+
# connect_campaign_execution_role_arn: "__string",
|
19051
|
+
# },
|
17569
19052
|
# },
|
17570
19053
|
# }
|
17571
19054
|
#
|
@@ -18785,6 +20268,7 @@ module Aws::Pinpoint
|
|
18785
20268
|
# maximum_duration: 1,
|
18786
20269
|
# messages_per_second: 1,
|
18787
20270
|
# total: 1,
|
20271
|
+
# session: 1,
|
18788
20272
|
# },
|
18789
20273
|
# quiet_time: {
|
18790
20274
|
# end: "__string",
|
@@ -18875,7 +20359,7 @@ module Aws::Pinpoint
|
|
18875
20359
|
# {
|
18876
20360
|
# custom_delivery_configuration: {
|
18877
20361
|
# delivery_uri: "__string", # required
|
18878
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20362
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
18879
20363
|
# },
|
18880
20364
|
# message_configuration: {
|
18881
20365
|
# adm_message: {
|
@@ -18965,6 +20449,73 @@ module Aws::Pinpoint
|
|
18965
20449
|
# entity_id: "__string",
|
18966
20450
|
# template_id: "__string",
|
18967
20451
|
# },
|
20452
|
+
# in_app_message: {
|
20453
|
+
# body: "__string",
|
20454
|
+
# content: [
|
20455
|
+
# {
|
20456
|
+
# background_color: "__string",
|
20457
|
+
# body_config: {
|
20458
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20459
|
+
# body: "__string", # required
|
20460
|
+
# text_color: "__string", # required
|
20461
|
+
# },
|
20462
|
+
# header_config: {
|
20463
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20464
|
+
# header: "__string", # required
|
20465
|
+
# text_color: "__string", # required
|
20466
|
+
# },
|
20467
|
+
# image_url: "__string",
|
20468
|
+
# primary_btn: {
|
20469
|
+
# android: {
|
20470
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20471
|
+
# link: "__string",
|
20472
|
+
# },
|
20473
|
+
# default_config: {
|
20474
|
+
# background_color: "__string",
|
20475
|
+
# border_radius: 1,
|
20476
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20477
|
+
# link: "__string",
|
20478
|
+
# text: "__string", # required
|
20479
|
+
# text_color: "__string",
|
20480
|
+
# },
|
20481
|
+
# ios: {
|
20482
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20483
|
+
# link: "__string",
|
20484
|
+
# },
|
20485
|
+
# web: {
|
20486
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20487
|
+
# link: "__string",
|
20488
|
+
# },
|
20489
|
+
# },
|
20490
|
+
# secondary_btn: {
|
20491
|
+
# android: {
|
20492
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20493
|
+
# link: "__string",
|
20494
|
+
# },
|
20495
|
+
# default_config: {
|
20496
|
+
# background_color: "__string",
|
20497
|
+
# border_radius: 1,
|
20498
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20499
|
+
# link: "__string",
|
20500
|
+
# text: "__string", # required
|
20501
|
+
# text_color: "__string",
|
20502
|
+
# },
|
20503
|
+
# ios: {
|
20504
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20505
|
+
# link: "__string",
|
20506
|
+
# },
|
20507
|
+
# web: {
|
20508
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20509
|
+
# link: "__string",
|
20510
|
+
# },
|
20511
|
+
# },
|
20512
|
+
# },
|
20513
|
+
# ],
|
20514
|
+
# custom_config: {
|
20515
|
+
# "__string" => "__string",
|
20516
|
+
# },
|
20517
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
20518
|
+
# },
|
18968
20519
|
# },
|
18969
20520
|
# schedule: {
|
18970
20521
|
# end_time: "__string",
|
@@ -18989,7 +20540,7 @@ module Aws::Pinpoint
|
|
18989
20540
|
# },
|
18990
20541
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
18991
20542
|
# },
|
18992
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
20543
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
18993
20544
|
# is_local_time: false,
|
18994
20545
|
# quiet_time: {
|
18995
20546
|
# end: "__string",
|
@@ -19023,7 +20574,7 @@ module Aws::Pinpoint
|
|
19023
20574
|
# ],
|
19024
20575
|
# custom_delivery_configuration: {
|
19025
20576
|
# delivery_uri: "__string", # required
|
19026
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20577
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19027
20578
|
# },
|
19028
20579
|
# description: "__string",
|
19029
20580
|
# holdout_percent: 1,
|
@@ -19038,6 +20589,7 @@ module Aws::Pinpoint
|
|
19038
20589
|
# maximum_duration: 1,
|
19039
20590
|
# messages_per_second: 1,
|
19040
20591
|
# total: 1,
|
20592
|
+
# session: 1,
|
19041
20593
|
# },
|
19042
20594
|
# message_configuration: {
|
19043
20595
|
# adm_message: {
|
@@ -19127,6 +20679,73 @@ module Aws::Pinpoint
|
|
19127
20679
|
# entity_id: "__string",
|
19128
20680
|
# template_id: "__string",
|
19129
20681
|
# },
|
20682
|
+
# in_app_message: {
|
20683
|
+
# body: "__string",
|
20684
|
+
# content: [
|
20685
|
+
# {
|
20686
|
+
# background_color: "__string",
|
20687
|
+
# body_config: {
|
20688
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20689
|
+
# body: "__string", # required
|
20690
|
+
# text_color: "__string", # required
|
20691
|
+
# },
|
20692
|
+
# header_config: {
|
20693
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
20694
|
+
# header: "__string", # required
|
20695
|
+
# text_color: "__string", # required
|
20696
|
+
# },
|
20697
|
+
# image_url: "__string",
|
20698
|
+
# primary_btn: {
|
20699
|
+
# android: {
|
20700
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20701
|
+
# link: "__string",
|
20702
|
+
# },
|
20703
|
+
# default_config: {
|
20704
|
+
# background_color: "__string",
|
20705
|
+
# border_radius: 1,
|
20706
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20707
|
+
# link: "__string",
|
20708
|
+
# text: "__string", # required
|
20709
|
+
# text_color: "__string",
|
20710
|
+
# },
|
20711
|
+
# ios: {
|
20712
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20713
|
+
# link: "__string",
|
20714
|
+
# },
|
20715
|
+
# web: {
|
20716
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20717
|
+
# link: "__string",
|
20718
|
+
# },
|
20719
|
+
# },
|
20720
|
+
# secondary_btn: {
|
20721
|
+
# android: {
|
20722
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20723
|
+
# link: "__string",
|
20724
|
+
# },
|
20725
|
+
# default_config: {
|
20726
|
+
# background_color: "__string",
|
20727
|
+
# border_radius: 1,
|
20728
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20729
|
+
# link: "__string",
|
20730
|
+
# text: "__string", # required
|
20731
|
+
# text_color: "__string",
|
20732
|
+
# },
|
20733
|
+
# ios: {
|
20734
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20735
|
+
# link: "__string",
|
20736
|
+
# },
|
20737
|
+
# web: {
|
20738
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
20739
|
+
# link: "__string",
|
20740
|
+
# },
|
20741
|
+
# },
|
20742
|
+
# },
|
20743
|
+
# ],
|
20744
|
+
# custom_config: {
|
20745
|
+
# "__string" => "__string",
|
20746
|
+
# },
|
20747
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
20748
|
+
# },
|
19130
20749
|
# },
|
19131
20750
|
# name: "__string",
|
19132
20751
|
# schedule: {
|
@@ -19152,7 +20771,7 @@ module Aws::Pinpoint
|
|
19152
20771
|
# },
|
19153
20772
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
19154
20773
|
# },
|
19155
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
20774
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
19156
20775
|
# is_local_time: false,
|
19157
20776
|
# quiet_time: {
|
19158
20777
|
# end: "__string",
|
@@ -19186,6 +20805,7 @@ module Aws::Pinpoint
|
|
19186
20805
|
# },
|
19187
20806
|
# treatment_description: "__string",
|
19188
20807
|
# treatment_name: "__string",
|
20808
|
+
# priority: 1,
|
19189
20809
|
# }
|
19190
20810
|
#
|
19191
20811
|
# @!attribute [rw] additional_treatments
|
@@ -19265,6 +20885,12 @@ module Aws::Pinpoint
|
|
19265
20885
|
# campaign that's used for A/B testing.
|
19266
20886
|
# @return [String]
|
19267
20887
|
#
|
20888
|
+
# @!attribute [rw] priority
|
20889
|
+
# Defines the priority of the campaign, used to decide the order of
|
20890
|
+
# messages displayed to user if there are multiple messages scheduled
|
20891
|
+
# to be displayed at the same moment.
|
20892
|
+
# @return [Integer]
|
20893
|
+
#
|
19268
20894
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteCampaignRequest AWS API Documentation
|
19269
20895
|
#
|
19270
20896
|
class WriteCampaignRequest < Struct.new(
|
@@ -19283,7 +20909,8 @@ module Aws::Pinpoint
|
|
19283
20909
|
:tags,
|
19284
20910
|
:template_configuration,
|
19285
20911
|
:treatment_description,
|
19286
|
-
:treatment_name
|
20912
|
+
:treatment_name,
|
20913
|
+
:priority)
|
19287
20914
|
SENSITIVE = []
|
19288
20915
|
include Aws::Structure
|
19289
20916
|
end
|
@@ -19337,7 +20964,7 @@ module Aws::Pinpoint
|
|
19337
20964
|
# "__string" => {
|
19338
20965
|
# custom: {
|
19339
20966
|
# delivery_uri: "__string",
|
19340
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
20967
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19341
20968
|
# message_config: {
|
19342
20969
|
# data: "__string",
|
19343
20970
|
# },
|
@@ -19600,6 +21227,9 @@ module Aws::Pinpoint
|
|
19600
21227
|
# wait_until: "__string",
|
19601
21228
|
# },
|
19602
21229
|
# },
|
21230
|
+
# contact_center: {
|
21231
|
+
# next_activity: "__string",
|
21232
|
+
# },
|
19603
21233
|
# },
|
19604
21234
|
# },
|
19605
21235
|
# creation_date: "__string",
|
@@ -19656,6 +21286,10 @@ module Aws::Pinpoint
|
|
19656
21286
|
# state: "DRAFT", # accepts DRAFT, ACTIVE, COMPLETED, CANCELLED, CLOSED, PAUSED
|
19657
21287
|
# wait_for_quiet_time: false,
|
19658
21288
|
# refresh_on_segment_update: false,
|
21289
|
+
# journey_channel_settings: {
|
21290
|
+
# connect_campaign_arn: "__string",
|
21291
|
+
# connect_campaign_execution_role_arn: "__string",
|
21292
|
+
# },
|
19659
21293
|
# }
|
19660
21294
|
#
|
19661
21295
|
# @!attribute [rw] activities
|
@@ -19756,6 +21390,11 @@ module Aws::Pinpoint
|
|
19756
21390
|
# @!attribute [rw] refresh_on_segment_update
|
19757
21391
|
# @return [Boolean]
|
19758
21392
|
#
|
21393
|
+
# @!attribute [rw] journey_channel_settings
|
21394
|
+
# IAM role ARN to be assumed when invoking Connect campaign execution
|
21395
|
+
# APIs for dialing.
|
21396
|
+
# @return [Types::JourneyChannelSettings]
|
21397
|
+
#
|
19759
21398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteJourneyRequest AWS API Documentation
|
19760
21399
|
#
|
19761
21400
|
class WriteJourneyRequest < Struct.new(
|
@@ -19772,7 +21411,8 @@ module Aws::Pinpoint
|
|
19772
21411
|
:start_condition,
|
19773
21412
|
:state,
|
19774
21413
|
:wait_for_quiet_time,
|
19775
|
-
:refresh_on_segment_update
|
21414
|
+
:refresh_on_segment_update,
|
21415
|
+
:journey_channel_settings)
|
19776
21416
|
SENSITIVE = []
|
19777
21417
|
include Aws::Structure
|
19778
21418
|
end
|
@@ -19979,7 +21619,7 @@ module Aws::Pinpoint
|
|
19979
21619
|
# {
|
19980
21620
|
# custom_delivery_configuration: {
|
19981
21621
|
# delivery_uri: "__string", # required
|
19982
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
21622
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
19983
21623
|
# },
|
19984
21624
|
# message_configuration: {
|
19985
21625
|
# adm_message: {
|
@@ -20069,6 +21709,73 @@ module Aws::Pinpoint
|
|
20069
21709
|
# entity_id: "__string",
|
20070
21710
|
# template_id: "__string",
|
20071
21711
|
# },
|
21712
|
+
# in_app_message: {
|
21713
|
+
# body: "__string",
|
21714
|
+
# content: [
|
21715
|
+
# {
|
21716
|
+
# background_color: "__string",
|
21717
|
+
# body_config: {
|
21718
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
21719
|
+
# body: "__string", # required
|
21720
|
+
# text_color: "__string", # required
|
21721
|
+
# },
|
21722
|
+
# header_config: {
|
21723
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
21724
|
+
# header: "__string", # required
|
21725
|
+
# text_color: "__string", # required
|
21726
|
+
# },
|
21727
|
+
# image_url: "__string",
|
21728
|
+
# primary_btn: {
|
21729
|
+
# android: {
|
21730
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21731
|
+
# link: "__string",
|
21732
|
+
# },
|
21733
|
+
# default_config: {
|
21734
|
+
# background_color: "__string",
|
21735
|
+
# border_radius: 1,
|
21736
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21737
|
+
# link: "__string",
|
21738
|
+
# text: "__string", # required
|
21739
|
+
# text_color: "__string",
|
21740
|
+
# },
|
21741
|
+
# ios: {
|
21742
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21743
|
+
# link: "__string",
|
21744
|
+
# },
|
21745
|
+
# web: {
|
21746
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21747
|
+
# link: "__string",
|
21748
|
+
# },
|
21749
|
+
# },
|
21750
|
+
# secondary_btn: {
|
21751
|
+
# android: {
|
21752
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21753
|
+
# link: "__string",
|
21754
|
+
# },
|
21755
|
+
# default_config: {
|
21756
|
+
# background_color: "__string",
|
21757
|
+
# border_radius: 1,
|
21758
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21759
|
+
# link: "__string",
|
21760
|
+
# text: "__string", # required
|
21761
|
+
# text_color: "__string",
|
21762
|
+
# },
|
21763
|
+
# ios: {
|
21764
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21765
|
+
# link: "__string",
|
21766
|
+
# },
|
21767
|
+
# web: {
|
21768
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
21769
|
+
# link: "__string",
|
21770
|
+
# },
|
21771
|
+
# },
|
21772
|
+
# },
|
21773
|
+
# ],
|
21774
|
+
# custom_config: {
|
21775
|
+
# "__string" => "__string",
|
21776
|
+
# },
|
21777
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
21778
|
+
# },
|
20072
21779
|
# },
|
20073
21780
|
# schedule: {
|
20074
21781
|
# end_time: "__string",
|
@@ -20093,7 +21800,7 @@ module Aws::Pinpoint
|
|
20093
21800
|
# },
|
20094
21801
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
20095
21802
|
# },
|
20096
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
21803
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
20097
21804
|
# is_local_time: false,
|
20098
21805
|
# quiet_time: {
|
20099
21806
|
# end: "__string",
|