aws-sdk-pinpoint 1.53.0 → 1.57.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 +1269 -58
- data/lib/aws-sdk-pinpoint/client_api.rb +251 -0
- data/lib/aws-sdk-pinpoint/types.rb +1665 -52
- data/lib/aws-sdk-pinpoint.rb +1 -1
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 484ce19f7dd2325eb2d2cbe9ff593ce30675a658deb67cdd044bd2411572e497
|
4
|
+
data.tar.gz: c5cc57c06489c4bacb47cf8e5bd0ed18b9be424c2c65726c17d9b311e6d03547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d1cb2e7bf3f86013a5a6083856d6dc66822165746533867aa79870f1ba98b779ba0cefe3fcc3c4edd2da0ef7339118b961dc5a2d7a2000451b3039effedc1ea
|
7
|
+
data.tar.gz: f95aa679fd52067c354009afc148aa76dab1f381bc7eb1849a9dc8d07ec076a7552251d1c0876a615376bf46860c1d6c72498690fb1a8b575d16f59d1e6c1bf2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2021-09-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This SDK release adds a new feature for Pinpoint campaigns, in-app messaging.
|
8
|
+
|
9
|
+
1.56.0 (2021-09-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.55.0 (2021-07-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.54.0 (2021-07-28)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.53.0 (2021-03-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
@@ -386,7 +386,7 @@ module Aws::Pinpoint
|
|
386
386
|
# {
|
387
387
|
# custom_delivery_configuration: {
|
388
388
|
# delivery_uri: "__string", # required
|
389
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
389
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
390
390
|
# },
|
391
391
|
# message_configuration: {
|
392
392
|
# adm_message: {
|
@@ -476,6 +476,73 @@ module Aws::Pinpoint
|
|
476
476
|
# entity_id: "__string",
|
477
477
|
# template_id: "__string",
|
478
478
|
# },
|
479
|
+
# in_app_message: {
|
480
|
+
# body: "__string",
|
481
|
+
# content: [
|
482
|
+
# {
|
483
|
+
# background_color: "__string",
|
484
|
+
# body_config: {
|
485
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
486
|
+
# body: "__string", # required
|
487
|
+
# text_color: "__string", # required
|
488
|
+
# },
|
489
|
+
# header_config: {
|
490
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
491
|
+
# header: "__string", # required
|
492
|
+
# text_color: "__string", # required
|
493
|
+
# },
|
494
|
+
# image_url: "__string",
|
495
|
+
# primary_btn: {
|
496
|
+
# android: {
|
497
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
498
|
+
# link: "__string",
|
499
|
+
# },
|
500
|
+
# default_config: {
|
501
|
+
# background_color: "__string",
|
502
|
+
# border_radius: 1,
|
503
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
504
|
+
# link: "__string",
|
505
|
+
# text: "__string", # required
|
506
|
+
# text_color: "__string",
|
507
|
+
# },
|
508
|
+
# ios: {
|
509
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
510
|
+
# link: "__string",
|
511
|
+
# },
|
512
|
+
# web: {
|
513
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
514
|
+
# link: "__string",
|
515
|
+
# },
|
516
|
+
# },
|
517
|
+
# secondary_btn: {
|
518
|
+
# android: {
|
519
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
520
|
+
# link: "__string",
|
521
|
+
# },
|
522
|
+
# default_config: {
|
523
|
+
# background_color: "__string",
|
524
|
+
# border_radius: 1,
|
525
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
526
|
+
# link: "__string",
|
527
|
+
# text: "__string", # required
|
528
|
+
# text_color: "__string",
|
529
|
+
# },
|
530
|
+
# ios: {
|
531
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
532
|
+
# link: "__string",
|
533
|
+
# },
|
534
|
+
# web: {
|
535
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
536
|
+
# link: "__string",
|
537
|
+
# },
|
538
|
+
# },
|
539
|
+
# },
|
540
|
+
# ],
|
541
|
+
# custom_config: {
|
542
|
+
# "__string" => "__string",
|
543
|
+
# },
|
544
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
545
|
+
# },
|
479
546
|
# },
|
480
547
|
# schedule: {
|
481
548
|
# end_time: "__string",
|
@@ -500,7 +567,7 @@ module Aws::Pinpoint
|
|
500
567
|
# },
|
501
568
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
502
569
|
# },
|
503
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
570
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
504
571
|
# is_local_time: false,
|
505
572
|
# quiet_time: {
|
506
573
|
# end: "__string",
|
@@ -534,7 +601,7 @@ module Aws::Pinpoint
|
|
534
601
|
# ],
|
535
602
|
# custom_delivery_configuration: {
|
536
603
|
# delivery_uri: "__string", # required
|
537
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
604
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
538
605
|
# },
|
539
606
|
# description: "__string",
|
540
607
|
# holdout_percent: 1,
|
@@ -549,6 +616,7 @@ module Aws::Pinpoint
|
|
549
616
|
# maximum_duration: 1,
|
550
617
|
# messages_per_second: 1,
|
551
618
|
# total: 1,
|
619
|
+
# session: 1,
|
552
620
|
# },
|
553
621
|
# message_configuration: {
|
554
622
|
# adm_message: {
|
@@ -638,6 +706,73 @@ module Aws::Pinpoint
|
|
638
706
|
# entity_id: "__string",
|
639
707
|
# template_id: "__string",
|
640
708
|
# },
|
709
|
+
# in_app_message: {
|
710
|
+
# body: "__string",
|
711
|
+
# content: [
|
712
|
+
# {
|
713
|
+
# background_color: "__string",
|
714
|
+
# body_config: {
|
715
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
716
|
+
# body: "__string", # required
|
717
|
+
# text_color: "__string", # required
|
718
|
+
# },
|
719
|
+
# header_config: {
|
720
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
721
|
+
# header: "__string", # required
|
722
|
+
# text_color: "__string", # required
|
723
|
+
# },
|
724
|
+
# image_url: "__string",
|
725
|
+
# primary_btn: {
|
726
|
+
# android: {
|
727
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
728
|
+
# link: "__string",
|
729
|
+
# },
|
730
|
+
# default_config: {
|
731
|
+
# background_color: "__string",
|
732
|
+
# border_radius: 1,
|
733
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
734
|
+
# link: "__string",
|
735
|
+
# text: "__string", # required
|
736
|
+
# text_color: "__string",
|
737
|
+
# },
|
738
|
+
# ios: {
|
739
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
740
|
+
# link: "__string",
|
741
|
+
# },
|
742
|
+
# web: {
|
743
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
744
|
+
# link: "__string",
|
745
|
+
# },
|
746
|
+
# },
|
747
|
+
# secondary_btn: {
|
748
|
+
# android: {
|
749
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
750
|
+
# link: "__string",
|
751
|
+
# },
|
752
|
+
# default_config: {
|
753
|
+
# background_color: "__string",
|
754
|
+
# border_radius: 1,
|
755
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
756
|
+
# link: "__string",
|
757
|
+
# text: "__string", # required
|
758
|
+
# text_color: "__string",
|
759
|
+
# },
|
760
|
+
# ios: {
|
761
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
762
|
+
# link: "__string",
|
763
|
+
# },
|
764
|
+
# web: {
|
765
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
766
|
+
# link: "__string",
|
767
|
+
# },
|
768
|
+
# },
|
769
|
+
# },
|
770
|
+
# ],
|
771
|
+
# custom_config: {
|
772
|
+
# "__string" => "__string",
|
773
|
+
# },
|
774
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
775
|
+
# },
|
641
776
|
# },
|
642
777
|
# name: "__string",
|
643
778
|
# schedule: {
|
@@ -663,7 +798,7 @@ module Aws::Pinpoint
|
|
663
798
|
# },
|
664
799
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
665
800
|
# },
|
666
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
801
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
667
802
|
# is_local_time: false,
|
668
803
|
# quiet_time: {
|
669
804
|
# end: "__string",
|
@@ -697,6 +832,7 @@ module Aws::Pinpoint
|
|
697
832
|
# },
|
698
833
|
# treatment_description: "__string",
|
699
834
|
# treatment_name: "__string",
|
835
|
+
# priority: 1,
|
700
836
|
# },
|
701
837
|
# })
|
702
838
|
#
|
@@ -705,7 +841,7 @@ module Aws::Pinpoint
|
|
705
841
|
# resp.campaign_response.additional_treatments #=> Array
|
706
842
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
707
843
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
708
|
-
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
844
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
709
845
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
710
846
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
711
847
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -778,6 +914,43 @@ module Aws::Pinpoint
|
|
778
914
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
779
915
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
780
916
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
917
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
|
918
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
919
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
920
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
921
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
922
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
923
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
924
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
925
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
926
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
927
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
928
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
929
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
930
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
931
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
932
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
933
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
934
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
935
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
936
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
937
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
938
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
939
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
940
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
941
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
942
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
943
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
944
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
945
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
946
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
947
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
948
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
949
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
950
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
951
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
952
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
953
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
781
954
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
782
955
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
783
956
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -790,7 +963,7 @@ module Aws::Pinpoint
|
|
790
963
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
791
964
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
792
965
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
793
|
-
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
966
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
794
967
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
795
968
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
796
969
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -813,7 +986,7 @@ module Aws::Pinpoint
|
|
813
986
|
# resp.campaign_response.creation_date #=> String
|
814
987
|
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
815
988
|
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
816
|
-
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
989
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
817
990
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
818
991
|
# resp.campaign_response.description #=> String
|
819
992
|
# resp.campaign_response.holdout_percent #=> Integer
|
@@ -827,6 +1000,7 @@ module Aws::Pinpoint
|
|
827
1000
|
# resp.campaign_response.limits.maximum_duration #=> Integer
|
828
1001
|
# resp.campaign_response.limits.messages_per_second #=> Integer
|
829
1002
|
# resp.campaign_response.limits.total #=> Integer
|
1003
|
+
# resp.campaign_response.limits.session #=> Integer
|
830
1004
|
# resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
831
1005
|
# resp.campaign_response.message_configuration.adm_message.body #=> String
|
832
1006
|
# resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
|
@@ -898,6 +1072,43 @@ module Aws::Pinpoint
|
|
898
1072
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
899
1073
|
# resp.campaign_response.message_configuration.sms_message.entity_id #=> String
|
900
1074
|
# resp.campaign_response.message_configuration.sms_message.template_id #=> String
|
1075
|
+
# resp.campaign_response.message_configuration.in_app_message.body #=> String
|
1076
|
+
# resp.campaign_response.message_configuration.in_app_message.content #=> Array
|
1077
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
|
1078
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
1079
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
|
1080
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
1081
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
1082
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
|
1083
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
1084
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
|
1085
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1086
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
1087
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
1088
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
1089
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1090
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
1091
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
1092
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
1093
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1094
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
1095
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1096
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
1097
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1098
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
1099
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
1100
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
1101
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1102
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
1103
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
1104
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
1105
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1106
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
1107
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
1108
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
1109
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
|
1110
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
|
1111
|
+
# resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
901
1112
|
# resp.campaign_response.name #=> String
|
902
1113
|
# resp.campaign_response.schedule.end_time #=> String
|
903
1114
|
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -911,7 +1122,7 @@ module Aws::Pinpoint
|
|
911
1122
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
912
1123
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
913
1124
|
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
914
|
-
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
1125
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
915
1126
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
916
1127
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
917
1128
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -933,6 +1144,7 @@ module Aws::Pinpoint
|
|
933
1144
|
# resp.campaign_response.treatment_description #=> String
|
934
1145
|
# resp.campaign_response.treatment_name #=> String
|
935
1146
|
# resp.campaign_response.version #=> Integer
|
1147
|
+
# resp.campaign_response.priority #=> Integer
|
936
1148
|
#
|
937
1149
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateCampaign AWS API Documentation
|
938
1150
|
#
|
@@ -1102,6 +1314,109 @@ module Aws::Pinpoint
|
|
1102
1314
|
req.send_request(options)
|
1103
1315
|
end
|
1104
1316
|
|
1317
|
+
# Creates a new message template for messages using the in-app message
|
1318
|
+
# channel.
|
1319
|
+
#
|
1320
|
+
# @option params [required, Types::InAppTemplateRequest] :in_app_template_request
|
1321
|
+
# In-App Template Request.
|
1322
|
+
#
|
1323
|
+
# @option params [required, String] :template_name
|
1324
|
+
#
|
1325
|
+
# @return [Types::CreateInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1326
|
+
#
|
1327
|
+
# * {Types::CreateInAppTemplateResponse#template_create_message_body #template_create_message_body} => Types::TemplateCreateMessageBody
|
1328
|
+
#
|
1329
|
+
# @example Request syntax with placeholder values
|
1330
|
+
#
|
1331
|
+
# resp = client.create_in_app_template({
|
1332
|
+
# in_app_template_request: { # required
|
1333
|
+
# content: [
|
1334
|
+
# {
|
1335
|
+
# background_color: "__string",
|
1336
|
+
# body_config: {
|
1337
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
1338
|
+
# body: "__string", # required
|
1339
|
+
# text_color: "__string", # required
|
1340
|
+
# },
|
1341
|
+
# header_config: {
|
1342
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
1343
|
+
# header: "__string", # required
|
1344
|
+
# text_color: "__string", # required
|
1345
|
+
# },
|
1346
|
+
# image_url: "__string",
|
1347
|
+
# primary_btn: {
|
1348
|
+
# android: {
|
1349
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1350
|
+
# link: "__string",
|
1351
|
+
# },
|
1352
|
+
# default_config: {
|
1353
|
+
# background_color: "__string",
|
1354
|
+
# border_radius: 1,
|
1355
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1356
|
+
# link: "__string",
|
1357
|
+
# text: "__string", # required
|
1358
|
+
# text_color: "__string",
|
1359
|
+
# },
|
1360
|
+
# ios: {
|
1361
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1362
|
+
# link: "__string",
|
1363
|
+
# },
|
1364
|
+
# web: {
|
1365
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1366
|
+
# link: "__string",
|
1367
|
+
# },
|
1368
|
+
# },
|
1369
|
+
# secondary_btn: {
|
1370
|
+
# android: {
|
1371
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1372
|
+
# link: "__string",
|
1373
|
+
# },
|
1374
|
+
# default_config: {
|
1375
|
+
# background_color: "__string",
|
1376
|
+
# border_radius: 1,
|
1377
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1378
|
+
# link: "__string",
|
1379
|
+
# text: "__string", # required
|
1380
|
+
# text_color: "__string",
|
1381
|
+
# },
|
1382
|
+
# ios: {
|
1383
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1384
|
+
# link: "__string",
|
1385
|
+
# },
|
1386
|
+
# web: {
|
1387
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
1388
|
+
# link: "__string",
|
1389
|
+
# },
|
1390
|
+
# },
|
1391
|
+
# },
|
1392
|
+
# ],
|
1393
|
+
# custom_config: {
|
1394
|
+
# "__string" => "__string",
|
1395
|
+
# },
|
1396
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
1397
|
+
# tags: {
|
1398
|
+
# "__string" => "__string",
|
1399
|
+
# },
|
1400
|
+
# template_description: "__string",
|
1401
|
+
# },
|
1402
|
+
# template_name: "__string", # required
|
1403
|
+
# })
|
1404
|
+
#
|
1405
|
+
# @example Response structure
|
1406
|
+
#
|
1407
|
+
# resp.template_create_message_body.arn #=> String
|
1408
|
+
# resp.template_create_message_body.message #=> String
|
1409
|
+
# resp.template_create_message_body.request_id #=> String
|
1410
|
+
#
|
1411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateInAppTemplate AWS API Documentation
|
1412
|
+
#
|
1413
|
+
# @overload create_in_app_template(params = {})
|
1414
|
+
# @param [Hash] params ({})
|
1415
|
+
def create_in_app_template(params = {}, options = {})
|
1416
|
+
req = build_request(:create_in_app_template, params)
|
1417
|
+
req.send_request(options)
|
1418
|
+
end
|
1419
|
+
|
1105
1420
|
# Creates a journey for an application.
|
1106
1421
|
#
|
1107
1422
|
# @option params [required, String] :application_id
|
@@ -1122,7 +1437,7 @@ module Aws::Pinpoint
|
|
1122
1437
|
# "__string" => {
|
1123
1438
|
# custom: {
|
1124
1439
|
# delivery_uri: "__string",
|
1125
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
1440
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
1126
1441
|
# message_config: {
|
1127
1442
|
# data: "__string",
|
1128
1443
|
# },
|
@@ -1449,7 +1764,7 @@ module Aws::Pinpoint
|
|
1449
1764
|
# resp.journey_response.activities #=> Hash
|
1450
1765
|
# resp.journey_response.activities["__string"].custom.delivery_uri #=> String
|
1451
1766
|
# resp.journey_response.activities["__string"].custom.endpoint_types #=> Array
|
1452
|
-
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
1767
|
+
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
1453
1768
|
# resp.journey_response.activities["__string"].custom.message_config.data #=> String
|
1454
1769
|
# resp.journey_response.activities["__string"].custom.next_activity #=> String
|
1455
1770
|
# resp.journey_response.activities["__string"].custom.template_name #=> String
|
@@ -2432,7 +2747,7 @@ module Aws::Pinpoint
|
|
2432
2747
|
# resp.campaign_response.additional_treatments #=> Array
|
2433
2748
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
2434
2749
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
2435
|
-
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
2750
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
2436
2751
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
2437
2752
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2438
2753
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -2505,6 +2820,43 @@ module Aws::Pinpoint
|
|
2505
2820
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2506
2821
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
2507
2822
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
2823
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
|
2824
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
2825
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
2826
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
2827
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
2828
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
2829
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
2830
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
2831
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
2832
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
2833
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2834
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
2835
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
2836
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
2837
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2838
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
2839
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
2840
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
2841
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2842
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
2843
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2844
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
2845
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2846
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
2847
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
2848
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
2849
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2850
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
2851
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
2852
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
2853
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2854
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
2855
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2856
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
2857
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
2858
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
2859
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
2508
2860
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
2509
2861
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
2510
2862
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -2517,7 +2869,7 @@ module Aws::Pinpoint
|
|
2517
2869
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2518
2870
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2519
2871
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2520
|
-
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
2872
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
2521
2873
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
2522
2874
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
2523
2875
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -2540,7 +2892,7 @@ module Aws::Pinpoint
|
|
2540
2892
|
# resp.campaign_response.creation_date #=> String
|
2541
2893
|
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
2542
2894
|
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
2543
|
-
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
2895
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
2544
2896
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
2545
2897
|
# resp.campaign_response.description #=> String
|
2546
2898
|
# resp.campaign_response.holdout_percent #=> Integer
|
@@ -2554,6 +2906,7 @@ module Aws::Pinpoint
|
|
2554
2906
|
# resp.campaign_response.limits.maximum_duration #=> Integer
|
2555
2907
|
# resp.campaign_response.limits.messages_per_second #=> Integer
|
2556
2908
|
# resp.campaign_response.limits.total #=> Integer
|
2909
|
+
# resp.campaign_response.limits.session #=> Integer
|
2557
2910
|
# resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2558
2911
|
# resp.campaign_response.message_configuration.adm_message.body #=> String
|
2559
2912
|
# resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
|
@@ -2625,6 +2978,43 @@ module Aws::Pinpoint
|
|
2625
2978
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
2626
2979
|
# resp.campaign_response.message_configuration.sms_message.entity_id #=> String
|
2627
2980
|
# resp.campaign_response.message_configuration.sms_message.template_id #=> String
|
2981
|
+
# resp.campaign_response.message_configuration.in_app_message.body #=> String
|
2982
|
+
# resp.campaign_response.message_configuration.in_app_message.content #=> Array
|
2983
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
|
2984
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
2985
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
|
2986
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
2987
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
2988
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
|
2989
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
2990
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
|
2991
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2992
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
2993
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
2994
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
2995
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
2996
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
2997
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
2998
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
2999
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3000
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
3001
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3002
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
3003
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3004
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
3005
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
3006
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
3007
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3008
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
3009
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
3010
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
3011
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3012
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
3013
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
3014
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
3015
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
|
3016
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
|
3017
|
+
# resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
2628
3018
|
# resp.campaign_response.name #=> String
|
2629
3019
|
# resp.campaign_response.schedule.end_time #=> String
|
2630
3020
|
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -2638,7 +3028,7 @@ module Aws::Pinpoint
|
|
2638
3028
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
2639
3029
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
2640
3030
|
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
2641
|
-
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
3031
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
2642
3032
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
2643
3033
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
2644
3034
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -2660,6 +3050,7 @@ module Aws::Pinpoint
|
|
2660
3050
|
# resp.campaign_response.treatment_description #=> String
|
2661
3051
|
# resp.campaign_response.treatment_name #=> String
|
2662
3052
|
# resp.campaign_response.version #=> Integer
|
3053
|
+
# resp.campaign_response.priority #=> Integer
|
2663
3054
|
#
|
2664
3055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign AWS API Documentation
|
2665
3056
|
#
|
@@ -2768,7 +3159,7 @@ module Aws::Pinpoint
|
|
2768
3159
|
# resp.endpoint_response.attributes #=> Hash
|
2769
3160
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
2770
3161
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
2771
|
-
# resp.endpoint_response.channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
3162
|
+
# resp.endpoint_response.channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
2772
3163
|
# resp.endpoint_response.cohort_id #=> String
|
2773
3164
|
# resp.endpoint_response.creation_date #=> String
|
2774
3165
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -2876,6 +3267,38 @@ module Aws::Pinpoint
|
|
2876
3267
|
req.send_request(options)
|
2877
3268
|
end
|
2878
3269
|
|
3270
|
+
# Deletes a message template for messages sent using the in-app message
|
3271
|
+
# channel.
|
3272
|
+
#
|
3273
|
+
# @option params [required, String] :template_name
|
3274
|
+
#
|
3275
|
+
# @option params [String] :version
|
3276
|
+
#
|
3277
|
+
# @return [Types::DeleteInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3278
|
+
#
|
3279
|
+
# * {Types::DeleteInAppTemplateResponse#message_body #message_body} => Types::MessageBody
|
3280
|
+
#
|
3281
|
+
# @example Request syntax with placeholder values
|
3282
|
+
#
|
3283
|
+
# resp = client.delete_in_app_template({
|
3284
|
+
# template_name: "__string", # required
|
3285
|
+
# version: "__string",
|
3286
|
+
# })
|
3287
|
+
#
|
3288
|
+
# @example Response structure
|
3289
|
+
#
|
3290
|
+
# resp.message_body.message #=> String
|
3291
|
+
# resp.message_body.request_id #=> String
|
3292
|
+
#
|
3293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplate AWS API Documentation
|
3294
|
+
#
|
3295
|
+
# @overload delete_in_app_template(params = {})
|
3296
|
+
# @param [Hash] params ({})
|
3297
|
+
def delete_in_app_template(params = {}, options = {})
|
3298
|
+
req = build_request(:delete_in_app_template, params)
|
3299
|
+
req.send_request(options)
|
3300
|
+
end
|
3301
|
+
|
2879
3302
|
# Deletes a journey from an application.
|
2880
3303
|
#
|
2881
3304
|
# @option params [required, String] :application_id
|
@@ -2898,7 +3321,7 @@ module Aws::Pinpoint
|
|
2898
3321
|
# resp.journey_response.activities #=> Hash
|
2899
3322
|
# resp.journey_response.activities["__string"].custom.delivery_uri #=> String
|
2900
3323
|
# resp.journey_response.activities["__string"].custom.endpoint_types #=> Array
|
2901
|
-
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
3324
|
+
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
2902
3325
|
# resp.journey_response.activities["__string"].custom.message_config.data #=> String
|
2903
3326
|
# resp.journey_response.activities["__string"].custom.next_activity #=> String
|
2904
3327
|
# resp.journey_response.activities["__string"].custom.template_name #=> String
|
@@ -3378,7 +3801,7 @@ module Aws::Pinpoint
|
|
3378
3801
|
# resp.endpoints_response.item[0].attributes #=> Hash
|
3379
3802
|
# resp.endpoints_response.item[0].attributes["__string"] #=> Array
|
3380
3803
|
# resp.endpoints_response.item[0].attributes["__string"][0] #=> String
|
3381
|
-
# resp.endpoints_response.item[0].channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
3804
|
+
# resp.endpoints_response.item[0].channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
3382
3805
|
# resp.endpoints_response.item[0].cohort_id #=> String
|
3383
3806
|
# resp.endpoints_response.item[0].creation_date #=> String
|
3384
3807
|
# resp.endpoints_response.item[0].demographic.app_version #=> String
|
@@ -3790,6 +4213,7 @@ module Aws::Pinpoint
|
|
3790
4213
|
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
3791
4214
|
# resp.application_settings_resource.limits.messages_per_second #=> Integer
|
3792
4215
|
# resp.application_settings_resource.limits.total #=> Integer
|
4216
|
+
# resp.application_settings_resource.limits.session #=> Integer
|
3793
4217
|
# resp.application_settings_resource.quiet_time.end #=> String
|
3794
4218
|
# resp.application_settings_resource.quiet_time.start #=> String
|
3795
4219
|
#
|
@@ -3900,7 +4324,7 @@ module Aws::Pinpoint
|
|
3900
4324
|
# resp.campaign_response.additional_treatments #=> Array
|
3901
4325
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
3902
4326
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
3903
|
-
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
4327
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
3904
4328
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
3905
4329
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
3906
4330
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -3973,6 +4397,43 @@ module Aws::Pinpoint
|
|
3973
4397
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
3974
4398
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
3975
4399
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
4400
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
|
4401
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
4402
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
4403
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4404
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
4405
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
4406
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4407
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
4408
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
4409
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
4410
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4411
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
4412
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
4413
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
4414
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4415
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
4416
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
4417
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
4418
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4419
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
4420
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4421
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
4422
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4423
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
4424
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
4425
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
4426
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4427
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
4428
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
4429
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
4430
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4431
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
4432
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4433
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
4434
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
4435
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
4436
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
3976
4437
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
3977
4438
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
3978
4439
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -3985,7 +4446,7 @@ module Aws::Pinpoint
|
|
3985
4446
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
3986
4447
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
3987
4448
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
3988
|
-
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
4449
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
3989
4450
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
3990
4451
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
3991
4452
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -4008,7 +4469,7 @@ module Aws::Pinpoint
|
|
4008
4469
|
# resp.campaign_response.creation_date #=> String
|
4009
4470
|
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
4010
4471
|
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
4011
|
-
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
4472
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4012
4473
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
4013
4474
|
# resp.campaign_response.description #=> String
|
4014
4475
|
# resp.campaign_response.holdout_percent #=> Integer
|
@@ -4022,6 +4483,7 @@ module Aws::Pinpoint
|
|
4022
4483
|
# resp.campaign_response.limits.maximum_duration #=> Integer
|
4023
4484
|
# resp.campaign_response.limits.messages_per_second #=> Integer
|
4024
4485
|
# resp.campaign_response.limits.total #=> Integer
|
4486
|
+
# resp.campaign_response.limits.session #=> Integer
|
4025
4487
|
# resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4026
4488
|
# resp.campaign_response.message_configuration.adm_message.body #=> String
|
4027
4489
|
# resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
|
@@ -4093,6 +4555,43 @@ module Aws::Pinpoint
|
|
4093
4555
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
4094
4556
|
# resp.campaign_response.message_configuration.sms_message.entity_id #=> String
|
4095
4557
|
# resp.campaign_response.message_configuration.sms_message.template_id #=> String
|
4558
|
+
# resp.campaign_response.message_configuration.in_app_message.body #=> String
|
4559
|
+
# resp.campaign_response.message_configuration.in_app_message.content #=> Array
|
4560
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
|
4561
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4562
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
|
4563
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
4564
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4565
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
|
4566
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
4567
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
|
4568
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4569
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
4570
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
4571
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
4572
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4573
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
4574
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
4575
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
4576
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4577
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
4578
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4579
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
4580
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4581
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
4582
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
4583
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
4584
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4585
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
4586
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
4587
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
4588
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4589
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
4590
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4591
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
4592
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
|
4593
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
|
4594
|
+
# resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4096
4595
|
# resp.campaign_response.name #=> String
|
4097
4596
|
# resp.campaign_response.schedule.end_time #=> String
|
4098
4597
|
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -4106,7 +4605,7 @@ module Aws::Pinpoint
|
|
4106
4605
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4107
4606
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4108
4607
|
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4109
|
-
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
4608
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4110
4609
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
4111
4610
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
4112
4611
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -4128,6 +4627,7 @@ module Aws::Pinpoint
|
|
4128
4627
|
# resp.campaign_response.treatment_description #=> String
|
4129
4628
|
# resp.campaign_response.treatment_name #=> String
|
4130
4629
|
# resp.campaign_response.version #=> Integer
|
4630
|
+
# resp.campaign_response.priority #=> Integer
|
4131
4631
|
#
|
4132
4632
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign AWS API Documentation
|
4133
4633
|
#
|
@@ -4274,7 +4774,7 @@ module Aws::Pinpoint
|
|
4274
4774
|
# resp.campaign_response.additional_treatments #=> Array
|
4275
4775
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
4276
4776
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
4277
|
-
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
4777
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4278
4778
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
4279
4779
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4280
4780
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -4347,6 +4847,43 @@ module Aws::Pinpoint
|
|
4347
4847
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
4348
4848
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
4349
4849
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
4850
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
|
4851
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
4852
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
4853
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4854
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
4855
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
4856
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
4857
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
4858
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
4859
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
4860
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4861
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
4862
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
4863
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
4864
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4865
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
4866
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
4867
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
4868
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4869
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
4870
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4871
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
4872
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4873
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
4874
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
4875
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
4876
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4877
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
4878
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
4879
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
4880
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4881
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
4882
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
4883
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
4884
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
4885
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
4886
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4350
4887
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
4351
4888
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
4352
4889
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -4359,7 +4896,7 @@ module Aws::Pinpoint
|
|
4359
4896
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4360
4897
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4361
4898
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4362
|
-
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
4899
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4363
4900
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
4364
4901
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
4365
4902
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -4382,7 +4919,7 @@ module Aws::Pinpoint
|
|
4382
4919
|
# resp.campaign_response.creation_date #=> String
|
4383
4920
|
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
4384
4921
|
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
4385
|
-
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
4922
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4386
4923
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
4387
4924
|
# resp.campaign_response.description #=> String
|
4388
4925
|
# resp.campaign_response.holdout_percent #=> Integer
|
@@ -4396,6 +4933,7 @@ module Aws::Pinpoint
|
|
4396
4933
|
# resp.campaign_response.limits.maximum_duration #=> Integer
|
4397
4934
|
# resp.campaign_response.limits.messages_per_second #=> Integer
|
4398
4935
|
# resp.campaign_response.limits.total #=> Integer
|
4936
|
+
# resp.campaign_response.limits.session #=> Integer
|
4399
4937
|
# resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4400
4938
|
# resp.campaign_response.message_configuration.adm_message.body #=> String
|
4401
4939
|
# resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
|
@@ -4467,6 +5005,43 @@ module Aws::Pinpoint
|
|
4467
5005
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
4468
5006
|
# resp.campaign_response.message_configuration.sms_message.entity_id #=> String
|
4469
5007
|
# resp.campaign_response.message_configuration.sms_message.template_id #=> String
|
5008
|
+
# resp.campaign_response.message_configuration.in_app_message.body #=> String
|
5009
|
+
# resp.campaign_response.message_configuration.in_app_message.content #=> Array
|
5010
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
|
5011
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5012
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
|
5013
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
5014
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5015
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
|
5016
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
5017
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
|
5018
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5019
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
5020
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
5021
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
5022
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5023
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
5024
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
5025
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
5026
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5027
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
5028
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5029
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
5030
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5031
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
5032
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
5033
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
5034
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5035
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
5036
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
5037
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
5038
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5039
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
5040
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5041
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
5042
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
|
5043
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
|
5044
|
+
# resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4470
5045
|
# resp.campaign_response.name #=> String
|
4471
5046
|
# resp.campaign_response.schedule.end_time #=> String
|
4472
5047
|
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -4480,7 +5055,7 @@ module Aws::Pinpoint
|
|
4480
5055
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4481
5056
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4482
5057
|
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4483
|
-
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5058
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4484
5059
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
4485
5060
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
4486
5061
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -4502,6 +5077,7 @@ module Aws::Pinpoint
|
|
4502
5077
|
# resp.campaign_response.treatment_description #=> String
|
4503
5078
|
# resp.campaign_response.treatment_name #=> String
|
4504
5079
|
# resp.campaign_response.version #=> Integer
|
5080
|
+
# resp.campaign_response.priority #=> Integer
|
4505
5081
|
#
|
4506
5082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion AWS API Documentation
|
4507
5083
|
#
|
@@ -4542,7 +5118,7 @@ module Aws::Pinpoint
|
|
4542
5118
|
# resp.campaigns_response.item[0].additional_treatments #=> Array
|
4543
5119
|
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
4544
5120
|
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
4545
|
-
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
5121
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4546
5122
|
# resp.campaigns_response.item[0].additional_treatments[0].id #=> String
|
4547
5123
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4548
5124
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -4615,6 +5191,43 @@ module Aws::Pinpoint
|
|
4615
5191
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
4616
5192
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
4617
5193
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
5194
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.body #=> String
|
5195
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
5196
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
5197
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5198
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
5199
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
5200
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5201
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
5202
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
5203
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
5204
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5205
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
5206
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
5207
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
5208
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5209
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
5210
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
5211
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
5212
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5213
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
5214
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5215
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
5216
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5217
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
5218
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
5219
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
5220
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5221
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
5222
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
5223
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
5224
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5225
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
5226
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5227
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
5228
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
5229
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
5230
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4618
5231
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
4619
5232
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
4620
5233
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -4627,7 +5240,7 @@ module Aws::Pinpoint
|
|
4627
5240
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4628
5241
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4629
5242
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4630
|
-
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5243
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4631
5244
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
4632
5245
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
|
4633
5246
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -4650,7 +5263,7 @@ module Aws::Pinpoint
|
|
4650
5263
|
# resp.campaigns_response.item[0].creation_date #=> String
|
4651
5264
|
# resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
|
4652
5265
|
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types #=> Array
|
4653
|
-
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
5266
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4654
5267
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
4655
5268
|
# resp.campaigns_response.item[0].description #=> String
|
4656
5269
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
@@ -4664,6 +5277,7 @@ module Aws::Pinpoint
|
|
4664
5277
|
# resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
|
4665
5278
|
# resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
|
4666
5279
|
# resp.campaigns_response.item[0].limits.total #=> Integer
|
5280
|
+
# resp.campaigns_response.item[0].limits.session #=> Integer
|
4667
5281
|
# resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4668
5282
|
# resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
|
4669
5283
|
# resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
|
@@ -4735,6 +5349,43 @@ module Aws::Pinpoint
|
|
4735
5349
|
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
4736
5350
|
# resp.campaigns_response.item[0].message_configuration.sms_message.entity_id #=> String
|
4737
5351
|
# resp.campaigns_response.item[0].message_configuration.sms_message.template_id #=> String
|
5352
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.body #=> String
|
5353
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content #=> Array
|
5354
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].background_color #=> String
|
5355
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5356
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
5357
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
5358
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5359
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
5360
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
5361
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].image_url #=> String
|
5362
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5363
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
5364
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
5365
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
5366
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5367
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
5368
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
5369
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
5370
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5371
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
5372
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5373
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
5374
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5375
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
5376
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
5377
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
5378
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5379
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
5380
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
5381
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
5382
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5383
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
5384
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5385
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
5386
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config #=> Hash
|
5387
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
5388
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4738
5389
|
# resp.campaigns_response.item[0].name #=> String
|
4739
5390
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
4740
5391
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -4748,7 +5399,7 @@ module Aws::Pinpoint
|
|
4748
5399
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4749
5400
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4750
5401
|
# resp.campaigns_response.item[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4751
|
-
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5402
|
+
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4752
5403
|
# resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
|
4753
5404
|
# resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
|
4754
5405
|
# resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
|
@@ -4770,6 +5421,7 @@ module Aws::Pinpoint
|
|
4770
5421
|
# resp.campaigns_response.item[0].treatment_description #=> String
|
4771
5422
|
# resp.campaigns_response.item[0].treatment_name #=> String
|
4772
5423
|
# resp.campaigns_response.item[0].version #=> Integer
|
5424
|
+
# resp.campaigns_response.item[0].priority #=> Integer
|
4773
5425
|
# resp.campaigns_response.next_token #=> String
|
4774
5426
|
#
|
4775
5427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions AWS API Documentation
|
@@ -4809,7 +5461,7 @@ module Aws::Pinpoint
|
|
4809
5461
|
# resp.campaigns_response.item[0].additional_treatments #=> Array
|
4810
5462
|
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
4811
5463
|
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
4812
|
-
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
5464
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4813
5465
|
# resp.campaigns_response.item[0].additional_treatments[0].id #=> String
|
4814
5466
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4815
5467
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -4882,6 +5534,43 @@ module Aws::Pinpoint
|
|
4882
5534
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
4883
5535
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
4884
5536
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
5537
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.body #=> String
|
5538
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
5539
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
5540
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5541
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
5542
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
5543
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5544
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
5545
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
5546
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
5547
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5548
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
5549
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
5550
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
5551
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5552
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
5553
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
5554
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
5555
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5556
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
5557
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5558
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
5559
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5560
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
5561
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
5562
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
5563
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5564
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
5565
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
5566
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
5567
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5568
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
5569
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5570
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
5571
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
5572
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
5573
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
4885
5574
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
4886
5575
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
4887
5576
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -4894,7 +5583,7 @@ module Aws::Pinpoint
|
|
4894
5583
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
4895
5584
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
4896
5585
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
4897
|
-
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5586
|
+
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
4898
5587
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
4899
5588
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
|
4900
5589
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -4917,7 +5606,7 @@ module Aws::Pinpoint
|
|
4917
5606
|
# resp.campaigns_response.item[0].creation_date #=> String
|
4918
5607
|
# resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
|
4919
5608
|
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types #=> Array
|
4920
|
-
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
5609
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
4921
5610
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
4922
5611
|
# resp.campaigns_response.item[0].description #=> String
|
4923
5612
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
@@ -4931,6 +5620,7 @@ module Aws::Pinpoint
|
|
4931
5620
|
# resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
|
4932
5621
|
# resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
|
4933
5622
|
# resp.campaigns_response.item[0].limits.total #=> Integer
|
5623
|
+
# resp.campaigns_response.item[0].limits.session #=> Integer
|
4934
5624
|
# resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
4935
5625
|
# resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
|
4936
5626
|
# resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
|
@@ -5002,6 +5692,43 @@ module Aws::Pinpoint
|
|
5002
5692
|
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
5003
5693
|
# resp.campaigns_response.item[0].message_configuration.sms_message.entity_id #=> String
|
5004
5694
|
# resp.campaigns_response.item[0].message_configuration.sms_message.template_id #=> String
|
5695
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.body #=> String
|
5696
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content #=> Array
|
5697
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].background_color #=> String
|
5698
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5699
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
5700
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
5701
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
5702
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
5703
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
5704
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].image_url #=> String
|
5705
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5706
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
5707
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
5708
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
5709
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5710
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
5711
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
5712
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
5713
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5714
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
5715
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5716
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
5717
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5718
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
5719
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
5720
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
5721
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5722
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
5723
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
5724
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
5725
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5726
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
5727
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
5728
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
5729
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config #=> Hash
|
5730
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
5731
|
+
# resp.campaigns_response.item[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
5005
5732
|
# resp.campaigns_response.item[0].name #=> String
|
5006
5733
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
5007
5734
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -5015,7 +5742,7 @@ module Aws::Pinpoint
|
|
5015
5742
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
5016
5743
|
# resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
5017
5744
|
# resp.campaigns_response.item[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
5018
|
-
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
5745
|
+
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
5019
5746
|
# resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
|
5020
5747
|
# resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
|
5021
5748
|
# resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
|
@@ -5037,6 +5764,7 @@ module Aws::Pinpoint
|
|
5037
5764
|
# resp.campaigns_response.item[0].treatment_description #=> String
|
5038
5765
|
# resp.campaigns_response.item[0].treatment_name #=> String
|
5039
5766
|
# resp.campaigns_response.item[0].version #=> Integer
|
5767
|
+
# resp.campaigns_response.item[0].priority #=> Integer
|
5040
5768
|
# resp.campaigns_response.next_token #=> String
|
5041
5769
|
#
|
5042
5770
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns AWS API Documentation
|
@@ -5158,7 +5886,7 @@ module Aws::Pinpoint
|
|
5158
5886
|
# resp.email_template_response.tags["__string"] #=> String
|
5159
5887
|
# resp.email_template_response.template_description #=> String
|
5160
5888
|
# resp.email_template_response.template_name #=> String
|
5161
|
-
# resp.email_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
|
5889
|
+
# resp.email_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
5162
5890
|
# resp.email_template_response.text_part #=> String
|
5163
5891
|
# resp.email_template_response.version #=> String
|
5164
5892
|
#
|
@@ -5196,7 +5924,7 @@ module Aws::Pinpoint
|
|
5196
5924
|
# resp.endpoint_response.attributes #=> Hash
|
5197
5925
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
5198
5926
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
5199
|
-
# resp.endpoint_response.channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
5927
|
+
# resp.endpoint_response.channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
5200
5928
|
# resp.endpoint_response.cohort_id #=> String
|
5201
5929
|
# resp.endpoint_response.creation_date #=> String
|
5202
5930
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -5511,6 +6239,167 @@ module Aws::Pinpoint
|
|
5511
6239
|
req.send_request(options)
|
5512
6240
|
end
|
5513
6241
|
|
6242
|
+
# Retrieves the in-app messages targeted for the provided endpoint ID.
|
6243
|
+
#
|
6244
|
+
# @option params [required, String] :application_id
|
6245
|
+
#
|
6246
|
+
# @option params [required, String] :endpoint_id
|
6247
|
+
#
|
6248
|
+
# @return [Types::GetInAppMessagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6249
|
+
#
|
6250
|
+
# * {Types::GetInAppMessagesResponse#in_app_messages_response #in_app_messages_response} => Types::InAppMessagesResponse
|
6251
|
+
#
|
6252
|
+
# @example Request syntax with placeholder values
|
6253
|
+
#
|
6254
|
+
# resp = client.get_in_app_messages({
|
6255
|
+
# application_id: "__string", # required
|
6256
|
+
# endpoint_id: "__string", # required
|
6257
|
+
# })
|
6258
|
+
#
|
6259
|
+
# @example Response structure
|
6260
|
+
#
|
6261
|
+
# resp.in_app_messages_response.in_app_message_campaigns #=> Array
|
6262
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].campaign_id #=> String
|
6263
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].daily_cap #=> Integer
|
6264
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content #=> Array
|
6265
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].background_color #=> String
|
6266
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
6267
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.body #=> String
|
6268
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.text_color #=> String
|
6269
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
6270
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.header #=> String
|
6271
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.text_color #=> String
|
6272
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].image_url #=> String
|
6273
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6274
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.android.link #=> String
|
6275
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
6276
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
6277
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6278
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.link #=> String
|
6279
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.text #=> String
|
6280
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
6281
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6282
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.ios.link #=> String
|
6283
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6284
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.web.link #=> String
|
6285
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6286
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.android.link #=> String
|
6287
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
6288
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
6289
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6290
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.link #=> String
|
6291
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.text #=> String
|
6292
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
6293
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6294
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.ios.link #=> String
|
6295
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6296
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.web.link #=> String
|
6297
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.custom_config #=> Hash
|
6298
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.custom_config["__string"] #=> String
|
6299
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
6300
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].priority #=> Integer
|
6301
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.end_date #=> String
|
6302
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes #=> Hash
|
6303
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
6304
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
|
6305
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
|
6306
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
6307
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.values #=> Array
|
6308
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
|
6309
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics #=> Hash
|
6310
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
6311
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
6312
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
6313
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.quiet_time.end #=> String
|
6314
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].schedule.quiet_time.start #=> String
|
6315
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].session_cap #=> Integer
|
6316
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].total_cap #=> Integer
|
6317
|
+
# resp.in_app_messages_response.in_app_message_campaigns[0].treatment_id #=> String
|
6318
|
+
#
|
6319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessages AWS API Documentation
|
6320
|
+
#
|
6321
|
+
# @overload get_in_app_messages(params = {})
|
6322
|
+
# @param [Hash] params ({})
|
6323
|
+
def get_in_app_messages(params = {}, options = {})
|
6324
|
+
req = build_request(:get_in_app_messages, params)
|
6325
|
+
req.send_request(options)
|
6326
|
+
end
|
6327
|
+
|
6328
|
+
# Retrieves the content and settings of a message template for messages
|
6329
|
+
# sent through the in-app channel.
|
6330
|
+
#
|
6331
|
+
# @option params [required, String] :template_name
|
6332
|
+
#
|
6333
|
+
# @option params [String] :version
|
6334
|
+
#
|
6335
|
+
# @return [Types::GetInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6336
|
+
#
|
6337
|
+
# * {Types::GetInAppTemplateResponse#in_app_template_response #in_app_template_response} => Types::InAppTemplateResponse
|
6338
|
+
#
|
6339
|
+
# @example Request syntax with placeholder values
|
6340
|
+
#
|
6341
|
+
# resp = client.get_in_app_template({
|
6342
|
+
# template_name: "__string", # required
|
6343
|
+
# version: "__string",
|
6344
|
+
# })
|
6345
|
+
#
|
6346
|
+
# @example Response structure
|
6347
|
+
#
|
6348
|
+
# resp.in_app_template_response.arn #=> String
|
6349
|
+
# resp.in_app_template_response.content #=> Array
|
6350
|
+
# resp.in_app_template_response.content[0].background_color #=> String
|
6351
|
+
# resp.in_app_template_response.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
6352
|
+
# resp.in_app_template_response.content[0].body_config.body #=> String
|
6353
|
+
# resp.in_app_template_response.content[0].body_config.text_color #=> String
|
6354
|
+
# resp.in_app_template_response.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
6355
|
+
# resp.in_app_template_response.content[0].header_config.header #=> String
|
6356
|
+
# resp.in_app_template_response.content[0].header_config.text_color #=> String
|
6357
|
+
# resp.in_app_template_response.content[0].image_url #=> String
|
6358
|
+
# resp.in_app_template_response.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6359
|
+
# resp.in_app_template_response.content[0].primary_btn.android.link #=> String
|
6360
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.background_color #=> String
|
6361
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.border_radius #=> Integer
|
6362
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6363
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.link #=> String
|
6364
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.text #=> String
|
6365
|
+
# resp.in_app_template_response.content[0].primary_btn.default_config.text_color #=> String
|
6366
|
+
# resp.in_app_template_response.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6367
|
+
# resp.in_app_template_response.content[0].primary_btn.ios.link #=> String
|
6368
|
+
# resp.in_app_template_response.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6369
|
+
# resp.in_app_template_response.content[0].primary_btn.web.link #=> String
|
6370
|
+
# resp.in_app_template_response.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6371
|
+
# resp.in_app_template_response.content[0].secondary_btn.android.link #=> String
|
6372
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.background_color #=> String
|
6373
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.border_radius #=> Integer
|
6374
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6375
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.link #=> String
|
6376
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.text #=> String
|
6377
|
+
# resp.in_app_template_response.content[0].secondary_btn.default_config.text_color #=> String
|
6378
|
+
# resp.in_app_template_response.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6379
|
+
# resp.in_app_template_response.content[0].secondary_btn.ios.link #=> String
|
6380
|
+
# resp.in_app_template_response.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
6381
|
+
# resp.in_app_template_response.content[0].secondary_btn.web.link #=> String
|
6382
|
+
# resp.in_app_template_response.creation_date #=> String
|
6383
|
+
# resp.in_app_template_response.custom_config #=> Hash
|
6384
|
+
# resp.in_app_template_response.custom_config["__string"] #=> String
|
6385
|
+
# resp.in_app_template_response.last_modified_date #=> String
|
6386
|
+
# resp.in_app_template_response.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
6387
|
+
# resp.in_app_template_response.tags #=> Hash
|
6388
|
+
# resp.in_app_template_response.tags["__string"] #=> String
|
6389
|
+
# resp.in_app_template_response.template_description #=> String
|
6390
|
+
# resp.in_app_template_response.template_name #=> String
|
6391
|
+
# resp.in_app_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
6392
|
+
# resp.in_app_template_response.version #=> String
|
6393
|
+
#
|
6394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplate AWS API Documentation
|
6395
|
+
#
|
6396
|
+
# @overload get_in_app_template(params = {})
|
6397
|
+
# @param [Hash] params ({})
|
6398
|
+
def get_in_app_template(params = {}, options = {})
|
6399
|
+
req = build_request(:get_in_app_template, params)
|
6400
|
+
req.send_request(options)
|
6401
|
+
end
|
6402
|
+
|
5514
6403
|
# Retrieves information about the status, configuration, and other
|
5515
6404
|
# settings for a journey.
|
5516
6405
|
#
|
@@ -5534,7 +6423,7 @@ module Aws::Pinpoint
|
|
5534
6423
|
# resp.journey_response.activities #=> Hash
|
5535
6424
|
# resp.journey_response.activities["__string"].custom.delivery_uri #=> String
|
5536
6425
|
# resp.journey_response.activities["__string"].custom.endpoint_types #=> Array
|
5537
|
-
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
6426
|
+
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
5538
6427
|
# resp.journey_response.activities["__string"].custom.message_config.data #=> String
|
5539
6428
|
# resp.journey_response.activities["__string"].custom.next_activity #=> String
|
5540
6429
|
# resp.journey_response.activities["__string"].custom.template_name #=> String
|
@@ -5932,7 +6821,7 @@ module Aws::Pinpoint
|
|
5932
6821
|
# resp.push_notification_template_response.tags["__string"] #=> String
|
5933
6822
|
# resp.push_notification_template_response.template_description #=> String
|
5934
6823
|
# resp.push_notification_template_response.template_name #=> String
|
5935
|
-
# resp.push_notification_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
|
6824
|
+
# resp.push_notification_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
5936
6825
|
# resp.push_notification_template_response.version #=> String
|
5937
6826
|
#
|
5938
6827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetPushTemplate AWS API Documentation
|
@@ -6749,7 +7638,7 @@ module Aws::Pinpoint
|
|
6749
7638
|
# resp.sms_template_response.tags["__string"] #=> String
|
6750
7639
|
# resp.sms_template_response.template_description #=> String
|
6751
7640
|
# resp.sms_template_response.template_name #=> String
|
6752
|
-
# resp.sms_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
|
7641
|
+
# resp.sms_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
6753
7642
|
# resp.sms_template_response.version #=> String
|
6754
7643
|
#
|
6755
7644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsTemplate AWS API Documentation
|
@@ -6787,7 +7676,7 @@ module Aws::Pinpoint
|
|
6787
7676
|
# resp.endpoints_response.item[0].attributes #=> Hash
|
6788
7677
|
# resp.endpoints_response.item[0].attributes["__string"] #=> Array
|
6789
7678
|
# resp.endpoints_response.item[0].attributes["__string"][0] #=> String
|
6790
|
-
# resp.endpoints_response.item[0].channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
7679
|
+
# resp.endpoints_response.item[0].channel_type #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
6791
7680
|
# resp.endpoints_response.item[0].cohort_id #=> String
|
6792
7681
|
# resp.endpoints_response.item[0].creation_date #=> String
|
6793
7682
|
# resp.endpoints_response.item[0].demographic.app_version #=> String
|
@@ -6892,7 +7781,7 @@ module Aws::Pinpoint
|
|
6892
7781
|
# resp.voice_template_response.tags["__string"] #=> String
|
6893
7782
|
# resp.voice_template_response.template_description #=> String
|
6894
7783
|
# resp.voice_template_response.template_name #=> String
|
6895
|
-
# resp.voice_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
|
7784
|
+
# resp.voice_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
6896
7785
|
# resp.voice_template_response.version #=> String
|
6897
7786
|
# resp.voice_template_response.voice_id #=> String
|
6898
7787
|
#
|
@@ -6932,7 +7821,7 @@ module Aws::Pinpoint
|
|
6932
7821
|
# resp.journeys_response.item[0].activities #=> Hash
|
6933
7822
|
# resp.journeys_response.item[0].activities["__string"].custom.delivery_uri #=> String
|
6934
7823
|
# resp.journeys_response.item[0].activities["__string"].custom.endpoint_types #=> Array
|
6935
|
-
# resp.journeys_response.item[0].activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
7824
|
+
# resp.journeys_response.item[0].activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
6936
7825
|
# resp.journeys_response.item[0].activities["__string"].custom.message_config.data #=> String
|
6937
7826
|
# resp.journeys_response.item[0].activities["__string"].custom.next_activity #=> String
|
6938
7827
|
# resp.journeys_response.item[0].activities["__string"].custom.template_name #=> String
|
@@ -7227,7 +8116,7 @@ module Aws::Pinpoint
|
|
7227
8116
|
# resp.templates_response.item[0].tags["__string"] #=> String
|
7228
8117
|
# resp.templates_response.item[0].template_description #=> String
|
7229
8118
|
# resp.templates_response.item[0].template_name #=> String
|
7230
|
-
# resp.templates_response.item[0].template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
|
8119
|
+
# resp.templates_response.item[0].template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
|
7231
8120
|
# resp.templates_response.item[0].version #=> String
|
7232
8121
|
# resp.templates_response.next_token #=> String
|
7233
8122
|
#
|
@@ -7350,7 +8239,7 @@ module Aws::Pinpoint
|
|
7350
8239
|
# attributes: {
|
7351
8240
|
# "__string" => ["__string"],
|
7352
8241
|
# },
|
7353
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8242
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7354
8243
|
# demographic: {
|
7355
8244
|
# app_version: "__string",
|
7356
8245
|
# locale: "__string",
|
@@ -7489,7 +8378,7 @@ module Aws::Pinpoint
|
|
7489
8378
|
# addresses: {
|
7490
8379
|
# "__string" => {
|
7491
8380
|
# body_override: "__string",
|
7492
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
8381
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
7493
8382
|
# context: {
|
7494
8383
|
# "__string" => "__string",
|
7495
8384
|
# },
|
@@ -8300,6 +9189,7 @@ module Aws::Pinpoint
|
|
8300
9189
|
# maximum_duration: 1,
|
8301
9190
|
# messages_per_second: 1,
|
8302
9191
|
# total: 1,
|
9192
|
+
# session: 1,
|
8303
9193
|
# },
|
8304
9194
|
# quiet_time: {
|
8305
9195
|
# end: "__string",
|
@@ -8319,6 +9209,7 @@ module Aws::Pinpoint
|
|
8319
9209
|
# resp.application_settings_resource.limits.maximum_duration #=> Integer
|
8320
9210
|
# resp.application_settings_resource.limits.messages_per_second #=> Integer
|
8321
9211
|
# resp.application_settings_resource.limits.total #=> Integer
|
9212
|
+
# resp.application_settings_resource.limits.session #=> Integer
|
8322
9213
|
# resp.application_settings_resource.quiet_time.end #=> String
|
8323
9214
|
# resp.application_settings_resource.quiet_time.start #=> String
|
8324
9215
|
#
|
@@ -8401,7 +9292,7 @@ module Aws::Pinpoint
|
|
8401
9292
|
# {
|
8402
9293
|
# custom_delivery_configuration: {
|
8403
9294
|
# delivery_uri: "__string", # required
|
8404
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
9295
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
8405
9296
|
# },
|
8406
9297
|
# message_configuration: {
|
8407
9298
|
# adm_message: {
|
@@ -8491,6 +9382,73 @@ module Aws::Pinpoint
|
|
8491
9382
|
# entity_id: "__string",
|
8492
9383
|
# template_id: "__string",
|
8493
9384
|
# },
|
9385
|
+
# in_app_message: {
|
9386
|
+
# body: "__string",
|
9387
|
+
# content: [
|
9388
|
+
# {
|
9389
|
+
# background_color: "__string",
|
9390
|
+
# body_config: {
|
9391
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
9392
|
+
# body: "__string", # required
|
9393
|
+
# text_color: "__string", # required
|
9394
|
+
# },
|
9395
|
+
# header_config: {
|
9396
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
9397
|
+
# header: "__string", # required
|
9398
|
+
# text_color: "__string", # required
|
9399
|
+
# },
|
9400
|
+
# image_url: "__string",
|
9401
|
+
# primary_btn: {
|
9402
|
+
# android: {
|
9403
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9404
|
+
# link: "__string",
|
9405
|
+
# },
|
9406
|
+
# default_config: {
|
9407
|
+
# background_color: "__string",
|
9408
|
+
# border_radius: 1,
|
9409
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9410
|
+
# link: "__string",
|
9411
|
+
# text: "__string", # required
|
9412
|
+
# text_color: "__string",
|
9413
|
+
# },
|
9414
|
+
# ios: {
|
9415
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9416
|
+
# link: "__string",
|
9417
|
+
# },
|
9418
|
+
# web: {
|
9419
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9420
|
+
# link: "__string",
|
9421
|
+
# },
|
9422
|
+
# },
|
9423
|
+
# secondary_btn: {
|
9424
|
+
# android: {
|
9425
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9426
|
+
# link: "__string",
|
9427
|
+
# },
|
9428
|
+
# default_config: {
|
9429
|
+
# background_color: "__string",
|
9430
|
+
# border_radius: 1,
|
9431
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9432
|
+
# link: "__string",
|
9433
|
+
# text: "__string", # required
|
9434
|
+
# text_color: "__string",
|
9435
|
+
# },
|
9436
|
+
# ios: {
|
9437
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9438
|
+
# link: "__string",
|
9439
|
+
# },
|
9440
|
+
# web: {
|
9441
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9442
|
+
# link: "__string",
|
9443
|
+
# },
|
9444
|
+
# },
|
9445
|
+
# },
|
9446
|
+
# ],
|
9447
|
+
# custom_config: {
|
9448
|
+
# "__string" => "__string",
|
9449
|
+
# },
|
9450
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
9451
|
+
# },
|
8494
9452
|
# },
|
8495
9453
|
# schedule: {
|
8496
9454
|
# end_time: "__string",
|
@@ -8515,7 +9473,7 @@ module Aws::Pinpoint
|
|
8515
9473
|
# },
|
8516
9474
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
8517
9475
|
# },
|
8518
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
9476
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
8519
9477
|
# is_local_time: false,
|
8520
9478
|
# quiet_time: {
|
8521
9479
|
# end: "__string",
|
@@ -8549,7 +9507,7 @@ module Aws::Pinpoint
|
|
8549
9507
|
# ],
|
8550
9508
|
# custom_delivery_configuration: {
|
8551
9509
|
# delivery_uri: "__string", # required
|
8552
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
9510
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
8553
9511
|
# },
|
8554
9512
|
# description: "__string",
|
8555
9513
|
# holdout_percent: 1,
|
@@ -8564,6 +9522,7 @@ module Aws::Pinpoint
|
|
8564
9522
|
# maximum_duration: 1,
|
8565
9523
|
# messages_per_second: 1,
|
8566
9524
|
# total: 1,
|
9525
|
+
# session: 1,
|
8567
9526
|
# },
|
8568
9527
|
# message_configuration: {
|
8569
9528
|
# adm_message: {
|
@@ -8653,6 +9612,73 @@ module Aws::Pinpoint
|
|
8653
9612
|
# entity_id: "__string",
|
8654
9613
|
# template_id: "__string",
|
8655
9614
|
# },
|
9615
|
+
# in_app_message: {
|
9616
|
+
# body: "__string",
|
9617
|
+
# content: [
|
9618
|
+
# {
|
9619
|
+
# background_color: "__string",
|
9620
|
+
# body_config: {
|
9621
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
9622
|
+
# body: "__string", # required
|
9623
|
+
# text_color: "__string", # required
|
9624
|
+
# },
|
9625
|
+
# header_config: {
|
9626
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
9627
|
+
# header: "__string", # required
|
9628
|
+
# text_color: "__string", # required
|
9629
|
+
# },
|
9630
|
+
# image_url: "__string",
|
9631
|
+
# primary_btn: {
|
9632
|
+
# android: {
|
9633
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9634
|
+
# link: "__string",
|
9635
|
+
# },
|
9636
|
+
# default_config: {
|
9637
|
+
# background_color: "__string",
|
9638
|
+
# border_radius: 1,
|
9639
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9640
|
+
# link: "__string",
|
9641
|
+
# text: "__string", # required
|
9642
|
+
# text_color: "__string",
|
9643
|
+
# },
|
9644
|
+
# ios: {
|
9645
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9646
|
+
# link: "__string",
|
9647
|
+
# },
|
9648
|
+
# web: {
|
9649
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9650
|
+
# link: "__string",
|
9651
|
+
# },
|
9652
|
+
# },
|
9653
|
+
# secondary_btn: {
|
9654
|
+
# android: {
|
9655
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9656
|
+
# link: "__string",
|
9657
|
+
# },
|
9658
|
+
# default_config: {
|
9659
|
+
# background_color: "__string",
|
9660
|
+
# border_radius: 1,
|
9661
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9662
|
+
# link: "__string",
|
9663
|
+
# text: "__string", # required
|
9664
|
+
# text_color: "__string",
|
9665
|
+
# },
|
9666
|
+
# ios: {
|
9667
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9668
|
+
# link: "__string",
|
9669
|
+
# },
|
9670
|
+
# web: {
|
9671
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
9672
|
+
# link: "__string",
|
9673
|
+
# },
|
9674
|
+
# },
|
9675
|
+
# },
|
9676
|
+
# ],
|
9677
|
+
# custom_config: {
|
9678
|
+
# "__string" => "__string",
|
9679
|
+
# },
|
9680
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
9681
|
+
# },
|
8656
9682
|
# },
|
8657
9683
|
# name: "__string",
|
8658
9684
|
# schedule: {
|
@@ -8678,7 +9704,7 @@ module Aws::Pinpoint
|
|
8678
9704
|
# },
|
8679
9705
|
# filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
|
8680
9706
|
# },
|
8681
|
-
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
|
9707
|
+
# frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
|
8682
9708
|
# is_local_time: false,
|
8683
9709
|
# quiet_time: {
|
8684
9710
|
# end: "__string",
|
@@ -8712,6 +9738,7 @@ module Aws::Pinpoint
|
|
8712
9738
|
# },
|
8713
9739
|
# treatment_description: "__string",
|
8714
9740
|
# treatment_name: "__string",
|
9741
|
+
# priority: 1,
|
8715
9742
|
# },
|
8716
9743
|
# })
|
8717
9744
|
#
|
@@ -8720,7 +9747,7 @@ module Aws::Pinpoint
|
|
8720
9747
|
# resp.campaign_response.additional_treatments #=> Array
|
8721
9748
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
8722
9749
|
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
8723
|
-
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
9750
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
8724
9751
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
8725
9752
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
8726
9753
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
@@ -8793,6 +9820,43 @@ module Aws::Pinpoint
|
|
8793
9820
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
8794
9821
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
|
8795
9822
|
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
|
9823
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
|
9824
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
|
9825
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
|
9826
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
9827
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
|
9828
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
9829
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
9830
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
|
9831
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
9832
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
|
9833
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9834
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
9835
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
9836
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
9837
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9838
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
9839
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
9840
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
9841
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9842
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
9843
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9844
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
9845
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9846
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
9847
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
9848
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
9849
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9850
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
9851
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
9852
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
9853
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9854
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
9855
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9856
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
9857
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
|
9858
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
|
9859
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
8796
9860
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
8797
9861
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
|
8798
9862
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE", "CONTAINS", "BEFORE", "AFTER", "BETWEEN", "ON"
|
@@ -8805,7 +9869,7 @@ module Aws::Pinpoint
|
|
8805
9869
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
8806
9870
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
8807
9871
|
# resp.campaign_response.additional_treatments[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
8808
|
-
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
9872
|
+
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
8809
9873
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
8810
9874
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
|
8811
9875
|
# resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
|
@@ -8828,7 +9892,7 @@ module Aws::Pinpoint
|
|
8828
9892
|
# resp.campaign_response.creation_date #=> String
|
8829
9893
|
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
8830
9894
|
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
8831
|
-
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
9895
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
8832
9896
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
|
8833
9897
|
# resp.campaign_response.description #=> String
|
8834
9898
|
# resp.campaign_response.holdout_percent #=> Integer
|
@@ -8842,6 +9906,7 @@ module Aws::Pinpoint
|
|
8842
9906
|
# resp.campaign_response.limits.maximum_duration #=> Integer
|
8843
9907
|
# resp.campaign_response.limits.messages_per_second #=> Integer
|
8844
9908
|
# resp.campaign_response.limits.total #=> Integer
|
9909
|
+
# resp.campaign_response.limits.session #=> Integer
|
8845
9910
|
# resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
8846
9911
|
# resp.campaign_response.message_configuration.adm_message.body #=> String
|
8847
9912
|
# resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
|
@@ -8913,6 +9978,43 @@ module Aws::Pinpoint
|
|
8913
9978
|
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
8914
9979
|
# resp.campaign_response.message_configuration.sms_message.entity_id #=> String
|
8915
9980
|
# resp.campaign_response.message_configuration.sms_message.template_id #=> String
|
9981
|
+
# resp.campaign_response.message_configuration.in_app_message.body #=> String
|
9982
|
+
# resp.campaign_response.message_configuration.in_app_message.content #=> Array
|
9983
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
|
9984
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
9985
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
|
9986
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
|
9987
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
|
9988
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
|
9989
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
|
9990
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
|
9991
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9992
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
|
9993
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
|
9994
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
|
9995
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
9996
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
|
9997
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
|
9998
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
|
9999
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10000
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
|
10001
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10002
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
|
10003
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10004
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
|
10005
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
|
10006
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
|
10007
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10008
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
|
10009
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
|
10010
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
|
10011
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10012
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
|
10013
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
|
10014
|
+
# resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
|
10015
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
|
10016
|
+
# resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
|
10017
|
+
# resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
|
8916
10018
|
# resp.campaign_response.name #=> String
|
8917
10019
|
# resp.campaign_response.schedule.end_time #=> String
|
8918
10020
|
# resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
|
@@ -8926,7 +10028,7 @@ module Aws::Pinpoint
|
|
8926
10028
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
|
8927
10029
|
# resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
|
8928
10030
|
# resp.campaign_response.schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
|
8929
|
-
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT"
|
10031
|
+
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
|
8930
10032
|
# resp.campaign_response.schedule.is_local_time #=> Boolean
|
8931
10033
|
# resp.campaign_response.schedule.quiet_time.end #=> String
|
8932
10034
|
# resp.campaign_response.schedule.quiet_time.start #=> String
|
@@ -8948,6 +10050,7 @@ module Aws::Pinpoint
|
|
8948
10050
|
# resp.campaign_response.treatment_description #=> String
|
8949
10051
|
# resp.campaign_response.treatment_name #=> String
|
8950
10052
|
# resp.campaign_response.version #=> Integer
|
10053
|
+
# resp.campaign_response.priority #=> Integer
|
8951
10054
|
#
|
8952
10055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign AWS API Documentation
|
8953
10056
|
#
|
@@ -9089,7 +10192,7 @@ module Aws::Pinpoint
|
|
9089
10192
|
# attributes: {
|
9090
10193
|
# "__string" => ["__string"],
|
9091
10194
|
# },
|
9092
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
10195
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
9093
10196
|
# demographic: {
|
9094
10197
|
# app_version: "__string",
|
9095
10198
|
# locale: "__string",
|
@@ -9166,7 +10269,7 @@ module Aws::Pinpoint
|
|
9166
10269
|
# attributes: {
|
9167
10270
|
# "__string" => ["__string"],
|
9168
10271
|
# },
|
9169
|
-
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
10272
|
+
# channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
9170
10273
|
# demographic: {
|
9171
10274
|
# app_version: "__string",
|
9172
10275
|
# locale: "__string",
|
@@ -9266,6 +10369,114 @@ module Aws::Pinpoint
|
|
9266
10369
|
req.send_request(options)
|
9267
10370
|
end
|
9268
10371
|
|
10372
|
+
# Updates an existing message template for messages sent through the
|
10373
|
+
# in-app message channel.
|
10374
|
+
#
|
10375
|
+
# @option params [Boolean] :create_new_version
|
10376
|
+
#
|
10377
|
+
# @option params [required, Types::InAppTemplateRequest] :in_app_template_request
|
10378
|
+
# In-App Template Request.
|
10379
|
+
#
|
10380
|
+
# @option params [required, String] :template_name
|
10381
|
+
#
|
10382
|
+
# @option params [String] :version
|
10383
|
+
#
|
10384
|
+
# @return [Types::UpdateInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
10385
|
+
#
|
10386
|
+
# * {Types::UpdateInAppTemplateResponse#message_body #message_body} => Types::MessageBody
|
10387
|
+
#
|
10388
|
+
# @example Request syntax with placeholder values
|
10389
|
+
#
|
10390
|
+
# resp = client.update_in_app_template({
|
10391
|
+
# create_new_version: false,
|
10392
|
+
# in_app_template_request: { # required
|
10393
|
+
# content: [
|
10394
|
+
# {
|
10395
|
+
# background_color: "__string",
|
10396
|
+
# body_config: {
|
10397
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
10398
|
+
# body: "__string", # required
|
10399
|
+
# text_color: "__string", # required
|
10400
|
+
# },
|
10401
|
+
# header_config: {
|
10402
|
+
# alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
|
10403
|
+
# header: "__string", # required
|
10404
|
+
# text_color: "__string", # required
|
10405
|
+
# },
|
10406
|
+
# image_url: "__string",
|
10407
|
+
# primary_btn: {
|
10408
|
+
# android: {
|
10409
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10410
|
+
# link: "__string",
|
10411
|
+
# },
|
10412
|
+
# default_config: {
|
10413
|
+
# background_color: "__string",
|
10414
|
+
# border_radius: 1,
|
10415
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10416
|
+
# link: "__string",
|
10417
|
+
# text: "__string", # required
|
10418
|
+
# text_color: "__string",
|
10419
|
+
# },
|
10420
|
+
# ios: {
|
10421
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10422
|
+
# link: "__string",
|
10423
|
+
# },
|
10424
|
+
# web: {
|
10425
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10426
|
+
# link: "__string",
|
10427
|
+
# },
|
10428
|
+
# },
|
10429
|
+
# secondary_btn: {
|
10430
|
+
# android: {
|
10431
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10432
|
+
# link: "__string",
|
10433
|
+
# },
|
10434
|
+
# default_config: {
|
10435
|
+
# background_color: "__string",
|
10436
|
+
# border_radius: 1,
|
10437
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10438
|
+
# link: "__string",
|
10439
|
+
# text: "__string", # required
|
10440
|
+
# text_color: "__string",
|
10441
|
+
# },
|
10442
|
+
# ios: {
|
10443
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10444
|
+
# link: "__string",
|
10445
|
+
# },
|
10446
|
+
# web: {
|
10447
|
+
# button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
|
10448
|
+
# link: "__string",
|
10449
|
+
# },
|
10450
|
+
# },
|
10451
|
+
# },
|
10452
|
+
# ],
|
10453
|
+
# custom_config: {
|
10454
|
+
# "__string" => "__string",
|
10455
|
+
# },
|
10456
|
+
# layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
|
10457
|
+
# tags: {
|
10458
|
+
# "__string" => "__string",
|
10459
|
+
# },
|
10460
|
+
# template_description: "__string",
|
10461
|
+
# },
|
10462
|
+
# template_name: "__string", # required
|
10463
|
+
# version: "__string",
|
10464
|
+
# })
|
10465
|
+
#
|
10466
|
+
# @example Response structure
|
10467
|
+
#
|
10468
|
+
# resp.message_body.message #=> String
|
10469
|
+
# resp.message_body.request_id #=> String
|
10470
|
+
#
|
10471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplate AWS API Documentation
|
10472
|
+
#
|
10473
|
+
# @overload update_in_app_template(params = {})
|
10474
|
+
# @param [Hash] params ({})
|
10475
|
+
def update_in_app_template(params = {}, options = {})
|
10476
|
+
req = build_request(:update_in_app_template, params)
|
10477
|
+
req.send_request(options)
|
10478
|
+
end
|
10479
|
+
|
9269
10480
|
# Updates the configuration and other settings for a journey.
|
9270
10481
|
#
|
9271
10482
|
# @option params [required, String] :application_id
|
@@ -9289,7 +10500,7 @@ module Aws::Pinpoint
|
|
9289
10500
|
# "__string" => {
|
9290
10501
|
# custom: {
|
9291
10502
|
# delivery_uri: "__string",
|
9292
|
-
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
10503
|
+
# endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
|
9293
10504
|
# message_config: {
|
9294
10505
|
# data: "__string",
|
9295
10506
|
# },
|
@@ -9616,7 +10827,7 @@ module Aws::Pinpoint
|
|
9616
10827
|
# resp.journey_response.activities #=> Hash
|
9617
10828
|
# resp.journey_response.activities["__string"].custom.delivery_uri #=> String
|
9618
10829
|
# resp.journey_response.activities["__string"].custom.endpoint_types #=> Array
|
9619
|
-
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
10830
|
+
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
9620
10831
|
# resp.journey_response.activities["__string"].custom.message_config.data #=> String
|
9621
10832
|
# resp.journey_response.activities["__string"].custom.next_activity #=> String
|
9622
10833
|
# resp.journey_response.activities["__string"].custom.template_name #=> String
|
@@ -9827,7 +11038,7 @@ module Aws::Pinpoint
|
|
9827
11038
|
# resp.journey_response.activities #=> Hash
|
9828
11039
|
# resp.journey_response.activities["__string"].custom.delivery_uri #=> String
|
9829
11040
|
# resp.journey_response.activities["__string"].custom.endpoint_types #=> Array
|
9830
|
-
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
11041
|
+
# resp.journey_response.activities["__string"].custom.endpoint_types[0] #=> String, one of "PUSH", "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM", "IN_APP"
|
9831
11042
|
# resp.journey_response.activities["__string"].custom.message_config.data #=> String
|
9832
11043
|
# resp.journey_response.activities["__string"].custom.next_activity #=> String
|
9833
11044
|
# resp.journey_response.activities["__string"].custom.template_name #=> String
|
@@ -10693,7 +11904,7 @@ module Aws::Pinpoint
|
|
10693
11904
|
params: params,
|
10694
11905
|
config: config)
|
10695
11906
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
10696
|
-
context[:gem_version] = '1.
|
11907
|
+
context[:gem_version] = '1.57.0'
|
10697
11908
|
Seahorse::Client::Request.new(handlers, context)
|
10698
11909
|
end
|
10699
11910
|
|