aws-sdk-pinpoint 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 223a02cc9a0261c99947ef7fdaa5e3fed7be33cd
4
- data.tar.gz: 97b8d571d30ef31f69a758345ef89b98ddbdfe25
3
+ metadata.gz: 8c4e3a23291e7295d5c030e2eaec5770af6cbe14
4
+ data.tar.gz: c11e7e10df64fb8590c672b1be427b57f004bbaf
5
5
  SHA512:
6
- metadata.gz: 0094ba4cedb632b1c4a0b6c674164218c9b0da3a8293012400fe9332dddbd8d259accff665230833162996c0cec1830724bbe74fc7f6d911634fee02a1c9001d
7
- data.tar.gz: e2eb23199d823fb336c01cb03ad04140b6377d1ad49a1d342336ea38abaecae1d5f95a427a38a4800ced62c2fbbbf00b2ff41d26ebb157e4911f17e0e5dfee02
6
+ metadata.gz: c7b975aed8e5eba06ed86ec6e1e52cfbd8adeafdb105eda521024cd16c14a626ff7e366c92d65ab2b6908e13d970509fe528f7350baa0f2373ed49580a2ec5ca
7
+ data.tar.gz: c52f6e392b572144625b2094250c233d07b65e86d0a16f1f45643e21c037197d89b520e07523a3e5342bb41643e2d47a5e24826c4755ae80a229e3f6e2facf52
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-pinpoint/customizations'
42
42
  # @service
43
43
  module Aws::Pinpoint
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -195,6 +195,19 @@ module Aws::Pinpoint
195
195
  # additional_treatments: [
196
196
  # {
197
197
  # message_configuration: {
198
+ # adm_message: {
199
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
200
+ # body: "__string",
201
+ # image_icon_url: "__string",
202
+ # image_small_icon_url: "__string",
203
+ # image_url: "__string",
204
+ # json_body: "__string",
205
+ # media_url: "__string",
206
+ # raw_content: "__string",
207
+ # silent_push: false,
208
+ # title: "__string",
209
+ # url: "__string",
210
+ # },
198
211
  # apns_message: {
199
212
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
200
213
  # body: "__string",
@@ -208,6 +221,19 @@ module Aws::Pinpoint
208
221
  # title: "__string",
209
222
  # url: "__string",
210
223
  # },
224
+ # baidu_message: {
225
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
226
+ # body: "__string",
227
+ # image_icon_url: "__string",
228
+ # image_small_icon_url: "__string",
229
+ # image_url: "__string",
230
+ # json_body: "__string",
231
+ # media_url: "__string",
232
+ # raw_content: "__string",
233
+ # silent_push: false,
234
+ # title: "__string",
235
+ # url: "__string",
236
+ # },
211
237
  # default_message: {
212
238
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
213
239
  # body: "__string",
@@ -272,6 +298,19 @@ module Aws::Pinpoint
272
298
  # total: 1,
273
299
  # },
274
300
  # message_configuration: {
301
+ # adm_message: {
302
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
303
+ # body: "__string",
304
+ # image_icon_url: "__string",
305
+ # image_small_icon_url: "__string",
306
+ # image_url: "__string",
307
+ # json_body: "__string",
308
+ # media_url: "__string",
309
+ # raw_content: "__string",
310
+ # silent_push: false,
311
+ # title: "__string",
312
+ # url: "__string",
313
+ # },
275
314
  # apns_message: {
276
315
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
277
316
  # body: "__string",
@@ -285,6 +324,19 @@ module Aws::Pinpoint
285
324
  # title: "__string",
286
325
  # url: "__string",
287
326
  # },
327
+ # baidu_message: {
328
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
329
+ # body: "__string",
330
+ # image_icon_url: "__string",
331
+ # image_small_icon_url: "__string",
332
+ # image_url: "__string",
333
+ # json_body: "__string",
334
+ # media_url: "__string",
335
+ # raw_content: "__string",
336
+ # silent_push: false,
337
+ # title: "__string",
338
+ # url: "__string",
339
+ # },
288
340
  # default_message: {
289
341
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
290
342
  # body: "__string",
@@ -337,7 +389,6 @@ module Aws::Pinpoint
337
389
  # },
338
390
  # segment_id: "__string",
339
391
  # segment_version: 1,
340
- # trace: false,
341
392
  # treatment_description: "__string",
342
393
  # treatment_name: "__string",
343
394
  # },
@@ -347,6 +398,17 @@ module Aws::Pinpoint
347
398
  #
348
399
  # resp.campaign_response.additional_treatments #=> Array
349
400
  # resp.campaign_response.additional_treatments[0].id #=> String
401
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
402
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
403
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
404
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
405
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_url #=> String
406
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.json_body #=> String
407
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.media_url #=> String
408
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.raw_content #=> String
409
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
410
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.title #=> String
411
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.url #=> String
350
412
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
351
413
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
352
414
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -358,6 +420,17 @@ module Aws::Pinpoint
358
420
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
359
421
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.title #=> String
360
422
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.url #=> String
423
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
424
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.body #=> String
425
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
426
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
427
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_url #=> String
428
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.json_body #=> String
429
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.media_url #=> String
430
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
431
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
432
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
433
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
361
434
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
362
435
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
363
436
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -410,6 +483,17 @@ module Aws::Pinpoint
410
483
  # resp.campaign_response.limits.maximum_duration #=> Integer
411
484
  # resp.campaign_response.limits.messages_per_second #=> Integer
412
485
  # resp.campaign_response.limits.total #=> Integer
486
+ # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
487
+ # resp.campaign_response.message_configuration.adm_message.body #=> String
488
+ # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
489
+ # resp.campaign_response.message_configuration.adm_message.image_small_icon_url #=> String
490
+ # resp.campaign_response.message_configuration.adm_message.image_url #=> String
491
+ # resp.campaign_response.message_configuration.adm_message.json_body #=> String
492
+ # resp.campaign_response.message_configuration.adm_message.media_url #=> String
493
+ # resp.campaign_response.message_configuration.adm_message.raw_content #=> String
494
+ # resp.campaign_response.message_configuration.adm_message.silent_push #=> Boolean
495
+ # resp.campaign_response.message_configuration.adm_message.title #=> String
496
+ # resp.campaign_response.message_configuration.adm_message.url #=> String
413
497
  # resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
414
498
  # resp.campaign_response.message_configuration.apns_message.body #=> String
415
499
  # resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
@@ -421,6 +505,17 @@ module Aws::Pinpoint
421
505
  # resp.campaign_response.message_configuration.apns_message.silent_push #=> Boolean
422
506
  # resp.campaign_response.message_configuration.apns_message.title #=> String
423
507
  # resp.campaign_response.message_configuration.apns_message.url #=> String
508
+ # resp.campaign_response.message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
509
+ # resp.campaign_response.message_configuration.baidu_message.body #=> String
510
+ # resp.campaign_response.message_configuration.baidu_message.image_icon_url #=> String
511
+ # resp.campaign_response.message_configuration.baidu_message.image_small_icon_url #=> String
512
+ # resp.campaign_response.message_configuration.baidu_message.image_url #=> String
513
+ # resp.campaign_response.message_configuration.baidu_message.json_body #=> String
514
+ # resp.campaign_response.message_configuration.baidu_message.media_url #=> String
515
+ # resp.campaign_response.message_configuration.baidu_message.raw_content #=> String
516
+ # resp.campaign_response.message_configuration.baidu_message.silent_push #=> Boolean
517
+ # resp.campaign_response.message_configuration.baidu_message.title #=> String
518
+ # resp.campaign_response.message_configuration.baidu_message.url #=> String
424
519
  # resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
425
520
  # resp.campaign_response.message_configuration.default_message.body #=> String
426
521
  # resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
@@ -681,6 +776,7 @@ module Aws::Pinpoint
681
776
  # resp.adm_channel_response.application_id #=> String
682
777
  # resp.adm_channel_response.creation_date #=> String
683
778
  # resp.adm_channel_response.enabled #=> Boolean
779
+ # resp.adm_channel_response.has_credential #=> Boolean
684
780
  # resp.adm_channel_response.id #=> String
685
781
  # resp.adm_channel_response.is_archived #=> Boolean
686
782
  # resp.adm_channel_response.last_modified_by #=> String
@@ -715,7 +811,10 @@ module Aws::Pinpoint
715
811
  #
716
812
  # resp.apns_channel_response.application_id #=> String
717
813
  # resp.apns_channel_response.creation_date #=> String
814
+ # resp.apns_channel_response.default_authentication_method #=> String
718
815
  # resp.apns_channel_response.enabled #=> Boolean
816
+ # resp.apns_channel_response.has_credential #=> Boolean
817
+ # resp.apns_channel_response.has_token_key #=> Boolean
719
818
  # resp.apns_channel_response.id #=> String
720
819
  # resp.apns_channel_response.is_archived #=> Boolean
721
820
  # resp.apns_channel_response.last_modified_by #=> String
@@ -750,7 +849,10 @@ module Aws::Pinpoint
750
849
  #
751
850
  # resp.apns_sandbox_channel_response.application_id #=> String
752
851
  # resp.apns_sandbox_channel_response.creation_date #=> String
852
+ # resp.apns_sandbox_channel_response.default_authentication_method #=> String
753
853
  # resp.apns_sandbox_channel_response.enabled #=> Boolean
854
+ # resp.apns_sandbox_channel_response.has_credential #=> Boolean
855
+ # resp.apns_sandbox_channel_response.has_token_key #=> Boolean
754
856
  # resp.apns_sandbox_channel_response.id #=> String
755
857
  # resp.apns_sandbox_channel_response.is_archived #=> Boolean
756
858
  # resp.apns_sandbox_channel_response.last_modified_by #=> String
@@ -767,6 +869,82 @@ module Aws::Pinpoint
767
869
  req.send_request(options)
768
870
  end
769
871
 
872
+ # Delete an APNS VOIP channel
873
+ #
874
+ # @option params [required, String] :application_id
875
+ #
876
+ # @return [Types::DeleteApnsVoipChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
+ #
878
+ # * {Types::DeleteApnsVoipChannelResponse#apns_voip_channel_response #apns_voip_channel_response} => Types::APNSVoipChannelResponse
879
+ #
880
+ # @example Request syntax with placeholder values
881
+ #
882
+ # resp = client.delete_apns_voip_channel({
883
+ # application_id: "__string", # required
884
+ # })
885
+ #
886
+ # @example Response structure
887
+ #
888
+ # resp.apns_voip_channel_response.application_id #=> String
889
+ # resp.apns_voip_channel_response.creation_date #=> String
890
+ # resp.apns_voip_channel_response.default_authentication_method #=> String
891
+ # resp.apns_voip_channel_response.enabled #=> Boolean
892
+ # resp.apns_voip_channel_response.has_credential #=> Boolean
893
+ # resp.apns_voip_channel_response.has_token_key #=> Boolean
894
+ # resp.apns_voip_channel_response.id #=> String
895
+ # resp.apns_voip_channel_response.is_archived #=> Boolean
896
+ # resp.apns_voip_channel_response.last_modified_by #=> String
897
+ # resp.apns_voip_channel_response.last_modified_date #=> String
898
+ # resp.apns_voip_channel_response.platform #=> String
899
+ # resp.apns_voip_channel_response.version #=> Integer
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipChannel AWS API Documentation
902
+ #
903
+ # @overload delete_apns_voip_channel(params = {})
904
+ # @param [Hash] params ({})
905
+ def delete_apns_voip_channel(params = {}, options = {})
906
+ req = build_request(:delete_apns_voip_channel, params)
907
+ req.send_request(options)
908
+ end
909
+
910
+ # Delete an APNS VOIP sandbox channel
911
+ #
912
+ # @option params [required, String] :application_id
913
+ #
914
+ # @return [Types::DeleteApnsVoipSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
915
+ #
916
+ # * {Types::DeleteApnsVoipSandboxChannelResponse#apns_voip_sandbox_channel_response #apns_voip_sandbox_channel_response} => Types::APNSVoipSandboxChannelResponse
917
+ #
918
+ # @example Request syntax with placeholder values
919
+ #
920
+ # resp = client.delete_apns_voip_sandbox_channel({
921
+ # application_id: "__string", # required
922
+ # })
923
+ #
924
+ # @example Response structure
925
+ #
926
+ # resp.apns_voip_sandbox_channel_response.application_id #=> String
927
+ # resp.apns_voip_sandbox_channel_response.creation_date #=> String
928
+ # resp.apns_voip_sandbox_channel_response.default_authentication_method #=> String
929
+ # resp.apns_voip_sandbox_channel_response.enabled #=> Boolean
930
+ # resp.apns_voip_sandbox_channel_response.has_credential #=> Boolean
931
+ # resp.apns_voip_sandbox_channel_response.has_token_key #=> Boolean
932
+ # resp.apns_voip_sandbox_channel_response.id #=> String
933
+ # resp.apns_voip_sandbox_channel_response.is_archived #=> Boolean
934
+ # resp.apns_voip_sandbox_channel_response.last_modified_by #=> String
935
+ # resp.apns_voip_sandbox_channel_response.last_modified_date #=> String
936
+ # resp.apns_voip_sandbox_channel_response.platform #=> String
937
+ # resp.apns_voip_sandbox_channel_response.version #=> Integer
938
+ #
939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApnsVoipSandboxChannel AWS API Documentation
940
+ #
941
+ # @overload delete_apns_voip_sandbox_channel(params = {})
942
+ # @param [Hash] params ({})
943
+ def delete_apns_voip_sandbox_channel(params = {}, options = {})
944
+ req = build_request(:delete_apns_voip_sandbox_channel, params)
945
+ req.send_request(options)
946
+ end
947
+
770
948
  # Deletes an app.
771
949
  #
772
950
  # @option params [required, String] :application_id
@@ -815,6 +993,7 @@ module Aws::Pinpoint
815
993
  # resp.baidu_channel_response.creation_date #=> String
816
994
  # resp.baidu_channel_response.credential #=> String
817
995
  # resp.baidu_channel_response.enabled #=> Boolean
996
+ # resp.baidu_channel_response.has_credential #=> Boolean
818
997
  # resp.baidu_channel_response.id #=> String
819
998
  # resp.baidu_channel_response.is_archived #=> Boolean
820
999
  # resp.baidu_channel_response.last_modified_by #=> String
@@ -852,6 +1031,17 @@ module Aws::Pinpoint
852
1031
  #
853
1032
  # resp.campaign_response.additional_treatments #=> Array
854
1033
  # resp.campaign_response.additional_treatments[0].id #=> String
1034
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1035
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
1036
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
1037
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
1038
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_url #=> String
1039
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.json_body #=> String
1040
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.media_url #=> String
1041
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.raw_content #=> String
1042
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
1043
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.title #=> String
1044
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.url #=> String
855
1045
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
856
1046
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
857
1047
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -863,6 +1053,17 @@ module Aws::Pinpoint
863
1053
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
864
1054
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.title #=> String
865
1055
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.url #=> String
1056
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1057
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.body #=> String
1058
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
1059
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
1060
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_url #=> String
1061
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.json_body #=> String
1062
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.media_url #=> String
1063
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
1064
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
1065
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
1066
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
866
1067
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
867
1068
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
868
1069
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -915,6 +1116,17 @@ module Aws::Pinpoint
915
1116
  # resp.campaign_response.limits.maximum_duration #=> Integer
916
1117
  # resp.campaign_response.limits.messages_per_second #=> Integer
917
1118
  # resp.campaign_response.limits.total #=> Integer
1119
+ # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1120
+ # resp.campaign_response.message_configuration.adm_message.body #=> String
1121
+ # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
1122
+ # resp.campaign_response.message_configuration.adm_message.image_small_icon_url #=> String
1123
+ # resp.campaign_response.message_configuration.adm_message.image_url #=> String
1124
+ # resp.campaign_response.message_configuration.adm_message.json_body #=> String
1125
+ # resp.campaign_response.message_configuration.adm_message.media_url #=> String
1126
+ # resp.campaign_response.message_configuration.adm_message.raw_content #=> String
1127
+ # resp.campaign_response.message_configuration.adm_message.silent_push #=> Boolean
1128
+ # resp.campaign_response.message_configuration.adm_message.title #=> String
1129
+ # resp.campaign_response.message_configuration.adm_message.url #=> String
918
1130
  # resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
919
1131
  # resp.campaign_response.message_configuration.apns_message.body #=> String
920
1132
  # resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
@@ -926,6 +1138,17 @@ module Aws::Pinpoint
926
1138
  # resp.campaign_response.message_configuration.apns_message.silent_push #=> Boolean
927
1139
  # resp.campaign_response.message_configuration.apns_message.title #=> String
928
1140
  # resp.campaign_response.message_configuration.apns_message.url #=> String
1141
+ # resp.campaign_response.message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1142
+ # resp.campaign_response.message_configuration.baidu_message.body #=> String
1143
+ # resp.campaign_response.message_configuration.baidu_message.image_icon_url #=> String
1144
+ # resp.campaign_response.message_configuration.baidu_message.image_small_icon_url #=> String
1145
+ # resp.campaign_response.message_configuration.baidu_message.image_url #=> String
1146
+ # resp.campaign_response.message_configuration.baidu_message.json_body #=> String
1147
+ # resp.campaign_response.message_configuration.baidu_message.media_url #=> String
1148
+ # resp.campaign_response.message_configuration.baidu_message.raw_content #=> String
1149
+ # resp.campaign_response.message_configuration.baidu_message.silent_push #=> Boolean
1150
+ # resp.campaign_response.message_configuration.baidu_message.title #=> String
1151
+ # resp.campaign_response.message_configuration.baidu_message.url #=> String
929
1152
  # resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
930
1153
  # resp.campaign_response.message_configuration.default_message.body #=> String
931
1154
  # resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
@@ -999,6 +1222,7 @@ module Aws::Pinpoint
999
1222
  # resp.email_channel_response.creation_date #=> String
1000
1223
  # resp.email_channel_response.enabled #=> Boolean
1001
1224
  # resp.email_channel_response.from_address #=> String
1225
+ # resp.email_channel_response.has_credential #=> Boolean
1002
1226
  # resp.email_channel_response.id #=> String
1003
1227
  # resp.email_channel_response.identity #=> String
1004
1228
  # resp.email_channel_response.is_archived #=> Boolean
@@ -1020,6 +1244,7 @@ module Aws::Pinpoint
1020
1244
  # Deletes the event stream for an app.
1021
1245
  #
1022
1246
  # @option params [required, String] :application_id
1247
+ # Application Id.
1023
1248
  #
1024
1249
  # @return [Types::DeleteEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1025
1250
  #
@@ -1069,6 +1294,7 @@ module Aws::Pinpoint
1069
1294
  # resp.gcm_channel_response.creation_date #=> String
1070
1295
  # resp.gcm_channel_response.credential #=> String
1071
1296
  # resp.gcm_channel_response.enabled #=> Boolean
1297
+ # resp.gcm_channel_response.has_credential #=> Boolean
1072
1298
  # resp.gcm_channel_response.id #=> String
1073
1299
  # resp.gcm_channel_response.is_archived #=> Boolean
1074
1300
  # resp.gcm_channel_response.last_modified_by #=> String
@@ -1178,6 +1404,7 @@ module Aws::Pinpoint
1178
1404
  # resp.sms_channel_response.application_id #=> String
1179
1405
  # resp.sms_channel_response.creation_date #=> String
1180
1406
  # resp.sms_channel_response.enabled #=> Boolean
1407
+ # resp.sms_channel_response.has_credential #=> Boolean
1181
1408
  # resp.sms_channel_response.id #=> String
1182
1409
  # resp.sms_channel_response.is_archived #=> Boolean
1183
1410
  # resp.sms_channel_response.last_modified_by #=> String
@@ -1215,6 +1442,7 @@ module Aws::Pinpoint
1215
1442
  # resp.adm_channel_response.application_id #=> String
1216
1443
  # resp.adm_channel_response.creation_date #=> String
1217
1444
  # resp.adm_channel_response.enabled #=> Boolean
1445
+ # resp.adm_channel_response.has_credential #=> Boolean
1218
1446
  # resp.adm_channel_response.id #=> String
1219
1447
  # resp.adm_channel_response.is_archived #=> Boolean
1220
1448
  # resp.adm_channel_response.last_modified_by #=> String
@@ -1249,7 +1477,10 @@ module Aws::Pinpoint
1249
1477
  #
1250
1478
  # resp.apns_channel_response.application_id #=> String
1251
1479
  # resp.apns_channel_response.creation_date #=> String
1480
+ # resp.apns_channel_response.default_authentication_method #=> String
1252
1481
  # resp.apns_channel_response.enabled #=> Boolean
1482
+ # resp.apns_channel_response.has_credential #=> Boolean
1483
+ # resp.apns_channel_response.has_token_key #=> Boolean
1253
1484
  # resp.apns_channel_response.id #=> String
1254
1485
  # resp.apns_channel_response.is_archived #=> Boolean
1255
1486
  # resp.apns_channel_response.last_modified_by #=> String
@@ -1284,7 +1515,10 @@ module Aws::Pinpoint
1284
1515
  #
1285
1516
  # resp.apns_sandbox_channel_response.application_id #=> String
1286
1517
  # resp.apns_sandbox_channel_response.creation_date #=> String
1518
+ # resp.apns_sandbox_channel_response.default_authentication_method #=> String
1287
1519
  # resp.apns_sandbox_channel_response.enabled #=> Boolean
1520
+ # resp.apns_sandbox_channel_response.has_credential #=> Boolean
1521
+ # resp.apns_sandbox_channel_response.has_token_key #=> Boolean
1288
1522
  # resp.apns_sandbox_channel_response.id #=> String
1289
1523
  # resp.apns_sandbox_channel_response.is_archived #=> Boolean
1290
1524
  # resp.apns_sandbox_channel_response.last_modified_by #=> String
@@ -1301,6 +1535,82 @@ module Aws::Pinpoint
1301
1535
  req.send_request(options)
1302
1536
  end
1303
1537
 
1538
+ # Get an APNS Voip channel
1539
+ #
1540
+ # @option params [required, String] :application_id
1541
+ #
1542
+ # @return [Types::GetApnsVoipChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1543
+ #
1544
+ # * {Types::GetApnsVoipChannelResponse#apns_voip_channel_response #apns_voip_channel_response} => Types::APNSVoipChannelResponse
1545
+ #
1546
+ # @example Request syntax with placeholder values
1547
+ #
1548
+ # resp = client.get_apns_voip_channel({
1549
+ # application_id: "__string", # required
1550
+ # })
1551
+ #
1552
+ # @example Response structure
1553
+ #
1554
+ # resp.apns_voip_channel_response.application_id #=> String
1555
+ # resp.apns_voip_channel_response.creation_date #=> String
1556
+ # resp.apns_voip_channel_response.default_authentication_method #=> String
1557
+ # resp.apns_voip_channel_response.enabled #=> Boolean
1558
+ # resp.apns_voip_channel_response.has_credential #=> Boolean
1559
+ # resp.apns_voip_channel_response.has_token_key #=> Boolean
1560
+ # resp.apns_voip_channel_response.id #=> String
1561
+ # resp.apns_voip_channel_response.is_archived #=> Boolean
1562
+ # resp.apns_voip_channel_response.last_modified_by #=> String
1563
+ # resp.apns_voip_channel_response.last_modified_date #=> String
1564
+ # resp.apns_voip_channel_response.platform #=> String
1565
+ # resp.apns_voip_channel_response.version #=> Integer
1566
+ #
1567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipChannel AWS API Documentation
1568
+ #
1569
+ # @overload get_apns_voip_channel(params = {})
1570
+ # @param [Hash] params ({})
1571
+ def get_apns_voip_channel(params = {}, options = {})
1572
+ req = build_request(:get_apns_voip_channel, params)
1573
+ req.send_request(options)
1574
+ end
1575
+
1576
+ # Get an APNS VoipSandbox channel
1577
+ #
1578
+ # @option params [required, String] :application_id
1579
+ #
1580
+ # @return [Types::GetApnsVoipSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1581
+ #
1582
+ # * {Types::GetApnsVoipSandboxChannelResponse#apns_voip_sandbox_channel_response #apns_voip_sandbox_channel_response} => Types::APNSVoipSandboxChannelResponse
1583
+ #
1584
+ # @example Request syntax with placeholder values
1585
+ #
1586
+ # resp = client.get_apns_voip_sandbox_channel({
1587
+ # application_id: "__string", # required
1588
+ # })
1589
+ #
1590
+ # @example Response structure
1591
+ #
1592
+ # resp.apns_voip_sandbox_channel_response.application_id #=> String
1593
+ # resp.apns_voip_sandbox_channel_response.creation_date #=> String
1594
+ # resp.apns_voip_sandbox_channel_response.default_authentication_method #=> String
1595
+ # resp.apns_voip_sandbox_channel_response.enabled #=> Boolean
1596
+ # resp.apns_voip_sandbox_channel_response.has_credential #=> Boolean
1597
+ # resp.apns_voip_sandbox_channel_response.has_token_key #=> Boolean
1598
+ # resp.apns_voip_sandbox_channel_response.id #=> String
1599
+ # resp.apns_voip_sandbox_channel_response.is_archived #=> Boolean
1600
+ # resp.apns_voip_sandbox_channel_response.last_modified_by #=> String
1601
+ # resp.apns_voip_sandbox_channel_response.last_modified_date #=> String
1602
+ # resp.apns_voip_sandbox_channel_response.platform #=> String
1603
+ # resp.apns_voip_sandbox_channel_response.version #=> Integer
1604
+ #
1605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApnsVoipSandboxChannel AWS API Documentation
1606
+ #
1607
+ # @overload get_apns_voip_sandbox_channel(params = {})
1608
+ # @param [Hash] params ({})
1609
+ def get_apns_voip_sandbox_channel(params = {}, options = {})
1610
+ req = build_request(:get_apns_voip_sandbox_channel, params)
1611
+ req.send_request(options)
1612
+ end
1613
+
1304
1614
  # Returns information about an app.
1305
1615
  #
1306
1616
  # @option params [required, String] :application_id
@@ -1416,6 +1726,7 @@ module Aws::Pinpoint
1416
1726
  # resp.baidu_channel_response.creation_date #=> String
1417
1727
  # resp.baidu_channel_response.credential #=> String
1418
1728
  # resp.baidu_channel_response.enabled #=> Boolean
1729
+ # resp.baidu_channel_response.has_credential #=> Boolean
1419
1730
  # resp.baidu_channel_response.id #=> String
1420
1731
  # resp.baidu_channel_response.is_archived #=> Boolean
1421
1732
  # resp.baidu_channel_response.last_modified_by #=> String
@@ -1453,6 +1764,17 @@ module Aws::Pinpoint
1453
1764
  #
1454
1765
  # resp.campaign_response.additional_treatments #=> Array
1455
1766
  # resp.campaign_response.additional_treatments[0].id #=> String
1767
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1768
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
1769
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
1770
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
1771
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_url #=> String
1772
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.json_body #=> String
1773
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.media_url #=> String
1774
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.raw_content #=> String
1775
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
1776
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.title #=> String
1777
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.url #=> String
1456
1778
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1457
1779
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
1458
1780
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -1464,6 +1786,17 @@ module Aws::Pinpoint
1464
1786
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
1465
1787
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.title #=> String
1466
1788
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.url #=> String
1789
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1790
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.body #=> String
1791
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
1792
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
1793
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_url #=> String
1794
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.json_body #=> String
1795
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.media_url #=> String
1796
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
1797
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
1798
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
1799
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
1467
1800
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1468
1801
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
1469
1802
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -1516,6 +1849,17 @@ module Aws::Pinpoint
1516
1849
  # resp.campaign_response.limits.maximum_duration #=> Integer
1517
1850
  # resp.campaign_response.limits.messages_per_second #=> Integer
1518
1851
  # resp.campaign_response.limits.total #=> Integer
1852
+ # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1853
+ # resp.campaign_response.message_configuration.adm_message.body #=> String
1854
+ # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
1855
+ # resp.campaign_response.message_configuration.adm_message.image_small_icon_url #=> String
1856
+ # resp.campaign_response.message_configuration.adm_message.image_url #=> String
1857
+ # resp.campaign_response.message_configuration.adm_message.json_body #=> String
1858
+ # resp.campaign_response.message_configuration.adm_message.media_url #=> String
1859
+ # resp.campaign_response.message_configuration.adm_message.raw_content #=> String
1860
+ # resp.campaign_response.message_configuration.adm_message.silent_push #=> Boolean
1861
+ # resp.campaign_response.message_configuration.adm_message.title #=> String
1862
+ # resp.campaign_response.message_configuration.adm_message.url #=> String
1519
1863
  # resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1520
1864
  # resp.campaign_response.message_configuration.apns_message.body #=> String
1521
1865
  # resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
@@ -1527,6 +1871,17 @@ module Aws::Pinpoint
1527
1871
  # resp.campaign_response.message_configuration.apns_message.silent_push #=> Boolean
1528
1872
  # resp.campaign_response.message_configuration.apns_message.title #=> String
1529
1873
  # resp.campaign_response.message_configuration.apns_message.url #=> String
1874
+ # resp.campaign_response.message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1875
+ # resp.campaign_response.message_configuration.baidu_message.body #=> String
1876
+ # resp.campaign_response.message_configuration.baidu_message.image_icon_url #=> String
1877
+ # resp.campaign_response.message_configuration.baidu_message.image_small_icon_url #=> String
1878
+ # resp.campaign_response.message_configuration.baidu_message.image_url #=> String
1879
+ # resp.campaign_response.message_configuration.baidu_message.json_body #=> String
1880
+ # resp.campaign_response.message_configuration.baidu_message.media_url #=> String
1881
+ # resp.campaign_response.message_configuration.baidu_message.raw_content #=> String
1882
+ # resp.campaign_response.message_configuration.baidu_message.silent_push #=> Boolean
1883
+ # resp.campaign_response.message_configuration.baidu_message.title #=> String
1884
+ # resp.campaign_response.message_configuration.baidu_message.url #=> String
1530
1885
  # resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1531
1886
  # resp.campaign_response.message_configuration.default_message.body #=> String
1532
1887
  # resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
@@ -1653,6 +2008,17 @@ module Aws::Pinpoint
1653
2008
  #
1654
2009
  # resp.campaign_response.additional_treatments #=> Array
1655
2010
  # resp.campaign_response.additional_treatments[0].id #=> String
2011
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2012
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
2013
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
2014
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
2015
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_url #=> String
2016
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.json_body #=> String
2017
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.media_url #=> String
2018
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.raw_content #=> String
2019
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
2020
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.title #=> String
2021
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.url #=> String
1656
2022
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1657
2023
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
1658
2024
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -1664,6 +2030,17 @@ module Aws::Pinpoint
1664
2030
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
1665
2031
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.title #=> String
1666
2032
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.url #=> String
2033
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2034
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.body #=> String
2035
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
2036
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
2037
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_url #=> String
2038
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.json_body #=> String
2039
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.media_url #=> String
2040
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
2041
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
2042
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
2043
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
1667
2044
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1668
2045
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
1669
2046
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -1716,6 +2093,17 @@ module Aws::Pinpoint
1716
2093
  # resp.campaign_response.limits.maximum_duration #=> Integer
1717
2094
  # resp.campaign_response.limits.messages_per_second #=> Integer
1718
2095
  # resp.campaign_response.limits.total #=> Integer
2096
+ # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2097
+ # resp.campaign_response.message_configuration.adm_message.body #=> String
2098
+ # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
2099
+ # resp.campaign_response.message_configuration.adm_message.image_small_icon_url #=> String
2100
+ # resp.campaign_response.message_configuration.adm_message.image_url #=> String
2101
+ # resp.campaign_response.message_configuration.adm_message.json_body #=> String
2102
+ # resp.campaign_response.message_configuration.adm_message.media_url #=> String
2103
+ # resp.campaign_response.message_configuration.adm_message.raw_content #=> String
2104
+ # resp.campaign_response.message_configuration.adm_message.silent_push #=> Boolean
2105
+ # resp.campaign_response.message_configuration.adm_message.title #=> String
2106
+ # resp.campaign_response.message_configuration.adm_message.url #=> String
1719
2107
  # resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1720
2108
  # resp.campaign_response.message_configuration.apns_message.body #=> String
1721
2109
  # resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
@@ -1727,6 +2115,17 @@ module Aws::Pinpoint
1727
2115
  # resp.campaign_response.message_configuration.apns_message.silent_push #=> Boolean
1728
2116
  # resp.campaign_response.message_configuration.apns_message.title #=> String
1729
2117
  # resp.campaign_response.message_configuration.apns_message.url #=> String
2118
+ # resp.campaign_response.message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2119
+ # resp.campaign_response.message_configuration.baidu_message.body #=> String
2120
+ # resp.campaign_response.message_configuration.baidu_message.image_icon_url #=> String
2121
+ # resp.campaign_response.message_configuration.baidu_message.image_small_icon_url #=> String
2122
+ # resp.campaign_response.message_configuration.baidu_message.image_url #=> String
2123
+ # resp.campaign_response.message_configuration.baidu_message.json_body #=> String
2124
+ # resp.campaign_response.message_configuration.baidu_message.media_url #=> String
2125
+ # resp.campaign_response.message_configuration.baidu_message.raw_content #=> String
2126
+ # resp.campaign_response.message_configuration.baidu_message.silent_push #=> Boolean
2127
+ # resp.campaign_response.message_configuration.baidu_message.title #=> String
2128
+ # resp.campaign_response.message_configuration.baidu_message.url #=> String
1730
2129
  # resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1731
2130
  # resp.campaign_response.message_configuration.default_message.body #=> String
1732
2131
  # resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
@@ -1808,6 +2207,17 @@ module Aws::Pinpoint
1808
2207
  # resp.campaigns_response.item #=> Array
1809
2208
  # resp.campaigns_response.item[0].additional_treatments #=> Array
1810
2209
  # resp.campaigns_response.item[0].additional_treatments[0].id #=> String
2210
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2211
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
2212
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
2213
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
2214
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_url #=> String
2215
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.json_body #=> String
2216
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.media_url #=> String
2217
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.raw_content #=> String
2218
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
2219
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.title #=> String
2220
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.url #=> String
1811
2221
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1812
2222
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.body #=> String
1813
2223
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -1819,6 +2229,17 @@ module Aws::Pinpoint
1819
2229
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
1820
2230
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.title #=> String
1821
2231
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.url #=> String
2232
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2233
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.body #=> String
2234
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
2235
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
2236
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_url #=> String
2237
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.json_body #=> String
2238
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.media_url #=> String
2239
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
2240
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
2241
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.title #=> String
2242
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.url #=> String
1822
2243
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1823
2244
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
1824
2245
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -1871,6 +2292,17 @@ module Aws::Pinpoint
1871
2292
  # resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
1872
2293
  # resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
1873
2294
  # resp.campaigns_response.item[0].limits.total #=> Integer
2295
+ # resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2296
+ # resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
2297
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
2298
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_small_icon_url #=> String
2299
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_url #=> String
2300
+ # resp.campaigns_response.item[0].message_configuration.adm_message.json_body #=> String
2301
+ # resp.campaigns_response.item[0].message_configuration.adm_message.media_url #=> String
2302
+ # resp.campaigns_response.item[0].message_configuration.adm_message.raw_content #=> String
2303
+ # resp.campaigns_response.item[0].message_configuration.adm_message.silent_push #=> Boolean
2304
+ # resp.campaigns_response.item[0].message_configuration.adm_message.title #=> String
2305
+ # resp.campaigns_response.item[0].message_configuration.adm_message.url #=> String
1874
2306
  # resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1875
2307
  # resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
1876
2308
  # resp.campaigns_response.item[0].message_configuration.apns_message.image_icon_url #=> String
@@ -1882,6 +2314,17 @@ module Aws::Pinpoint
1882
2314
  # resp.campaigns_response.item[0].message_configuration.apns_message.silent_push #=> Boolean
1883
2315
  # resp.campaigns_response.item[0].message_configuration.apns_message.title #=> String
1884
2316
  # resp.campaigns_response.item[0].message_configuration.apns_message.url #=> String
2317
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2318
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.body #=> String
2319
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_icon_url #=> String
2320
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_small_icon_url #=> String
2321
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_url #=> String
2322
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.json_body #=> String
2323
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.media_url #=> String
2324
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.raw_content #=> String
2325
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.silent_push #=> Boolean
2326
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.title #=> String
2327
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.url #=> String
1885
2328
  # resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1886
2329
  # resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
1887
2330
  # resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
@@ -1961,6 +2404,17 @@ module Aws::Pinpoint
1961
2404
  # resp.campaigns_response.item #=> Array
1962
2405
  # resp.campaigns_response.item[0].additional_treatments #=> Array
1963
2406
  # resp.campaigns_response.item[0].additional_treatments[0].id #=> String
2407
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2408
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
2409
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
2410
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
2411
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.image_url #=> String
2412
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.json_body #=> String
2413
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.media_url #=> String
2414
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.raw_content #=> String
2415
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
2416
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.title #=> String
2417
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.url #=> String
1964
2418
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1965
2419
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.body #=> String
1966
2420
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -1972,6 +2426,17 @@ module Aws::Pinpoint
1972
2426
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
1973
2427
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.title #=> String
1974
2428
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.url #=> String
2429
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2430
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.body #=> String
2431
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
2432
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
2433
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.image_url #=> String
2434
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.json_body #=> String
2435
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.media_url #=> String
2436
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
2437
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
2438
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.title #=> String
2439
+ # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.url #=> String
1975
2440
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
1976
2441
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
1977
2442
  # resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -2024,6 +2489,17 @@ module Aws::Pinpoint
2024
2489
  # resp.campaigns_response.item[0].limits.maximum_duration #=> Integer
2025
2490
  # resp.campaigns_response.item[0].limits.messages_per_second #=> Integer
2026
2491
  # resp.campaigns_response.item[0].limits.total #=> Integer
2492
+ # resp.campaigns_response.item[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2493
+ # resp.campaigns_response.item[0].message_configuration.adm_message.body #=> String
2494
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_icon_url #=> String
2495
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_small_icon_url #=> String
2496
+ # resp.campaigns_response.item[0].message_configuration.adm_message.image_url #=> String
2497
+ # resp.campaigns_response.item[0].message_configuration.adm_message.json_body #=> String
2498
+ # resp.campaigns_response.item[0].message_configuration.adm_message.media_url #=> String
2499
+ # resp.campaigns_response.item[0].message_configuration.adm_message.raw_content #=> String
2500
+ # resp.campaigns_response.item[0].message_configuration.adm_message.silent_push #=> Boolean
2501
+ # resp.campaigns_response.item[0].message_configuration.adm_message.title #=> String
2502
+ # resp.campaigns_response.item[0].message_configuration.adm_message.url #=> String
2027
2503
  # resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2028
2504
  # resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
2029
2505
  # resp.campaigns_response.item[0].message_configuration.apns_message.image_icon_url #=> String
@@ -2035,6 +2511,17 @@ module Aws::Pinpoint
2035
2511
  # resp.campaigns_response.item[0].message_configuration.apns_message.silent_push #=> Boolean
2036
2512
  # resp.campaigns_response.item[0].message_configuration.apns_message.title #=> String
2037
2513
  # resp.campaigns_response.item[0].message_configuration.apns_message.url #=> String
2514
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2515
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.body #=> String
2516
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_icon_url #=> String
2517
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_small_icon_url #=> String
2518
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.image_url #=> String
2519
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.json_body #=> String
2520
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.media_url #=> String
2521
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.raw_content #=> String
2522
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.silent_push #=> Boolean
2523
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.title #=> String
2524
+ # resp.campaigns_response.item[0].message_configuration.baidu_message.url #=> String
2038
2525
  # resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
2039
2526
  # resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
2040
2527
  # resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
@@ -2109,6 +2596,7 @@ module Aws::Pinpoint
2109
2596
  # resp.email_channel_response.creation_date #=> String
2110
2597
  # resp.email_channel_response.enabled #=> Boolean
2111
2598
  # resp.email_channel_response.from_address #=> String
2599
+ # resp.email_channel_response.has_credential #=> Boolean
2112
2600
  # resp.email_channel_response.id #=> String
2113
2601
  # resp.email_channel_response.identity #=> String
2114
2602
  # resp.email_channel_response.is_archived #=> Boolean
@@ -2151,7 +2639,7 @@ module Aws::Pinpoint
2151
2639
  # resp.endpoint_response.attributes #=> Hash
2152
2640
  # resp.endpoint_response.attributes["__string"] #=> Array
2153
2641
  # resp.endpoint_response.attributes["__string"][0] #=> String
2154
- # resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU"
2642
+ # resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "EMAIL", "BAIDU"
2155
2643
  # resp.endpoint_response.cohort_id #=> String
2156
2644
  # resp.endpoint_response.creation_date #=> String
2157
2645
  # resp.endpoint_response.demographic.app_version #=> String
@@ -2175,7 +2663,6 @@ module Aws::Pinpoint
2175
2663
  # resp.endpoint_response.metrics["__string"] #=> Float
2176
2664
  # resp.endpoint_response.opt_out #=> String
2177
2665
  # resp.endpoint_response.request_id #=> String
2178
- # resp.endpoint_response.shard_id #=> String
2179
2666
  # resp.endpoint_response.user.user_attributes #=> Hash
2180
2667
  # resp.endpoint_response.user.user_attributes["__string"] #=> Array
2181
2668
  # resp.endpoint_response.user.user_attributes["__string"][0] #=> String
@@ -2193,6 +2680,7 @@ module Aws::Pinpoint
2193
2680
  # Returns the event stream for an app.
2194
2681
  #
2195
2682
  # @option params [required, String] :application_id
2683
+ # Application Id.
2196
2684
  #
2197
2685
  # @return [Types::GetEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2198
2686
  #
@@ -2242,6 +2730,7 @@ module Aws::Pinpoint
2242
2730
  # resp.gcm_channel_response.creation_date #=> String
2243
2731
  # resp.gcm_channel_response.credential #=> String
2244
2732
  # resp.gcm_channel_response.enabled #=> Boolean
2733
+ # resp.gcm_channel_response.has_credential #=> Boolean
2245
2734
  # resp.gcm_channel_response.id #=> String
2246
2735
  # resp.gcm_channel_response.is_archived #=> Boolean
2247
2736
  # resp.gcm_channel_response.last_modified_by #=> String
@@ -2752,6 +3241,7 @@ module Aws::Pinpoint
2752
3241
  # resp.sms_channel_response.application_id #=> String
2753
3242
  # resp.sms_channel_response.creation_date #=> String
2754
3243
  # resp.sms_channel_response.enabled #=> Boolean
3244
+ # resp.sms_channel_response.has_credential #=> Boolean
2755
3245
  # resp.sms_channel_response.id #=> String
2756
3246
  # resp.sms_channel_response.is_archived #=> Boolean
2757
3247
  # resp.sms_channel_response.last_modified_by #=> String
@@ -2773,9 +3263,10 @@ module Aws::Pinpoint
2773
3263
  # Use to create or update the event stream for an app.
2774
3264
  #
2775
3265
  # @option params [required, String] :application_id
3266
+ # Application Id.
2776
3267
  #
2777
3268
  # @option params [required, Types::WriteEventStream] :write_event_stream
2778
- # Request to save an EventStream.
3269
+ # Write event stream wrapper.
2779
3270
  #
2780
3271
  # @return [Types::PutEventStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2781
3272
  #
@@ -2787,7 +3278,6 @@ module Aws::Pinpoint
2787
3278
  # application_id: "__string", # required
2788
3279
  # write_event_stream: { # required
2789
3280
  # destination_stream_arn: "__string",
2790
- # external_id: "__string",
2791
3281
  # role_arn: "__string",
2792
3282
  # },
2793
3283
  # })
@@ -2829,7 +3319,7 @@ module Aws::Pinpoint
2829
3319
  # addresses: {
2830
3320
  # "__string" => {
2831
3321
  # body_override: "__string",
2832
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
3322
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
2833
3323
  # context: {
2834
3324
  # "__string" => "__string",
2835
3325
  # },
@@ -2840,9 +3330,6 @@ module Aws::Pinpoint
2840
3330
  # title_override: "__string",
2841
3331
  # },
2842
3332
  # },
2843
- # campaign: {
2844
- # "__string" => "__string",
2845
- # },
2846
3333
  # context: {
2847
3334
  # "__string" => "__string",
2848
3335
  # },
@@ -2871,7 +3358,6 @@ module Aws::Pinpoint
2871
3358
  # icon_reference: "__string",
2872
3359
  # image_icon_url: "__string",
2873
3360
  # image_url: "__string",
2874
- # json_data: "__string",
2875
3361
  # md5: "__string",
2876
3362
  # raw_content: "__string",
2877
3363
  # silent_push: false,
@@ -2888,12 +3374,13 @@ module Aws::Pinpoint
2888
3374
  # badge: 1,
2889
3375
  # body: "__string",
2890
3376
  # category: "__string",
3377
+ # collapse_id: "__string",
2891
3378
  # data: {
2892
3379
  # "__string" => "__string",
2893
3380
  # },
2894
- # json_data: "__string",
2895
3381
  # media_url: "__string",
2896
3382
  # preferred_authentication_method: "__string",
3383
+ # priority: "__string",
2897
3384
  # raw_content: "__string",
2898
3385
  # silent_push: false,
2899
3386
  # sound: "__string",
@@ -2901,6 +3388,7 @@ module Aws::Pinpoint
2901
3388
  # "__string" => ["__string"],
2902
3389
  # },
2903
3390
  # thread_id: "__string",
3391
+ # time_to_live: 1,
2904
3392
  # title: "__string",
2905
3393
  # url: "__string",
2906
3394
  # },
@@ -2913,7 +3401,6 @@ module Aws::Pinpoint
2913
3401
  # icon_reference: "__string",
2914
3402
  # image_icon_url: "__string",
2915
3403
  # image_url: "__string",
2916
- # json_data: "__string",
2917
3404
  # raw_content: "__string",
2918
3405
  # silent_push: false,
2919
3406
  # small_image_icon_url: "__string",
@@ -2936,7 +3423,6 @@ module Aws::Pinpoint
2936
3423
  # data: {
2937
3424
  # "__string" => "__string",
2938
3425
  # },
2939
- # json_data: "__string",
2940
3426
  # silent_push: false,
2941
3427
  # substitutions: {
2942
3428
  # "__string" => ["__string"],
@@ -2944,16 +3430,6 @@ module Aws::Pinpoint
2944
3430
  # title: "__string",
2945
3431
  # url: "__string",
2946
3432
  # },
2947
- # email_message: {
2948
- # body: "__string",
2949
- # from_address: "__string",
2950
- # html_body: "__string",
2951
- # substitutions: {
2952
- # "__string" => ["__string"],
2953
- # },
2954
- # template_arn: "__string",
2955
- # title: "__string",
2956
- # },
2957
3433
  # gcm_message: {
2958
3434
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
2959
3435
  # body: "__string",
@@ -2964,7 +3440,7 @@ module Aws::Pinpoint
2964
3440
  # icon_reference: "__string",
2965
3441
  # image_icon_url: "__string",
2966
3442
  # image_url: "__string",
2967
- # json_data: "__string",
3443
+ # priority: "__string",
2968
3444
  # raw_content: "__string",
2969
3445
  # restricted_package_name: "__string",
2970
3446
  # silent_push: false,
@@ -2973,6 +3449,7 @@ module Aws::Pinpoint
2973
3449
  # substitutions: {
2974
3450
  # "__string" => ["__string"],
2975
3451
  # },
3452
+ # time_to_live: 1,
2976
3453
  # title: "__string",
2977
3454
  # url: "__string",
2978
3455
  # },
@@ -2985,7 +3462,6 @@ module Aws::Pinpoint
2985
3462
  # },
2986
3463
  # },
2987
3464
  # },
2988
- # request_id: "__string",
2989
3465
  # },
2990
3466
  # })
2991
3467
  #
@@ -3045,7 +3521,6 @@ module Aws::Pinpoint
3045
3521
  # icon_reference: "__string",
3046
3522
  # image_icon_url: "__string",
3047
3523
  # image_url: "__string",
3048
- # json_data: "__string",
3049
3524
  # md5: "__string",
3050
3525
  # raw_content: "__string",
3051
3526
  # silent_push: false,
@@ -3062,12 +3537,13 @@ module Aws::Pinpoint
3062
3537
  # badge: 1,
3063
3538
  # body: "__string",
3064
3539
  # category: "__string",
3540
+ # collapse_id: "__string",
3065
3541
  # data: {
3066
3542
  # "__string" => "__string",
3067
3543
  # },
3068
- # json_data: "__string",
3069
3544
  # media_url: "__string",
3070
3545
  # preferred_authentication_method: "__string",
3546
+ # priority: "__string",
3071
3547
  # raw_content: "__string",
3072
3548
  # silent_push: false,
3073
3549
  # sound: "__string",
@@ -3075,6 +3551,7 @@ module Aws::Pinpoint
3075
3551
  # "__string" => ["__string"],
3076
3552
  # },
3077
3553
  # thread_id: "__string",
3554
+ # time_to_live: 1,
3078
3555
  # title: "__string",
3079
3556
  # url: "__string",
3080
3557
  # },
@@ -3087,7 +3564,6 @@ module Aws::Pinpoint
3087
3564
  # icon_reference: "__string",
3088
3565
  # image_icon_url: "__string",
3089
3566
  # image_url: "__string",
3090
- # json_data: "__string",
3091
3567
  # raw_content: "__string",
3092
3568
  # silent_push: false,
3093
3569
  # small_image_icon_url: "__string",
@@ -3110,7 +3586,6 @@ module Aws::Pinpoint
3110
3586
  # data: {
3111
3587
  # "__string" => "__string",
3112
3588
  # },
3113
- # json_data: "__string",
3114
3589
  # silent_push: false,
3115
3590
  # substitutions: {
3116
3591
  # "__string" => ["__string"],
@@ -3118,16 +3593,6 @@ module Aws::Pinpoint
3118
3593
  # title: "__string",
3119
3594
  # url: "__string",
3120
3595
  # },
3121
- # email_message: {
3122
- # body: "__string",
3123
- # from_address: "__string",
3124
- # html_body: "__string",
3125
- # substitutions: {
3126
- # "__string" => ["__string"],
3127
- # },
3128
- # template_arn: "__string",
3129
- # title: "__string",
3130
- # },
3131
3596
  # gcm_message: {
3132
3597
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
3133
3598
  # body: "__string",
@@ -3138,7 +3603,7 @@ module Aws::Pinpoint
3138
3603
  # icon_reference: "__string",
3139
3604
  # image_icon_url: "__string",
3140
3605
  # image_url: "__string",
3141
- # json_data: "__string",
3606
+ # priority: "__string",
3142
3607
  # raw_content: "__string",
3143
3608
  # restricted_package_name: "__string",
3144
3609
  # silent_push: false,
@@ -3147,6 +3612,7 @@ module Aws::Pinpoint
3147
3612
  # substitutions: {
3148
3613
  # "__string" => ["__string"],
3149
3614
  # },
3615
+ # time_to_live: 1,
3150
3616
  # title: "__string",
3151
3617
  # url: "__string",
3152
3618
  # },
@@ -3159,7 +3625,6 @@ module Aws::Pinpoint
3159
3625
  # },
3160
3626
  # },
3161
3627
  # },
3162
- # request_id: "__string",
3163
3628
  # users: {
3164
3629
  # "__string" => {
3165
3630
  # body_override: "__string",
@@ -3224,6 +3689,7 @@ module Aws::Pinpoint
3224
3689
  # resp.adm_channel_response.application_id #=> String
3225
3690
  # resp.adm_channel_response.creation_date #=> String
3226
3691
  # resp.adm_channel_response.enabled #=> Boolean
3692
+ # resp.adm_channel_response.has_credential #=> Boolean
3227
3693
  # resp.adm_channel_response.id #=> String
3228
3694
  # resp.adm_channel_response.is_archived #=> Boolean
3229
3695
  # resp.adm_channel_response.last_modified_by #=> String
@@ -3271,7 +3737,10 @@ module Aws::Pinpoint
3271
3737
  #
3272
3738
  # resp.apns_channel_response.application_id #=> String
3273
3739
  # resp.apns_channel_response.creation_date #=> String
3740
+ # resp.apns_channel_response.default_authentication_method #=> String
3274
3741
  # resp.apns_channel_response.enabled #=> Boolean
3742
+ # resp.apns_channel_response.has_credential #=> Boolean
3743
+ # resp.apns_channel_response.has_token_key #=> Boolean
3275
3744
  # resp.apns_channel_response.id #=> String
3276
3745
  # resp.apns_channel_response.is_archived #=> Boolean
3277
3746
  # resp.apns_channel_response.last_modified_by #=> String
@@ -3319,7 +3788,10 @@ module Aws::Pinpoint
3319
3788
  #
3320
3789
  # resp.apns_sandbox_channel_response.application_id #=> String
3321
3790
  # resp.apns_sandbox_channel_response.creation_date #=> String
3791
+ # resp.apns_sandbox_channel_response.default_authentication_method #=> String
3322
3792
  # resp.apns_sandbox_channel_response.enabled #=> Boolean
3793
+ # resp.apns_sandbox_channel_response.has_credential #=> Boolean
3794
+ # resp.apns_sandbox_channel_response.has_token_key #=> Boolean
3323
3795
  # resp.apns_sandbox_channel_response.id #=> String
3324
3796
  # resp.apns_sandbox_channel_response.is_archived #=> Boolean
3325
3797
  # resp.apns_sandbox_channel_response.last_modified_by #=> String
@@ -3336,6 +3808,108 @@ module Aws::Pinpoint
3336
3808
  req.send_request(options)
3337
3809
  end
3338
3810
 
3811
+ # Update an APNS VOIP channel
3812
+ #
3813
+ # @option params [required, Types::APNSVoipChannelRequest] :apns_voip_channel_request
3814
+ # Apple VOIP Push Notification Service channel definition.
3815
+ #
3816
+ # @option params [required, String] :application_id
3817
+ #
3818
+ # @return [Types::UpdateApnsVoipChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3819
+ #
3820
+ # * {Types::UpdateApnsVoipChannelResponse#apns_voip_channel_response #apns_voip_channel_response} => Types::APNSVoipChannelResponse
3821
+ #
3822
+ # @example Request syntax with placeholder values
3823
+ #
3824
+ # resp = client.update_apns_voip_channel({
3825
+ # apns_voip_channel_request: { # required
3826
+ # bundle_id: "__string",
3827
+ # certificate: "__string",
3828
+ # default_authentication_method: "__string",
3829
+ # enabled: false,
3830
+ # private_key: "__string",
3831
+ # team_id: "__string",
3832
+ # token_key: "__string",
3833
+ # token_key_id: "__string",
3834
+ # },
3835
+ # application_id: "__string", # required
3836
+ # })
3837
+ #
3838
+ # @example Response structure
3839
+ #
3840
+ # resp.apns_voip_channel_response.application_id #=> String
3841
+ # resp.apns_voip_channel_response.creation_date #=> String
3842
+ # resp.apns_voip_channel_response.default_authentication_method #=> String
3843
+ # resp.apns_voip_channel_response.enabled #=> Boolean
3844
+ # resp.apns_voip_channel_response.has_credential #=> Boolean
3845
+ # resp.apns_voip_channel_response.has_token_key #=> Boolean
3846
+ # resp.apns_voip_channel_response.id #=> String
3847
+ # resp.apns_voip_channel_response.is_archived #=> Boolean
3848
+ # resp.apns_voip_channel_response.last_modified_by #=> String
3849
+ # resp.apns_voip_channel_response.last_modified_date #=> String
3850
+ # resp.apns_voip_channel_response.platform #=> String
3851
+ # resp.apns_voip_channel_response.version #=> Integer
3852
+ #
3853
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipChannel AWS API Documentation
3854
+ #
3855
+ # @overload update_apns_voip_channel(params = {})
3856
+ # @param [Hash] params ({})
3857
+ def update_apns_voip_channel(params = {}, options = {})
3858
+ req = build_request(:update_apns_voip_channel, params)
3859
+ req.send_request(options)
3860
+ end
3861
+
3862
+ # Update an APNS VOIP sandbox channel
3863
+ #
3864
+ # @option params [required, Types::APNSVoipSandboxChannelRequest] :apns_voip_sandbox_channel_request
3865
+ # Apple VOIP Developer Push Notification Service channel definition.
3866
+ #
3867
+ # @option params [required, String] :application_id
3868
+ #
3869
+ # @return [Types::UpdateApnsVoipSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3870
+ #
3871
+ # * {Types::UpdateApnsVoipSandboxChannelResponse#apns_voip_sandbox_channel_response #apns_voip_sandbox_channel_response} => Types::APNSVoipSandboxChannelResponse
3872
+ #
3873
+ # @example Request syntax with placeholder values
3874
+ #
3875
+ # resp = client.update_apns_voip_sandbox_channel({
3876
+ # apns_voip_sandbox_channel_request: { # required
3877
+ # bundle_id: "__string",
3878
+ # certificate: "__string",
3879
+ # default_authentication_method: "__string",
3880
+ # enabled: false,
3881
+ # private_key: "__string",
3882
+ # team_id: "__string",
3883
+ # token_key: "__string",
3884
+ # token_key_id: "__string",
3885
+ # },
3886
+ # application_id: "__string", # required
3887
+ # })
3888
+ #
3889
+ # @example Response structure
3890
+ #
3891
+ # resp.apns_voip_sandbox_channel_response.application_id #=> String
3892
+ # resp.apns_voip_sandbox_channel_response.creation_date #=> String
3893
+ # resp.apns_voip_sandbox_channel_response.default_authentication_method #=> String
3894
+ # resp.apns_voip_sandbox_channel_response.enabled #=> Boolean
3895
+ # resp.apns_voip_sandbox_channel_response.has_credential #=> Boolean
3896
+ # resp.apns_voip_sandbox_channel_response.has_token_key #=> Boolean
3897
+ # resp.apns_voip_sandbox_channel_response.id #=> String
3898
+ # resp.apns_voip_sandbox_channel_response.is_archived #=> Boolean
3899
+ # resp.apns_voip_sandbox_channel_response.last_modified_by #=> String
3900
+ # resp.apns_voip_sandbox_channel_response.last_modified_date #=> String
3901
+ # resp.apns_voip_sandbox_channel_response.platform #=> String
3902
+ # resp.apns_voip_sandbox_channel_response.version #=> Integer
3903
+ #
3904
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateApnsVoipSandboxChannel AWS API Documentation
3905
+ #
3906
+ # @overload update_apns_voip_sandbox_channel(params = {})
3907
+ # @param [Hash] params ({})
3908
+ def update_apns_voip_sandbox_channel(params = {}, options = {})
3909
+ req = build_request(:update_apns_voip_sandbox_channel, params)
3910
+ req.send_request(options)
3911
+ end
3912
+
3339
3913
  # Used to update the settings for an app.
3340
3914
  #
3341
3915
  # @option params [required, String] :application_id
@@ -3413,6 +3987,7 @@ module Aws::Pinpoint
3413
3987
  # resp.baidu_channel_response.creation_date #=> String
3414
3988
  # resp.baidu_channel_response.credential #=> String
3415
3989
  # resp.baidu_channel_response.enabled #=> Boolean
3990
+ # resp.baidu_channel_response.has_credential #=> Boolean
3416
3991
  # resp.baidu_channel_response.id #=> String
3417
3992
  # resp.baidu_channel_response.is_archived #=> Boolean
3418
3993
  # resp.baidu_channel_response.last_modified_by #=> String
@@ -3451,6 +4026,19 @@ module Aws::Pinpoint
3451
4026
  # additional_treatments: [
3452
4027
  # {
3453
4028
  # message_configuration: {
4029
+ # adm_message: {
4030
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4031
+ # body: "__string",
4032
+ # image_icon_url: "__string",
4033
+ # image_small_icon_url: "__string",
4034
+ # image_url: "__string",
4035
+ # json_body: "__string",
4036
+ # media_url: "__string",
4037
+ # raw_content: "__string",
4038
+ # silent_push: false,
4039
+ # title: "__string",
4040
+ # url: "__string",
4041
+ # },
3454
4042
  # apns_message: {
3455
4043
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
3456
4044
  # body: "__string",
@@ -3464,6 +4052,19 @@ module Aws::Pinpoint
3464
4052
  # title: "__string",
3465
4053
  # url: "__string",
3466
4054
  # },
4055
+ # baidu_message: {
4056
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4057
+ # body: "__string",
4058
+ # image_icon_url: "__string",
4059
+ # image_small_icon_url: "__string",
4060
+ # image_url: "__string",
4061
+ # json_body: "__string",
4062
+ # media_url: "__string",
4063
+ # raw_content: "__string",
4064
+ # silent_push: false,
4065
+ # title: "__string",
4066
+ # url: "__string",
4067
+ # },
3467
4068
  # default_message: {
3468
4069
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
3469
4070
  # body: "__string",
@@ -3528,6 +4129,19 @@ module Aws::Pinpoint
3528
4129
  # total: 1,
3529
4130
  # },
3530
4131
  # message_configuration: {
4132
+ # adm_message: {
4133
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4134
+ # body: "__string",
4135
+ # image_icon_url: "__string",
4136
+ # image_small_icon_url: "__string",
4137
+ # image_url: "__string",
4138
+ # json_body: "__string",
4139
+ # media_url: "__string",
4140
+ # raw_content: "__string",
4141
+ # silent_push: false,
4142
+ # title: "__string",
4143
+ # url: "__string",
4144
+ # },
3531
4145
  # apns_message: {
3532
4146
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
3533
4147
  # body: "__string",
@@ -3541,6 +4155,19 @@ module Aws::Pinpoint
3541
4155
  # title: "__string",
3542
4156
  # url: "__string",
3543
4157
  # },
4158
+ # baidu_message: {
4159
+ # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
4160
+ # body: "__string",
4161
+ # image_icon_url: "__string",
4162
+ # image_small_icon_url: "__string",
4163
+ # image_url: "__string",
4164
+ # json_body: "__string",
4165
+ # media_url: "__string",
4166
+ # raw_content: "__string",
4167
+ # silent_push: false,
4168
+ # title: "__string",
4169
+ # url: "__string",
4170
+ # },
3544
4171
  # default_message: {
3545
4172
  # action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
3546
4173
  # body: "__string",
@@ -3593,7 +4220,6 @@ module Aws::Pinpoint
3593
4220
  # },
3594
4221
  # segment_id: "__string",
3595
4222
  # segment_version: 1,
3596
- # trace: false,
3597
4223
  # treatment_description: "__string",
3598
4224
  # treatment_name: "__string",
3599
4225
  # },
@@ -3603,6 +4229,17 @@ module Aws::Pinpoint
3603
4229
  #
3604
4230
  # resp.campaign_response.additional_treatments #=> Array
3605
4231
  # resp.campaign_response.additional_treatments[0].id #=> String
4232
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4233
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
4234
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_icon_url #=> String
4235
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_small_icon_url #=> String
4236
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.image_url #=> String
4237
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.json_body #=> String
4238
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.media_url #=> String
4239
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.raw_content #=> String
4240
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.silent_push #=> Boolean
4241
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.title #=> String
4242
+ # resp.campaign_response.additional_treatments[0].message_configuration.adm_message.url #=> String
3606
4243
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
3607
4244
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
3608
4245
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
@@ -3614,6 +4251,17 @@ module Aws::Pinpoint
3614
4251
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.silent_push #=> Boolean
3615
4252
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.title #=> String
3616
4253
  # resp.campaign_response.additional_treatments[0].message_configuration.apns_message.url #=> String
4254
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4255
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.body #=> String
4256
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_icon_url #=> String
4257
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_small_icon_url #=> String
4258
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.image_url #=> String
4259
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.json_body #=> String
4260
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.media_url #=> String
4261
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.raw_content #=> String
4262
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.silent_push #=> Boolean
4263
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
4264
+ # resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
3617
4265
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
3618
4266
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
3619
4267
  # resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
@@ -3666,6 +4314,17 @@ module Aws::Pinpoint
3666
4314
  # resp.campaign_response.limits.maximum_duration #=> Integer
3667
4315
  # resp.campaign_response.limits.messages_per_second #=> Integer
3668
4316
  # resp.campaign_response.limits.total #=> Integer
4317
+ # resp.campaign_response.message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4318
+ # resp.campaign_response.message_configuration.adm_message.body #=> String
4319
+ # resp.campaign_response.message_configuration.adm_message.image_icon_url #=> String
4320
+ # resp.campaign_response.message_configuration.adm_message.image_small_icon_url #=> String
4321
+ # resp.campaign_response.message_configuration.adm_message.image_url #=> String
4322
+ # resp.campaign_response.message_configuration.adm_message.json_body #=> String
4323
+ # resp.campaign_response.message_configuration.adm_message.media_url #=> String
4324
+ # resp.campaign_response.message_configuration.adm_message.raw_content #=> String
4325
+ # resp.campaign_response.message_configuration.adm_message.silent_push #=> Boolean
4326
+ # resp.campaign_response.message_configuration.adm_message.title #=> String
4327
+ # resp.campaign_response.message_configuration.adm_message.url #=> String
3669
4328
  # resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
3670
4329
  # resp.campaign_response.message_configuration.apns_message.body #=> String
3671
4330
  # resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
@@ -3677,6 +4336,17 @@ module Aws::Pinpoint
3677
4336
  # resp.campaign_response.message_configuration.apns_message.silent_push #=> Boolean
3678
4337
  # resp.campaign_response.message_configuration.apns_message.title #=> String
3679
4338
  # resp.campaign_response.message_configuration.apns_message.url #=> String
4339
+ # resp.campaign_response.message_configuration.baidu_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
4340
+ # resp.campaign_response.message_configuration.baidu_message.body #=> String
4341
+ # resp.campaign_response.message_configuration.baidu_message.image_icon_url #=> String
4342
+ # resp.campaign_response.message_configuration.baidu_message.image_small_icon_url #=> String
4343
+ # resp.campaign_response.message_configuration.baidu_message.image_url #=> String
4344
+ # resp.campaign_response.message_configuration.baidu_message.json_body #=> String
4345
+ # resp.campaign_response.message_configuration.baidu_message.media_url #=> String
4346
+ # resp.campaign_response.message_configuration.baidu_message.raw_content #=> String
4347
+ # resp.campaign_response.message_configuration.baidu_message.silent_push #=> Boolean
4348
+ # resp.campaign_response.message_configuration.baidu_message.title #=> String
4349
+ # resp.campaign_response.message_configuration.baidu_message.url #=> String
3680
4350
  # resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
3681
4351
  # resp.campaign_response.message_configuration.default_message.body #=> String
3682
4352
  # resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
@@ -3759,6 +4429,7 @@ module Aws::Pinpoint
3759
4429
  # resp.email_channel_response.creation_date #=> String
3760
4430
  # resp.email_channel_response.enabled #=> Boolean
3761
4431
  # resp.email_channel_response.from_address #=> String
4432
+ # resp.email_channel_response.has_credential #=> Boolean
3762
4433
  # resp.email_channel_response.id #=> String
3763
4434
  # resp.email_channel_response.identity #=> String
3764
4435
  # resp.email_channel_response.is_archived #=> Boolean
@@ -3800,7 +4471,7 @@ module Aws::Pinpoint
3800
4471
  # attributes: {
3801
4472
  # "__string" => ["__string"],
3802
4473
  # },
3803
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
4474
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
3804
4475
  # demographic: {
3805
4476
  # app_version: "__string",
3806
4477
  # locale: "__string",
@@ -3871,7 +4542,7 @@ module Aws::Pinpoint
3871
4542
  # attributes: {
3872
4543
  # "__string" => ["__string"],
3873
4544
  # },
3874
- # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL, BAIDU
4545
+ # channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
3875
4546
  # demographic: {
3876
4547
  # app_version: "__string",
3877
4548
  # locale: "__string",
@@ -3950,6 +4621,7 @@ module Aws::Pinpoint
3950
4621
  # resp.gcm_channel_response.creation_date #=> String
3951
4622
  # resp.gcm_channel_response.credential #=> String
3952
4623
  # resp.gcm_channel_response.enabled #=> Boolean
4624
+ # resp.gcm_channel_response.has_credential #=> Boolean
3953
4625
  # resp.gcm_channel_response.id #=> String
3954
4626
  # resp.gcm_channel_response.is_archived #=> Boolean
3955
4627
  # resp.gcm_channel_response.last_modified_by #=> String
@@ -4125,6 +4797,7 @@ module Aws::Pinpoint
4125
4797
  # resp.sms_channel_response.application_id #=> String
4126
4798
  # resp.sms_channel_response.creation_date #=> String
4127
4799
  # resp.sms_channel_response.enabled #=> Boolean
4800
+ # resp.sms_channel_response.has_credential #=> Boolean
4128
4801
  # resp.sms_channel_response.id #=> String
4129
4802
  # resp.sms_channel_response.is_archived #=> Boolean
4130
4803
  # resp.sms_channel_response.last_modified_by #=> String
@@ -4156,7 +4829,7 @@ module Aws::Pinpoint
4156
4829
  params: params,
4157
4830
  config: config)
4158
4831
  context[:gem_name] = 'aws-sdk-pinpoint'
4159
- context[:gem_version] = '1.1.0'
4832
+ context[:gem_version] = '1.2.0'
4160
4833
  Seahorse::Client::Request.new(handlers, context)
4161
4834
  end
4162
4835