aws-sdk-pinpoint 1.54.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  # },
@@ -1385,6 +1700,9 @@ module Aws::Pinpoint
1385
1700
  # wait_until: "__string",
1386
1701
  # },
1387
1702
  # },
1703
+ # contact_center: {
1704
+ # next_activity: "__string",
1705
+ # },
1388
1706
  # },
1389
1707
  # },
1390
1708
  # creation_date: "__string",
@@ -1441,6 +1759,10 @@ module Aws::Pinpoint
1441
1759
  # state: "DRAFT", # accepts DRAFT, ACTIVE, COMPLETED, CANCELLED, CLOSED, PAUSED
1442
1760
  # wait_for_quiet_time: false,
1443
1761
  # refresh_on_segment_update: false,
1762
+ # journey_channel_settings: {
1763
+ # connect_campaign_arn: "__string",
1764
+ # connect_campaign_execution_role_arn: "__string",
1765
+ # },
1444
1766
  # },
1445
1767
  # })
1446
1768
  #
@@ -1449,7 +1771,7 @@ module Aws::Pinpoint
1449
1771
  # resp.journey_response.activities #=> Hash
1450
1772
  # resp.journey_response.activities["__string"].custom.delivery_uri #=> String
1451
1773
  # 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"
1774
+ # 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
1775
  # resp.journey_response.activities["__string"].custom.message_config.data #=> String
1454
1776
  # resp.journey_response.activities["__string"].custom.next_activity #=> String
1455
1777
  # resp.journey_response.activities["__string"].custom.template_name #=> String
@@ -1588,6 +1910,7 @@ module Aws::Pinpoint
1588
1910
  # resp.journey_response.activities["__string"].wait.next_activity #=> String
1589
1911
  # resp.journey_response.activities["__string"].wait.wait_time.wait_for #=> String
1590
1912
  # resp.journey_response.activities["__string"].wait.wait_time.wait_until #=> String
1913
+ # resp.journey_response.activities["__string"].contact_center.next_activity #=> String
1591
1914
  # resp.journey_response.application_id #=> String
1592
1915
  # resp.journey_response.creation_date #=> String
1593
1916
  # resp.journey_response.id #=> String
@@ -1622,6 +1945,8 @@ module Aws::Pinpoint
1622
1945
  # resp.journey_response.state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
1623
1946
  # resp.journey_response.tags #=> Hash
1624
1947
  # resp.journey_response.tags["__string"] #=> String
1948
+ # resp.journey_response.journey_channel_settings.connect_campaign_arn #=> String
1949
+ # resp.journey_response.journey_channel_settings.connect_campaign_execution_role_arn #=> String
1625
1950
  #
1626
1951
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateJourney AWS API Documentation
1627
1952
  #
@@ -2432,7 +2757,7 @@ module Aws::Pinpoint
2432
2757
  # resp.campaign_response.additional_treatments #=> Array
2433
2758
  # resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
2434
2759
  # 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"
2760
+ # 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
2761
  # resp.campaign_response.additional_treatments[0].id #=> String
2437
2762
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2438
2763
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -2505,6 +2830,43 @@ module Aws::Pinpoint
2505
2830
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
2506
2831
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
2507
2832
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
2833
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
2834
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
2835
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
2836
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
2837
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
2838
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
2839
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
2840
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
2841
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
2842
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
2843
+ # 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"
2844
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
2845
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
2846
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
2847
+ # 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"
2848
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
2849
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
2850
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
2851
+ # 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"
2852
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
2853
+ # 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"
2854
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
2855
+ # 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"
2856
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
2857
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
2858
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
2859
+ # 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"
2860
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
2861
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
2862
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
2863
+ # 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"
2864
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
2865
+ # 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"
2866
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
2867
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
2868
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
2869
+ # 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
2870
  # resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
2509
2871
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
2510
2872
  # 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 +2879,7 @@ module Aws::Pinpoint
2517
2879
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
2518
2880
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
2519
2881
  # 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"
2882
+ # resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
2521
2883
  # resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
2522
2884
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
2523
2885
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
@@ -2540,7 +2902,7 @@ module Aws::Pinpoint
2540
2902
  # resp.campaign_response.creation_date #=> String
2541
2903
  # resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
2542
2904
  # 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"
2905
+ # 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
2906
  # resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
2545
2907
  # resp.campaign_response.description #=> String
2546
2908
  # resp.campaign_response.holdout_percent #=> Integer
@@ -2554,6 +2916,7 @@ module Aws::Pinpoint
2554
2916
  # resp.campaign_response.limits.maximum_duration #=> Integer
2555
2917
  # resp.campaign_response.limits.messages_per_second #=> Integer
2556
2918
  # resp.campaign_response.limits.total #=> Integer
2919
+ # resp.campaign_response.limits.session #=> Integer
2557
2920
  # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2558
2921
  # resp.campaign_response.message_configuration.adm_message.body #=> String
2559
2922
  # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
@@ -2625,6 +2988,43 @@ module Aws::Pinpoint
2625
2988
  # resp.campaign_response.message_configuration.sms_message.sender_id #=> String
2626
2989
  # resp.campaign_response.message_configuration.sms_message.entity_id #=> String
2627
2990
  # resp.campaign_response.message_configuration.sms_message.template_id #=> String
2991
+ # resp.campaign_response.message_configuration.in_app_message.body #=> String
2992
+ # resp.campaign_response.message_configuration.in_app_message.content #=> Array
2993
+ # resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
2994
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
2995
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
2996
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
2997
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
2998
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
2999
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
3000
+ # resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
3001
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3002
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
3003
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
3004
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
3005
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3006
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
3007
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
3008
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
3009
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3010
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
3011
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3012
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
3013
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3014
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
3015
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
3016
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
3017
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3018
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
3019
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
3020
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
3021
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3022
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
3023
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
3024
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
3025
+ # resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
3026
+ # resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
3027
+ # resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
2628
3028
  # resp.campaign_response.name #=> String
2629
3029
  # resp.campaign_response.schedule.end_time #=> String
2630
3030
  # resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
@@ -2638,7 +3038,7 @@ module Aws::Pinpoint
2638
3038
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
2639
3039
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
2640
3040
  # 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"
3041
+ # resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
2642
3042
  # resp.campaign_response.schedule.is_local_time #=> Boolean
2643
3043
  # resp.campaign_response.schedule.quiet_time.end #=> String
2644
3044
  # resp.campaign_response.schedule.quiet_time.start #=> String
@@ -2660,6 +3060,7 @@ module Aws::Pinpoint
2660
3060
  # resp.campaign_response.treatment_description #=> String
2661
3061
  # resp.campaign_response.treatment_name #=> String
2662
3062
  # resp.campaign_response.version #=> Integer
3063
+ # resp.campaign_response.priority #=> Integer
2663
3064
  #
2664
3065
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteCampaign AWS API Documentation
2665
3066
  #
@@ -2768,7 +3169,7 @@ module Aws::Pinpoint
2768
3169
  # resp.endpoint_response.attributes #=> Hash
2769
3170
  # resp.endpoint_response.attributes["__string"] #=> Array
2770
3171
  # 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"
3172
+ # 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
3173
  # resp.endpoint_response.cohort_id #=> String
2773
3174
  # resp.endpoint_response.creation_date #=> String
2774
3175
  # resp.endpoint_response.demographic.app_version #=> String
@@ -2876,6 +3277,38 @@ module Aws::Pinpoint
2876
3277
  req.send_request(options)
2877
3278
  end
2878
3279
 
3280
+ # Deletes a message template for messages sent using the in-app message
3281
+ # channel.
3282
+ #
3283
+ # @option params [required, String] :template_name
3284
+ #
3285
+ # @option params [String] :version
3286
+ #
3287
+ # @return [Types::DeleteInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3288
+ #
3289
+ # * {Types::DeleteInAppTemplateResponse#message_body #message_body} => Types::MessageBody
3290
+ #
3291
+ # @example Request syntax with placeholder values
3292
+ #
3293
+ # resp = client.delete_in_app_template({
3294
+ # template_name: "__string", # required
3295
+ # version: "__string",
3296
+ # })
3297
+ #
3298
+ # @example Response structure
3299
+ #
3300
+ # resp.message_body.message #=> String
3301
+ # resp.message_body.request_id #=> String
3302
+ #
3303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteInAppTemplate AWS API Documentation
3304
+ #
3305
+ # @overload delete_in_app_template(params = {})
3306
+ # @param [Hash] params ({})
3307
+ def delete_in_app_template(params = {}, options = {})
3308
+ req = build_request(:delete_in_app_template, params)
3309
+ req.send_request(options)
3310
+ end
3311
+
2879
3312
  # Deletes a journey from an application.
2880
3313
  #
2881
3314
  # @option params [required, String] :application_id
@@ -2898,7 +3331,7 @@ module Aws::Pinpoint
2898
3331
  # resp.journey_response.activities #=> Hash
2899
3332
  # resp.journey_response.activities["__string"].custom.delivery_uri #=> String
2900
3333
  # 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"
3334
+ # 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
3335
  # resp.journey_response.activities["__string"].custom.message_config.data #=> String
2903
3336
  # resp.journey_response.activities["__string"].custom.next_activity #=> String
2904
3337
  # resp.journey_response.activities["__string"].custom.template_name #=> String
@@ -3037,6 +3470,7 @@ module Aws::Pinpoint
3037
3470
  # resp.journey_response.activities["__string"].wait.next_activity #=> String
3038
3471
  # resp.journey_response.activities["__string"].wait.wait_time.wait_for #=> String
3039
3472
  # resp.journey_response.activities["__string"].wait.wait_time.wait_until #=> String
3473
+ # resp.journey_response.activities["__string"].contact_center.next_activity #=> String
3040
3474
  # resp.journey_response.application_id #=> String
3041
3475
  # resp.journey_response.creation_date #=> String
3042
3476
  # resp.journey_response.id #=> String
@@ -3071,6 +3505,8 @@ module Aws::Pinpoint
3071
3505
  # resp.journey_response.state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
3072
3506
  # resp.journey_response.tags #=> Hash
3073
3507
  # resp.journey_response.tags["__string"] #=> String
3508
+ # resp.journey_response.journey_channel_settings.connect_campaign_arn #=> String
3509
+ # resp.journey_response.journey_channel_settings.connect_campaign_execution_role_arn #=> String
3074
3510
  #
3075
3511
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteJourney AWS API Documentation
3076
3512
  #
@@ -3378,7 +3814,7 @@ module Aws::Pinpoint
3378
3814
  # resp.endpoints_response.item[0].attributes #=> Hash
3379
3815
  # resp.endpoints_response.item[0].attributes["__string"] #=> Array
3380
3816
  # 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"
3817
+ # 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
3818
  # resp.endpoints_response.item[0].cohort_id #=> String
3383
3819
  # resp.endpoints_response.item[0].creation_date #=> String
3384
3820
  # resp.endpoints_response.item[0].demographic.app_version #=> String
@@ -3790,6 +4226,7 @@ module Aws::Pinpoint
3790
4226
  # resp.application_settings_resource.limits.maximum_duration #=> Integer
3791
4227
  # resp.application_settings_resource.limits.messages_per_second #=> Integer
3792
4228
  # resp.application_settings_resource.limits.total #=> Integer
4229
+ # resp.application_settings_resource.limits.session #=> Integer
3793
4230
  # resp.application_settings_resource.quiet_time.end #=> String
3794
4231
  # resp.application_settings_resource.quiet_time.start #=> String
3795
4232
  #
@@ -3900,7 +4337,7 @@ module Aws::Pinpoint
3900
4337
  # resp.campaign_response.additional_treatments #=> Array
3901
4338
  # resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
3902
4339
  # 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"
4340
+ # 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
4341
  # resp.campaign_response.additional_treatments[0].id #=> String
3905
4342
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
3906
4343
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -3973,6 +4410,43 @@ module Aws::Pinpoint
3973
4410
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
3974
4411
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
3975
4412
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
4413
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
4414
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
4415
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
4416
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4417
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
4418
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
4419
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4420
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
4421
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
4422
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
4423
+ # 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"
4424
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
4425
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
4426
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
4427
+ # 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"
4428
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
4429
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
4430
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
4431
+ # 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"
4432
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
4433
+ # 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"
4434
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
4435
+ # 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"
4436
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
4437
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
4438
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
4439
+ # 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"
4440
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
4441
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
4442
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
4443
+ # 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"
4444
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
4445
+ # 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"
4446
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
4447
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
4448
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
4449
+ # 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
4450
  # resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
3977
4451
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
3978
4452
  # 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 +4459,7 @@ module Aws::Pinpoint
3985
4459
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
3986
4460
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
3987
4461
  # 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"
4462
+ # resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
3989
4463
  # resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
3990
4464
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
3991
4465
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
@@ -4008,7 +4482,7 @@ module Aws::Pinpoint
4008
4482
  # resp.campaign_response.creation_date #=> String
4009
4483
  # resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
4010
4484
  # 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"
4485
+ # 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
4486
  # resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
4013
4487
  # resp.campaign_response.description #=> String
4014
4488
  # resp.campaign_response.holdout_percent #=> Integer
@@ -4022,6 +4496,7 @@ module Aws::Pinpoint
4022
4496
  # resp.campaign_response.limits.maximum_duration #=> Integer
4023
4497
  # resp.campaign_response.limits.messages_per_second #=> Integer
4024
4498
  # resp.campaign_response.limits.total #=> Integer
4499
+ # resp.campaign_response.limits.session #=> Integer
4025
4500
  # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4026
4501
  # resp.campaign_response.message_configuration.adm_message.body #=> String
4027
4502
  # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
@@ -4093,6 +4568,43 @@ module Aws::Pinpoint
4093
4568
  # resp.campaign_response.message_configuration.sms_message.sender_id #=> String
4094
4569
  # resp.campaign_response.message_configuration.sms_message.entity_id #=> String
4095
4570
  # resp.campaign_response.message_configuration.sms_message.template_id #=> String
4571
+ # resp.campaign_response.message_configuration.in_app_message.body #=> String
4572
+ # resp.campaign_response.message_configuration.in_app_message.content #=> Array
4573
+ # resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
4574
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4575
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
4576
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
4577
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4578
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
4579
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
4580
+ # resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
4581
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4582
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
4583
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
4584
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
4585
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4586
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
4587
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
4588
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
4589
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4590
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
4591
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4592
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
4593
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4594
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
4595
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
4596
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
4597
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4598
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
4599
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
4600
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
4601
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4602
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
4603
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
4604
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
4605
+ # resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
4606
+ # resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
4607
+ # resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
4096
4608
  # resp.campaign_response.name #=> String
4097
4609
  # resp.campaign_response.schedule.end_time #=> String
4098
4610
  # resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
@@ -4106,7 +4618,7 @@ module Aws::Pinpoint
4106
4618
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4107
4619
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4108
4620
  # 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"
4621
+ # resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4110
4622
  # resp.campaign_response.schedule.is_local_time #=> Boolean
4111
4623
  # resp.campaign_response.schedule.quiet_time.end #=> String
4112
4624
  # resp.campaign_response.schedule.quiet_time.start #=> String
@@ -4128,6 +4640,7 @@ module Aws::Pinpoint
4128
4640
  # resp.campaign_response.treatment_description #=> String
4129
4641
  # resp.campaign_response.treatment_name #=> String
4130
4642
  # resp.campaign_response.version #=> Integer
4643
+ # resp.campaign_response.priority #=> Integer
4131
4644
  #
4132
4645
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaign AWS API Documentation
4133
4646
  #
@@ -4274,7 +4787,7 @@ module Aws::Pinpoint
4274
4787
  # resp.campaign_response.additional_treatments #=> Array
4275
4788
  # resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
4276
4789
  # 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"
4790
+ # 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
4791
  # resp.campaign_response.additional_treatments[0].id #=> String
4279
4792
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4280
4793
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -4347,6 +4860,43 @@ module Aws::Pinpoint
4347
4860
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
4348
4861
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
4349
4862
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
4863
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
4864
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
4865
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
4866
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4867
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
4868
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
4869
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
4870
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
4871
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
4872
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
4873
+ # 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"
4874
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
4875
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
4876
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
4877
+ # 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"
4878
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
4879
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
4880
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
4881
+ # 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"
4882
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
4883
+ # 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"
4884
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
4885
+ # 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"
4886
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
4887
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
4888
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
4889
+ # 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"
4890
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
4891
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
4892
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
4893
+ # 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"
4894
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
4895
+ # 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"
4896
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
4897
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
4898
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
4899
+ # 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
4900
  # resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
4351
4901
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
4352
4902
  # 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 +4909,7 @@ module Aws::Pinpoint
4359
4909
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4360
4910
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4361
4911
  # 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"
4912
+ # resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4363
4913
  # resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
4364
4914
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
4365
4915
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
@@ -4382,7 +4932,7 @@ module Aws::Pinpoint
4382
4932
  # resp.campaign_response.creation_date #=> String
4383
4933
  # resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
4384
4934
  # 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"
4935
+ # 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
4936
  # resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
4387
4937
  # resp.campaign_response.description #=> String
4388
4938
  # resp.campaign_response.holdout_percent #=> Integer
@@ -4396,6 +4946,7 @@ module Aws::Pinpoint
4396
4946
  # resp.campaign_response.limits.maximum_duration #=> Integer
4397
4947
  # resp.campaign_response.limits.messages_per_second #=> Integer
4398
4948
  # resp.campaign_response.limits.total #=> Integer
4949
+ # resp.campaign_response.limits.session #=> Integer
4399
4950
  # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4400
4951
  # resp.campaign_response.message_configuration.adm_message.body #=> String
4401
4952
  # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
@@ -4467,6 +5018,43 @@ module Aws::Pinpoint
4467
5018
  # resp.campaign_response.message_configuration.sms_message.sender_id #=> String
4468
5019
  # resp.campaign_response.message_configuration.sms_message.entity_id #=> String
4469
5020
  # resp.campaign_response.message_configuration.sms_message.template_id #=> String
5021
+ # resp.campaign_response.message_configuration.in_app_message.body #=> String
5022
+ # resp.campaign_response.message_configuration.in_app_message.content #=> Array
5023
+ # resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
5024
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5025
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
5026
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
5027
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5028
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
5029
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
5030
+ # resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
5031
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5032
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
5033
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
5034
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
5035
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5036
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
5037
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
5038
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
5039
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5040
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
5041
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5042
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
5043
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5044
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
5045
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
5046
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
5047
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5048
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
5049
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
5050
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
5051
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5052
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
5053
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5054
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
5055
+ # resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
5056
+ # resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
5057
+ # resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
4470
5058
  # resp.campaign_response.name #=> String
4471
5059
  # resp.campaign_response.schedule.end_time #=> String
4472
5060
  # resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
@@ -4480,7 +5068,7 @@ module Aws::Pinpoint
4480
5068
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4481
5069
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4482
5070
  # 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"
5071
+ # resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4484
5072
  # resp.campaign_response.schedule.is_local_time #=> Boolean
4485
5073
  # resp.campaign_response.schedule.quiet_time.end #=> String
4486
5074
  # resp.campaign_response.schedule.quiet_time.start #=> String
@@ -4502,6 +5090,7 @@ module Aws::Pinpoint
4502
5090
  # resp.campaign_response.treatment_description #=> String
4503
5091
  # resp.campaign_response.treatment_name #=> String
4504
5092
  # resp.campaign_response.version #=> Integer
5093
+ # resp.campaign_response.priority #=> Integer
4505
5094
  #
4506
5095
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion AWS API Documentation
4507
5096
  #
@@ -4542,7 +5131,7 @@ module Aws::Pinpoint
4542
5131
  # resp.campaigns_response.item[0].additional_treatments #=> Array
4543
5132
  # resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
4544
5133
  # 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"
5134
+ # 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
5135
  # resp.campaigns_response.item[0].additional_treatments[0].id #=> String
4547
5136
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4548
5137
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -4615,6 +5204,43 @@ module Aws::Pinpoint
4615
5204
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
4616
5205
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.entity_id #=> String
4617
5206
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.template_id #=> String
5207
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.body #=> String
5208
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content #=> Array
5209
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
5210
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5211
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
5212
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
5213
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5214
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
5215
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
5216
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
5217
+ # 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"
5218
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
5219
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
5220
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
5221
+ # 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"
5222
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
5223
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
5224
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
5225
+ # 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"
5226
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
5227
+ # 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"
5228
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
5229
+ # 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"
5230
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
5231
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
5232
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
5233
+ # 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"
5234
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
5235
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
5236
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
5237
+ # 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"
5238
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
5239
+ # 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"
5240
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
5241
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
5242
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
5243
+ # 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
5244
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
4619
5245
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
4620
5246
  # 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 +5253,7 @@ module Aws::Pinpoint
4627
5253
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4628
5254
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4629
5255
  # 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"
5256
+ # resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4631
5257
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
4632
5258
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
4633
5259
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
@@ -4650,7 +5276,7 @@ module Aws::Pinpoint
4650
5276
  # resp.campaigns_response.item[0].creation_date #=> String
4651
5277
  # resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
4652
5278
  # 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"
5279
+ # 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
5280
  # resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
4655
5281
  # resp.campaigns_response.item[0].description #=> String
4656
5282
  # resp.campaigns_response.item[0].holdout_percent #=> Integer
@@ -4664,6 +5290,7 @@ module Aws::Pinpoint
4664
5290
  # resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
4665
5291
  # resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
4666
5292
  # resp.campaigns_response.item[0].limits.total #=> Integer
5293
+ # resp.campaigns_response.item[0].limits.session #=> Integer
4667
5294
  # resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4668
5295
  # resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
4669
5296
  # resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
@@ -4735,6 +5362,43 @@ module Aws::Pinpoint
4735
5362
  # resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
4736
5363
  # resp.campaigns_response.item[0].message_configuration.sms_message.entity_id #=> String
4737
5364
  # resp.campaigns_response.item[0].message_configuration.sms_message.template_id #=> String
5365
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.body #=> String
5366
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content #=> Array
5367
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].background_color #=> String
5368
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5369
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.body #=> String
5370
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
5371
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5372
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.header #=> String
5373
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
5374
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].image_url #=> String
5375
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5376
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
5377
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
5378
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
5379
+ # 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"
5380
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
5381
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
5382
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
5383
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5384
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
5385
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5386
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
5387
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5388
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
5389
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
5390
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
5391
+ # 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"
5392
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
5393
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
5394
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
5395
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5396
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
5397
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5398
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
5399
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config #=> Hash
5400
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config["__string"] #=> String
5401
+ # 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
5402
  # resp.campaigns_response.item[0].name #=> String
4739
5403
  # resp.campaigns_response.item[0].schedule.end_time #=> String
4740
5404
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
@@ -4748,7 +5412,7 @@ module Aws::Pinpoint
4748
5412
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4749
5413
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4750
5414
  # 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"
5415
+ # resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4752
5416
  # resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
4753
5417
  # resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
4754
5418
  # resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
@@ -4770,6 +5434,7 @@ module Aws::Pinpoint
4770
5434
  # resp.campaigns_response.item[0].treatment_description #=> String
4771
5435
  # resp.campaigns_response.item[0].treatment_name #=> String
4772
5436
  # resp.campaigns_response.item[0].version #=> Integer
5437
+ # resp.campaigns_response.item[0].priority #=> Integer
4773
5438
  # resp.campaigns_response.next_token #=> String
4774
5439
  #
4775
5440
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersions AWS API Documentation
@@ -4809,7 +5474,7 @@ module Aws::Pinpoint
4809
5474
  # resp.campaigns_response.item[0].additional_treatments #=> Array
4810
5475
  # resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
4811
5476
  # 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"
5477
+ # 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
5478
  # resp.campaigns_response.item[0].additional_treatments[0].id #=> String
4814
5479
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4815
5480
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -4882,6 +5547,43 @@ module Aws::Pinpoint
4882
5547
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
4883
5548
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.entity_id #=> String
4884
5549
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.template_id #=> String
5550
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.body #=> String
5551
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content #=> Array
5552
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
5553
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5554
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
5555
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
5556
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5557
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
5558
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
5559
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
5560
+ # 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"
5561
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
5562
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
5563
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
5564
+ # 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"
5565
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
5566
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
5567
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
5568
+ # 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"
5569
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
5570
+ # 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"
5571
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
5572
+ # 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"
5573
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
5574
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
5575
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
5576
+ # 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"
5577
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
5578
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
5579
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
5580
+ # 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"
5581
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
5582
+ # 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"
5583
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
5584
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
5585
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
5586
+ # 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
5587
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
4886
5588
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
4887
5589
  # 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 +5596,7 @@ module Aws::Pinpoint
4894
5596
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
4895
5597
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
4896
5598
  # 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"
5599
+ # resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
4898
5600
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
4899
5601
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.end #=> String
4900
5602
  # resp.campaigns_response.item[0].additional_treatments[0].schedule.quiet_time.start #=> String
@@ -4917,7 +5619,7 @@ module Aws::Pinpoint
4917
5619
  # resp.campaigns_response.item[0].creation_date #=> String
4918
5620
  # resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
4919
5621
  # 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"
5622
+ # 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
5623
  # resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
4922
5624
  # resp.campaigns_response.item[0].description #=> String
4923
5625
  # resp.campaigns_response.item[0].holdout_percent #=> Integer
@@ -4931,6 +5633,7 @@ module Aws::Pinpoint
4931
5633
  # resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
4932
5634
  # resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
4933
5635
  # resp.campaigns_response.item[0].limits.total #=> Integer
5636
+ # resp.campaigns_response.item[0].limits.session #=> Integer
4934
5637
  # resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4935
5638
  # resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
4936
5639
  # resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
@@ -5002,6 +5705,43 @@ module Aws::Pinpoint
5002
5705
  # resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
5003
5706
  # resp.campaigns_response.item[0].message_configuration.sms_message.entity_id #=> String
5004
5707
  # resp.campaigns_response.item[0].message_configuration.sms_message.template_id #=> String
5708
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.body #=> String
5709
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content #=> Array
5710
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].background_color #=> String
5711
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5712
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.body #=> String
5713
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
5714
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
5715
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.header #=> String
5716
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
5717
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].image_url #=> String
5718
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5719
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
5720
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
5721
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
5722
+ # 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"
5723
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
5724
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
5725
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
5726
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5727
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
5728
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5729
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
5730
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5731
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
5732
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
5733
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
5734
+ # 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"
5735
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
5736
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
5737
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
5738
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5739
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
5740
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
5741
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
5742
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config #=> Hash
5743
+ # resp.campaigns_response.item[0].message_configuration.in_app_message.custom_config["__string"] #=> String
5744
+ # 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
5745
  # resp.campaigns_response.item[0].name #=> String
5006
5746
  # resp.campaigns_response.item[0].schedule.end_time #=> String
5007
5747
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.attributes #=> Hash
@@ -5015,7 +5755,7 @@ module Aws::Pinpoint
5015
5755
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
5016
5756
  # resp.campaigns_response.item[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
5017
5757
  # 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"
5758
+ # resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
5019
5759
  # resp.campaigns_response.item[0].schedule.is_local_time #=> Boolean
5020
5760
  # resp.campaigns_response.item[0].schedule.quiet_time.end #=> String
5021
5761
  # resp.campaigns_response.item[0].schedule.quiet_time.start #=> String
@@ -5037,6 +5777,7 @@ module Aws::Pinpoint
5037
5777
  # resp.campaigns_response.item[0].treatment_description #=> String
5038
5778
  # resp.campaigns_response.item[0].treatment_name #=> String
5039
5779
  # resp.campaigns_response.item[0].version #=> Integer
5780
+ # resp.campaigns_response.item[0].priority #=> Integer
5040
5781
  # resp.campaigns_response.next_token #=> String
5041
5782
  #
5042
5783
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaigns AWS API Documentation
@@ -5158,7 +5899,7 @@ module Aws::Pinpoint
5158
5899
  # resp.email_template_response.tags["__string"] #=> String
5159
5900
  # resp.email_template_response.template_description #=> String
5160
5901
  # resp.email_template_response.template_name #=> String
5161
- # resp.email_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
5902
+ # resp.email_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
5162
5903
  # resp.email_template_response.text_part #=> String
5163
5904
  # resp.email_template_response.version #=> String
5164
5905
  #
@@ -5196,7 +5937,7 @@ module Aws::Pinpoint
5196
5937
  # resp.endpoint_response.attributes #=> Hash
5197
5938
  # resp.endpoint_response.attributes["__string"] #=> Array
5198
5939
  # 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"
5940
+ # 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
5941
  # resp.endpoint_response.cohort_id #=> String
5201
5942
  # resp.endpoint_response.creation_date #=> String
5202
5943
  # resp.endpoint_response.demographic.app_version #=> String
@@ -5511,6 +6252,167 @@ module Aws::Pinpoint
5511
6252
  req.send_request(options)
5512
6253
  end
5513
6254
 
6255
+ # Retrieves the in-app messages targeted for the provided endpoint ID.
6256
+ #
6257
+ # @option params [required, String] :application_id
6258
+ #
6259
+ # @option params [required, String] :endpoint_id
6260
+ #
6261
+ # @return [Types::GetInAppMessagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6262
+ #
6263
+ # * {Types::GetInAppMessagesResponse#in_app_messages_response #in_app_messages_response} => Types::InAppMessagesResponse
6264
+ #
6265
+ # @example Request syntax with placeholder values
6266
+ #
6267
+ # resp = client.get_in_app_messages({
6268
+ # application_id: "__string", # required
6269
+ # endpoint_id: "__string", # required
6270
+ # })
6271
+ #
6272
+ # @example Response structure
6273
+ #
6274
+ # resp.in_app_messages_response.in_app_message_campaigns #=> Array
6275
+ # resp.in_app_messages_response.in_app_message_campaigns[0].campaign_id #=> String
6276
+ # resp.in_app_messages_response.in_app_message_campaigns[0].daily_cap #=> Integer
6277
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content #=> Array
6278
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].background_color #=> String
6279
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
6280
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.body #=> String
6281
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].body_config.text_color #=> String
6282
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
6283
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.header #=> String
6284
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].header_config.text_color #=> String
6285
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].image_url #=> String
6286
+ # 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"
6287
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.android.link #=> String
6288
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.background_color #=> String
6289
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
6290
+ # 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"
6291
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.link #=> String
6292
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.text #=> String
6293
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.default_config.text_color #=> String
6294
+ # 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"
6295
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.ios.link #=> String
6296
+ # 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"
6297
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].primary_btn.web.link #=> String
6298
+ # 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"
6299
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.android.link #=> String
6300
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.background_color #=> String
6301
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
6302
+ # 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"
6303
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.link #=> String
6304
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.text #=> String
6305
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.default_config.text_color #=> String
6306
+ # 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"
6307
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.ios.link #=> String
6308
+ # 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"
6309
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.content[0].secondary_btn.web.link #=> String
6310
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.custom_config #=> Hash
6311
+ # resp.in_app_messages_response.in_app_message_campaigns[0].in_app_message.custom_config["__string"] #=> String
6312
+ # 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"
6313
+ # resp.in_app_messages_response.in_app_message_campaigns[0].priority #=> Integer
6314
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.end_date #=> String
6315
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes #=> Hash
6316
+ # 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"
6317
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes["__string"].values #=> Array
6318
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.attributes["__string"].values[0] #=> String
6319
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
6320
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.values #=> Array
6321
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.event_type.values[0] #=> String
6322
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics #=> Hash
6323
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
6324
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
6325
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.event_filter.filter_type #=> String, one of "SYSTEM", "ENDPOINT"
6326
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.quiet_time.end #=> String
6327
+ # resp.in_app_messages_response.in_app_message_campaigns[0].schedule.quiet_time.start #=> String
6328
+ # resp.in_app_messages_response.in_app_message_campaigns[0].session_cap #=> Integer
6329
+ # resp.in_app_messages_response.in_app_message_campaigns[0].total_cap #=> Integer
6330
+ # resp.in_app_messages_response.in_app_message_campaigns[0].treatment_id #=> String
6331
+ #
6332
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppMessages AWS API Documentation
6333
+ #
6334
+ # @overload get_in_app_messages(params = {})
6335
+ # @param [Hash] params ({})
6336
+ def get_in_app_messages(params = {}, options = {})
6337
+ req = build_request(:get_in_app_messages, params)
6338
+ req.send_request(options)
6339
+ end
6340
+
6341
+ # Retrieves the content and settings of a message template for messages
6342
+ # sent through the in-app channel.
6343
+ #
6344
+ # @option params [required, String] :template_name
6345
+ #
6346
+ # @option params [String] :version
6347
+ #
6348
+ # @return [Types::GetInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6349
+ #
6350
+ # * {Types::GetInAppTemplateResponse#in_app_template_response #in_app_template_response} => Types::InAppTemplateResponse
6351
+ #
6352
+ # @example Request syntax with placeholder values
6353
+ #
6354
+ # resp = client.get_in_app_template({
6355
+ # template_name: "__string", # required
6356
+ # version: "__string",
6357
+ # })
6358
+ #
6359
+ # @example Response structure
6360
+ #
6361
+ # resp.in_app_template_response.arn #=> String
6362
+ # resp.in_app_template_response.content #=> Array
6363
+ # resp.in_app_template_response.content[0].background_color #=> String
6364
+ # resp.in_app_template_response.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
6365
+ # resp.in_app_template_response.content[0].body_config.body #=> String
6366
+ # resp.in_app_template_response.content[0].body_config.text_color #=> String
6367
+ # resp.in_app_template_response.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
6368
+ # resp.in_app_template_response.content[0].header_config.header #=> String
6369
+ # resp.in_app_template_response.content[0].header_config.text_color #=> String
6370
+ # resp.in_app_template_response.content[0].image_url #=> String
6371
+ # resp.in_app_template_response.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6372
+ # resp.in_app_template_response.content[0].primary_btn.android.link #=> String
6373
+ # resp.in_app_template_response.content[0].primary_btn.default_config.background_color #=> String
6374
+ # resp.in_app_template_response.content[0].primary_btn.default_config.border_radius #=> Integer
6375
+ # resp.in_app_template_response.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6376
+ # resp.in_app_template_response.content[0].primary_btn.default_config.link #=> String
6377
+ # resp.in_app_template_response.content[0].primary_btn.default_config.text #=> String
6378
+ # resp.in_app_template_response.content[0].primary_btn.default_config.text_color #=> String
6379
+ # resp.in_app_template_response.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6380
+ # resp.in_app_template_response.content[0].primary_btn.ios.link #=> String
6381
+ # resp.in_app_template_response.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6382
+ # resp.in_app_template_response.content[0].primary_btn.web.link #=> String
6383
+ # resp.in_app_template_response.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6384
+ # resp.in_app_template_response.content[0].secondary_btn.android.link #=> String
6385
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.background_color #=> String
6386
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.border_radius #=> Integer
6387
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6388
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.link #=> String
6389
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.text #=> String
6390
+ # resp.in_app_template_response.content[0].secondary_btn.default_config.text_color #=> String
6391
+ # resp.in_app_template_response.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6392
+ # resp.in_app_template_response.content[0].secondary_btn.ios.link #=> String
6393
+ # resp.in_app_template_response.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
6394
+ # resp.in_app_template_response.content[0].secondary_btn.web.link #=> String
6395
+ # resp.in_app_template_response.creation_date #=> String
6396
+ # resp.in_app_template_response.custom_config #=> Hash
6397
+ # resp.in_app_template_response.custom_config["__string"] #=> String
6398
+ # resp.in_app_template_response.last_modified_date #=> String
6399
+ # resp.in_app_template_response.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
6400
+ # resp.in_app_template_response.tags #=> Hash
6401
+ # resp.in_app_template_response.tags["__string"] #=> String
6402
+ # resp.in_app_template_response.template_description #=> String
6403
+ # resp.in_app_template_response.template_name #=> String
6404
+ # resp.in_app_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
6405
+ # resp.in_app_template_response.version #=> String
6406
+ #
6407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetInAppTemplate AWS API Documentation
6408
+ #
6409
+ # @overload get_in_app_template(params = {})
6410
+ # @param [Hash] params ({})
6411
+ def get_in_app_template(params = {}, options = {})
6412
+ req = build_request(:get_in_app_template, params)
6413
+ req.send_request(options)
6414
+ end
6415
+
5514
6416
  # Retrieves information about the status, configuration, and other
5515
6417
  # settings for a journey.
5516
6418
  #
@@ -5534,7 +6436,7 @@ module Aws::Pinpoint
5534
6436
  # resp.journey_response.activities #=> Hash
5535
6437
  # resp.journey_response.activities["__string"].custom.delivery_uri #=> String
5536
6438
  # 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"
6439
+ # 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
6440
  # resp.journey_response.activities["__string"].custom.message_config.data #=> String
5539
6441
  # resp.journey_response.activities["__string"].custom.next_activity #=> String
5540
6442
  # resp.journey_response.activities["__string"].custom.template_name #=> String
@@ -5673,6 +6575,7 @@ module Aws::Pinpoint
5673
6575
  # resp.journey_response.activities["__string"].wait.next_activity #=> String
5674
6576
  # resp.journey_response.activities["__string"].wait.wait_time.wait_for #=> String
5675
6577
  # resp.journey_response.activities["__string"].wait.wait_time.wait_until #=> String
6578
+ # resp.journey_response.activities["__string"].contact_center.next_activity #=> String
5676
6579
  # resp.journey_response.application_id #=> String
5677
6580
  # resp.journey_response.creation_date #=> String
5678
6581
  # resp.journey_response.id #=> String
@@ -5707,6 +6610,8 @@ module Aws::Pinpoint
5707
6610
  # resp.journey_response.state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
5708
6611
  # resp.journey_response.tags #=> Hash
5709
6612
  # resp.journey_response.tags["__string"] #=> String
6613
+ # resp.journey_response.journey_channel_settings.connect_campaign_arn #=> String
6614
+ # resp.journey_response.journey_channel_settings.connect_campaign_execution_role_arn #=> String
5710
6615
  #
5711
6616
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetJourney AWS API Documentation
5712
6617
  #
@@ -5932,7 +6837,7 @@ module Aws::Pinpoint
5932
6837
  # resp.push_notification_template_response.tags["__string"] #=> String
5933
6838
  # resp.push_notification_template_response.template_description #=> String
5934
6839
  # resp.push_notification_template_response.template_name #=> String
5935
- # resp.push_notification_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
6840
+ # resp.push_notification_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
5936
6841
  # resp.push_notification_template_response.version #=> String
5937
6842
  #
5938
6843
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetPushTemplate AWS API Documentation
@@ -6749,7 +7654,7 @@ module Aws::Pinpoint
6749
7654
  # resp.sms_template_response.tags["__string"] #=> String
6750
7655
  # resp.sms_template_response.template_description #=> String
6751
7656
  # resp.sms_template_response.template_name #=> String
6752
- # resp.sms_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
7657
+ # resp.sms_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
6753
7658
  # resp.sms_template_response.version #=> String
6754
7659
  #
6755
7660
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSmsTemplate AWS API Documentation
@@ -6787,7 +7692,7 @@ module Aws::Pinpoint
6787
7692
  # resp.endpoints_response.item[0].attributes #=> Hash
6788
7693
  # resp.endpoints_response.item[0].attributes["__string"] #=> Array
6789
7694
  # 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"
7695
+ # 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
7696
  # resp.endpoints_response.item[0].cohort_id #=> String
6792
7697
  # resp.endpoints_response.item[0].creation_date #=> String
6793
7698
  # resp.endpoints_response.item[0].demographic.app_version #=> String
@@ -6892,7 +7797,7 @@ module Aws::Pinpoint
6892
7797
  # resp.voice_template_response.tags["__string"] #=> String
6893
7798
  # resp.voice_template_response.template_description #=> String
6894
7799
  # resp.voice_template_response.template_name #=> String
6895
- # resp.voice_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
7800
+ # resp.voice_template_response.template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
6896
7801
  # resp.voice_template_response.version #=> String
6897
7802
  # resp.voice_template_response.voice_id #=> String
6898
7803
  #
@@ -6932,7 +7837,7 @@ module Aws::Pinpoint
6932
7837
  # resp.journeys_response.item[0].activities #=> Hash
6933
7838
  # resp.journeys_response.item[0].activities["__string"].custom.delivery_uri #=> String
6934
7839
  # 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"
7840
+ # 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
7841
  # resp.journeys_response.item[0].activities["__string"].custom.message_config.data #=> String
6937
7842
  # resp.journeys_response.item[0].activities["__string"].custom.next_activity #=> String
6938
7843
  # resp.journeys_response.item[0].activities["__string"].custom.template_name #=> String
@@ -7071,6 +7976,7 @@ module Aws::Pinpoint
7071
7976
  # resp.journeys_response.item[0].activities["__string"].wait.next_activity #=> String
7072
7977
  # resp.journeys_response.item[0].activities["__string"].wait.wait_time.wait_for #=> String
7073
7978
  # resp.journeys_response.item[0].activities["__string"].wait.wait_time.wait_until #=> String
7979
+ # resp.journeys_response.item[0].activities["__string"].contact_center.next_activity #=> String
7074
7980
  # resp.journeys_response.item[0].application_id #=> String
7075
7981
  # resp.journeys_response.item[0].creation_date #=> String
7076
7982
  # resp.journeys_response.item[0].id #=> String
@@ -7105,6 +8011,8 @@ module Aws::Pinpoint
7105
8011
  # resp.journeys_response.item[0].state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
7106
8012
  # resp.journeys_response.item[0].tags #=> Hash
7107
8013
  # resp.journeys_response.item[0].tags["__string"] #=> String
8014
+ # resp.journeys_response.item[0].journey_channel_settings.connect_campaign_arn #=> String
8015
+ # resp.journeys_response.item[0].journey_channel_settings.connect_campaign_execution_role_arn #=> String
7108
8016
  # resp.journeys_response.next_token #=> String
7109
8017
  #
7110
8018
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListJourneys AWS API Documentation
@@ -7227,7 +8135,7 @@ module Aws::Pinpoint
7227
8135
  # resp.templates_response.item[0].tags["__string"] #=> String
7228
8136
  # resp.templates_response.item[0].template_description #=> String
7229
8137
  # resp.templates_response.item[0].template_name #=> String
7230
- # resp.templates_response.item[0].template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH"
8138
+ # resp.templates_response.item[0].template_type #=> String, one of "EMAIL", "SMS", "VOICE", "PUSH", "INAPP"
7231
8139
  # resp.templates_response.item[0].version #=> String
7232
8140
  # resp.templates_response.next_token #=> String
7233
8141
  #
@@ -7350,7 +8258,7 @@ module Aws::Pinpoint
7350
8258
  # attributes: {
7351
8259
  # "__string" => ["__string"],
7352
8260
  # },
7353
- # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
8261
+ # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
7354
8262
  # demographic: {
7355
8263
  # app_version: "__string",
7356
8264
  # locale: "__string",
@@ -7489,7 +8397,7 @@ module Aws::Pinpoint
7489
8397
  # addresses: {
7490
8398
  # "__string" => {
7491
8399
  # body_override: "__string",
7492
- # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
8400
+ # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
7493
8401
  # context: {
7494
8402
  # "__string" => "__string",
7495
8403
  # },
@@ -8300,6 +9208,7 @@ module Aws::Pinpoint
8300
9208
  # maximum_duration: 1,
8301
9209
  # messages_per_second: 1,
8302
9210
  # total: 1,
9211
+ # session: 1,
8303
9212
  # },
8304
9213
  # quiet_time: {
8305
9214
  # end: "__string",
@@ -8319,6 +9228,7 @@ module Aws::Pinpoint
8319
9228
  # resp.application_settings_resource.limits.maximum_duration #=> Integer
8320
9229
  # resp.application_settings_resource.limits.messages_per_second #=> Integer
8321
9230
  # resp.application_settings_resource.limits.total #=> Integer
9231
+ # resp.application_settings_resource.limits.session #=> Integer
8322
9232
  # resp.application_settings_resource.quiet_time.end #=> String
8323
9233
  # resp.application_settings_resource.quiet_time.start #=> String
8324
9234
  #
@@ -8401,7 +9311,7 @@ module Aws::Pinpoint
8401
9311
  # {
8402
9312
  # custom_delivery_configuration: {
8403
9313
  # 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
9314
+ # endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
8405
9315
  # },
8406
9316
  # message_configuration: {
8407
9317
  # adm_message: {
@@ -8491,6 +9401,73 @@ module Aws::Pinpoint
8491
9401
  # entity_id: "__string",
8492
9402
  # template_id: "__string",
8493
9403
  # },
9404
+ # in_app_message: {
9405
+ # body: "__string",
9406
+ # content: [
9407
+ # {
9408
+ # background_color: "__string",
9409
+ # body_config: {
9410
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
9411
+ # body: "__string", # required
9412
+ # text_color: "__string", # required
9413
+ # },
9414
+ # header_config: {
9415
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
9416
+ # header: "__string", # required
9417
+ # text_color: "__string", # required
9418
+ # },
9419
+ # image_url: "__string",
9420
+ # primary_btn: {
9421
+ # android: {
9422
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9423
+ # link: "__string",
9424
+ # },
9425
+ # default_config: {
9426
+ # background_color: "__string",
9427
+ # border_radius: 1,
9428
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9429
+ # link: "__string",
9430
+ # text: "__string", # required
9431
+ # text_color: "__string",
9432
+ # },
9433
+ # ios: {
9434
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9435
+ # link: "__string",
9436
+ # },
9437
+ # web: {
9438
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9439
+ # link: "__string",
9440
+ # },
9441
+ # },
9442
+ # secondary_btn: {
9443
+ # android: {
9444
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9445
+ # link: "__string",
9446
+ # },
9447
+ # default_config: {
9448
+ # background_color: "__string",
9449
+ # border_radius: 1,
9450
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9451
+ # link: "__string",
9452
+ # text: "__string", # required
9453
+ # text_color: "__string",
9454
+ # },
9455
+ # ios: {
9456
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9457
+ # link: "__string",
9458
+ # },
9459
+ # web: {
9460
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9461
+ # link: "__string",
9462
+ # },
9463
+ # },
9464
+ # },
9465
+ # ],
9466
+ # custom_config: {
9467
+ # "__string" => "__string",
9468
+ # },
9469
+ # layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
9470
+ # },
8494
9471
  # },
8495
9472
  # schedule: {
8496
9473
  # end_time: "__string",
@@ -8515,7 +9492,7 @@ module Aws::Pinpoint
8515
9492
  # },
8516
9493
  # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
8517
9494
  # },
8518
- # frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
9495
+ # frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
8519
9496
  # is_local_time: false,
8520
9497
  # quiet_time: {
8521
9498
  # end: "__string",
@@ -8549,7 +9526,7 @@ module Aws::Pinpoint
8549
9526
  # ],
8550
9527
  # custom_delivery_configuration: {
8551
9528
  # 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
9529
+ # endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
8553
9530
  # },
8554
9531
  # description: "__string",
8555
9532
  # holdout_percent: 1,
@@ -8564,6 +9541,7 @@ module Aws::Pinpoint
8564
9541
  # maximum_duration: 1,
8565
9542
  # messages_per_second: 1,
8566
9543
  # total: 1,
9544
+ # session: 1,
8567
9545
  # },
8568
9546
  # message_configuration: {
8569
9547
  # adm_message: {
@@ -8653,6 +9631,73 @@ module Aws::Pinpoint
8653
9631
  # entity_id: "__string",
8654
9632
  # template_id: "__string",
8655
9633
  # },
9634
+ # in_app_message: {
9635
+ # body: "__string",
9636
+ # content: [
9637
+ # {
9638
+ # background_color: "__string",
9639
+ # body_config: {
9640
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
9641
+ # body: "__string", # required
9642
+ # text_color: "__string", # required
9643
+ # },
9644
+ # header_config: {
9645
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
9646
+ # header: "__string", # required
9647
+ # text_color: "__string", # required
9648
+ # },
9649
+ # image_url: "__string",
9650
+ # primary_btn: {
9651
+ # android: {
9652
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9653
+ # link: "__string",
9654
+ # },
9655
+ # default_config: {
9656
+ # background_color: "__string",
9657
+ # border_radius: 1,
9658
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9659
+ # link: "__string",
9660
+ # text: "__string", # required
9661
+ # text_color: "__string",
9662
+ # },
9663
+ # ios: {
9664
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9665
+ # link: "__string",
9666
+ # },
9667
+ # web: {
9668
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9669
+ # link: "__string",
9670
+ # },
9671
+ # },
9672
+ # secondary_btn: {
9673
+ # android: {
9674
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9675
+ # link: "__string",
9676
+ # },
9677
+ # default_config: {
9678
+ # background_color: "__string",
9679
+ # border_radius: 1,
9680
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9681
+ # link: "__string",
9682
+ # text: "__string", # required
9683
+ # text_color: "__string",
9684
+ # },
9685
+ # ios: {
9686
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9687
+ # link: "__string",
9688
+ # },
9689
+ # web: {
9690
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
9691
+ # link: "__string",
9692
+ # },
9693
+ # },
9694
+ # },
9695
+ # ],
9696
+ # custom_config: {
9697
+ # "__string" => "__string",
9698
+ # },
9699
+ # layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
9700
+ # },
8656
9701
  # },
8657
9702
  # name: "__string",
8658
9703
  # schedule: {
@@ -8678,7 +9723,7 @@ module Aws::Pinpoint
8678
9723
  # },
8679
9724
  # filter_type: "SYSTEM", # required, accepts SYSTEM, ENDPOINT
8680
9725
  # },
8681
- # frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT
9726
+ # frequency: "ONCE", # accepts ONCE, HOURLY, DAILY, WEEKLY, MONTHLY, EVENT, IN_APP_EVENT
8682
9727
  # is_local_time: false,
8683
9728
  # quiet_time: {
8684
9729
  # end: "__string",
@@ -8712,6 +9757,7 @@ module Aws::Pinpoint
8712
9757
  # },
8713
9758
  # treatment_description: "__string",
8714
9759
  # treatment_name: "__string",
9760
+ # priority: 1,
8715
9761
  # },
8716
9762
  # })
8717
9763
  #
@@ -8720,7 +9766,7 @@ module Aws::Pinpoint
8720
9766
  # resp.campaign_response.additional_treatments #=> Array
8721
9767
  # resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
8722
9768
  # 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"
9769
+ # 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
9770
  # resp.campaign_response.additional_treatments[0].id #=> String
8725
9771
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
8726
9772
  # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
@@ -8793,6 +9839,43 @@ module Aws::Pinpoint
8793
9839
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
8794
9840
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.entity_id #=> String
8795
9841
  # resp.campaign_response.additional_treatments[0].message_configuration.sms_message.template_id #=> String
9842
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.body #=> String
9843
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content #=> Array
9844
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].background_color #=> String
9845
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
9846
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.body #=> String
9847
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].body_config.text_color #=> String
9848
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
9849
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.header #=> String
9850
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].header_config.text_color #=> String
9851
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].image_url #=> String
9852
+ # 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"
9853
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
9854
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
9855
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
9856
+ # 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"
9857
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
9858
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
9859
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
9860
+ # 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"
9861
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
9862
+ # 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"
9863
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
9864
+ # 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"
9865
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
9866
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
9867
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
9868
+ # 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"
9869
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
9870
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
9871
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
9872
+ # 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"
9873
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
9874
+ # 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"
9875
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
9876
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config #=> Hash
9877
+ # resp.campaign_response.additional_treatments[0].message_configuration.in_app_message.custom_config["__string"] #=> String
9878
+ # 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
9879
  # resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
8797
9880
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.attributes #=> Hash
8798
9881
  # 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 +9888,7 @@ module Aws::Pinpoint
8805
9888
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
8806
9889
  # resp.campaign_response.additional_treatments[0].schedule.event_filter.dimensions.metrics["__string"].value #=> Float
8807
9890
  # 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"
9891
+ # resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
8809
9892
  # resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
8810
9893
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.end #=> String
8811
9894
  # resp.campaign_response.additional_treatments[0].schedule.quiet_time.start #=> String
@@ -8828,7 +9911,7 @@ module Aws::Pinpoint
8828
9911
  # resp.campaign_response.creation_date #=> String
8829
9912
  # resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
8830
9913
  # 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"
9914
+ # 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
9915
  # resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED", "INVALID"
8833
9916
  # resp.campaign_response.description #=> String
8834
9917
  # resp.campaign_response.holdout_percent #=> Integer
@@ -8842,6 +9925,7 @@ module Aws::Pinpoint
8842
9925
  # resp.campaign_response.limits.maximum_duration #=> Integer
8843
9926
  # resp.campaign_response.limits.messages_per_second #=> Integer
8844
9927
  # resp.campaign_response.limits.total #=> Integer
9928
+ # resp.campaign_response.limits.session #=> Integer
8845
9929
  # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
8846
9930
  # resp.campaign_response.message_configuration.adm_message.body #=> String
8847
9931
  # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
@@ -8913,6 +9997,43 @@ module Aws::Pinpoint
8913
9997
  # resp.campaign_response.message_configuration.sms_message.sender_id #=> String
8914
9998
  # resp.campaign_response.message_configuration.sms_message.entity_id #=> String
8915
9999
  # resp.campaign_response.message_configuration.sms_message.template_id #=> String
10000
+ # resp.campaign_response.message_configuration.in_app_message.body #=> String
10001
+ # resp.campaign_response.message_configuration.in_app_message.content #=> Array
10002
+ # resp.campaign_response.message_configuration.in_app_message.content[0].background_color #=> String
10003
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
10004
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.body #=> String
10005
+ # resp.campaign_response.message_configuration.in_app_message.content[0].body_config.text_color #=> String
10006
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.alignment #=> String, one of "LEFT", "CENTER", "RIGHT"
10007
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.header #=> String
10008
+ # resp.campaign_response.message_configuration.in_app_message.content[0].header_config.text_color #=> String
10009
+ # resp.campaign_response.message_configuration.in_app_message.content[0].image_url #=> String
10010
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10011
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.android.link #=> String
10012
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.background_color #=> String
10013
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.border_radius #=> Integer
10014
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10015
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.link #=> String
10016
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text #=> String
10017
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.default_config.text_color #=> String
10018
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10019
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.ios.link #=> String
10020
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10021
+ # resp.campaign_response.message_configuration.in_app_message.content[0].primary_btn.web.link #=> String
10022
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10023
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.android.link #=> String
10024
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.background_color #=> String
10025
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.border_radius #=> Integer
10026
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10027
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.link #=> String
10028
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text #=> String
10029
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.default_config.text_color #=> String
10030
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10031
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.ios.link #=> String
10032
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.button_action #=> String, one of "LINK", "DEEP_LINK", "CLOSE"
10033
+ # resp.campaign_response.message_configuration.in_app_message.content[0].secondary_btn.web.link #=> String
10034
+ # resp.campaign_response.message_configuration.in_app_message.custom_config #=> Hash
10035
+ # resp.campaign_response.message_configuration.in_app_message.custom_config["__string"] #=> String
10036
+ # resp.campaign_response.message_configuration.in_app_message.layout #=> String, one of "BOTTOM_BANNER", "TOP_BANNER", "OVERLAYS", "MOBILE_FEED", "MIDDLE_BANNER", "CAROUSEL"
8916
10037
  # resp.campaign_response.name #=> String
8917
10038
  # resp.campaign_response.schedule.end_time #=> String
8918
10039
  # resp.campaign_response.schedule.event_filter.dimensions.attributes #=> Hash
@@ -8926,7 +10047,7 @@ module Aws::Pinpoint
8926
10047
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].comparison_operator #=> String
8927
10048
  # resp.campaign_response.schedule.event_filter.dimensions.metrics["__string"].value #=> Float
8928
10049
  # 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"
10050
+ # resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT", "IN_APP_EVENT"
8930
10051
  # resp.campaign_response.schedule.is_local_time #=> Boolean
8931
10052
  # resp.campaign_response.schedule.quiet_time.end #=> String
8932
10053
  # resp.campaign_response.schedule.quiet_time.start #=> String
@@ -8948,6 +10069,7 @@ module Aws::Pinpoint
8948
10069
  # resp.campaign_response.treatment_description #=> String
8949
10070
  # resp.campaign_response.treatment_name #=> String
8950
10071
  # resp.campaign_response.version #=> Integer
10072
+ # resp.campaign_response.priority #=> Integer
8951
10073
  #
8952
10074
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateCampaign AWS API Documentation
8953
10075
  #
@@ -9089,7 +10211,7 @@ module Aws::Pinpoint
9089
10211
  # attributes: {
9090
10212
  # "__string" => ["__string"],
9091
10213
  # },
9092
- # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
10214
+ # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
9093
10215
  # demographic: {
9094
10216
  # app_version: "__string",
9095
10217
  # locale: "__string",
@@ -9166,7 +10288,7 @@ module Aws::Pinpoint
9166
10288
  # attributes: {
9167
10289
  # "__string" => ["__string"],
9168
10290
  # },
9169
- # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
10291
+ # channel_type: "PUSH", # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
9170
10292
  # demographic: {
9171
10293
  # app_version: "__string",
9172
10294
  # locale: "__string",
@@ -9266,6 +10388,114 @@ module Aws::Pinpoint
9266
10388
  req.send_request(options)
9267
10389
  end
9268
10390
 
10391
+ # Updates an existing message template for messages sent through the
10392
+ # in-app message channel.
10393
+ #
10394
+ # @option params [Boolean] :create_new_version
10395
+ #
10396
+ # @option params [required, Types::InAppTemplateRequest] :in_app_template_request
10397
+ # In-App Template Request.
10398
+ #
10399
+ # @option params [required, String] :template_name
10400
+ #
10401
+ # @option params [String] :version
10402
+ #
10403
+ # @return [Types::UpdateInAppTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
10404
+ #
10405
+ # * {Types::UpdateInAppTemplateResponse#message_body #message_body} => Types::MessageBody
10406
+ #
10407
+ # @example Request syntax with placeholder values
10408
+ #
10409
+ # resp = client.update_in_app_template({
10410
+ # create_new_version: false,
10411
+ # in_app_template_request: { # required
10412
+ # content: [
10413
+ # {
10414
+ # background_color: "__string",
10415
+ # body_config: {
10416
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
10417
+ # body: "__string", # required
10418
+ # text_color: "__string", # required
10419
+ # },
10420
+ # header_config: {
10421
+ # alignment: "LEFT", # required, accepts LEFT, CENTER, RIGHT
10422
+ # header: "__string", # required
10423
+ # text_color: "__string", # required
10424
+ # },
10425
+ # image_url: "__string",
10426
+ # primary_btn: {
10427
+ # android: {
10428
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10429
+ # link: "__string",
10430
+ # },
10431
+ # default_config: {
10432
+ # background_color: "__string",
10433
+ # border_radius: 1,
10434
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10435
+ # link: "__string",
10436
+ # text: "__string", # required
10437
+ # text_color: "__string",
10438
+ # },
10439
+ # ios: {
10440
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10441
+ # link: "__string",
10442
+ # },
10443
+ # web: {
10444
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10445
+ # link: "__string",
10446
+ # },
10447
+ # },
10448
+ # secondary_btn: {
10449
+ # android: {
10450
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10451
+ # link: "__string",
10452
+ # },
10453
+ # default_config: {
10454
+ # background_color: "__string",
10455
+ # border_radius: 1,
10456
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10457
+ # link: "__string",
10458
+ # text: "__string", # required
10459
+ # text_color: "__string",
10460
+ # },
10461
+ # ios: {
10462
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10463
+ # link: "__string",
10464
+ # },
10465
+ # web: {
10466
+ # button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
10467
+ # link: "__string",
10468
+ # },
10469
+ # },
10470
+ # },
10471
+ # ],
10472
+ # custom_config: {
10473
+ # "__string" => "__string",
10474
+ # },
10475
+ # layout: "BOTTOM_BANNER", # accepts BOTTOM_BANNER, TOP_BANNER, OVERLAYS, MOBILE_FEED, MIDDLE_BANNER, CAROUSEL
10476
+ # tags: {
10477
+ # "__string" => "__string",
10478
+ # },
10479
+ # template_description: "__string",
10480
+ # },
10481
+ # template_name: "__string", # required
10482
+ # version: "__string",
10483
+ # })
10484
+ #
10485
+ # @example Response structure
10486
+ #
10487
+ # resp.message_body.message #=> String
10488
+ # resp.message_body.request_id #=> String
10489
+ #
10490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateInAppTemplate AWS API Documentation
10491
+ #
10492
+ # @overload update_in_app_template(params = {})
10493
+ # @param [Hash] params ({})
10494
+ def update_in_app_template(params = {}, options = {})
10495
+ req = build_request(:update_in_app_template, params)
10496
+ req.send_request(options)
10497
+ end
10498
+
9269
10499
  # Updates the configuration and other settings for a journey.
9270
10500
  #
9271
10501
  # @option params [required, String] :application_id
@@ -9289,7 +10519,7 @@ module Aws::Pinpoint
9289
10519
  # "__string" => {
9290
10520
  # custom: {
9291
10521
  # delivery_uri: "__string",
9292
- # endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
10522
+ # endpoint_types: ["PUSH"], # accepts PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM, IN_APP
9293
10523
  # message_config: {
9294
10524
  # data: "__string",
9295
10525
  # },
@@ -9552,6 +10782,9 @@ module Aws::Pinpoint
9552
10782
  # wait_until: "__string",
9553
10783
  # },
9554
10784
  # },
10785
+ # contact_center: {
10786
+ # next_activity: "__string",
10787
+ # },
9555
10788
  # },
9556
10789
  # },
9557
10790
  # creation_date: "__string",
@@ -9608,6 +10841,10 @@ module Aws::Pinpoint
9608
10841
  # state: "DRAFT", # accepts DRAFT, ACTIVE, COMPLETED, CANCELLED, CLOSED, PAUSED
9609
10842
  # wait_for_quiet_time: false,
9610
10843
  # refresh_on_segment_update: false,
10844
+ # journey_channel_settings: {
10845
+ # connect_campaign_arn: "__string",
10846
+ # connect_campaign_execution_role_arn: "__string",
10847
+ # },
9611
10848
  # },
9612
10849
  # })
9613
10850
  #
@@ -9616,7 +10853,7 @@ module Aws::Pinpoint
9616
10853
  # resp.journey_response.activities #=> Hash
9617
10854
  # resp.journey_response.activities["__string"].custom.delivery_uri #=> String
9618
10855
  # 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"
10856
+ # 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
10857
  # resp.journey_response.activities["__string"].custom.message_config.data #=> String
9621
10858
  # resp.journey_response.activities["__string"].custom.next_activity #=> String
9622
10859
  # resp.journey_response.activities["__string"].custom.template_name #=> String
@@ -9755,6 +10992,7 @@ module Aws::Pinpoint
9755
10992
  # resp.journey_response.activities["__string"].wait.next_activity #=> String
9756
10993
  # resp.journey_response.activities["__string"].wait.wait_time.wait_for #=> String
9757
10994
  # resp.journey_response.activities["__string"].wait.wait_time.wait_until #=> String
10995
+ # resp.journey_response.activities["__string"].contact_center.next_activity #=> String
9758
10996
  # resp.journey_response.application_id #=> String
9759
10997
  # resp.journey_response.creation_date #=> String
9760
10998
  # resp.journey_response.id #=> String
@@ -9789,6 +11027,8 @@ module Aws::Pinpoint
9789
11027
  # resp.journey_response.state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
9790
11028
  # resp.journey_response.tags #=> Hash
9791
11029
  # resp.journey_response.tags["__string"] #=> String
11030
+ # resp.journey_response.journey_channel_settings.connect_campaign_arn #=> String
11031
+ # resp.journey_response.journey_channel_settings.connect_campaign_execution_role_arn #=> String
9792
11032
  #
9793
11033
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourney AWS API Documentation
9794
11034
  #
@@ -9827,7 +11067,7 @@ module Aws::Pinpoint
9827
11067
  # resp.journey_response.activities #=> Hash
9828
11068
  # resp.journey_response.activities["__string"].custom.delivery_uri #=> String
9829
11069
  # 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"
11070
+ # 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
11071
  # resp.journey_response.activities["__string"].custom.message_config.data #=> String
9832
11072
  # resp.journey_response.activities["__string"].custom.next_activity #=> String
9833
11073
  # resp.journey_response.activities["__string"].custom.template_name #=> String
@@ -9966,6 +11206,7 @@ module Aws::Pinpoint
9966
11206
  # resp.journey_response.activities["__string"].wait.next_activity #=> String
9967
11207
  # resp.journey_response.activities["__string"].wait.wait_time.wait_for #=> String
9968
11208
  # resp.journey_response.activities["__string"].wait.wait_time.wait_until #=> String
11209
+ # resp.journey_response.activities["__string"].contact_center.next_activity #=> String
9969
11210
  # resp.journey_response.application_id #=> String
9970
11211
  # resp.journey_response.creation_date #=> String
9971
11212
  # resp.journey_response.id #=> String
@@ -10000,6 +11241,8 @@ module Aws::Pinpoint
10000
11241
  # resp.journey_response.state #=> String, one of "DRAFT", "ACTIVE", "COMPLETED", "CANCELLED", "CLOSED", "PAUSED"
10001
11242
  # resp.journey_response.tags #=> Hash
10002
11243
  # resp.journey_response.tags["__string"] #=> String
11244
+ # resp.journey_response.journey_channel_settings.connect_campaign_arn #=> String
11245
+ # resp.journey_response.journey_channel_settings.connect_campaign_execution_role_arn #=> String
10003
11246
  #
10004
11247
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateJourneyState AWS API Documentation
10005
11248
  #
@@ -10693,7 +11936,7 @@ module Aws::Pinpoint
10693
11936
  params: params,
10694
11937
  config: config)
10695
11938
  context[:gem_name] = 'aws-sdk-pinpoint'
10696
- context[:gem_version] = '1.54.0'
11939
+ context[:gem_version] = '1.58.0'
10697
11940
  Seahorse::Client::Request.new(handlers, context)
10698
11941
  end
10699
11942