aws-sdk-pinpoint 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,10 @@ module Aws::Pinpoint
54
54
  # If the channel is enabled for sending messages.
55
55
  # @return [Boolean]
56
56
  #
57
+ # @!attribute [rw] has_credential
58
+ # If the channel is registered with a credential for authentication.
59
+ # @return [Boolean]
60
+ #
57
61
  # @!attribute [rw] id
58
62
  # Channel ID. Not used, only for backwards compatibility.
59
63
  # @return [String]
@@ -84,6 +88,7 @@ module Aws::Pinpoint
84
88
  :application_id,
85
89
  :creation_date,
86
90
  :enabled,
91
+ :has_credential,
87
92
  :id,
88
93
  :is_archived,
89
94
  :last_modified_by,
@@ -109,7 +114,6 @@ module Aws::Pinpoint
109
114
  # icon_reference: "__string",
110
115
  # image_icon_url: "__string",
111
116
  # image_url: "__string",
112
- # json_data: "__string",
113
117
  # md5: "__string",
114
118
  # raw_content: "__string",
115
119
  # silent_push: false,
@@ -165,11 +169,6 @@ module Aws::Pinpoint
165
169
  # The URL that points to an image used in the push notification.
166
170
  # @return [String]
167
171
  #
168
- # @!attribute [rw] json_data
169
- # The data payload used for a silent push. This payload is added to
170
- # the notifications' data.pinpoint.jsonBody' object
171
- # @return [String]
172
- #
173
172
  # @!attribute [rw] md5
174
173
  # Optional. Base-64-encoded MD5 checksum of the data parameter. Used
175
174
  # to verify data integrity
@@ -222,7 +221,6 @@ module Aws::Pinpoint
222
221
  :icon_reference,
223
222
  :image_icon_url,
224
223
  :image_url,
225
- :json_data,
226
224
  :md5,
227
225
  :raw_content,
228
226
  :silent_push,
@@ -306,10 +304,22 @@ module Aws::Pinpoint
306
304
  # When was this segment created
307
305
  # @return [String]
308
306
  #
307
+ # @!attribute [rw] default_authentication_method
308
+ # The default authentication method used for APNs.
309
+ # @return [String]
310
+ #
309
311
  # @!attribute [rw] enabled
310
312
  # If the channel is enabled for sending messages.
311
313
  # @return [Boolean]
312
314
  #
315
+ # @!attribute [rw] has_credential
316
+ # If the channel is registered with a credential for authentication.
317
+ # @return [Boolean]
318
+ #
319
+ # @!attribute [rw] has_token_key
320
+ # If the channel is registered with a token key for authentication.
321
+ # @return [Boolean]
322
+ #
313
323
  # @!attribute [rw] id
314
324
  # Channel ID. Not used. Present only for backwards compatibility.
315
325
  # @return [String]
@@ -339,7 +349,10 @@ module Aws::Pinpoint
339
349
  class APNSChannelResponse < Struct.new(
340
350
  :application_id,
341
351
  :creation_date,
352
+ :default_authentication_method,
342
353
  :enabled,
354
+ :has_credential,
355
+ :has_token_key,
343
356
  :id,
344
357
  :is_archived,
345
358
  :last_modified_by,
@@ -359,12 +372,13 @@ module Aws::Pinpoint
359
372
  # badge: 1,
360
373
  # body: "__string",
361
374
  # category: "__string",
375
+ # collapse_id: "__string",
362
376
  # data: {
363
377
  # "__string" => "__string",
364
378
  # },
365
- # json_data: "__string",
366
379
  # media_url: "__string",
367
380
  # preferred_authentication_method: "__string",
381
+ # priority: "__string",
368
382
  # raw_content: "__string",
369
383
  # silent_push: false,
370
384
  # sound: "__string",
@@ -372,6 +386,7 @@ module Aws::Pinpoint
372
386
  # "__string" => ["__string"],
373
387
  # },
374
388
  # thread_id: "__string",
389
+ # time_to_live: 1,
375
390
  # title: "__string",
376
391
  # url: "__string",
377
392
  # }
@@ -405,14 +420,15 @@ module Aws::Pinpoint
405
420
  # identifier property of one of your app's registered categories.
406
421
  # @return [String]
407
422
  #
423
+ # @!attribute [rw] collapse_id
424
+ # Multiple notifications with the same collapse identifier are
425
+ # displayed to the user as a single notification. The value of this
426
+ # key must not exceed 64 bytes.
427
+ # @return [String]
428
+ #
408
429
  # @!attribute [rw] data
409
430
  # @return [Hash<String,String>]
410
431
  #
411
- # @!attribute [rw] json_data
412
- # The data payload used for a silent push. This payload is added to
413
- # the notifications' data.pinpoint.jsonBody' object
414
- # @return [String]
415
- #
416
432
  # @!attribute [rw] media_url
417
433
  # The URL that points to a video used in the push notification.
418
434
  # @return [String]
@@ -422,6 +438,10 @@ module Aws::Pinpoint
422
438
  # "TOKEN"
423
439
  # @return [String]
424
440
  #
441
+ # @!attribute [rw] priority
442
+ # Is this a transaction priority message or lower priority.
443
+ # @return [String]
444
+ #
425
445
  # @!attribute [rw] raw_content
426
446
  # The Raw JSON formatted string to be used as the payload. This value
427
447
  # overrides the message.
@@ -451,6 +471,15 @@ module Aws::Pinpoint
451
471
  # your notifications together.
452
472
  # @return [String]
453
473
  #
474
+ # @!attribute [rw] time_to_live
475
+ # This parameter specifies how long (in seconds) the message should be
476
+ # kept if APNS is unable to deliver the notification the first time.
477
+ # If the value is 0, APNS treats the notification as if it expires
478
+ # immediately and does not store the notification or attempt to
479
+ # redeliver it. This value is converted to the expiration field when
480
+ # sent to APNS
481
+ # @return [Integer]
482
+ #
454
483
  # @!attribute [rw] title
455
484
  # The message title that displays above the message on the user's
456
485
  # device.
@@ -468,15 +497,17 @@ module Aws::Pinpoint
468
497
  :badge,
469
498
  :body,
470
499
  :category,
500
+ :collapse_id,
471
501
  :data,
472
- :json_data,
473
502
  :media_url,
474
503
  :preferred_authentication_method,
504
+ :priority,
475
505
  :raw_content,
476
506
  :silent_push,
477
507
  :sound,
478
508
  :substitutions,
479
509
  :thread_id,
510
+ :time_to_live,
480
511
  :title,
481
512
  :url)
482
513
  include Aws::Structure
@@ -554,10 +585,22 @@ module Aws::Pinpoint
554
585
  # When was this segment created
555
586
  # @return [String]
556
587
  #
588
+ # @!attribute [rw] default_authentication_method
589
+ # The default authentication method used for APNs.
590
+ # @return [String]
591
+ #
557
592
  # @!attribute [rw] enabled
558
593
  # If the channel is enabled for sending messages.
559
594
  # @return [Boolean]
560
595
  #
596
+ # @!attribute [rw] has_credential
597
+ # If the channel is registered with a credential for authentication.
598
+ # @return [Boolean]
599
+ #
600
+ # @!attribute [rw] has_token_key
601
+ # If the channel is registered with a token key for authentication.
602
+ # @return [Boolean]
603
+ #
561
604
  # @!attribute [rw] id
562
605
  # Channel ID. Not used, only for backwards compatibility.
563
606
  # @return [String]
@@ -587,7 +630,270 @@ module Aws::Pinpoint
587
630
  class APNSSandboxChannelResponse < Struct.new(
588
631
  :application_id,
589
632
  :creation_date,
633
+ :default_authentication_method,
634
+ :enabled,
635
+ :has_credential,
636
+ :has_token_key,
637
+ :id,
638
+ :is_archived,
639
+ :last_modified_by,
640
+ :last_modified_date,
641
+ :platform,
642
+ :version)
643
+ include Aws::Structure
644
+ end
645
+
646
+ # Apple VOIP Push Notification Service channel definition.
647
+ #
648
+ # @note When making an API call, you may pass APNSVoipChannelRequest
649
+ # data as a hash:
650
+ #
651
+ # {
652
+ # bundle_id: "__string",
653
+ # certificate: "__string",
654
+ # default_authentication_method: "__string",
655
+ # enabled: false,
656
+ # private_key: "__string",
657
+ # team_id: "__string",
658
+ # token_key: "__string",
659
+ # token_key_id: "__string",
660
+ # }
661
+ #
662
+ # @!attribute [rw] bundle_id
663
+ # The bundle id used for APNs Tokens.
664
+ # @return [String]
665
+ #
666
+ # @!attribute [rw] certificate
667
+ # The distribution certificate from Apple.
668
+ # @return [String]
669
+ #
670
+ # @!attribute [rw] default_authentication_method
671
+ # The default authentication method used for APNs.
672
+ # @return [String]
673
+ #
674
+ # @!attribute [rw] enabled
675
+ # If the channel is enabled for sending messages.
676
+ # @return [Boolean]
677
+ #
678
+ # @!attribute [rw] private_key
679
+ # The certificate private key.
680
+ # @return [String]
681
+ #
682
+ # @!attribute [rw] team_id
683
+ # The team id used for APNs Tokens.
684
+ # @return [String]
685
+ #
686
+ # @!attribute [rw] token_key
687
+ # The token key used for APNs Tokens.
688
+ # @return [String]
689
+ #
690
+ # @!attribute [rw] token_key_id
691
+ # The token key used for APNs Tokens.
692
+ # @return [String]
693
+ #
694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelRequest AWS API Documentation
695
+ #
696
+ class APNSVoipChannelRequest < Struct.new(
697
+ :bundle_id,
698
+ :certificate,
699
+ :default_authentication_method,
700
+ :enabled,
701
+ :private_key,
702
+ :team_id,
703
+ :token_key,
704
+ :token_key_id)
705
+ include Aws::Structure
706
+ end
707
+
708
+ # Apple VOIP Push Notification Service channel definition.
709
+ #
710
+ # @!attribute [rw] application_id
711
+ # Application id
712
+ # @return [String]
713
+ #
714
+ # @!attribute [rw] creation_date
715
+ # When was this segment created
716
+ # @return [String]
717
+ #
718
+ # @!attribute [rw] default_authentication_method
719
+ # The default authentication method used for APNs.
720
+ # @return [String]
721
+ #
722
+ # @!attribute [rw] enabled
723
+ # If the channel is enabled for sending messages.
724
+ # @return [Boolean]
725
+ #
726
+ # @!attribute [rw] has_credential
727
+ # If the channel is registered with a credential for authentication.
728
+ # @return [Boolean]
729
+ #
730
+ # @!attribute [rw] has_token_key
731
+ # If the channel is registered with a token key for authentication.
732
+ # @return [Boolean]
733
+ #
734
+ # @!attribute [rw] id
735
+ # Channel ID. Not used, only for backwards compatibility.
736
+ # @return [String]
737
+ #
738
+ # @!attribute [rw] is_archived
739
+ # Is this channel archived
740
+ # @return [Boolean]
741
+ #
742
+ # @!attribute [rw] last_modified_by
743
+ # Who made the last change
744
+ # @return [String]
745
+ #
746
+ # @!attribute [rw] last_modified_date
747
+ # Last date this was updated
748
+ # @return [String]
749
+ #
750
+ # @!attribute [rw] platform
751
+ # The platform type. Will be APNS.
752
+ # @return [String]
753
+ #
754
+ # @!attribute [rw] version
755
+ # Version of channel
756
+ # @return [Integer]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipChannelResponse AWS API Documentation
759
+ #
760
+ class APNSVoipChannelResponse < Struct.new(
761
+ :application_id,
762
+ :creation_date,
763
+ :default_authentication_method,
764
+ :enabled,
765
+ :has_credential,
766
+ :has_token_key,
767
+ :id,
768
+ :is_archived,
769
+ :last_modified_by,
770
+ :last_modified_date,
771
+ :platform,
772
+ :version)
773
+ include Aws::Structure
774
+ end
775
+
776
+ # Apple VOIP Developer Push Notification Service channel definition.
777
+ #
778
+ # @note When making an API call, you may pass APNSVoipSandboxChannelRequest
779
+ # data as a hash:
780
+ #
781
+ # {
782
+ # bundle_id: "__string",
783
+ # certificate: "__string",
784
+ # default_authentication_method: "__string",
785
+ # enabled: false,
786
+ # private_key: "__string",
787
+ # team_id: "__string",
788
+ # token_key: "__string",
789
+ # token_key_id: "__string",
790
+ # }
791
+ #
792
+ # @!attribute [rw] bundle_id
793
+ # The bundle id used for APNs Tokens.
794
+ # @return [String]
795
+ #
796
+ # @!attribute [rw] certificate
797
+ # The distribution certificate from Apple.
798
+ # @return [String]
799
+ #
800
+ # @!attribute [rw] default_authentication_method
801
+ # The default authentication method used for APNs.
802
+ # @return [String]
803
+ #
804
+ # @!attribute [rw] enabled
805
+ # If the channel is enabled for sending messages.
806
+ # @return [Boolean]
807
+ #
808
+ # @!attribute [rw] private_key
809
+ # The certificate private key.
810
+ # @return [String]
811
+ #
812
+ # @!attribute [rw] team_id
813
+ # The team id used for APNs Tokens.
814
+ # @return [String]
815
+ #
816
+ # @!attribute [rw] token_key
817
+ # The token key used for APNs Tokens.
818
+ # @return [String]
819
+ #
820
+ # @!attribute [rw] token_key_id
821
+ # The token key used for APNs Tokens.
822
+ # @return [String]
823
+ #
824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelRequest AWS API Documentation
825
+ #
826
+ class APNSVoipSandboxChannelRequest < Struct.new(
827
+ :bundle_id,
828
+ :certificate,
829
+ :default_authentication_method,
830
+ :enabled,
831
+ :private_key,
832
+ :team_id,
833
+ :token_key,
834
+ :token_key_id)
835
+ include Aws::Structure
836
+ end
837
+
838
+ # Apple VOIP Developer Push Notification Service channel definition.
839
+ #
840
+ # @!attribute [rw] application_id
841
+ # Application id
842
+ # @return [String]
843
+ #
844
+ # @!attribute [rw] creation_date
845
+ # When was this segment created
846
+ # @return [String]
847
+ #
848
+ # @!attribute [rw] default_authentication_method
849
+ # The default authentication method used for APNs.
850
+ # @return [String]
851
+ #
852
+ # @!attribute [rw] enabled
853
+ # If the channel is enabled for sending messages.
854
+ # @return [Boolean]
855
+ #
856
+ # @!attribute [rw] has_credential
857
+ # If the channel is registered with a credential for authentication.
858
+ # @return [Boolean]
859
+ #
860
+ # @!attribute [rw] has_token_key
861
+ # If the channel is registered with a token key for authentication.
862
+ # @return [Boolean]
863
+ #
864
+ # @!attribute [rw] id
865
+ # Channel ID. Not used, only for backwards compatibility.
866
+ # @return [String]
867
+ #
868
+ # @!attribute [rw] is_archived
869
+ # Is this channel archived
870
+ # @return [Boolean]
871
+ #
872
+ # @!attribute [rw] last_modified_by
873
+ # Who made the last change
874
+ # @return [String]
875
+ #
876
+ # @!attribute [rw] last_modified_date
877
+ # Last date this was updated
878
+ # @return [String]
879
+ #
880
+ # @!attribute [rw] platform
881
+ # The platform type. Will be APNS.
882
+ # @return [String]
883
+ #
884
+ # @!attribute [rw] version
885
+ # Version of channel
886
+ # @return [Integer]
887
+ #
888
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/APNSVoipSandboxChannelResponse AWS API Documentation
889
+ #
890
+ class APNSVoipSandboxChannelResponse < Struct.new(
891
+ :application_id,
892
+ :creation_date,
893
+ :default_authentication_method,
590
894
  :enabled,
895
+ :has_credential,
896
+ :has_token_key,
591
897
  :id,
592
898
  :is_archived,
593
899
  :last_modified_by,
@@ -695,7 +1001,7 @@ module Aws::Pinpoint
695
1001
  #
696
1002
  # {
697
1003
  # body_override: "__string",
698
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
1004
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
699
1005
  # context: {
700
1006
  # "__string" => "__string",
701
1007
  # },
@@ -888,6 +1194,10 @@ module Aws::Pinpoint
888
1194
  # If the channel is enabled for sending messages.
889
1195
  # @return [Boolean]
890
1196
  #
1197
+ # @!attribute [rw] has_credential
1198
+ # If the channel is registered with a credential for authentication.
1199
+ # @return [Boolean]
1200
+ #
891
1201
  # @!attribute [rw] id
892
1202
  # Channel ID. Not used, only for backwards compatibility.
893
1203
  # @return [String]
@@ -919,6 +1229,7 @@ module Aws::Pinpoint
919
1229
  :creation_date,
920
1230
  :credential,
921
1231
  :enabled,
1232
+ :has_credential,
922
1233
  :id,
923
1234
  :is_archived,
924
1235
  :last_modified_by,
@@ -942,7 +1253,6 @@ module Aws::Pinpoint
942
1253
  # icon_reference: "__string",
943
1254
  # image_icon_url: "__string",
944
1255
  # image_url: "__string",
945
- # json_data: "__string",
946
1256
  # raw_content: "__string",
947
1257
  # silent_push: false,
948
1258
  # small_image_icon_url: "__string",
@@ -986,11 +1296,6 @@ module Aws::Pinpoint
986
1296
  # The URL that points to an image used in the push notification.
987
1297
  # @return [String]
988
1298
  #
989
- # @!attribute [rw] json_data
990
- # The data payload used for a silent push. This payload is added to
991
- # the notifications' data.pinpoint.jsonBody' object
992
- # @return [String]
993
- #
994
1299
  # @!attribute [rw] raw_content
995
1300
  # The Raw JSON formatted string to be used as the payload. This value
996
1301
  # overrides the message.
@@ -1036,7 +1341,6 @@ module Aws::Pinpoint
1036
1341
  :icon_reference,
1037
1342
  :image_icon_url,
1038
1343
  :image_url,
1039
- :json_data,
1040
1344
  :raw_content,
1041
1345
  :silent_push,
1042
1346
  :small_image_icon_url,
@@ -1363,6 +1667,19 @@ module Aws::Pinpoint
1363
1667
  # additional_treatments: [
1364
1668
  # {
1365
1669
  # message_configuration: {
1670
+ # adm_message: {
1671
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1672
+ # body: "__string",
1673
+ # image_icon_url: "__string",
1674
+ # image_small_icon_url: "__string",
1675
+ # image_url: "__string",
1676
+ # json_body: "__string",
1677
+ # media_url: "__string",
1678
+ # raw_content: "__string",
1679
+ # silent_push: false,
1680
+ # title: "__string",
1681
+ # url: "__string",
1682
+ # },
1366
1683
  # apns_message: {
1367
1684
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1368
1685
  # body: "__string",
@@ -1376,6 +1693,19 @@ module Aws::Pinpoint
1376
1693
  # title: "__string",
1377
1694
  # url: "__string",
1378
1695
  # },
1696
+ # baidu_message: {
1697
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1698
+ # body: "__string",
1699
+ # image_icon_url: "__string",
1700
+ # image_small_icon_url: "__string",
1701
+ # image_url: "__string",
1702
+ # json_body: "__string",
1703
+ # media_url: "__string",
1704
+ # raw_content: "__string",
1705
+ # silent_push: false,
1706
+ # title: "__string",
1707
+ # url: "__string",
1708
+ # },
1379
1709
  # default_message: {
1380
1710
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1381
1711
  # body: "__string",
@@ -1440,6 +1770,19 @@ module Aws::Pinpoint
1440
1770
  # total: 1,
1441
1771
  # },
1442
1772
  # message_configuration: {
1773
+ # adm_message: {
1774
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1775
+ # body: "__string",
1776
+ # image_icon_url: "__string",
1777
+ # image_small_icon_url: "__string",
1778
+ # image_url: "__string",
1779
+ # json_body: "__string",
1780
+ # media_url: "__string",
1781
+ # raw_content: "__string",
1782
+ # silent_push: false,
1783
+ # title: "__string",
1784
+ # url: "__string",
1785
+ # },
1443
1786
  # apns_message: {
1444
1787
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1445
1788
  # body: "__string",
@@ -1453,6 +1796,19 @@ module Aws::Pinpoint
1453
1796
  # title: "__string",
1454
1797
  # url: "__string",
1455
1798
  # },
1799
+ # baidu_message: {
1800
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1801
+ # body: "__string",
1802
+ # image_icon_url: "__string",
1803
+ # image_small_icon_url: "__string",
1804
+ # image_url: "__string",
1805
+ # json_body: "__string",
1806
+ # media_url: "__string",
1807
+ # raw_content: "__string",
1808
+ # silent_push: false,
1809
+ # title: "__string",
1810
+ # url: "__string",
1811
+ # },
1456
1812
  # default_message: {
1457
1813
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
1458
1814
  # body: "__string",
@@ -1505,7 +1861,6 @@ module Aws::Pinpoint
1505
1861
  # },
1506
1862
  # segment_id: "__string",
1507
1863
  # segment_version: 1,
1508
- # trace: false,
1509
1864
  # treatment_description: "__string",
1510
1865
  # treatment_name: "__string",
1511
1866
  # },
@@ -1705,7 +2060,6 @@ module Aws::Pinpoint
1705
2060
  # data: {
1706
2061
  # "__string" => "__string",
1707
2062
  # },
1708
- # json_data: "__string",
1709
2063
  # silent_push: false,
1710
2064
  # substitutions: {
1711
2065
  # "__string" => ["__string"],
@@ -1733,11 +2087,6 @@ module Aws::Pinpoint
1733
2087
  # @!attribute [rw] data
1734
2088
  # @return [Hash<String,String>]
1735
2089
  #
1736
- # @!attribute [rw] json_data
1737
- # The data payload used for a silent push. This payload is added to
1738
- # the notifications' data.pinpoint.jsonBody' object
1739
- # @return [String]
1740
- #
1741
2090
  # @!attribute [rw] silent_push
1742
2091
  # Indicates if the message should display on the users device. Silent
1743
2092
  # pushes can be used for Remote Configuration and Phone Home use
@@ -1763,7 +2112,6 @@ module Aws::Pinpoint
1763
2112
  :action,
1764
2113
  :body,
1765
2114
  :data,
1766
- :json_data,
1767
2115
  :silent_push,
1768
2116
  :substitutions,
1769
2117
  :title,
@@ -1855,6 +2203,62 @@ module Aws::Pinpoint
1855
2203
  include Aws::Structure
1856
2204
  end
1857
2205
 
2206
+ # @note When making an API call, you may pass DeleteApnsVoipChannelRequest
2207
+ # data as a hash:
2208
+ #
2209
+ # {
2210
+ # application_id: "__string", # required
2211
+ # }
2212
+ #
2213
+ # @!attribute [rw] application_id
2214
+ # @return [String]
2215
+ #
2216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelRequest AWS API Documentation
2217
+ #
2218
+ class DeleteApnsVoipChannelRequest < Struct.new(
2219
+ :application_id)
2220
+ include Aws::Structure
2221
+ end
2222
+
2223
+ # @!attribute [rw] apns_voip_channel_response
2224
+ # Apple VOIP Push Notification Service channel definition.
2225
+ # @return [Types::APNSVoipChannelResponse]
2226
+ #
2227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannelResponse AWS API Documentation
2228
+ #
2229
+ class DeleteApnsVoipChannelResponse < Struct.new(
2230
+ :apns_voip_channel_response)
2231
+ include Aws::Structure
2232
+ end
2233
+
2234
+ # @note When making an API call, you may pass DeleteApnsVoipSandboxChannelRequest
2235
+ # data as a hash:
2236
+ #
2237
+ # {
2238
+ # application_id: "__string", # required
2239
+ # }
2240
+ #
2241
+ # @!attribute [rw] application_id
2242
+ # @return [String]
2243
+ #
2244
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelRequest AWS API Documentation
2245
+ #
2246
+ class DeleteApnsVoipSandboxChannelRequest < Struct.new(
2247
+ :application_id)
2248
+ include Aws::Structure
2249
+ end
2250
+
2251
+ # @!attribute [rw] apns_voip_sandbox_channel_response
2252
+ # Apple VOIP Developer Push Notification Service channel definition.
2253
+ # @return [Types::APNSVoipSandboxChannelResponse]
2254
+ #
2255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannelResponse AWS API Documentation
2256
+ #
2257
+ class DeleteApnsVoipSandboxChannelResponse < Struct.new(
2258
+ :apns_voip_sandbox_channel_response)
2259
+ include Aws::Structure
2260
+ end
2261
+
1858
2262
  # @note When making an API call, you may pass DeleteAppRequest
1859
2263
  # data as a hash:
1860
2264
  #
@@ -1980,6 +2384,7 @@ module Aws::Pinpoint
1980
2384
  # }
1981
2385
  #
1982
2386
  # @!attribute [rw] application_id
2387
+ # Application Id.
1983
2388
  # @return [String]
1984
2389
  #
1985
2390
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteEventStreamRequest AWS API Documentation
@@ -2106,7 +2511,6 @@ module Aws::Pinpoint
2106
2511
  # icon_reference: "__string",
2107
2512
  # image_icon_url: "__string",
2108
2513
  # image_url: "__string",
2109
- # json_data: "__string",
2110
2514
  # md5: "__string",
2111
2515
  # raw_content: "__string",
2112
2516
  # silent_push: false,
@@ -2123,12 +2527,13 @@ module Aws::Pinpoint
2123
2527
  # badge: 1,
2124
2528
  # body: "__string",
2125
2529
  # category: "__string",
2530
+ # collapse_id: "__string",
2126
2531
  # data: {
2127
2532
  # "__string" => "__string",
2128
2533
  # },
2129
- # json_data: "__string",
2130
2534
  # media_url: "__string",
2131
2535
  # preferred_authentication_method: "__string",
2536
+ # priority: "__string",
2132
2537
  # raw_content: "__string",
2133
2538
  # silent_push: false,
2134
2539
  # sound: "__string",
@@ -2136,6 +2541,7 @@ module Aws::Pinpoint
2136
2541
  # "__string" => ["__string"],
2137
2542
  # },
2138
2543
  # thread_id: "__string",
2544
+ # time_to_live: 1,
2139
2545
  # title: "__string",
2140
2546
  # url: "__string",
2141
2547
  # },
@@ -2148,7 +2554,6 @@ module Aws::Pinpoint
2148
2554
  # icon_reference: "__string",
2149
2555
  # image_icon_url: "__string",
2150
2556
  # image_url: "__string",
2151
- # json_data: "__string",
2152
2557
  # raw_content: "__string",
2153
2558
  # silent_push: false,
2154
2559
  # small_image_icon_url: "__string",
@@ -2171,7 +2576,6 @@ module Aws::Pinpoint
2171
2576
  # data: {
2172
2577
  # "__string" => "__string",
2173
2578
  # },
2174
- # json_data: "__string",
2175
2579
  # silent_push: false,
2176
2580
  # substitutions: {
2177
2581
  # "__string" => ["__string"],
@@ -2179,16 +2583,6 @@ module Aws::Pinpoint
2179
2583
  # title: "__string",
2180
2584
  # url: "__string",
2181
2585
  # },
2182
- # email_message: {
2183
- # body: "__string",
2184
- # from_address: "__string",
2185
- # html_body: "__string",
2186
- # substitutions: {
2187
- # "__string" => ["__string"],
2188
- # },
2189
- # template_arn: "__string",
2190
- # title: "__string",
2191
- # },
2192
2586
  # gcm_message: {
2193
2587
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
2194
2588
  # body: "__string",
@@ -2199,7 +2593,7 @@ module Aws::Pinpoint
2199
2593
  # icon_reference: "__string",
2200
2594
  # image_icon_url: "__string",
2201
2595
  # image_url: "__string",
2202
- # json_data: "__string",
2596
+ # priority: "__string",
2203
2597
  # raw_content: "__string",
2204
2598
  # restricted_package_name: "__string",
2205
2599
  # silent_push: false,
@@ -2208,6 +2602,7 @@ module Aws::Pinpoint
2208
2602
  # substitutions: {
2209
2603
  # "__string" => ["__string"],
2210
2604
  # },
2605
+ # time_to_live: 1,
2211
2606
  # title: "__string",
2212
2607
  # url: "__string",
2213
2608
  # },
@@ -2244,10 +2639,6 @@ module Aws::Pinpoint
2244
2639
  # The default push notification message for all push channels.
2245
2640
  # @return [Types::DefaultPushNotificationMessage]
2246
2641
  #
2247
- # @!attribute [rw] email_message
2248
- # The message to Email channels. Overrides the default message.
2249
- # @return [Types::EmailMessage]
2250
- #
2251
2642
  # @!attribute [rw] gcm_message
2252
2643
  # The message to GCM channels. Overrides the default push notification
2253
2644
  # message.
@@ -2265,7 +2656,6 @@ module Aws::Pinpoint
2265
2656
  :baidu_message,
2266
2657
  :default_message,
2267
2658
  :default_push_notification_message,
2268
- :email_message,
2269
2659
  :gcm_message,
2270
2660
  :sms_message)
2271
2661
  include Aws::Structure
@@ -2328,6 +2718,10 @@ module Aws::Pinpoint
2328
2718
  # The email address used to send emails from.
2329
2719
  # @return [String]
2330
2720
  #
2721
+ # @!attribute [rw] has_credential
2722
+ # If the channel is registered with a credential for authentication.
2723
+ # @return [Boolean]
2724
+ #
2331
2725
  # @!attribute [rw] id
2332
2726
  # Channel ID. Not used, only for backwards compatibility.
2333
2727
  # @return [String]
@@ -2368,6 +2762,7 @@ module Aws::Pinpoint
2368
2762
  :creation_date,
2369
2763
  :enabled,
2370
2764
  :from_address,
2765
+ :has_credential,
2371
2766
  :id,
2372
2767
  :identity,
2373
2768
  :is_archived,
@@ -2379,59 +2774,6 @@ module Aws::Pinpoint
2379
2774
  include Aws::Structure
2380
2775
  end
2381
2776
 
2382
- # Email Message.
2383
- #
2384
- # @note When making an API call, you may pass EmailMessage
2385
- # data as a hash:
2386
- #
2387
- # {
2388
- # body: "__string",
2389
- # from_address: "__string",
2390
- # html_body: "__string",
2391
- # substitutions: {
2392
- # "__string" => ["__string"],
2393
- # },
2394
- # template_arn: "__string",
2395
- # title: "__string",
2396
- # }
2397
- #
2398
- # @!attribute [rw] body
2399
- # The message body of the notification, the email body or the text
2400
- # message.
2401
- # @return [String]
2402
- #
2403
- # @!attribute [rw] from_address
2404
- # The email address used to send the email from. Defaults to use
2405
- # FromAddress specified in the Email Channel.
2406
- # @return [String]
2407
- #
2408
- # @!attribute [rw] html_body
2409
- # The HTML part of the email.
2410
- # @return [String]
2411
- #
2412
- # @!attribute [rw] substitutions
2413
- # @return [Hash<String,Array<String>>]
2414
- #
2415
- # @!attribute [rw] template_arn
2416
- # The ARN of the template to use for the email.
2417
- # @return [String]
2418
- #
2419
- # @!attribute [rw] title
2420
- # The subject of the email.
2421
- # @return [String]
2422
- #
2423
- # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/EmailMessage AWS API Documentation
2424
- #
2425
- class EmailMessage < Struct.new(
2426
- :body,
2427
- :from_address,
2428
- :html_body,
2429
- :substitutions,
2430
- :template_arn,
2431
- :title)
2432
- include Aws::Structure
2433
- end
2434
-
2435
2777
  # Endpoint update request
2436
2778
  #
2437
2779
  # @note When making an API call, you may pass EndpointBatchItem
@@ -2442,7 +2784,7 @@ module Aws::Pinpoint
2442
2784
  # attributes: {
2443
2785
  # "__string" => ["__string"],
2444
2786
  # },
2445
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
2787
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
2446
2788
  # demographic: {
2447
2789
  # app_version: "__string",
2448
2790
  # locale: "__string",
@@ -2559,7 +2901,7 @@ module Aws::Pinpoint
2559
2901
  # attributes: {
2560
2902
  # "__string" => ["__string"],
2561
2903
  # },
2562
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
2904
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
2563
2905
  # demographic: {
2564
2906
  # app_version: "__string",
2565
2907
  # locale: "__string",
@@ -2768,7 +3110,7 @@ module Aws::Pinpoint
2768
3110
  # attributes: {
2769
3111
  # "__string" => ["__string"],
2770
3112
  # },
2771
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
3113
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
2772
3114
  # demographic: {
2773
3115
  # app_version: "__string",
2774
3116
  # locale: "__string",
@@ -2934,10 +3276,6 @@ module Aws::Pinpoint
2934
3276
  # The unique ID for the most recent request to update the endpoint.
2935
3277
  # @return [String]
2936
3278
  #
2937
- # @!attribute [rw] shard_id
2938
- # The ShardId of endpoint.
2939
- # @return [String]
2940
- #
2941
3279
  # @!attribute [rw] user
2942
3280
  # Custom user-specific attributes that your app reports to Amazon
2943
3281
  # Pinpoint.
@@ -2960,7 +3298,6 @@ module Aws::Pinpoint
2960
3298
  :metrics,
2961
3299
  :opt_out,
2962
3300
  :request_id,
2963
- :shard_id,
2964
3301
  :user)
2965
3302
  include Aws::Structure
2966
3303
  end
@@ -3128,6 +3465,10 @@ module Aws::Pinpoint
3128
3465
  # If the channel is enabled for sending messages.
3129
3466
  # @return [Boolean]
3130
3467
  #
3468
+ # @!attribute [rw] has_credential
3469
+ # If the channel is registered with a credential for authentication.
3470
+ # @return [Boolean]
3471
+ #
3131
3472
  # @!attribute [rw] id
3132
3473
  # Channel ID. Not used. Present only for backwards compatibility.
3133
3474
  # @return [String]
@@ -3159,6 +3500,7 @@ module Aws::Pinpoint
3159
3500
  :creation_date,
3160
3501
  :credential,
3161
3502
  :enabled,
3503
+ :has_credential,
3162
3504
  :id,
3163
3505
  :is_archived,
3164
3506
  :last_modified_by,
@@ -3183,7 +3525,7 @@ module Aws::Pinpoint
3183
3525
  # icon_reference: "__string",
3184
3526
  # image_icon_url: "__string",
3185
3527
  # image_url: "__string",
3186
- # json_data: "__string",
3528
+ # priority: "__string",
3187
3529
  # raw_content: "__string",
3188
3530
  # restricted_package_name: "__string",
3189
3531
  # silent_push: false,
@@ -3192,6 +3534,7 @@ module Aws::Pinpoint
3192
3534
  # substitutions: {
3193
3535
  # "__string" => ["__string"],
3194
3536
  # },
3537
+ # time_to_live: 1,
3195
3538
  # title: "__string",
3196
3539
  # url: "__string",
3197
3540
  # }
@@ -3236,9 +3579,8 @@ module Aws::Pinpoint
3236
3579
  # The URL that points to an image used in the push notification.
3237
3580
  # @return [String]
3238
3581
  #
3239
- # @!attribute [rw] json_data
3240
- # The data payload used for a silent push. This payload is added to
3241
- # the notifications' data.pinpoint.jsonBody' object
3582
+ # @!attribute [rw] priority
3583
+ # Is this a transaction priority message or lower priority.
3242
3584
  # @return [String]
3243
3585
  #
3244
3586
  # @!attribute [rw] raw_content
@@ -3272,6 +3614,12 @@ module Aws::Pinpoint
3272
3614
  # @!attribute [rw] substitutions
3273
3615
  # @return [Hash<String,Array<String>>]
3274
3616
  #
3617
+ # @!attribute [rw] time_to_live
3618
+ # This parameter specifies how long (in seconds) the message should be
3619
+ # kept in GCM storage if the device is offline. The maximum time to
3620
+ # live supported is 4 weeks, and the default value is 4 weeks.
3621
+ # @return [Integer]
3622
+ #
3275
3623
  # @!attribute [rw] title
3276
3624
  # The message title that displays above the message on the user's
3277
3625
  # device.
@@ -3292,13 +3640,14 @@ module Aws::Pinpoint
3292
3640
  :icon_reference,
3293
3641
  :image_icon_url,
3294
3642
  :image_url,
3295
- :json_data,
3643
+ :priority,
3296
3644
  :raw_content,
3297
3645
  :restricted_package_name,
3298
3646
  :silent_push,
3299
3647
  :small_image_icon_url,
3300
3648
  :sound,
3301
3649
  :substitutions,
3650
+ :time_to_live,
3302
3651
  :title,
3303
3652
  :url)
3304
3653
  include Aws::Structure
@@ -3388,6 +3737,62 @@ module Aws::Pinpoint
3388
3737
  include Aws::Structure
3389
3738
  end
3390
3739
 
3740
+ # @note When making an API call, you may pass GetApnsVoipChannelRequest
3741
+ # data as a hash:
3742
+ #
3743
+ # {
3744
+ # application_id: "__string", # required
3745
+ # }
3746
+ #
3747
+ # @!attribute [rw] application_id
3748
+ # @return [String]
3749
+ #
3750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelRequest AWS API Documentation
3751
+ #
3752
+ class GetApnsVoipChannelRequest < Struct.new(
3753
+ :application_id)
3754
+ include Aws::Structure
3755
+ end
3756
+
3757
+ # @!attribute [rw] apns_voip_channel_response
3758
+ # Apple VOIP Push Notification Service channel definition.
3759
+ # @return [Types::APNSVoipChannelResponse]
3760
+ #
3761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannelResponse AWS API Documentation
3762
+ #
3763
+ class GetApnsVoipChannelResponse < Struct.new(
3764
+ :apns_voip_channel_response)
3765
+ include Aws::Structure
3766
+ end
3767
+
3768
+ # @note When making an API call, you may pass GetApnsVoipSandboxChannelRequest
3769
+ # data as a hash:
3770
+ #
3771
+ # {
3772
+ # application_id: "__string", # required
3773
+ # }
3774
+ #
3775
+ # @!attribute [rw] application_id
3776
+ # @return [String]
3777
+ #
3778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelRequest AWS API Documentation
3779
+ #
3780
+ class GetApnsVoipSandboxChannelRequest < Struct.new(
3781
+ :application_id)
3782
+ include Aws::Structure
3783
+ end
3784
+
3785
+ # @!attribute [rw] apns_voip_sandbox_channel_response
3786
+ # Apple VOIP Developer Push Notification Service channel definition.
3787
+ # @return [Types::APNSVoipSandboxChannelResponse]
3788
+ #
3789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannelResponse AWS API Documentation
3790
+ #
3791
+ class GetApnsVoipSandboxChannelResponse < Struct.new(
3792
+ :apns_voip_sandbox_channel_response)
3793
+ include Aws::Structure
3794
+ end
3795
+
3391
3796
  # @note When making an API call, you may pass GetAppRequest
3392
3797
  # data as a hash:
3393
3798
  #
@@ -3769,6 +4174,7 @@ module Aws::Pinpoint
3769
4174
  # }
3770
4175
  #
3771
4176
  # @!attribute [rw] application_id
4177
+ # Application Id.
3772
4178
  # @return [String]
3773
4179
  #
3774
4180
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetEventStreamRequest AWS API Documentation
@@ -4450,6 +4856,19 @@ module Aws::Pinpoint
4450
4856
  # data as a hash:
4451
4857
  #
4452
4858
  # {
4859
+ # adm_message: {
4860
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4861
+ # body: "__string",
4862
+ # image_icon_url: "__string",
4863
+ # image_small_icon_url: "__string",
4864
+ # image_url: "__string",
4865
+ # json_body: "__string",
4866
+ # media_url: "__string",
4867
+ # raw_content: "__string",
4868
+ # silent_push: false,
4869
+ # title: "__string",
4870
+ # url: "__string",
4871
+ # },
4453
4872
  # apns_message: {
4454
4873
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4455
4874
  # body: "__string",
@@ -4463,6 +4882,19 @@ module Aws::Pinpoint
4463
4882
  # title: "__string",
4464
4883
  # url: "__string",
4465
4884
  # },
4885
+ # baidu_message: {
4886
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4887
+ # body: "__string",
4888
+ # image_icon_url: "__string",
4889
+ # image_small_icon_url: "__string",
4890
+ # image_url: "__string",
4891
+ # json_body: "__string",
4892
+ # media_url: "__string",
4893
+ # raw_content: "__string",
4894
+ # silent_push: false,
4895
+ # title: "__string",
4896
+ # url: "__string",
4897
+ # },
4466
4898
  # default_message: {
4467
4899
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4468
4900
  # body: "__string",
@@ -4502,8 +4934,18 @@ module Aws::Pinpoint
4502
4934
  # },
4503
4935
  # }
4504
4936
  #
4505
- # @!attribute [rw] apns_message
4506
- # The message that the campaign delivers to APNS channels. Overrides
4937
+ # @!attribute [rw] adm_message
4938
+ # The message that the campaign delivers to ADM channels. Overrides
4939
+ # the default message.
4940
+ # @return [Types::Message]
4941
+ #
4942
+ # @!attribute [rw] apns_message
4943
+ # The message that the campaign delivers to APNS channels. Overrides
4944
+ # the default message.
4945
+ # @return [Types::Message]
4946
+ #
4947
+ # @!attribute [rw] baidu_message
4948
+ # The message that the campaign delivers to Baidu channels. Overrides
4507
4949
  # the default message.
4508
4950
  # @return [Types::Message]
4509
4951
  #
@@ -4527,7 +4969,9 @@ module Aws::Pinpoint
4527
4969
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageConfiguration AWS API Documentation
4528
4970
  #
4529
4971
  class MessageConfiguration < Struct.new(
4972
+ :adm_message,
4530
4973
  :apns_message,
4974
+ :baidu_message,
4531
4975
  :default_message,
4532
4976
  :email_message,
4533
4977
  :gcm_message,
@@ -4544,7 +4988,7 @@ module Aws::Pinpoint
4544
4988
  # addresses: {
4545
4989
  # "__string" => {
4546
4990
  # body_override: "__string",
4547
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
4991
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
4548
4992
  # context: {
4549
4993
  # "__string" => "__string",
4550
4994
  # },
@@ -4555,9 +4999,6 @@ module Aws::Pinpoint
4555
4999
  # title_override: "__string",
4556
5000
  # },
4557
5001
  # },
4558
- # campaign: {
4559
- # "__string" => "__string",
4560
- # },
4561
5002
  # context: {
4562
5003
  # "__string" => "__string",
4563
5004
  # },
@@ -4586,7 +5027,6 @@ module Aws::Pinpoint
4586
5027
  # icon_reference: "__string",
4587
5028
  # image_icon_url: "__string",
4588
5029
  # image_url: "__string",
4589
- # json_data: "__string",
4590
5030
  # md5: "__string",
4591
5031
  # raw_content: "__string",
4592
5032
  # silent_push: false,
@@ -4603,12 +5043,13 @@ module Aws::Pinpoint
4603
5043
  # badge: 1,
4604
5044
  # body: "__string",
4605
5045
  # category: "__string",
5046
+ # collapse_id: "__string",
4606
5047
  # data: {
4607
5048
  # "__string" => "__string",
4608
5049
  # },
4609
- # json_data: "__string",
4610
5050
  # media_url: "__string",
4611
5051
  # preferred_authentication_method: "__string",
5052
+ # priority: "__string",
4612
5053
  # raw_content: "__string",
4613
5054
  # silent_push: false,
4614
5055
  # sound: "__string",
@@ -4616,6 +5057,7 @@ module Aws::Pinpoint
4616
5057
  # "__string" => ["__string"],
4617
5058
  # },
4618
5059
  # thread_id: "__string",
5060
+ # time_to_live: 1,
4619
5061
  # title: "__string",
4620
5062
  # url: "__string",
4621
5063
  # },
@@ -4628,7 +5070,6 @@ module Aws::Pinpoint
4628
5070
  # icon_reference: "__string",
4629
5071
  # image_icon_url: "__string",
4630
5072
  # image_url: "__string",
4631
- # json_data: "__string",
4632
5073
  # raw_content: "__string",
4633
5074
  # silent_push: false,
4634
5075
  # small_image_icon_url: "__string",
@@ -4651,7 +5092,6 @@ module Aws::Pinpoint
4651
5092
  # data: {
4652
5093
  # "__string" => "__string",
4653
5094
  # },
4654
- # json_data: "__string",
4655
5095
  # silent_push: false,
4656
5096
  # substitutions: {
4657
5097
  # "__string" => ["__string"],
@@ -4659,16 +5099,6 @@ module Aws::Pinpoint
4659
5099
  # title: "__string",
4660
5100
  # url: "__string",
4661
5101
  # },
4662
- # email_message: {
4663
- # body: "__string",
4664
- # from_address: "__string",
4665
- # html_body: "__string",
4666
- # substitutions: {
4667
- # "__string" => ["__string"],
4668
- # },
4669
- # template_arn: "__string",
4670
- # title: "__string",
4671
- # },
4672
5102
  # gcm_message: {
4673
5103
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4674
5104
  # body: "__string",
@@ -4679,7 +5109,7 @@ module Aws::Pinpoint
4679
5109
  # icon_reference: "__string",
4680
5110
  # image_icon_url: "__string",
4681
5111
  # image_url: "__string",
4682
- # json_data: "__string",
5112
+ # priority: "__string",
4683
5113
  # raw_content: "__string",
4684
5114
  # restricted_package_name: "__string",
4685
5115
  # silent_push: false,
@@ -4688,6 +5118,7 @@ module Aws::Pinpoint
4688
5118
  # substitutions: {
4689
5119
  # "__string" => ["__string"],
4690
5120
  # },
5121
+ # time_to_live: 1,
4691
5122
  # title: "__string",
4692
5123
  # url: "__string",
4693
5124
  # },
@@ -4700,7 +5131,6 @@ module Aws::Pinpoint
4700
5131
  # },
4701
5132
  # },
4702
5133
  # },
4703
- # request_id: "__string",
4704
5134
  # }
4705
5135
  #
4706
5136
  # @!attribute [rw] addresses
@@ -4709,9 +5139,6 @@ module Aws::Pinpoint
4709
5139
  # as the value.
4710
5140
  # @return [Hash<String,Types::AddressConfiguration>]
4711
5141
  #
4712
- # @!attribute [rw] campaign
4713
- # @return [Hash<String,String>]
4714
- #
4715
5142
  # @!attribute [rw] context
4716
5143
  # @return [Hash<String,String>]
4717
5144
  #
@@ -4725,19 +5152,13 @@ module Aws::Pinpoint
4725
5152
  # Message configuration.
4726
5153
  # @return [Types::DirectMessageConfiguration]
4727
5154
  #
4728
- # @!attribute [rw] request_id
4729
- # Original request Id for which this message is delivered.
4730
- # @return [String]
4731
- #
4732
5155
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/MessageRequest AWS API Documentation
4733
5156
  #
4734
5157
  class MessageRequest < Struct.new(
4735
5158
  :addresses,
4736
- :campaign,
4737
5159
  :context,
4738
5160
  :endpoints,
4739
- :message_configuration,
4740
- :request_id)
5161
+ :message_configuration)
4741
5162
  include Aws::Structure
4742
5163
  end
4743
5164
 
@@ -4807,16 +5228,16 @@ module Aws::Pinpoint
4807
5228
  # application_id: "__string", # required
4808
5229
  # write_event_stream: { # required
4809
5230
  # destination_stream_arn: "__string",
4810
- # external_id: "__string",
4811
5231
  # role_arn: "__string",
4812
5232
  # },
4813
5233
  # }
4814
5234
  #
4815
5235
  # @!attribute [rw] application_id
5236
+ # Application Id.
4816
5237
  # @return [String]
4817
5238
  #
4818
5239
  # @!attribute [rw] write_event_stream
4819
- # Request to save an EventStream.
5240
+ # Write event stream wrapper.
4820
5241
  # @return [Types::WriteEventStream]
4821
5242
  #
4822
5243
  # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/PutEventStreamRequest AWS API Documentation
@@ -4940,6 +5361,10 @@ module Aws::Pinpoint
4940
5361
  # If the channel is enabled for sending messages.
4941
5362
  # @return [Boolean]
4942
5363
  #
5364
+ # @!attribute [rw] has_credential
5365
+ # If the channel is registered with a credential for authentication.
5366
+ # @return [Boolean]
5367
+ #
4943
5368
  # @!attribute [rw] id
4944
5369
  # Channel ID. Not used, only for backwards compatibility.
4945
5370
  # @return [String]
@@ -4978,6 +5403,7 @@ module Aws::Pinpoint
4978
5403
  :application_id,
4979
5404
  :creation_date,
4980
5405
  :enabled,
5406
+ :has_credential,
4981
5407
  :id,
4982
5408
  :is_archived,
4983
5409
  :last_modified_by,
@@ -5421,7 +5847,7 @@ module Aws::Pinpoint
5421
5847
  # addresses: {
5422
5848
  # "__string" => {
5423
5849
  # body_override: "__string",
5424
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
5850
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
5425
5851
  # context: {
5426
5852
  # "__string" => "__string",
5427
5853
  # },
@@ -5432,9 +5858,6 @@ module Aws::Pinpoint
5432
5858
  # title_override: "__string",
5433
5859
  # },
5434
5860
  # },
5435
- # campaign: {
5436
- # "__string" => "__string",
5437
- # },
5438
5861
  # context: {
5439
5862
  # "__string" => "__string",
5440
5863
  # },
@@ -5463,7 +5886,6 @@ module Aws::Pinpoint
5463
5886
  # icon_reference: "__string",
5464
5887
  # image_icon_url: "__string",
5465
5888
  # image_url: "__string",
5466
- # json_data: "__string",
5467
5889
  # md5: "__string",
5468
5890
  # raw_content: "__string",
5469
5891
  # silent_push: false,
@@ -5480,12 +5902,13 @@ module Aws::Pinpoint
5480
5902
  # badge: 1,
5481
5903
  # body: "__string",
5482
5904
  # category: "__string",
5905
+ # collapse_id: "__string",
5483
5906
  # data: {
5484
5907
  # "__string" => "__string",
5485
5908
  # },
5486
- # json_data: "__string",
5487
5909
  # media_url: "__string",
5488
5910
  # preferred_authentication_method: "__string",
5911
+ # priority: "__string",
5489
5912
  # raw_content: "__string",
5490
5913
  # silent_push: false,
5491
5914
  # sound: "__string",
@@ -5493,6 +5916,7 @@ module Aws::Pinpoint
5493
5916
  # "__string" => ["__string"],
5494
5917
  # },
5495
5918
  # thread_id: "__string",
5919
+ # time_to_live: 1,
5496
5920
  # title: "__string",
5497
5921
  # url: "__string",
5498
5922
  # },
@@ -5505,7 +5929,6 @@ module Aws::Pinpoint
5505
5929
  # icon_reference: "__string",
5506
5930
  # image_icon_url: "__string",
5507
5931
  # image_url: "__string",
5508
- # json_data: "__string",
5509
5932
  # raw_content: "__string",
5510
5933
  # silent_push: false,
5511
5934
  # small_image_icon_url: "__string",
@@ -5528,7 +5951,6 @@ module Aws::Pinpoint
5528
5951
  # data: {
5529
5952
  # "__string" => "__string",
5530
5953
  # },
5531
- # json_data: "__string",
5532
5954
  # silent_push: false,
5533
5955
  # substitutions: {
5534
5956
  # "__string" => ["__string"],
@@ -5536,16 +5958,6 @@ module Aws::Pinpoint
5536
5958
  # title: "__string",
5537
5959
  # url: "__string",
5538
5960
  # },
5539
- # email_message: {
5540
- # body: "__string",
5541
- # from_address: "__string",
5542
- # html_body: "__string",
5543
- # substitutions: {
5544
- # "__string" => ["__string"],
5545
- # },
5546
- # template_arn: "__string",
5547
- # title: "__string",
5548
- # },
5549
5961
  # gcm_message: {
5550
5962
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
5551
5963
  # body: "__string",
@@ -5556,7 +5968,7 @@ module Aws::Pinpoint
5556
5968
  # icon_reference: "__string",
5557
5969
  # image_icon_url: "__string",
5558
5970
  # image_url: "__string",
5559
- # json_data: "__string",
5971
+ # priority: "__string",
5560
5972
  # raw_content: "__string",
5561
5973
  # restricted_package_name: "__string",
5562
5974
  # silent_push: false,
@@ -5565,6 +5977,7 @@ module Aws::Pinpoint
5565
5977
  # substitutions: {
5566
5978
  # "__string" => ["__string"],
5567
5979
  # },
5980
+ # time_to_live: 1,
5568
5981
  # title: "__string",
5569
5982
  # url: "__string",
5570
5983
  # },
@@ -5577,7 +5990,6 @@ module Aws::Pinpoint
5577
5990
  # },
5578
5991
  # },
5579
5992
  # },
5580
- # request_id: "__string",
5581
5993
  # },
5582
5994
  # }
5583
5995
  #
@@ -5628,7 +6040,6 @@ module Aws::Pinpoint
5628
6040
  # icon_reference: "__string",
5629
6041
  # image_icon_url: "__string",
5630
6042
  # image_url: "__string",
5631
- # json_data: "__string",
5632
6043
  # md5: "__string",
5633
6044
  # raw_content: "__string",
5634
6045
  # silent_push: false,
@@ -5645,12 +6056,13 @@ module Aws::Pinpoint
5645
6056
  # badge: 1,
5646
6057
  # body: "__string",
5647
6058
  # category: "__string",
6059
+ # collapse_id: "__string",
5648
6060
  # data: {
5649
6061
  # "__string" => "__string",
5650
6062
  # },
5651
- # json_data: "__string",
5652
6063
  # media_url: "__string",
5653
6064
  # preferred_authentication_method: "__string",
6065
+ # priority: "__string",
5654
6066
  # raw_content: "__string",
5655
6067
  # silent_push: false,
5656
6068
  # sound: "__string",
@@ -5658,6 +6070,7 @@ module Aws::Pinpoint
5658
6070
  # "__string" => ["__string"],
5659
6071
  # },
5660
6072
  # thread_id: "__string",
6073
+ # time_to_live: 1,
5661
6074
  # title: "__string",
5662
6075
  # url: "__string",
5663
6076
  # },
@@ -5670,7 +6083,6 @@ module Aws::Pinpoint
5670
6083
  # icon_reference: "__string",
5671
6084
  # image_icon_url: "__string",
5672
6085
  # image_url: "__string",
5673
- # json_data: "__string",
5674
6086
  # raw_content: "__string",
5675
6087
  # silent_push: false,
5676
6088
  # small_image_icon_url: "__string",
@@ -5693,7 +6105,6 @@ module Aws::Pinpoint
5693
6105
  # data: {
5694
6106
  # "__string" => "__string",
5695
6107
  # },
5696
- # json_data: "__string",
5697
6108
  # silent_push: false,
5698
6109
  # substitutions: {
5699
6110
  # "__string" => ["__string"],
@@ -5701,16 +6112,6 @@ module Aws::Pinpoint
5701
6112
  # title: "__string",
5702
6113
  # url: "__string",
5703
6114
  # },
5704
- # email_message: {
5705
- # body: "__string",
5706
- # from_address: "__string",
5707
- # html_body: "__string",
5708
- # substitutions: {
5709
- # "__string" => ["__string"],
5710
- # },
5711
- # template_arn: "__string",
5712
- # title: "__string",
5713
- # },
5714
6115
  # gcm_message: {
5715
6116
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
5716
6117
  # body: "__string",
@@ -5721,7 +6122,7 @@ module Aws::Pinpoint
5721
6122
  # icon_reference: "__string",
5722
6123
  # image_icon_url: "__string",
5723
6124
  # image_url: "__string",
5724
- # json_data: "__string",
6125
+ # priority: "__string",
5725
6126
  # raw_content: "__string",
5726
6127
  # restricted_package_name: "__string",
5727
6128
  # silent_push: false,
@@ -5730,6 +6131,7 @@ module Aws::Pinpoint
5730
6131
  # substitutions: {
5731
6132
  # "__string" => ["__string"],
5732
6133
  # },
6134
+ # time_to_live: 1,
5733
6135
  # title: "__string",
5734
6136
  # url: "__string",
5735
6137
  # },
@@ -5742,7 +6144,6 @@ module Aws::Pinpoint
5742
6144
  # },
5743
6145
  # },
5744
6146
  # },
5745
- # request_id: "__string",
5746
6147
  # users: {
5747
6148
  # "__string" => {
5748
6149
  # body_override: "__string",
@@ -5765,10 +6166,6 @@ module Aws::Pinpoint
5765
6166
  # Message configuration.
5766
6167
  # @return [Types::DirectMessageConfiguration]
5767
6168
  #
5768
- # @!attribute [rw] request_id
5769
- # Original request Id for which this message is delivered.
5770
- # @return [String]
5771
- #
5772
6169
  # @!attribute [rw] users
5773
6170
  # A map of destination endpoints, with the EndpointId as the key
5774
6171
  # Endpoint Message Configuration as the value.
@@ -5779,7 +6176,6 @@ module Aws::Pinpoint
5779
6176
  class SendUsersMessageRequest < Struct.new(
5780
6177
  :context,
5781
6178
  :message_configuration,
5782
- :request_id,
5783
6179
  :users)
5784
6180
  include Aws::Structure
5785
6181
  end
@@ -5829,7 +6225,6 @@ module Aws::Pinpoint
5829
6225
  # icon_reference: "__string",
5830
6226
  # image_icon_url: "__string",
5831
6227
  # image_url: "__string",
5832
- # json_data: "__string",
5833
6228
  # md5: "__string",
5834
6229
  # raw_content: "__string",
5835
6230
  # silent_push: false,
@@ -5846,12 +6241,13 @@ module Aws::Pinpoint
5846
6241
  # badge: 1,
5847
6242
  # body: "__string",
5848
6243
  # category: "__string",
6244
+ # collapse_id: "__string",
5849
6245
  # data: {
5850
6246
  # "__string" => "__string",
5851
6247
  # },
5852
- # json_data: "__string",
5853
6248
  # media_url: "__string",
5854
6249
  # preferred_authentication_method: "__string",
6250
+ # priority: "__string",
5855
6251
  # raw_content: "__string",
5856
6252
  # silent_push: false,
5857
6253
  # sound: "__string",
@@ -5859,6 +6255,7 @@ module Aws::Pinpoint
5859
6255
  # "__string" => ["__string"],
5860
6256
  # },
5861
6257
  # thread_id: "__string",
6258
+ # time_to_live: 1,
5862
6259
  # title: "__string",
5863
6260
  # url: "__string",
5864
6261
  # },
@@ -5871,7 +6268,6 @@ module Aws::Pinpoint
5871
6268
  # icon_reference: "__string",
5872
6269
  # image_icon_url: "__string",
5873
6270
  # image_url: "__string",
5874
- # json_data: "__string",
5875
6271
  # raw_content: "__string",
5876
6272
  # silent_push: false,
5877
6273
  # small_image_icon_url: "__string",
@@ -5894,7 +6290,6 @@ module Aws::Pinpoint
5894
6290
  # data: {
5895
6291
  # "__string" => "__string",
5896
6292
  # },
5897
- # json_data: "__string",
5898
6293
  # silent_push: false,
5899
6294
  # substitutions: {
5900
6295
  # "__string" => ["__string"],
@@ -5902,16 +6297,6 @@ module Aws::Pinpoint
5902
6297
  # title: "__string",
5903
6298
  # url: "__string",
5904
6299
  # },
5905
- # email_message: {
5906
- # body: "__string",
5907
- # from_address: "__string",
5908
- # html_body: "__string",
5909
- # substitutions: {
5910
- # "__string" => ["__string"],
5911
- # },
5912
- # template_arn: "__string",
5913
- # title: "__string",
5914
- # },
5915
6300
  # gcm_message: {
5916
6301
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
5917
6302
  # body: "__string",
@@ -5922,7 +6307,7 @@ module Aws::Pinpoint
5922
6307
  # icon_reference: "__string",
5923
6308
  # image_icon_url: "__string",
5924
6309
  # image_url: "__string",
5925
- # json_data: "__string",
6310
+ # priority: "__string",
5926
6311
  # raw_content: "__string",
5927
6312
  # restricted_package_name: "__string",
5928
6313
  # silent_push: false,
@@ -5931,6 +6316,7 @@ module Aws::Pinpoint
5931
6316
  # substitutions: {
5932
6317
  # "__string" => ["__string"],
5933
6318
  # },
6319
+ # time_to_live: 1,
5934
6320
  # title: "__string",
5935
6321
  # url: "__string",
5936
6322
  # },
@@ -5943,7 +6329,6 @@ module Aws::Pinpoint
5943
6329
  # },
5944
6330
  # },
5945
6331
  # },
5946
- # request_id: "__string",
5947
6332
  # users: {
5948
6333
  # "__string" => {
5949
6334
  # body_override: "__string",
@@ -6180,6 +6565,92 @@ module Aws::Pinpoint
6180
6565
  include Aws::Structure
6181
6566
  end
6182
6567
 
6568
+ # @note When making an API call, you may pass UpdateApnsVoipChannelRequest
6569
+ # data as a hash:
6570
+ #
6571
+ # {
6572
+ # apns_voip_channel_request: { # required
6573
+ # bundle_id: "__string",
6574
+ # certificate: "__string",
6575
+ # default_authentication_method: "__string",
6576
+ # enabled: false,
6577
+ # private_key: "__string",
6578
+ # team_id: "__string",
6579
+ # token_key: "__string",
6580
+ # token_key_id: "__string",
6581
+ # },
6582
+ # application_id: "__string", # required
6583
+ # }
6584
+ #
6585
+ # @!attribute [rw] apns_voip_channel_request
6586
+ # Apple VOIP Push Notification Service channel definition.
6587
+ # @return [Types::APNSVoipChannelRequest]
6588
+ #
6589
+ # @!attribute [rw] application_id
6590
+ # @return [String]
6591
+ #
6592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelRequest AWS API Documentation
6593
+ #
6594
+ class UpdateApnsVoipChannelRequest < Struct.new(
6595
+ :apns_voip_channel_request,
6596
+ :application_id)
6597
+ include Aws::Structure
6598
+ end
6599
+
6600
+ # @!attribute [rw] apns_voip_channel_response
6601
+ # Apple VOIP Push Notification Service channel definition.
6602
+ # @return [Types::APNSVoipChannelResponse]
6603
+ #
6604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannelResponse AWS API Documentation
6605
+ #
6606
+ class UpdateApnsVoipChannelResponse < Struct.new(
6607
+ :apns_voip_channel_response)
6608
+ include Aws::Structure
6609
+ end
6610
+
6611
+ # @note When making an API call, you may pass UpdateApnsVoipSandboxChannelRequest
6612
+ # data as a hash:
6613
+ #
6614
+ # {
6615
+ # apns_voip_sandbox_channel_request: { # required
6616
+ # bundle_id: "__string",
6617
+ # certificate: "__string",
6618
+ # default_authentication_method: "__string",
6619
+ # enabled: false,
6620
+ # private_key: "__string",
6621
+ # team_id: "__string",
6622
+ # token_key: "__string",
6623
+ # token_key_id: "__string",
6624
+ # },
6625
+ # application_id: "__string", # required
6626
+ # }
6627
+ #
6628
+ # @!attribute [rw] apns_voip_sandbox_channel_request
6629
+ # Apple VOIP Developer Push Notification Service channel definition.
6630
+ # @return [Types::APNSVoipSandboxChannelRequest]
6631
+ #
6632
+ # @!attribute [rw] application_id
6633
+ # @return [String]
6634
+ #
6635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelRequest AWS API Documentation
6636
+ #
6637
+ class UpdateApnsVoipSandboxChannelRequest < Struct.new(
6638
+ :apns_voip_sandbox_channel_request,
6639
+ :application_id)
6640
+ include Aws::Structure
6641
+ end
6642
+
6643
+ # @!attribute [rw] apns_voip_sandbox_channel_response
6644
+ # Apple VOIP Developer Push Notification Service channel definition.
6645
+ # @return [Types::APNSVoipSandboxChannelResponse]
6646
+ #
6647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannelResponse AWS API Documentation
6648
+ #
6649
+ class UpdateApnsVoipSandboxChannelResponse < Struct.new(
6650
+ :apns_voip_sandbox_channel_response)
6651
+ include Aws::Structure
6652
+ end
6653
+
6183
6654
  # @note When making an API call, you may pass UpdateApplicationSettingsRequest
6184
6655
  # data as a hash:
6185
6656
  #
@@ -6273,6 +6744,19 @@ module Aws::Pinpoint
6273
6744
  # additional_treatments: [
6274
6745
  # {
6275
6746
  # message_configuration: {
6747
+ # adm_message: {
6748
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6749
+ # body: "__string",
6750
+ # image_icon_url: "__string",
6751
+ # image_small_icon_url: "__string",
6752
+ # image_url: "__string",
6753
+ # json_body: "__string",
6754
+ # media_url: "__string",
6755
+ # raw_content: "__string",
6756
+ # silent_push: false,
6757
+ # title: "__string",
6758
+ # url: "__string",
6759
+ # },
6276
6760
  # apns_message: {
6277
6761
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6278
6762
  # body: "__string",
@@ -6286,6 +6770,19 @@ module Aws::Pinpoint
6286
6770
  # title: "__string",
6287
6771
  # url: "__string",
6288
6772
  # },
6773
+ # baidu_message: {
6774
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6775
+ # body: "__string",
6776
+ # image_icon_url: "__string",
6777
+ # image_small_icon_url: "__string",
6778
+ # image_url: "__string",
6779
+ # json_body: "__string",
6780
+ # media_url: "__string",
6781
+ # raw_content: "__string",
6782
+ # silent_push: false,
6783
+ # title: "__string",
6784
+ # url: "__string",
6785
+ # },
6289
6786
  # default_message: {
6290
6787
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6291
6788
  # body: "__string",
@@ -6350,6 +6847,19 @@ module Aws::Pinpoint
6350
6847
  # total: 1,
6351
6848
  # },
6352
6849
  # message_configuration: {
6850
+ # adm_message: {
6851
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6852
+ # body: "__string",
6853
+ # image_icon_url: "__string",
6854
+ # image_small_icon_url: "__string",
6855
+ # image_url: "__string",
6856
+ # json_body: "__string",
6857
+ # media_url: "__string",
6858
+ # raw_content: "__string",
6859
+ # silent_push: false,
6860
+ # title: "__string",
6861
+ # url: "__string",
6862
+ # },
6353
6863
  # apns_message: {
6354
6864
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6355
6865
  # body: "__string",
@@ -6363,6 +6873,19 @@ module Aws::Pinpoint
6363
6873
  # title: "__string",
6364
6874
  # url: "__string",
6365
6875
  # },
6876
+ # baidu_message: {
6877
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6878
+ # body: "__string",
6879
+ # image_icon_url: "__string",
6880
+ # image_small_icon_url: "__string",
6881
+ # image_url: "__string",
6882
+ # json_body: "__string",
6883
+ # media_url: "__string",
6884
+ # raw_content: "__string",
6885
+ # silent_push: false,
6886
+ # title: "__string",
6887
+ # url: "__string",
6888
+ # },
6366
6889
  # default_message: {
6367
6890
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6368
6891
  # body: "__string",
@@ -6415,7 +6938,6 @@ module Aws::Pinpoint
6415
6938
  # },
6416
6939
  # segment_id: "__string",
6417
6940
  # segment_version: 1,
6418
- # trace: false,
6419
6941
  # treatment_description: "__string",
6420
6942
  # treatment_name: "__string",
6421
6943
  # },
@@ -6501,7 +7023,7 @@ module Aws::Pinpoint
6501
7023
  # attributes: {
6502
7024
  # "__string" => ["__string"],
6503
7025
  # },
6504
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
7026
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
6505
7027
  # demographic: {
6506
7028
  # app_version: "__string",
6507
7029
  # locale: "__string",
@@ -6578,7 +7100,7 @@ module Aws::Pinpoint
6578
7100
  # attributes: {
6579
7101
  # "__string" => ["__string"],
6580
7102
  # },
6581
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
7103
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
6582
7104
  # demographic: {
6583
7105
  # app_version: "__string",
6584
7106
  # locale: "__string",
@@ -6857,6 +7379,19 @@ module Aws::Pinpoint
6857
7379
  # additional_treatments: [
6858
7380
  # {
6859
7381
  # message_configuration: {
7382
+ # adm_message: {
7383
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7384
+ # body: "__string",
7385
+ # image_icon_url: "__string",
7386
+ # image_small_icon_url: "__string",
7387
+ # image_url: "__string",
7388
+ # json_body: "__string",
7389
+ # media_url: "__string",
7390
+ # raw_content: "__string",
7391
+ # silent_push: false,
7392
+ # title: "__string",
7393
+ # url: "__string",
7394
+ # },
6860
7395
  # apns_message: {
6861
7396
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6862
7397
  # body: "__string",
@@ -6870,6 +7405,19 @@ module Aws::Pinpoint
6870
7405
  # title: "__string",
6871
7406
  # url: "__string",
6872
7407
  # },
7408
+ # baidu_message: {
7409
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7410
+ # body: "__string",
7411
+ # image_icon_url: "__string",
7412
+ # image_small_icon_url: "__string",
7413
+ # image_url: "__string",
7414
+ # json_body: "__string",
7415
+ # media_url: "__string",
7416
+ # raw_content: "__string",
7417
+ # silent_push: false,
7418
+ # title: "__string",
7419
+ # url: "__string",
7420
+ # },
6873
7421
  # default_message: {
6874
7422
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6875
7423
  # body: "__string",
@@ -6934,6 +7482,19 @@ module Aws::Pinpoint
6934
7482
  # total: 1,
6935
7483
  # },
6936
7484
  # message_configuration: {
7485
+ # adm_message: {
7486
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7487
+ # body: "__string",
7488
+ # image_icon_url: "__string",
7489
+ # image_small_icon_url: "__string",
7490
+ # image_url: "__string",
7491
+ # json_body: "__string",
7492
+ # media_url: "__string",
7493
+ # raw_content: "__string",
7494
+ # silent_push: false,
7495
+ # title: "__string",
7496
+ # url: "__string",
7497
+ # },
6937
7498
  # apns_message: {
6938
7499
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6939
7500
  # body: "__string",
@@ -6947,6 +7508,19 @@ module Aws::Pinpoint
6947
7508
  # title: "__string",
6948
7509
  # url: "__string",
6949
7510
  # },
7511
+ # baidu_message: {
7512
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7513
+ # body: "__string",
7514
+ # image_icon_url: "__string",
7515
+ # image_small_icon_url: "__string",
7516
+ # image_url: "__string",
7517
+ # json_body: "__string",
7518
+ # media_url: "__string",
7519
+ # raw_content: "__string",
7520
+ # silent_push: false,
7521
+ # title: "__string",
7522
+ # url: "__string",
7523
+ # },
6950
7524
  # default_message: {
6951
7525
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
6952
7526
  # body: "__string",
@@ -6999,7 +7573,6 @@ module Aws::Pinpoint
6999
7573
  # },
7000
7574
  # segment_id: "__string",
7001
7575
  # segment_version: 1,
7002
- # trace: false,
7003
7576
  # treatment_description: "__string",
7004
7577
  # treatment_name: "__string",
7005
7578
  # }
@@ -7046,11 +7619,6 @@ module Aws::Pinpoint
7046
7619
  # The version of the segment to which the campaign sends messages.
7047
7620
  # @return [Integer]
7048
7621
  #
7049
- # @!attribute [rw] trace
7050
- # Whether or not to enable trace logging for the campaign.
7051
- # Undocumented
7052
- # @return [Boolean]
7053
- #
7054
7622
  # @!attribute [rw] treatment_description
7055
7623
  # A custom description for the treatment.
7056
7624
  # @return [String]
@@ -7072,7 +7640,6 @@ module Aws::Pinpoint
7072
7640
  :schedule,
7073
7641
  :segment_id,
7074
7642
  :segment_version,
7075
- :trace,
7076
7643
  :treatment_description,
7077
7644
  :treatment_name)
7078
7645
  include Aws::Structure
@@ -7085,7 +7652,6 @@ module Aws::Pinpoint
7085
7652
  #
7086
7653
  # {
7087
7654
  # destination_stream_arn: "__string",
7088
- # external_id: "__string",
7089
7655
  # role_arn: "__string",
7090
7656
  # }
7091
7657
  #
@@ -7097,11 +7663,6 @@ module Aws::Pinpoint
7097
7663
  # Kinesis ARN: arn:aws:kinesis:REGION:ACCOUNT\_ID:stream/STREAM\_NAME
7098
7664
  # @return [String]
7099
7665
  #
7100
- # @!attribute [rw] external_id
7101
- # The external ID assigned the IAM role that authorizes Amazon
7102
- # Pinpoint to publish to the stream.
7103
- # @return [String]
7104
- #
7105
7666
  # @!attribute [rw] role_arn
7106
7667
  # The IAM role that authorizes Amazon Pinpoint to publish events to
7107
7668
  # the stream in your account.
@@ -7111,7 +7672,6 @@ module Aws::Pinpoint
7111
7672
  #
7112
7673
  class WriteEventStream < Struct.new(
7113
7674
  :destination_stream_arn,
7114
- :external_id,
7115
7675
  :role_arn)
7116
7676
  include Aws::Structure
7117
7677
  end
@@ -7200,6 +7760,19 @@ module Aws::Pinpoint
7200
7760
  #
7201
7761
  # {
7202
7762
  # message_configuration: {
7763
+ # adm_message: {
7764
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7765
+ # body: "__string",
7766
+ # image_icon_url: "__string",
7767
+ # image_small_icon_url: "__string",
7768
+ # image_url: "__string",
7769
+ # json_body: "__string",
7770
+ # media_url: "__string",
7771
+ # raw_content: "__string",
7772
+ # silent_push: false,
7773
+ # title: "__string",
7774
+ # url: "__string",
7775
+ # },
7203
7776
  # apns_message: {
7204
7777
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7205
7778
  # body: "__string",
@@ -7213,6 +7786,19 @@ module Aws::Pinpoint
7213
7786
  # title: "__string",
7214
7787
  # url: "__string",
7215
7788
  # },
7789
+ # baidu_message: {
7790
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7791
+ # body: "__string",
7792
+ # image_icon_url: "__string",
7793
+ # image_small_icon_url: "__string",
7794
+ # image_url: "__string",
7795
+ # json_body: "__string",
7796
+ # media_url: "__string",
7797
+ # raw_content: "__string",
7798
+ # silent_push: false,
7799
+ # title: "__string",
7800
+ # url: "__string",
7801
+ # },
7216
7802
  # default_message: {
7217
7803
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
7218
7804
  # body: "__string",