aws-sdk-pinpoint 1.0.0.rc6 → 1.0.0.rc7
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 +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +692 -6
- data/lib/aws-sdk-pinpoint/client_api.rb +443 -2
- data/lib/aws-sdk-pinpoint/types.rb +1647 -91
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442e5d95da1c39fb5ab2dba5b568a70d396ea351
|
4
|
+
data.tar.gz: 83a7b22db9a2c07aa69bb481d9f08e83c8c117ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b60a00516a5a733f0554afc0fb2590dc507883eb18ab918517d9aad705192accd8580aea912d062b32f7f3690ef4558c4139d2050e855d2ed88332f8aecdfe
|
7
|
+
data.tar.gz: d8bf228a8425066846a14110e22a146fdbbf72062f09a8d05b057762bdee3945459ed27ebdfa821dca83640620ab2d974bbc6a3bb4ef917308f71bd53ac59a1a
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -168,6 +168,7 @@ module Aws::Pinpoint
|
|
168
168
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
169
169
|
# body: "__string",
|
170
170
|
# image_icon_url: "__string",
|
171
|
+
# image_small_icon_url: "__string",
|
171
172
|
# image_url: "__string",
|
172
173
|
# json_body: "__string",
|
173
174
|
# media_url: "__string",
|
@@ -179,6 +180,7 @@ module Aws::Pinpoint
|
|
179
180
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
180
181
|
# body: "__string",
|
181
182
|
# image_icon_url: "__string",
|
183
|
+
# image_small_icon_url: "__string",
|
182
184
|
# image_url: "__string",
|
183
185
|
# json_body: "__string",
|
184
186
|
# media_url: "__string",
|
@@ -186,10 +188,16 @@ module Aws::Pinpoint
|
|
186
188
|
# title: "__string",
|
187
189
|
# url: "__string",
|
188
190
|
# },
|
191
|
+
# email_message: {
|
192
|
+
# body: "__string",
|
193
|
+
# html_body: "__string",
|
194
|
+
# title: "__string",
|
195
|
+
# },
|
189
196
|
# gcm_message: {
|
190
197
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
191
198
|
# body: "__string",
|
192
199
|
# image_icon_url: "__string",
|
200
|
+
# image_small_icon_url: "__string",
|
193
201
|
# image_url: "__string",
|
194
202
|
# json_body: "__string",
|
195
203
|
# media_url: "__string",
|
@@ -197,6 +205,11 @@ module Aws::Pinpoint
|
|
197
205
|
# title: "__string",
|
198
206
|
# url: "__string",
|
199
207
|
# },
|
208
|
+
# sms_message: {
|
209
|
+
# body: "__string",
|
210
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
211
|
+
# sender_id: "__string",
|
212
|
+
# },
|
200
213
|
# },
|
201
214
|
# schedule: {
|
202
215
|
# end_time: "__string",
|
@@ -226,6 +239,7 @@ module Aws::Pinpoint
|
|
226
239
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
227
240
|
# body: "__string",
|
228
241
|
# image_icon_url: "__string",
|
242
|
+
# image_small_icon_url: "__string",
|
229
243
|
# image_url: "__string",
|
230
244
|
# json_body: "__string",
|
231
245
|
# media_url: "__string",
|
@@ -237,6 +251,7 @@ module Aws::Pinpoint
|
|
237
251
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
238
252
|
# body: "__string",
|
239
253
|
# image_icon_url: "__string",
|
254
|
+
# image_small_icon_url: "__string",
|
240
255
|
# image_url: "__string",
|
241
256
|
# json_body: "__string",
|
242
257
|
# media_url: "__string",
|
@@ -244,10 +259,16 @@ module Aws::Pinpoint
|
|
244
259
|
# title: "__string",
|
245
260
|
# url: "__string",
|
246
261
|
# },
|
262
|
+
# email_message: {
|
263
|
+
# body: "__string",
|
264
|
+
# html_body: "__string",
|
265
|
+
# title: "__string",
|
266
|
+
# },
|
247
267
|
# gcm_message: {
|
248
268
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
249
269
|
# body: "__string",
|
250
270
|
# image_icon_url: "__string",
|
271
|
+
# image_small_icon_url: "__string",
|
251
272
|
# image_url: "__string",
|
252
273
|
# json_body: "__string",
|
253
274
|
# media_url: "__string",
|
@@ -255,6 +276,11 @@ module Aws::Pinpoint
|
|
255
276
|
# title: "__string",
|
256
277
|
# url: "__string",
|
257
278
|
# },
|
279
|
+
# sms_message: {
|
280
|
+
# body: "__string",
|
281
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
282
|
+
# sender_id: "__string",
|
283
|
+
# },
|
258
284
|
# },
|
259
285
|
# name: "__string",
|
260
286
|
# schedule: {
|
@@ -282,6 +308,7 @@ module Aws::Pinpoint
|
|
282
308
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
283
309
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
|
284
310
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
311
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
285
312
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
286
313
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
287
314
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -291,21 +318,29 @@ module Aws::Pinpoint
|
|
291
318
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
292
319
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
293
320
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
321
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
294
322
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_url #=> String
|
295
323
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.json_body #=> String
|
296
324
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.media_url #=> String
|
297
325
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
298
326
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.title #=> String
|
299
327
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
328
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
329
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
330
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
300
331
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
301
332
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.body #=> String
|
302
333
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
334
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
303
335
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
304
336
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
305
337
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
306
338
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
307
339
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.title #=> String
|
308
340
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.url #=> String
|
341
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.body #=> String
|
342
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
343
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
309
344
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
310
345
|
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
311
346
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -330,6 +365,7 @@ module Aws::Pinpoint
|
|
330
365
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
331
366
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
332
367
|
# resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
|
368
|
+
# resp.campaign_response.message_configuration.apns_message.image_small_icon_url #=> String
|
333
369
|
# resp.campaign_response.message_configuration.apns_message.image_url #=> String
|
334
370
|
# resp.campaign_response.message_configuration.apns_message.json_body #=> String
|
335
371
|
# resp.campaign_response.message_configuration.apns_message.media_url #=> String
|
@@ -339,21 +375,29 @@ module Aws::Pinpoint
|
|
339
375
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
340
376
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
341
377
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
378
|
+
# resp.campaign_response.message_configuration.default_message.image_small_icon_url #=> String
|
342
379
|
# resp.campaign_response.message_configuration.default_message.image_url #=> String
|
343
380
|
# resp.campaign_response.message_configuration.default_message.json_body #=> String
|
344
381
|
# resp.campaign_response.message_configuration.default_message.media_url #=> String
|
345
382
|
# resp.campaign_response.message_configuration.default_message.silent_push #=> Boolean
|
346
383
|
# resp.campaign_response.message_configuration.default_message.title #=> String
|
347
384
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
385
|
+
# resp.campaign_response.message_configuration.email_message.body #=> String
|
386
|
+
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
387
|
+
# resp.campaign_response.message_configuration.email_message.title #=> String
|
348
388
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
349
389
|
# resp.campaign_response.message_configuration.gcm_message.body #=> String
|
350
390
|
# resp.campaign_response.message_configuration.gcm_message.image_icon_url #=> String
|
391
|
+
# resp.campaign_response.message_configuration.gcm_message.image_small_icon_url #=> String
|
351
392
|
# resp.campaign_response.message_configuration.gcm_message.image_url #=> String
|
352
393
|
# resp.campaign_response.message_configuration.gcm_message.json_body #=> String
|
353
394
|
# resp.campaign_response.message_configuration.gcm_message.media_url #=> String
|
354
395
|
# resp.campaign_response.message_configuration.gcm_message.silent_push #=> Boolean
|
355
396
|
# resp.campaign_response.message_configuration.gcm_message.title #=> String
|
356
397
|
# resp.campaign_response.message_configuration.gcm_message.url #=> String
|
398
|
+
# resp.campaign_response.message_configuration.sms_message.body #=> String
|
399
|
+
# resp.campaign_response.message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
400
|
+
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
357
401
|
# resp.campaign_response.name #=> String
|
358
402
|
# resp.campaign_response.schedule.end_time #=> String
|
359
403
|
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -467,6 +511,10 @@ module Aws::Pinpoint
|
|
467
511
|
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
468
512
|
# values: ["__string"],
|
469
513
|
# },
|
514
|
+
# channel: {
|
515
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
516
|
+
# values: ["__string"],
|
517
|
+
# },
|
470
518
|
# device_type: {
|
471
519
|
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
472
520
|
# values: ["__string"],
|
@@ -514,6 +562,9 @@ module Aws::Pinpoint
|
|
514
562
|
# resp.segment_response.dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
515
563
|
# resp.segment_response.dimensions.demographic.app_version.values #=> Array
|
516
564
|
# resp.segment_response.dimensions.demographic.app_version.values[0] #=> String
|
565
|
+
# resp.segment_response.dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
566
|
+
# resp.segment_response.dimensions.demographic.channel.values #=> Array
|
567
|
+
# resp.segment_response.dimensions.demographic.channel.values[0] #=> String
|
517
568
|
# resp.segment_response.dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
518
569
|
# resp.segment_response.dimensions.demographic.device_type.values #=> Array
|
519
570
|
# resp.segment_response.dimensions.demographic.device_type.values[0] #=> String
|
@@ -534,6 +585,8 @@ module Aws::Pinpoint
|
|
534
585
|
# resp.segment_response.dimensions.user_attributes["__string"].values #=> Array
|
535
586
|
# resp.segment_response.dimensions.user_attributes["__string"].values[0] #=> String
|
536
587
|
# resp.segment_response.id #=> String
|
588
|
+
# resp.segment_response.import_definition.channel_counts #=> Hash
|
589
|
+
# resp.segment_response.import_definition.channel_counts["__string"] #=> Integer
|
537
590
|
# resp.segment_response.import_definition.external_id #=> String
|
538
591
|
# resp.segment_response.import_definition.format #=> String, one of "CSV", "JSON"
|
539
592
|
# resp.segment_response.import_definition.role_arn #=> String
|
@@ -569,6 +622,7 @@ module Aws::Pinpoint
|
|
569
622
|
#
|
570
623
|
# resp.apns_channel_response.application_id #=> String
|
571
624
|
# resp.apns_channel_response.creation_date #=> String
|
625
|
+
# resp.apns_channel_response.enabled #=> Boolean
|
572
626
|
# resp.apns_channel_response.id #=> String
|
573
627
|
# resp.apns_channel_response.is_archived #=> Boolean
|
574
628
|
# resp.apns_channel_response.last_modified_by #=> String
|
@@ -583,6 +637,39 @@ module Aws::Pinpoint
|
|
583
637
|
req.send_request(options)
|
584
638
|
end
|
585
639
|
|
640
|
+
# Delete an APNS sandbox channel
|
641
|
+
#
|
642
|
+
# @option params [required, String] :application_id
|
643
|
+
#
|
644
|
+
# @return [Types::DeleteApnsSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
645
|
+
#
|
646
|
+
# * {Types::DeleteApnsSandboxChannelResponse#apns_sandbox_channel_response #apns_sandbox_channel_response} => Types::APNSSandboxChannelResponse
|
647
|
+
#
|
648
|
+
# @example Request syntax with placeholder values
|
649
|
+
#
|
650
|
+
# resp = client.delete_apns_sandbox_channel({
|
651
|
+
# application_id: "__string", # required
|
652
|
+
# })
|
653
|
+
#
|
654
|
+
# @example Response structure
|
655
|
+
#
|
656
|
+
# resp.apns_sandbox_channel_response.application_id #=> String
|
657
|
+
# resp.apns_sandbox_channel_response.creation_date #=> String
|
658
|
+
# resp.apns_sandbox_channel_response.enabled #=> Boolean
|
659
|
+
# resp.apns_sandbox_channel_response.id #=> String
|
660
|
+
# resp.apns_sandbox_channel_response.is_archived #=> Boolean
|
661
|
+
# resp.apns_sandbox_channel_response.last_modified_by #=> String
|
662
|
+
# resp.apns_sandbox_channel_response.last_modified_date #=> String
|
663
|
+
# resp.apns_sandbox_channel_response.platform #=> String
|
664
|
+
# resp.apns_sandbox_channel_response.version #=> Integer
|
665
|
+
#
|
666
|
+
# @overload delete_apns_sandbox_channel(params = {})
|
667
|
+
# @param [Hash] params ({})
|
668
|
+
def delete_apns_sandbox_channel(params = {}, options = {})
|
669
|
+
req = build_request(:delete_apns_sandbox_channel, params)
|
670
|
+
req.send_request(options)
|
671
|
+
end
|
672
|
+
|
586
673
|
# Deletes a campaign.
|
587
674
|
#
|
588
675
|
# @option params [required, String] :application_id
|
@@ -607,6 +694,7 @@ module Aws::Pinpoint
|
|
607
694
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
608
695
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
|
609
696
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
697
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
610
698
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
611
699
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
612
700
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -616,21 +704,29 @@ module Aws::Pinpoint
|
|
616
704
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
617
705
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
618
706
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
707
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
619
708
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_url #=> String
|
620
709
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.json_body #=> String
|
621
710
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.media_url #=> String
|
622
711
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
623
712
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.title #=> String
|
624
713
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
714
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
715
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
716
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
625
717
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
626
718
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.body #=> String
|
627
719
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
720
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
628
721
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
629
722
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
630
723
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
631
724
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
632
725
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.title #=> String
|
633
726
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.url #=> String
|
727
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.body #=> String
|
728
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
729
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
634
730
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
635
731
|
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
636
732
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -655,6 +751,7 @@ module Aws::Pinpoint
|
|
655
751
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
656
752
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
657
753
|
# resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
|
754
|
+
# resp.campaign_response.message_configuration.apns_message.image_small_icon_url #=> String
|
658
755
|
# resp.campaign_response.message_configuration.apns_message.image_url #=> String
|
659
756
|
# resp.campaign_response.message_configuration.apns_message.json_body #=> String
|
660
757
|
# resp.campaign_response.message_configuration.apns_message.media_url #=> String
|
@@ -664,21 +761,29 @@ module Aws::Pinpoint
|
|
664
761
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
665
762
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
666
763
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
764
|
+
# resp.campaign_response.message_configuration.default_message.image_small_icon_url #=> String
|
667
765
|
# resp.campaign_response.message_configuration.default_message.image_url #=> String
|
668
766
|
# resp.campaign_response.message_configuration.default_message.json_body #=> String
|
669
767
|
# resp.campaign_response.message_configuration.default_message.media_url #=> String
|
670
768
|
# resp.campaign_response.message_configuration.default_message.silent_push #=> Boolean
|
671
769
|
# resp.campaign_response.message_configuration.default_message.title #=> String
|
672
770
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
771
|
+
# resp.campaign_response.message_configuration.email_message.body #=> String
|
772
|
+
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
773
|
+
# resp.campaign_response.message_configuration.email_message.title #=> String
|
673
774
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
674
775
|
# resp.campaign_response.message_configuration.gcm_message.body #=> String
|
675
776
|
# resp.campaign_response.message_configuration.gcm_message.image_icon_url #=> String
|
777
|
+
# resp.campaign_response.message_configuration.gcm_message.image_small_icon_url #=> String
|
676
778
|
# resp.campaign_response.message_configuration.gcm_message.image_url #=> String
|
677
779
|
# resp.campaign_response.message_configuration.gcm_message.json_body #=> String
|
678
780
|
# resp.campaign_response.message_configuration.gcm_message.media_url #=> String
|
679
781
|
# resp.campaign_response.message_configuration.gcm_message.silent_push #=> Boolean
|
680
782
|
# resp.campaign_response.message_configuration.gcm_message.title #=> String
|
681
783
|
# resp.campaign_response.message_configuration.gcm_message.url #=> String
|
784
|
+
# resp.campaign_response.message_configuration.sms_message.body #=> String
|
785
|
+
# resp.campaign_response.message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
786
|
+
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
682
787
|
# resp.campaign_response.name #=> String
|
683
788
|
# resp.campaign_response.schedule.end_time #=> String
|
684
789
|
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -701,6 +806,42 @@ module Aws::Pinpoint
|
|
701
806
|
req.send_request(options)
|
702
807
|
end
|
703
808
|
|
809
|
+
# Delete an email channel
|
810
|
+
#
|
811
|
+
# @option params [required, String] :application_id
|
812
|
+
#
|
813
|
+
# @return [Types::DeleteEmailChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
814
|
+
#
|
815
|
+
# * {Types::DeleteEmailChannelResponse#email_channel_response #email_channel_response} => Types::EmailChannelResponse
|
816
|
+
#
|
817
|
+
# @example Request syntax with placeholder values
|
818
|
+
#
|
819
|
+
# resp = client.delete_email_channel({
|
820
|
+
# application_id: "__string", # required
|
821
|
+
# })
|
822
|
+
#
|
823
|
+
# @example Response structure
|
824
|
+
#
|
825
|
+
# resp.email_channel_response.application_id #=> String
|
826
|
+
# resp.email_channel_response.creation_date #=> String
|
827
|
+
# resp.email_channel_response.enabled #=> Boolean
|
828
|
+
# resp.email_channel_response.from_address #=> String
|
829
|
+
# resp.email_channel_response.id #=> String
|
830
|
+
# resp.email_channel_response.identity #=> String
|
831
|
+
# resp.email_channel_response.is_archived #=> Boolean
|
832
|
+
# resp.email_channel_response.last_modified_by #=> String
|
833
|
+
# resp.email_channel_response.last_modified_date #=> String
|
834
|
+
# resp.email_channel_response.platform #=> String
|
835
|
+
# resp.email_channel_response.role_arn #=> String
|
836
|
+
# resp.email_channel_response.version #=> Integer
|
837
|
+
#
|
838
|
+
# @overload delete_email_channel(params = {})
|
839
|
+
# @param [Hash] params ({})
|
840
|
+
def delete_email_channel(params = {}, options = {})
|
841
|
+
req = build_request(:delete_email_channel, params)
|
842
|
+
req.send_request(options)
|
843
|
+
end
|
844
|
+
|
704
845
|
# Deletes the event stream for an app.
|
705
846
|
#
|
706
847
|
# @option params [required, String] :application_id
|
@@ -751,6 +892,7 @@ module Aws::Pinpoint
|
|
751
892
|
# resp.gcm_channel_response.application_id #=> String
|
752
893
|
# resp.gcm_channel_response.creation_date #=> String
|
753
894
|
# resp.gcm_channel_response.credential #=> String
|
895
|
+
# resp.gcm_channel_response.enabled #=> Boolean
|
754
896
|
# resp.gcm_channel_response.id #=> String
|
755
897
|
# resp.gcm_channel_response.is_archived #=> Boolean
|
756
898
|
# resp.gcm_channel_response.last_modified_by #=> String
|
@@ -795,6 +937,9 @@ module Aws::Pinpoint
|
|
795
937
|
# resp.segment_response.dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
796
938
|
# resp.segment_response.dimensions.demographic.app_version.values #=> Array
|
797
939
|
# resp.segment_response.dimensions.demographic.app_version.values[0] #=> String
|
940
|
+
# resp.segment_response.dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
941
|
+
# resp.segment_response.dimensions.demographic.channel.values #=> Array
|
942
|
+
# resp.segment_response.dimensions.demographic.channel.values[0] #=> String
|
798
943
|
# resp.segment_response.dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
799
944
|
# resp.segment_response.dimensions.demographic.device_type.values #=> Array
|
800
945
|
# resp.segment_response.dimensions.demographic.device_type.values[0] #=> String
|
@@ -815,6 +960,8 @@ module Aws::Pinpoint
|
|
815
960
|
# resp.segment_response.dimensions.user_attributes["__string"].values #=> Array
|
816
961
|
# resp.segment_response.dimensions.user_attributes["__string"].values[0] #=> String
|
817
962
|
# resp.segment_response.id #=> String
|
963
|
+
# resp.segment_response.import_definition.channel_counts #=> Hash
|
964
|
+
# resp.segment_response.import_definition.channel_counts["__string"] #=> Integer
|
818
965
|
# resp.segment_response.import_definition.external_id #=> String
|
819
966
|
# resp.segment_response.import_definition.format #=> String, one of "CSV", "JSON"
|
820
967
|
# resp.segment_response.import_definition.role_arn #=> String
|
@@ -832,6 +979,41 @@ module Aws::Pinpoint
|
|
832
979
|
req.send_request(options)
|
833
980
|
end
|
834
981
|
|
982
|
+
# Delete an SMS channel
|
983
|
+
#
|
984
|
+
# @option params [required, String] :application_id
|
985
|
+
#
|
986
|
+
# @return [Types::DeleteSmsChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
987
|
+
#
|
988
|
+
# * {Types::DeleteSmsChannelResponse#sms_channel_response #sms_channel_response} => Types::SMSChannelResponse
|
989
|
+
#
|
990
|
+
# @example Request syntax with placeholder values
|
991
|
+
#
|
992
|
+
# resp = client.delete_sms_channel({
|
993
|
+
# application_id: "__string", # required
|
994
|
+
# })
|
995
|
+
#
|
996
|
+
# @example Response structure
|
997
|
+
#
|
998
|
+
# resp.sms_channel_response.application_id #=> String
|
999
|
+
# resp.sms_channel_response.creation_date #=> String
|
1000
|
+
# resp.sms_channel_response.enabled #=> Boolean
|
1001
|
+
# resp.sms_channel_response.id #=> String
|
1002
|
+
# resp.sms_channel_response.is_archived #=> Boolean
|
1003
|
+
# resp.sms_channel_response.last_modified_by #=> String
|
1004
|
+
# resp.sms_channel_response.last_modified_date #=> String
|
1005
|
+
# resp.sms_channel_response.platform #=> String
|
1006
|
+
# resp.sms_channel_response.sender_id #=> String
|
1007
|
+
# resp.sms_channel_response.short_code #=> String
|
1008
|
+
# resp.sms_channel_response.version #=> Integer
|
1009
|
+
#
|
1010
|
+
# @overload delete_sms_channel(params = {})
|
1011
|
+
# @param [Hash] params ({})
|
1012
|
+
def delete_sms_channel(params = {}, options = {})
|
1013
|
+
req = build_request(:delete_sms_channel, params)
|
1014
|
+
req.send_request(options)
|
1015
|
+
end
|
1016
|
+
|
835
1017
|
# Returns information about the APNs channel for an app.
|
836
1018
|
#
|
837
1019
|
# @option params [required, String] :application_id
|
@@ -850,6 +1032,7 @@ module Aws::Pinpoint
|
|
850
1032
|
#
|
851
1033
|
# resp.apns_channel_response.application_id #=> String
|
852
1034
|
# resp.apns_channel_response.creation_date #=> String
|
1035
|
+
# resp.apns_channel_response.enabled #=> Boolean
|
853
1036
|
# resp.apns_channel_response.id #=> String
|
854
1037
|
# resp.apns_channel_response.is_archived #=> Boolean
|
855
1038
|
# resp.apns_channel_response.last_modified_by #=> String
|
@@ -864,6 +1047,39 @@ module Aws::Pinpoint
|
|
864
1047
|
req.send_request(options)
|
865
1048
|
end
|
866
1049
|
|
1050
|
+
# Get an APNS sandbox channel
|
1051
|
+
#
|
1052
|
+
# @option params [required, String] :application_id
|
1053
|
+
#
|
1054
|
+
# @return [Types::GetApnsSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1055
|
+
#
|
1056
|
+
# * {Types::GetApnsSandboxChannelResponse#apns_sandbox_channel_response #apns_sandbox_channel_response} => Types::APNSSandboxChannelResponse
|
1057
|
+
#
|
1058
|
+
# @example Request syntax with placeholder values
|
1059
|
+
#
|
1060
|
+
# resp = client.get_apns_sandbox_channel({
|
1061
|
+
# application_id: "__string", # required
|
1062
|
+
# })
|
1063
|
+
#
|
1064
|
+
# @example Response structure
|
1065
|
+
#
|
1066
|
+
# resp.apns_sandbox_channel_response.application_id #=> String
|
1067
|
+
# resp.apns_sandbox_channel_response.creation_date #=> String
|
1068
|
+
# resp.apns_sandbox_channel_response.enabled #=> Boolean
|
1069
|
+
# resp.apns_sandbox_channel_response.id #=> String
|
1070
|
+
# resp.apns_sandbox_channel_response.is_archived #=> Boolean
|
1071
|
+
# resp.apns_sandbox_channel_response.last_modified_by #=> String
|
1072
|
+
# resp.apns_sandbox_channel_response.last_modified_date #=> String
|
1073
|
+
# resp.apns_sandbox_channel_response.platform #=> String
|
1074
|
+
# resp.apns_sandbox_channel_response.version #=> Integer
|
1075
|
+
#
|
1076
|
+
# @overload get_apns_sandbox_channel(params = {})
|
1077
|
+
# @param [Hash] params ({})
|
1078
|
+
def get_apns_sandbox_channel(params = {}, options = {})
|
1079
|
+
req = build_request(:get_apns_sandbox_channel, params)
|
1080
|
+
req.send_request(options)
|
1081
|
+
end
|
1082
|
+
|
867
1083
|
# Used to request the settings for an app.
|
868
1084
|
#
|
869
1085
|
# @option params [required, String] :application_id
|
@@ -918,6 +1134,7 @@ module Aws::Pinpoint
|
|
918
1134
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
919
1135
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
|
920
1136
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
1137
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
921
1138
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
922
1139
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
923
1140
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -927,21 +1144,29 @@ module Aws::Pinpoint
|
|
927
1144
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
928
1145
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
929
1146
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
1147
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
930
1148
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_url #=> String
|
931
1149
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.json_body #=> String
|
932
1150
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.media_url #=> String
|
933
1151
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
934
1152
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.title #=> String
|
935
1153
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
1154
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
1155
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
1156
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
936
1157
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
937
1158
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.body #=> String
|
938
1159
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
1160
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
939
1161
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
940
1162
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
941
1163
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
942
1164
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
943
1165
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.title #=> String
|
944
1166
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.url #=> String
|
1167
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.body #=> String
|
1168
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1169
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
945
1170
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
946
1171
|
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
947
1172
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -966,6 +1191,7 @@ module Aws::Pinpoint
|
|
966
1191
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
967
1192
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
968
1193
|
# resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
|
1194
|
+
# resp.campaign_response.message_configuration.apns_message.image_small_icon_url #=> String
|
969
1195
|
# resp.campaign_response.message_configuration.apns_message.image_url #=> String
|
970
1196
|
# resp.campaign_response.message_configuration.apns_message.json_body #=> String
|
971
1197
|
# resp.campaign_response.message_configuration.apns_message.media_url #=> String
|
@@ -975,21 +1201,29 @@ module Aws::Pinpoint
|
|
975
1201
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
976
1202
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
977
1203
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
1204
|
+
# resp.campaign_response.message_configuration.default_message.image_small_icon_url #=> String
|
978
1205
|
# resp.campaign_response.message_configuration.default_message.image_url #=> String
|
979
1206
|
# resp.campaign_response.message_configuration.default_message.json_body #=> String
|
980
1207
|
# resp.campaign_response.message_configuration.default_message.media_url #=> String
|
981
1208
|
# resp.campaign_response.message_configuration.default_message.silent_push #=> Boolean
|
982
1209
|
# resp.campaign_response.message_configuration.default_message.title #=> String
|
983
1210
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
1211
|
+
# resp.campaign_response.message_configuration.email_message.body #=> String
|
1212
|
+
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
1213
|
+
# resp.campaign_response.message_configuration.email_message.title #=> String
|
984
1214
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
985
1215
|
# resp.campaign_response.message_configuration.gcm_message.body #=> String
|
986
1216
|
# resp.campaign_response.message_configuration.gcm_message.image_icon_url #=> String
|
1217
|
+
# resp.campaign_response.message_configuration.gcm_message.image_small_icon_url #=> String
|
987
1218
|
# resp.campaign_response.message_configuration.gcm_message.image_url #=> String
|
988
1219
|
# resp.campaign_response.message_configuration.gcm_message.json_body #=> String
|
989
1220
|
# resp.campaign_response.message_configuration.gcm_message.media_url #=> String
|
990
1221
|
# resp.campaign_response.message_configuration.gcm_message.silent_push #=> Boolean
|
991
1222
|
# resp.campaign_response.message_configuration.gcm_message.title #=> String
|
992
1223
|
# resp.campaign_response.message_configuration.gcm_message.url #=> String
|
1224
|
+
# resp.campaign_response.message_configuration.sms_message.body #=> String
|
1225
|
+
# resp.campaign_response.message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1226
|
+
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
993
1227
|
# resp.campaign_response.name #=> String
|
994
1228
|
# resp.campaign_response.schedule.end_time #=> String
|
995
1229
|
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -1086,6 +1320,7 @@ module Aws::Pinpoint
|
|
1086
1320
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1087
1321
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
|
1088
1322
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
1323
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
1089
1324
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
1090
1325
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
1091
1326
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -1095,21 +1330,29 @@ module Aws::Pinpoint
|
|
1095
1330
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1096
1331
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
1097
1332
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
1333
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
1098
1334
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_url #=> String
|
1099
1335
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.json_body #=> String
|
1100
1336
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.media_url #=> String
|
1101
1337
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
1102
1338
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.title #=> String
|
1103
1339
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
1340
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
1341
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
1342
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
1104
1343
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1105
1344
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.body #=> String
|
1106
1345
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
1346
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
1107
1347
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
1108
1348
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
1109
1349
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
1110
1350
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
1111
1351
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.title #=> String
|
1112
1352
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.url #=> String
|
1353
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.body #=> String
|
1354
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1355
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
1113
1356
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
1114
1357
|
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
1115
1358
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -1134,6 +1377,7 @@ module Aws::Pinpoint
|
|
1134
1377
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1135
1378
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
1136
1379
|
# resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
|
1380
|
+
# resp.campaign_response.message_configuration.apns_message.image_small_icon_url #=> String
|
1137
1381
|
# resp.campaign_response.message_configuration.apns_message.image_url #=> String
|
1138
1382
|
# resp.campaign_response.message_configuration.apns_message.json_body #=> String
|
1139
1383
|
# resp.campaign_response.message_configuration.apns_message.media_url #=> String
|
@@ -1143,21 +1387,29 @@ module Aws::Pinpoint
|
|
1143
1387
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1144
1388
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
1145
1389
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
1390
|
+
# resp.campaign_response.message_configuration.default_message.image_small_icon_url #=> String
|
1146
1391
|
# resp.campaign_response.message_configuration.default_message.image_url #=> String
|
1147
1392
|
# resp.campaign_response.message_configuration.default_message.json_body #=> String
|
1148
1393
|
# resp.campaign_response.message_configuration.default_message.media_url #=> String
|
1149
1394
|
# resp.campaign_response.message_configuration.default_message.silent_push #=> Boolean
|
1150
1395
|
# resp.campaign_response.message_configuration.default_message.title #=> String
|
1151
1396
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
1397
|
+
# resp.campaign_response.message_configuration.email_message.body #=> String
|
1398
|
+
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
1399
|
+
# resp.campaign_response.message_configuration.email_message.title #=> String
|
1152
1400
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1153
1401
|
# resp.campaign_response.message_configuration.gcm_message.body #=> String
|
1154
1402
|
# resp.campaign_response.message_configuration.gcm_message.image_icon_url #=> String
|
1403
|
+
# resp.campaign_response.message_configuration.gcm_message.image_small_icon_url #=> String
|
1155
1404
|
# resp.campaign_response.message_configuration.gcm_message.image_url #=> String
|
1156
1405
|
# resp.campaign_response.message_configuration.gcm_message.json_body #=> String
|
1157
1406
|
# resp.campaign_response.message_configuration.gcm_message.media_url #=> String
|
1158
1407
|
# resp.campaign_response.message_configuration.gcm_message.silent_push #=> Boolean
|
1159
1408
|
# resp.campaign_response.message_configuration.gcm_message.title #=> String
|
1160
1409
|
# resp.campaign_response.message_configuration.gcm_message.url #=> String
|
1410
|
+
# resp.campaign_response.message_configuration.sms_message.body #=> String
|
1411
|
+
# resp.campaign_response.message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1412
|
+
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
1161
1413
|
# resp.campaign_response.name #=> String
|
1162
1414
|
# resp.campaign_response.schedule.end_time #=> String
|
1163
1415
|
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -1211,6 +1463,7 @@ module Aws::Pinpoint
|
|
1211
1463
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1212
1464
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.body #=> String
|
1213
1465
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
1466
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
1214
1467
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
1215
1468
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
1216
1469
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -1220,21 +1473,29 @@ module Aws::Pinpoint
|
|
1220
1473
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1221
1474
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
|
1222
1475
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
1476
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
1223
1477
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_url #=> String
|
1224
1478
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.json_body #=> String
|
1225
1479
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.media_url #=> String
|
1226
1480
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
1227
1481
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.title #=> String
|
1228
1482
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
|
1483
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
|
1484
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
|
1485
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
|
1229
1486
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1230
1487
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.body #=> String
|
1231
1488
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
1489
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
1232
1490
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
1233
1491
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
1234
1492
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
1235
1493
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
1236
1494
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.title #=> String
|
1237
1495
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.url #=> String
|
1496
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.body #=> String
|
1497
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1498
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
1238
1499
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
1239
1500
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
1240
1501
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -1259,6 +1520,7 @@ module Aws::Pinpoint
|
|
1259
1520
|
# resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1260
1521
|
# resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
|
1261
1522
|
# resp.campaigns_response.item[0].message_configuration.apns_message.image_icon_url #=> String
|
1523
|
+
# resp.campaigns_response.item[0].message_configuration.apns_message.image_small_icon_url #=> String
|
1262
1524
|
# resp.campaigns_response.item[0].message_configuration.apns_message.image_url #=> String
|
1263
1525
|
# resp.campaigns_response.item[0].message_configuration.apns_message.json_body #=> String
|
1264
1526
|
# resp.campaigns_response.item[0].message_configuration.apns_message.media_url #=> String
|
@@ -1268,21 +1530,29 @@ module Aws::Pinpoint
|
|
1268
1530
|
# resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1269
1531
|
# resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
|
1270
1532
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
|
1533
|
+
# resp.campaigns_response.item[0].message_configuration.default_message.image_small_icon_url #=> String
|
1271
1534
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_url #=> String
|
1272
1535
|
# resp.campaigns_response.item[0].message_configuration.default_message.json_body #=> String
|
1273
1536
|
# resp.campaigns_response.item[0].message_configuration.default_message.media_url #=> String
|
1274
1537
|
# resp.campaigns_response.item[0].message_configuration.default_message.silent_push #=> Boolean
|
1275
1538
|
# resp.campaigns_response.item[0].message_configuration.default_message.title #=> String
|
1276
1539
|
# resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
|
1540
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
|
1541
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
|
1542
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
|
1277
1543
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1278
1544
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.body #=> String
|
1279
1545
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_icon_url #=> String
|
1546
|
+
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
1280
1547
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_url #=> String
|
1281
1548
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.json_body #=> String
|
1282
1549
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.media_url #=> String
|
1283
1550
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.silent_push #=> Boolean
|
1284
1551
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.title #=> String
|
1285
1552
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.url #=> String
|
1553
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.body #=> String
|
1554
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1555
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
1286
1556
|
# resp.campaigns_response.item[0].name #=> String
|
1287
1557
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
1288
1558
|
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -1334,6 +1604,7 @@ module Aws::Pinpoint
|
|
1334
1604
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1335
1605
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.body #=> String
|
1336
1606
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
1607
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
1337
1608
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
1338
1609
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
1339
1610
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -1343,21 +1614,29 @@ module Aws::Pinpoint
|
|
1343
1614
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1344
1615
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
|
1345
1616
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
1617
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
1346
1618
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_url #=> String
|
1347
1619
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.json_body #=> String
|
1348
1620
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.media_url #=> String
|
1349
1621
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
1350
1622
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.title #=> String
|
1351
1623
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.url #=> String
|
1624
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.body #=> String
|
1625
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.html_body #=> String
|
1626
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.email_message.title #=> String
|
1352
1627
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1353
1628
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.body #=> String
|
1354
1629
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
1630
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
1355
1631
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
1356
1632
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
1357
1633
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
1358
1634
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
1359
1635
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.title #=> String
|
1360
1636
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.gcm_message.url #=> String
|
1637
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.body #=> String
|
1638
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1639
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
1361
1640
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.end_time #=> String
|
1362
1641
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
1363
1642
|
# resp.campaigns_response.item[0].additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -1382,6 +1661,7 @@ module Aws::Pinpoint
|
|
1382
1661
|
# resp.campaigns_response.item[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1383
1662
|
# resp.campaigns_response.item[0].message_configuration.apns_message.body #=> String
|
1384
1663
|
# resp.campaigns_response.item[0].message_configuration.apns_message.image_icon_url #=> String
|
1664
|
+
# resp.campaigns_response.item[0].message_configuration.apns_message.image_small_icon_url #=> String
|
1385
1665
|
# resp.campaigns_response.item[0].message_configuration.apns_message.image_url #=> String
|
1386
1666
|
# resp.campaigns_response.item[0].message_configuration.apns_message.json_body #=> String
|
1387
1667
|
# resp.campaigns_response.item[0].message_configuration.apns_message.media_url #=> String
|
@@ -1391,21 +1671,29 @@ module Aws::Pinpoint
|
|
1391
1671
|
# resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1392
1672
|
# resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
|
1393
1673
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
|
1674
|
+
# resp.campaigns_response.item[0].message_configuration.default_message.image_small_icon_url #=> String
|
1394
1675
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_url #=> String
|
1395
1676
|
# resp.campaigns_response.item[0].message_configuration.default_message.json_body #=> String
|
1396
1677
|
# resp.campaigns_response.item[0].message_configuration.default_message.media_url #=> String
|
1397
1678
|
# resp.campaigns_response.item[0].message_configuration.default_message.silent_push #=> Boolean
|
1398
1679
|
# resp.campaigns_response.item[0].message_configuration.default_message.title #=> String
|
1399
1680
|
# resp.campaigns_response.item[0].message_configuration.default_message.url #=> String
|
1681
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.body #=> String
|
1682
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.html_body #=> String
|
1683
|
+
# resp.campaigns_response.item[0].message_configuration.email_message.title #=> String
|
1400
1684
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
1401
1685
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.body #=> String
|
1402
1686
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_icon_url #=> String
|
1687
|
+
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
1403
1688
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.image_url #=> String
|
1404
1689
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.json_body #=> String
|
1405
1690
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.media_url #=> String
|
1406
1691
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.silent_push #=> Boolean
|
1407
1692
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.title #=> String
|
1408
1693
|
# resp.campaigns_response.item[0].message_configuration.gcm_message.url #=> String
|
1694
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.body #=> String
|
1695
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
1696
|
+
# resp.campaigns_response.item[0].message_configuration.sms_message.sender_id #=> String
|
1409
1697
|
# resp.campaigns_response.item[0].name #=> String
|
1410
1698
|
# resp.campaigns_response.item[0].schedule.end_time #=> String
|
1411
1699
|
# resp.campaigns_response.item[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -1429,6 +1717,42 @@ module Aws::Pinpoint
|
|
1429
1717
|
req.send_request(options)
|
1430
1718
|
end
|
1431
1719
|
|
1720
|
+
# Get an email channel
|
1721
|
+
#
|
1722
|
+
# @option params [required, String] :application_id
|
1723
|
+
#
|
1724
|
+
# @return [Types::GetEmailChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1725
|
+
#
|
1726
|
+
# * {Types::GetEmailChannelResponse#email_channel_response #email_channel_response} => Types::EmailChannelResponse
|
1727
|
+
#
|
1728
|
+
# @example Request syntax with placeholder values
|
1729
|
+
#
|
1730
|
+
# resp = client.get_email_channel({
|
1731
|
+
# application_id: "__string", # required
|
1732
|
+
# })
|
1733
|
+
#
|
1734
|
+
# @example Response structure
|
1735
|
+
#
|
1736
|
+
# resp.email_channel_response.application_id #=> String
|
1737
|
+
# resp.email_channel_response.creation_date #=> String
|
1738
|
+
# resp.email_channel_response.enabled #=> Boolean
|
1739
|
+
# resp.email_channel_response.from_address #=> String
|
1740
|
+
# resp.email_channel_response.id #=> String
|
1741
|
+
# resp.email_channel_response.identity #=> String
|
1742
|
+
# resp.email_channel_response.is_archived #=> Boolean
|
1743
|
+
# resp.email_channel_response.last_modified_by #=> String
|
1744
|
+
# resp.email_channel_response.last_modified_date #=> String
|
1745
|
+
# resp.email_channel_response.platform #=> String
|
1746
|
+
# resp.email_channel_response.role_arn #=> String
|
1747
|
+
# resp.email_channel_response.version #=> Integer
|
1748
|
+
#
|
1749
|
+
# @overload get_email_channel(params = {})
|
1750
|
+
# @param [Hash] params ({})
|
1751
|
+
def get_email_channel(params = {}, options = {})
|
1752
|
+
req = build_request(:get_email_channel, params)
|
1753
|
+
req.send_request(options)
|
1754
|
+
end
|
1755
|
+
|
1432
1756
|
# Returns information about an endpoint.
|
1433
1757
|
#
|
1434
1758
|
# @option params [required, String] :application_id
|
@@ -1453,7 +1777,7 @@ module Aws::Pinpoint
|
|
1453
1777
|
# resp.endpoint_response.attributes #=> Hash
|
1454
1778
|
# resp.endpoint_response.attributes["__string"] #=> Array
|
1455
1779
|
# resp.endpoint_response.attributes["__string"][0] #=> String
|
1456
|
-
# resp.endpoint_response.channel_type #=> String, one of "APNS", "
|
1780
|
+
# resp.endpoint_response.channel_type #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "ADM", "SMS", "EMAIL"
|
1457
1781
|
# resp.endpoint_response.cohort_id #=> String
|
1458
1782
|
# resp.endpoint_response.creation_date #=> String
|
1459
1783
|
# resp.endpoint_response.demographic.app_version #=> String
|
@@ -1477,11 +1801,11 @@ module Aws::Pinpoint
|
|
1477
1801
|
# resp.endpoint_response.metrics["__string"] #=> Float
|
1478
1802
|
# resp.endpoint_response.opt_out #=> String
|
1479
1803
|
# resp.endpoint_response.request_id #=> String
|
1804
|
+
# resp.endpoint_response.shard_id #=> String
|
1480
1805
|
# resp.endpoint_response.user.user_attributes #=> Hash
|
1481
1806
|
# resp.endpoint_response.user.user_attributes["__string"] #=> Array
|
1482
1807
|
# resp.endpoint_response.user.user_attributes["__string"][0] #=> String
|
1483
1808
|
# resp.endpoint_response.user.user_id #=> String
|
1484
|
-
# resp.endpoint_response.shard_id #=> String
|
1485
1809
|
#
|
1486
1810
|
# @overload get_endpoint(params = {})
|
1487
1811
|
# @param [Hash] params ({})
|
@@ -1540,6 +1864,7 @@ module Aws::Pinpoint
|
|
1540
1864
|
# resp.gcm_channel_response.application_id #=> String
|
1541
1865
|
# resp.gcm_channel_response.creation_date #=> String
|
1542
1866
|
# resp.gcm_channel_response.credential #=> String
|
1867
|
+
# resp.gcm_channel_response.enabled #=> Boolean
|
1543
1868
|
# resp.gcm_channel_response.id #=> String
|
1544
1869
|
# resp.gcm_channel_response.is_archived #=> Boolean
|
1545
1870
|
# resp.gcm_channel_response.last_modified_by #=> String
|
@@ -1685,6 +2010,9 @@ module Aws::Pinpoint
|
|
1685
2010
|
# resp.segment_response.dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1686
2011
|
# resp.segment_response.dimensions.demographic.app_version.values #=> Array
|
1687
2012
|
# resp.segment_response.dimensions.demographic.app_version.values[0] #=> String
|
2013
|
+
# resp.segment_response.dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2014
|
+
# resp.segment_response.dimensions.demographic.channel.values #=> Array
|
2015
|
+
# resp.segment_response.dimensions.demographic.channel.values[0] #=> String
|
1688
2016
|
# resp.segment_response.dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1689
2017
|
# resp.segment_response.dimensions.demographic.device_type.values #=> Array
|
1690
2018
|
# resp.segment_response.dimensions.demographic.device_type.values[0] #=> String
|
@@ -1705,6 +2033,8 @@ module Aws::Pinpoint
|
|
1705
2033
|
# resp.segment_response.dimensions.user_attributes["__string"].values #=> Array
|
1706
2034
|
# resp.segment_response.dimensions.user_attributes["__string"].values[0] #=> String
|
1707
2035
|
# resp.segment_response.id #=> String
|
2036
|
+
# resp.segment_response.import_definition.channel_counts #=> Hash
|
2037
|
+
# resp.segment_response.import_definition.channel_counts["__string"] #=> Integer
|
1708
2038
|
# resp.segment_response.import_definition.external_id #=> String
|
1709
2039
|
# resp.segment_response.import_definition.format #=> String, one of "CSV", "JSON"
|
1710
2040
|
# resp.segment_response.import_definition.role_arn #=> String
|
@@ -1811,6 +2141,9 @@ module Aws::Pinpoint
|
|
1811
2141
|
# resp.segment_response.dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1812
2142
|
# resp.segment_response.dimensions.demographic.app_version.values #=> Array
|
1813
2143
|
# resp.segment_response.dimensions.demographic.app_version.values[0] #=> String
|
2144
|
+
# resp.segment_response.dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2145
|
+
# resp.segment_response.dimensions.demographic.channel.values #=> Array
|
2146
|
+
# resp.segment_response.dimensions.demographic.channel.values[0] #=> String
|
1814
2147
|
# resp.segment_response.dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1815
2148
|
# resp.segment_response.dimensions.demographic.device_type.values #=> Array
|
1816
2149
|
# resp.segment_response.dimensions.demographic.device_type.values[0] #=> String
|
@@ -1831,6 +2164,8 @@ module Aws::Pinpoint
|
|
1831
2164
|
# resp.segment_response.dimensions.user_attributes["__string"].values #=> Array
|
1832
2165
|
# resp.segment_response.dimensions.user_attributes["__string"].values[0] #=> String
|
1833
2166
|
# resp.segment_response.id #=> String
|
2167
|
+
# resp.segment_response.import_definition.channel_counts #=> Hash
|
2168
|
+
# resp.segment_response.import_definition.channel_counts["__string"] #=> Integer
|
1834
2169
|
# resp.segment_response.import_definition.external_id #=> String
|
1835
2170
|
# resp.segment_response.import_definition.format #=> String, one of "CSV", "JSON"
|
1836
2171
|
# resp.segment_response.import_definition.role_arn #=> String
|
@@ -1885,6 +2220,9 @@ module Aws::Pinpoint
|
|
1885
2220
|
# resp.segments_response.item[0].dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1886
2221
|
# resp.segments_response.item[0].dimensions.demographic.app_version.values #=> Array
|
1887
2222
|
# resp.segments_response.item[0].dimensions.demographic.app_version.values[0] #=> String
|
2223
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2224
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.values #=> Array
|
2225
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.values[0] #=> String
|
1888
2226
|
# resp.segments_response.item[0].dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1889
2227
|
# resp.segments_response.item[0].dimensions.demographic.device_type.values #=> Array
|
1890
2228
|
# resp.segments_response.item[0].dimensions.demographic.device_type.values[0] #=> String
|
@@ -1905,6 +2243,8 @@ module Aws::Pinpoint
|
|
1905
2243
|
# resp.segments_response.item[0].dimensions.user_attributes["__string"].values #=> Array
|
1906
2244
|
# resp.segments_response.item[0].dimensions.user_attributes["__string"].values[0] #=> String
|
1907
2245
|
# resp.segments_response.item[0].id #=> String
|
2246
|
+
# resp.segments_response.item[0].import_definition.channel_counts #=> Hash
|
2247
|
+
# resp.segments_response.item[0].import_definition.channel_counts["__string"] #=> Integer
|
1908
2248
|
# resp.segments_response.item[0].import_definition.external_id #=> String
|
1909
2249
|
# resp.segments_response.item[0].import_definition.format #=> String, one of "CSV", "JSON"
|
1910
2250
|
# resp.segments_response.item[0].import_definition.role_arn #=> String
|
@@ -1957,6 +2297,9 @@ module Aws::Pinpoint
|
|
1957
2297
|
# resp.segments_response.item[0].dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1958
2298
|
# resp.segments_response.item[0].dimensions.demographic.app_version.values #=> Array
|
1959
2299
|
# resp.segments_response.item[0].dimensions.demographic.app_version.values[0] #=> String
|
2300
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2301
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.values #=> Array
|
2302
|
+
# resp.segments_response.item[0].dimensions.demographic.channel.values[0] #=> String
|
1960
2303
|
# resp.segments_response.item[0].dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
1961
2304
|
# resp.segments_response.item[0].dimensions.demographic.device_type.values #=> Array
|
1962
2305
|
# resp.segments_response.item[0].dimensions.demographic.device_type.values[0] #=> String
|
@@ -1977,6 +2320,8 @@ module Aws::Pinpoint
|
|
1977
2320
|
# resp.segments_response.item[0].dimensions.user_attributes["__string"].values #=> Array
|
1978
2321
|
# resp.segments_response.item[0].dimensions.user_attributes["__string"].values[0] #=> String
|
1979
2322
|
# resp.segments_response.item[0].id #=> String
|
2323
|
+
# resp.segments_response.item[0].import_definition.channel_counts #=> Hash
|
2324
|
+
# resp.segments_response.item[0].import_definition.channel_counts["__string"] #=> Integer
|
1980
2325
|
# resp.segments_response.item[0].import_definition.external_id #=> String
|
1981
2326
|
# resp.segments_response.item[0].import_definition.format #=> String, one of "CSV", "JSON"
|
1982
2327
|
# resp.segments_response.item[0].import_definition.role_arn #=> String
|
@@ -1995,6 +2340,41 @@ module Aws::Pinpoint
|
|
1995
2340
|
req.send_request(options)
|
1996
2341
|
end
|
1997
2342
|
|
2343
|
+
# Get an SMS channel
|
2344
|
+
#
|
2345
|
+
# @option params [required, String] :application_id
|
2346
|
+
#
|
2347
|
+
# @return [Types::GetSmsChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2348
|
+
#
|
2349
|
+
# * {Types::GetSmsChannelResponse#sms_channel_response #sms_channel_response} => Types::SMSChannelResponse
|
2350
|
+
#
|
2351
|
+
# @example Request syntax with placeholder values
|
2352
|
+
#
|
2353
|
+
# resp = client.get_sms_channel({
|
2354
|
+
# application_id: "__string", # required
|
2355
|
+
# })
|
2356
|
+
#
|
2357
|
+
# @example Response structure
|
2358
|
+
#
|
2359
|
+
# resp.sms_channel_response.application_id #=> String
|
2360
|
+
# resp.sms_channel_response.creation_date #=> String
|
2361
|
+
# resp.sms_channel_response.enabled #=> Boolean
|
2362
|
+
# resp.sms_channel_response.id #=> String
|
2363
|
+
# resp.sms_channel_response.is_archived #=> Boolean
|
2364
|
+
# resp.sms_channel_response.last_modified_by #=> String
|
2365
|
+
# resp.sms_channel_response.last_modified_date #=> String
|
2366
|
+
# resp.sms_channel_response.platform #=> String
|
2367
|
+
# resp.sms_channel_response.sender_id #=> String
|
2368
|
+
# resp.sms_channel_response.short_code #=> String
|
2369
|
+
# resp.sms_channel_response.version #=> Integer
|
2370
|
+
#
|
2371
|
+
# @overload get_sms_channel(params = {})
|
2372
|
+
# @param [Hash] params ({})
|
2373
|
+
def get_sms_channel(params = {}, options = {})
|
2374
|
+
req = build_request(:get_sms_channel, params)
|
2375
|
+
req.send_request(options)
|
2376
|
+
end
|
2377
|
+
|
1998
2378
|
# Use to create or update the event stream for an app.
|
1999
2379
|
#
|
2000
2380
|
# @option params [required, String] :application_id
|
@@ -2013,7 +2393,6 @@ module Aws::Pinpoint
|
|
2013
2393
|
# application_id: "__string", # required
|
2014
2394
|
# write_event_stream: { # required
|
2015
2395
|
# destination_stream_arn: "__string",
|
2016
|
-
# external_id: "__string",
|
2017
2396
|
# role_arn: "__string",
|
2018
2397
|
# },
|
2019
2398
|
# })
|
@@ -2034,6 +2413,128 @@ module Aws::Pinpoint
|
|
2034
2413
|
req.send_request(options)
|
2035
2414
|
end
|
2036
2415
|
|
2416
|
+
# Send a batch of messages
|
2417
|
+
#
|
2418
|
+
# @option params [required, String] :application_id
|
2419
|
+
#
|
2420
|
+
# @option params [required, Types::MessageRequest] :message_request
|
2421
|
+
# Send message request.
|
2422
|
+
#
|
2423
|
+
# @return [Types::SendMessagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2424
|
+
#
|
2425
|
+
# * {Types::SendMessagesResponse#message_response #message_response} => Types::MessageResponse
|
2426
|
+
#
|
2427
|
+
# @example Request syntax with placeholder values
|
2428
|
+
#
|
2429
|
+
# resp = client.send_messages({
|
2430
|
+
# application_id: "__string", # required
|
2431
|
+
# message_request: { # required
|
2432
|
+
# addresses: {
|
2433
|
+
# "__string" => {
|
2434
|
+
# body_override: "__string",
|
2435
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
2436
|
+
# context: {
|
2437
|
+
# "__string" => "__string",
|
2438
|
+
# },
|
2439
|
+
# raw_content: "__string",
|
2440
|
+
# substitutions: {
|
2441
|
+
# "__string" => ["__string"],
|
2442
|
+
# },
|
2443
|
+
# title_override: "__string",
|
2444
|
+
# },
|
2445
|
+
# },
|
2446
|
+
# context: {
|
2447
|
+
# "__string" => "__string",
|
2448
|
+
# },
|
2449
|
+
# message_configuration: {
|
2450
|
+
# apns_message: {
|
2451
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2452
|
+
# badge: 1,
|
2453
|
+
# body: "__string",
|
2454
|
+
# category: "__string",
|
2455
|
+
# data: {
|
2456
|
+
# "__string" => "__string",
|
2457
|
+
# },
|
2458
|
+
# media_url: "__string",
|
2459
|
+
# raw_content: "__string",
|
2460
|
+
# silent_push: false,
|
2461
|
+
# sound: "__string",
|
2462
|
+
# substitutions: {
|
2463
|
+
# "__string" => ["__string"],
|
2464
|
+
# },
|
2465
|
+
# thread_id: "__string",
|
2466
|
+
# title: "__string",
|
2467
|
+
# url: "__string",
|
2468
|
+
# },
|
2469
|
+
# default_message: {
|
2470
|
+
# body: "__string",
|
2471
|
+
# substitutions: {
|
2472
|
+
# "__string" => ["__string"],
|
2473
|
+
# },
|
2474
|
+
# },
|
2475
|
+
# default_push_notification_message: {
|
2476
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2477
|
+
# body: "__string",
|
2478
|
+
# data: {
|
2479
|
+
# "__string" => "__string",
|
2480
|
+
# },
|
2481
|
+
# silent_push: false,
|
2482
|
+
# substitutions: {
|
2483
|
+
# "__string" => ["__string"],
|
2484
|
+
# },
|
2485
|
+
# title: "__string",
|
2486
|
+
# url: "__string",
|
2487
|
+
# },
|
2488
|
+
# gcm_message: {
|
2489
|
+
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2490
|
+
# body: "__string",
|
2491
|
+
# collapse_key: "__string",
|
2492
|
+
# data: {
|
2493
|
+
# "__string" => "__string",
|
2494
|
+
# },
|
2495
|
+
# icon_reference: "__string",
|
2496
|
+
# image_icon_url: "__string",
|
2497
|
+
# image_url: "__string",
|
2498
|
+
# raw_content: "__string",
|
2499
|
+
# restricted_package_name: "__string",
|
2500
|
+
# silent_push: false,
|
2501
|
+
# small_image_icon_url: "__string",
|
2502
|
+
# sound: "__string",
|
2503
|
+
# substitutions: {
|
2504
|
+
# "__string" => ["__string"],
|
2505
|
+
# },
|
2506
|
+
# title: "__string",
|
2507
|
+
# url: "__string",
|
2508
|
+
# },
|
2509
|
+
# sms_message: {
|
2510
|
+
# body: "__string",
|
2511
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
2512
|
+
# sender_id: "__string",
|
2513
|
+
# substitutions: {
|
2514
|
+
# "__string" => ["__string"],
|
2515
|
+
# },
|
2516
|
+
# },
|
2517
|
+
# },
|
2518
|
+
# },
|
2519
|
+
# })
|
2520
|
+
#
|
2521
|
+
# @example Response structure
|
2522
|
+
#
|
2523
|
+
# resp.message_response.application_id #=> String
|
2524
|
+
# resp.message_response.request_id #=> String
|
2525
|
+
# resp.message_response.result #=> Hash
|
2526
|
+
# resp.message_response.result["__string"].delivery_status #=> String, one of "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE"
|
2527
|
+
# resp.message_response.result["__string"].status_code #=> Integer
|
2528
|
+
# resp.message_response.result["__string"].status_message #=> String
|
2529
|
+
# resp.message_response.result["__string"].updated_token #=> String
|
2530
|
+
#
|
2531
|
+
# @overload send_messages(params = {})
|
2532
|
+
# @param [Hash] params ({})
|
2533
|
+
def send_messages(params = {}, options = {})
|
2534
|
+
req = build_request(:send_messages, params)
|
2535
|
+
req.send_request(options)
|
2536
|
+
end
|
2537
|
+
|
2037
2538
|
# Use to update the APNs channel for an app.
|
2038
2539
|
#
|
2039
2540
|
# @option params [required, Types::APNSChannelRequest] :apns_channel_request
|
@@ -2050,6 +2551,7 @@ module Aws::Pinpoint
|
|
2050
2551
|
# resp = client.update_apns_channel({
|
2051
2552
|
# apns_channel_request: { # required
|
2052
2553
|
# certificate: "__string",
|
2554
|
+
# enabled: false,
|
2053
2555
|
# private_key: "__string",
|
2054
2556
|
# },
|
2055
2557
|
# application_id: "__string", # required
|
@@ -2059,6 +2561,7 @@ module Aws::Pinpoint
|
|
2059
2561
|
#
|
2060
2562
|
# resp.apns_channel_response.application_id #=> String
|
2061
2563
|
# resp.apns_channel_response.creation_date #=> String
|
2564
|
+
# resp.apns_channel_response.enabled #=> Boolean
|
2062
2565
|
# resp.apns_channel_response.id #=> String
|
2063
2566
|
# resp.apns_channel_response.is_archived #=> Boolean
|
2064
2567
|
# resp.apns_channel_response.last_modified_by #=> String
|
@@ -2073,6 +2576,47 @@ module Aws::Pinpoint
|
|
2073
2576
|
req.send_request(options)
|
2074
2577
|
end
|
2075
2578
|
|
2579
|
+
# Update an APNS sandbox channel
|
2580
|
+
#
|
2581
|
+
# @option params [required, Types::APNSSandboxChannelRequest] :apns_sandbox_channel_request
|
2582
|
+
# Apple Development Push Notification Service channel definition.
|
2583
|
+
#
|
2584
|
+
# @option params [required, String] :application_id
|
2585
|
+
#
|
2586
|
+
# @return [Types::UpdateApnsSandboxChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2587
|
+
#
|
2588
|
+
# * {Types::UpdateApnsSandboxChannelResponse#apns_sandbox_channel_response #apns_sandbox_channel_response} => Types::APNSSandboxChannelResponse
|
2589
|
+
#
|
2590
|
+
# @example Request syntax with placeholder values
|
2591
|
+
#
|
2592
|
+
# resp = client.update_apns_sandbox_channel({
|
2593
|
+
# apns_sandbox_channel_request: { # required
|
2594
|
+
# certificate: "__string",
|
2595
|
+
# enabled: false,
|
2596
|
+
# private_key: "__string",
|
2597
|
+
# },
|
2598
|
+
# application_id: "__string", # required
|
2599
|
+
# })
|
2600
|
+
#
|
2601
|
+
# @example Response structure
|
2602
|
+
#
|
2603
|
+
# resp.apns_sandbox_channel_response.application_id #=> String
|
2604
|
+
# resp.apns_sandbox_channel_response.creation_date #=> String
|
2605
|
+
# resp.apns_sandbox_channel_response.enabled #=> Boolean
|
2606
|
+
# resp.apns_sandbox_channel_response.id #=> String
|
2607
|
+
# resp.apns_sandbox_channel_response.is_archived #=> Boolean
|
2608
|
+
# resp.apns_sandbox_channel_response.last_modified_by #=> String
|
2609
|
+
# resp.apns_sandbox_channel_response.last_modified_date #=> String
|
2610
|
+
# resp.apns_sandbox_channel_response.platform #=> String
|
2611
|
+
# resp.apns_sandbox_channel_response.version #=> Integer
|
2612
|
+
#
|
2613
|
+
# @overload update_apns_sandbox_channel(params = {})
|
2614
|
+
# @param [Hash] params ({})
|
2615
|
+
def update_apns_sandbox_channel(params = {}, options = {})
|
2616
|
+
req = build_request(:update_apns_sandbox_channel, params)
|
2617
|
+
req.send_request(options)
|
2618
|
+
end
|
2619
|
+
|
2076
2620
|
# Used to update the settings for an app.
|
2077
2621
|
#
|
2078
2622
|
# @option params [required, String] :application_id
|
@@ -2142,6 +2686,7 @@ module Aws::Pinpoint
|
|
2142
2686
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2143
2687
|
# body: "__string",
|
2144
2688
|
# image_icon_url: "__string",
|
2689
|
+
# image_small_icon_url: "__string",
|
2145
2690
|
# image_url: "__string",
|
2146
2691
|
# json_body: "__string",
|
2147
2692
|
# media_url: "__string",
|
@@ -2153,6 +2698,7 @@ module Aws::Pinpoint
|
|
2153
2698
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2154
2699
|
# body: "__string",
|
2155
2700
|
# image_icon_url: "__string",
|
2701
|
+
# image_small_icon_url: "__string",
|
2156
2702
|
# image_url: "__string",
|
2157
2703
|
# json_body: "__string",
|
2158
2704
|
# media_url: "__string",
|
@@ -2160,10 +2706,16 @@ module Aws::Pinpoint
|
|
2160
2706
|
# title: "__string",
|
2161
2707
|
# url: "__string",
|
2162
2708
|
# },
|
2709
|
+
# email_message: {
|
2710
|
+
# body: "__string",
|
2711
|
+
# html_body: "__string",
|
2712
|
+
# title: "__string",
|
2713
|
+
# },
|
2163
2714
|
# gcm_message: {
|
2164
2715
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2165
2716
|
# body: "__string",
|
2166
2717
|
# image_icon_url: "__string",
|
2718
|
+
# image_small_icon_url: "__string",
|
2167
2719
|
# image_url: "__string",
|
2168
2720
|
# json_body: "__string",
|
2169
2721
|
# media_url: "__string",
|
@@ -2171,6 +2723,11 @@ module Aws::Pinpoint
|
|
2171
2723
|
# title: "__string",
|
2172
2724
|
# url: "__string",
|
2173
2725
|
# },
|
2726
|
+
# sms_message: {
|
2727
|
+
# body: "__string",
|
2728
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
2729
|
+
# sender_id: "__string",
|
2730
|
+
# },
|
2174
2731
|
# },
|
2175
2732
|
# schedule: {
|
2176
2733
|
# end_time: "__string",
|
@@ -2200,6 +2757,7 @@ module Aws::Pinpoint
|
|
2200
2757
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2201
2758
|
# body: "__string",
|
2202
2759
|
# image_icon_url: "__string",
|
2760
|
+
# image_small_icon_url: "__string",
|
2203
2761
|
# image_url: "__string",
|
2204
2762
|
# json_body: "__string",
|
2205
2763
|
# media_url: "__string",
|
@@ -2211,6 +2769,7 @@ module Aws::Pinpoint
|
|
2211
2769
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2212
2770
|
# body: "__string",
|
2213
2771
|
# image_icon_url: "__string",
|
2772
|
+
# image_small_icon_url: "__string",
|
2214
2773
|
# image_url: "__string",
|
2215
2774
|
# json_body: "__string",
|
2216
2775
|
# media_url: "__string",
|
@@ -2218,10 +2777,16 @@ module Aws::Pinpoint
|
|
2218
2777
|
# title: "__string",
|
2219
2778
|
# url: "__string",
|
2220
2779
|
# },
|
2780
|
+
# email_message: {
|
2781
|
+
# body: "__string",
|
2782
|
+
# html_body: "__string",
|
2783
|
+
# title: "__string",
|
2784
|
+
# },
|
2221
2785
|
# gcm_message: {
|
2222
2786
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
2223
2787
|
# body: "__string",
|
2224
2788
|
# image_icon_url: "__string",
|
2789
|
+
# image_small_icon_url: "__string",
|
2225
2790
|
# image_url: "__string",
|
2226
2791
|
# json_body: "__string",
|
2227
2792
|
# media_url: "__string",
|
@@ -2229,6 +2794,11 @@ module Aws::Pinpoint
|
|
2229
2794
|
# title: "__string",
|
2230
2795
|
# url: "__string",
|
2231
2796
|
# },
|
2797
|
+
# sms_message: {
|
2798
|
+
# body: "__string",
|
2799
|
+
# message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
|
2800
|
+
# sender_id: "__string",
|
2801
|
+
# },
|
2232
2802
|
# },
|
2233
2803
|
# name: "__string",
|
2234
2804
|
# schedule: {
|
@@ -2256,6 +2826,7 @@ module Aws::Pinpoint
|
|
2256
2826
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2257
2827
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.body #=> String
|
2258
2828
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_icon_url #=> String
|
2829
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_small_icon_url #=> String
|
2259
2830
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.image_url #=> String
|
2260
2831
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.json_body #=> String
|
2261
2832
|
# resp.campaign_response.additional_treatments[0].message_configuration.apns_message.media_url #=> String
|
@@ -2265,21 +2836,29 @@ module Aws::Pinpoint
|
|
2265
2836
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2266
2837
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
2267
2838
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
2839
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_small_icon_url #=> String
|
2268
2840
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_url #=> String
|
2269
2841
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.json_body #=> String
|
2270
2842
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.media_url #=> String
|
2271
2843
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.silent_push #=> Boolean
|
2272
2844
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.title #=> String
|
2273
2845
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.url #=> String
|
2846
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.body #=> String
|
2847
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.html_body #=> String
|
2848
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.email_message.title #=> String
|
2274
2849
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2275
2850
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.body #=> String
|
2276
2851
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_icon_url #=> String
|
2852
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_small_icon_url #=> String
|
2277
2853
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.image_url #=> String
|
2278
2854
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.json_body #=> String
|
2279
2855
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.media_url #=> String
|
2280
2856
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.silent_push #=> Boolean
|
2281
2857
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.title #=> String
|
2282
2858
|
# resp.campaign_response.additional_treatments[0].message_configuration.gcm_message.url #=> String
|
2859
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.body #=> String
|
2860
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2861
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.sms_message.sender_id #=> String
|
2283
2862
|
# resp.campaign_response.additional_treatments[0].schedule.end_time #=> String
|
2284
2863
|
# resp.campaign_response.additional_treatments[0].schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
2285
2864
|
# resp.campaign_response.additional_treatments[0].schedule.is_local_time #=> Boolean
|
@@ -2304,6 +2883,7 @@ module Aws::Pinpoint
|
|
2304
2883
|
# resp.campaign_response.message_configuration.apns_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2305
2884
|
# resp.campaign_response.message_configuration.apns_message.body #=> String
|
2306
2885
|
# resp.campaign_response.message_configuration.apns_message.image_icon_url #=> String
|
2886
|
+
# resp.campaign_response.message_configuration.apns_message.image_small_icon_url #=> String
|
2307
2887
|
# resp.campaign_response.message_configuration.apns_message.image_url #=> String
|
2308
2888
|
# resp.campaign_response.message_configuration.apns_message.json_body #=> String
|
2309
2889
|
# resp.campaign_response.message_configuration.apns_message.media_url #=> String
|
@@ -2313,21 +2893,29 @@ module Aws::Pinpoint
|
|
2313
2893
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2314
2894
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
2315
2895
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
2896
|
+
# resp.campaign_response.message_configuration.default_message.image_small_icon_url #=> String
|
2316
2897
|
# resp.campaign_response.message_configuration.default_message.image_url #=> String
|
2317
2898
|
# resp.campaign_response.message_configuration.default_message.json_body #=> String
|
2318
2899
|
# resp.campaign_response.message_configuration.default_message.media_url #=> String
|
2319
2900
|
# resp.campaign_response.message_configuration.default_message.silent_push #=> Boolean
|
2320
2901
|
# resp.campaign_response.message_configuration.default_message.title #=> String
|
2321
2902
|
# resp.campaign_response.message_configuration.default_message.url #=> String
|
2903
|
+
# resp.campaign_response.message_configuration.email_message.body #=> String
|
2904
|
+
# resp.campaign_response.message_configuration.email_message.html_body #=> String
|
2905
|
+
# resp.campaign_response.message_configuration.email_message.title #=> String
|
2322
2906
|
# resp.campaign_response.message_configuration.gcm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
2323
2907
|
# resp.campaign_response.message_configuration.gcm_message.body #=> String
|
2324
2908
|
# resp.campaign_response.message_configuration.gcm_message.image_icon_url #=> String
|
2909
|
+
# resp.campaign_response.message_configuration.gcm_message.image_small_icon_url #=> String
|
2325
2910
|
# resp.campaign_response.message_configuration.gcm_message.image_url #=> String
|
2326
2911
|
# resp.campaign_response.message_configuration.gcm_message.json_body #=> String
|
2327
2912
|
# resp.campaign_response.message_configuration.gcm_message.media_url #=> String
|
2328
2913
|
# resp.campaign_response.message_configuration.gcm_message.silent_push #=> Boolean
|
2329
2914
|
# resp.campaign_response.message_configuration.gcm_message.title #=> String
|
2330
2915
|
# resp.campaign_response.message_configuration.gcm_message.url #=> String
|
2916
|
+
# resp.campaign_response.message_configuration.sms_message.body #=> String
|
2917
|
+
# resp.campaign_response.message_configuration.sms_message.message_type #=> String, one of "TRANSACTIONAL", "PROMOTIONAL"
|
2918
|
+
# resp.campaign_response.message_configuration.sms_message.sender_id #=> String
|
2331
2919
|
# resp.campaign_response.name #=> String
|
2332
2920
|
# resp.campaign_response.schedule.end_time #=> String
|
2333
2921
|
# resp.campaign_response.schedule.frequency #=> String, one of "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY"
|
@@ -2350,6 +2938,51 @@ module Aws::Pinpoint
|
|
2350
2938
|
req.send_request(options)
|
2351
2939
|
end
|
2352
2940
|
|
2941
|
+
# Update an email channel
|
2942
|
+
#
|
2943
|
+
# @option params [required, String] :application_id
|
2944
|
+
#
|
2945
|
+
# @option params [required, Types::EmailChannelRequest] :email_channel_request
|
2946
|
+
# Email Channel Request
|
2947
|
+
#
|
2948
|
+
# @return [Types::UpdateEmailChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2949
|
+
#
|
2950
|
+
# * {Types::UpdateEmailChannelResponse#email_channel_response #email_channel_response} => Types::EmailChannelResponse
|
2951
|
+
#
|
2952
|
+
# @example Request syntax with placeholder values
|
2953
|
+
#
|
2954
|
+
# resp = client.update_email_channel({
|
2955
|
+
# application_id: "__string", # required
|
2956
|
+
# email_channel_request: { # required
|
2957
|
+
# enabled: false,
|
2958
|
+
# from_address: "__string",
|
2959
|
+
# identity: "__string",
|
2960
|
+
# role_arn: "__string",
|
2961
|
+
# },
|
2962
|
+
# })
|
2963
|
+
#
|
2964
|
+
# @example Response structure
|
2965
|
+
#
|
2966
|
+
# resp.email_channel_response.application_id #=> String
|
2967
|
+
# resp.email_channel_response.creation_date #=> String
|
2968
|
+
# resp.email_channel_response.enabled #=> Boolean
|
2969
|
+
# resp.email_channel_response.from_address #=> String
|
2970
|
+
# resp.email_channel_response.id #=> String
|
2971
|
+
# resp.email_channel_response.identity #=> String
|
2972
|
+
# resp.email_channel_response.is_archived #=> Boolean
|
2973
|
+
# resp.email_channel_response.last_modified_by #=> String
|
2974
|
+
# resp.email_channel_response.last_modified_date #=> String
|
2975
|
+
# resp.email_channel_response.platform #=> String
|
2976
|
+
# resp.email_channel_response.role_arn #=> String
|
2977
|
+
# resp.email_channel_response.version #=> Integer
|
2978
|
+
#
|
2979
|
+
# @overload update_email_channel(params = {})
|
2980
|
+
# @param [Hash] params ({})
|
2981
|
+
def update_email_channel(params = {}, options = {})
|
2982
|
+
req = build_request(:update_email_channel, params)
|
2983
|
+
req.send_request(options)
|
2984
|
+
end
|
2985
|
+
|
2353
2986
|
# Use to update an endpoint.
|
2354
2987
|
#
|
2355
2988
|
# @option params [required, String] :application_id
|
@@ -2373,7 +3006,7 @@ module Aws::Pinpoint
|
|
2373
3006
|
# attributes: {
|
2374
3007
|
# "__string" => ["__string"],
|
2375
3008
|
# },
|
2376
|
-
# channel_type: "
|
3009
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
2377
3010
|
# demographic: {
|
2378
3011
|
# app_version: "__string",
|
2379
3012
|
# locale: "__string",
|
@@ -2442,7 +3075,7 @@ module Aws::Pinpoint
|
|
2442
3075
|
# attributes: {
|
2443
3076
|
# "__string" => ["__string"],
|
2444
3077
|
# },
|
2445
|
-
# channel_type: "
|
3078
|
+
# channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, ADM, SMS, EMAIL
|
2446
3079
|
# demographic: {
|
2447
3080
|
# app_version: "__string",
|
2448
3081
|
# locale: "__string",
|
@@ -2509,6 +3142,7 @@ module Aws::Pinpoint
|
|
2509
3142
|
# application_id: "__string", # required
|
2510
3143
|
# gcm_channel_request: { # required
|
2511
3144
|
# api_key: "__string",
|
3145
|
+
# enabled: false,
|
2512
3146
|
# },
|
2513
3147
|
# })
|
2514
3148
|
#
|
@@ -2517,6 +3151,7 @@ module Aws::Pinpoint
|
|
2517
3151
|
# resp.gcm_channel_response.application_id #=> String
|
2518
3152
|
# resp.gcm_channel_response.creation_date #=> String
|
2519
3153
|
# resp.gcm_channel_response.credential #=> String
|
3154
|
+
# resp.gcm_channel_response.enabled #=> Boolean
|
2520
3155
|
# resp.gcm_channel_response.id #=> String
|
2521
3156
|
# resp.gcm_channel_response.is_archived #=> Boolean
|
2522
3157
|
# resp.gcm_channel_response.last_modified_by #=> String
|
@@ -2568,6 +3203,10 @@ module Aws::Pinpoint
|
|
2568
3203
|
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
2569
3204
|
# values: ["__string"],
|
2570
3205
|
# },
|
3206
|
+
# channel: {
|
3207
|
+
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
3208
|
+
# values: ["__string"],
|
3209
|
+
# },
|
2571
3210
|
# device_type: {
|
2572
3211
|
# dimension_type: "INCLUSIVE", # accepts INCLUSIVE, EXCLUSIVE
|
2573
3212
|
# values: ["__string"],
|
@@ -2615,6 +3254,9 @@ module Aws::Pinpoint
|
|
2615
3254
|
# resp.segment_response.dimensions.demographic.app_version.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2616
3255
|
# resp.segment_response.dimensions.demographic.app_version.values #=> Array
|
2617
3256
|
# resp.segment_response.dimensions.demographic.app_version.values[0] #=> String
|
3257
|
+
# resp.segment_response.dimensions.demographic.channel.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
3258
|
+
# resp.segment_response.dimensions.demographic.channel.values #=> Array
|
3259
|
+
# resp.segment_response.dimensions.demographic.channel.values[0] #=> String
|
2618
3260
|
# resp.segment_response.dimensions.demographic.device_type.dimension_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
2619
3261
|
# resp.segment_response.dimensions.demographic.device_type.values #=> Array
|
2620
3262
|
# resp.segment_response.dimensions.demographic.device_type.values[0] #=> String
|
@@ -2635,6 +3277,8 @@ module Aws::Pinpoint
|
|
2635
3277
|
# resp.segment_response.dimensions.user_attributes["__string"].values #=> Array
|
2636
3278
|
# resp.segment_response.dimensions.user_attributes["__string"].values[0] #=> String
|
2637
3279
|
# resp.segment_response.id #=> String
|
3280
|
+
# resp.segment_response.import_definition.channel_counts #=> Hash
|
3281
|
+
# resp.segment_response.import_definition.channel_counts["__string"] #=> Integer
|
2638
3282
|
# resp.segment_response.import_definition.external_id #=> String
|
2639
3283
|
# resp.segment_response.import_definition.format #=> String, one of "CSV", "JSON"
|
2640
3284
|
# resp.segment_response.import_definition.role_arn #=> String
|
@@ -2652,6 +3296,48 @@ module Aws::Pinpoint
|
|
2652
3296
|
req.send_request(options)
|
2653
3297
|
end
|
2654
3298
|
|
3299
|
+
# Update an SMS channel
|
3300
|
+
#
|
3301
|
+
# @option params [required, String] :application_id
|
3302
|
+
#
|
3303
|
+
# @option params [required, Types::SMSChannelRequest] :sms_channel_request
|
3304
|
+
# SMS Channel Request
|
3305
|
+
#
|
3306
|
+
# @return [Types::UpdateSmsChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3307
|
+
#
|
3308
|
+
# * {Types::UpdateSmsChannelResponse#sms_channel_response #sms_channel_response} => Types::SMSChannelResponse
|
3309
|
+
#
|
3310
|
+
# @example Request syntax with placeholder values
|
3311
|
+
#
|
3312
|
+
# resp = client.update_sms_channel({
|
3313
|
+
# application_id: "__string", # required
|
3314
|
+
# sms_channel_request: { # required
|
3315
|
+
# enabled: false,
|
3316
|
+
# sender_id: "__string",
|
3317
|
+
# },
|
3318
|
+
# })
|
3319
|
+
#
|
3320
|
+
# @example Response structure
|
3321
|
+
#
|
3322
|
+
# resp.sms_channel_response.application_id #=> String
|
3323
|
+
# resp.sms_channel_response.creation_date #=> String
|
3324
|
+
# resp.sms_channel_response.enabled #=> Boolean
|
3325
|
+
# resp.sms_channel_response.id #=> String
|
3326
|
+
# resp.sms_channel_response.is_archived #=> Boolean
|
3327
|
+
# resp.sms_channel_response.last_modified_by #=> String
|
3328
|
+
# resp.sms_channel_response.last_modified_date #=> String
|
3329
|
+
# resp.sms_channel_response.platform #=> String
|
3330
|
+
# resp.sms_channel_response.sender_id #=> String
|
3331
|
+
# resp.sms_channel_response.short_code #=> String
|
3332
|
+
# resp.sms_channel_response.version #=> Integer
|
3333
|
+
#
|
3334
|
+
# @overload update_sms_channel(params = {})
|
3335
|
+
# @param [Hash] params ({})
|
3336
|
+
def update_sms_channel(params = {}, options = {})
|
3337
|
+
req = build_request(:update_sms_channel, params)
|
3338
|
+
req.send_request(options)
|
3339
|
+
end
|
3340
|
+
|
2655
3341
|
# @!endgroup
|
2656
3342
|
|
2657
3343
|
# @param params ({})
|
@@ -2665,7 +3351,7 @@ module Aws::Pinpoint
|
|
2665
3351
|
params: params,
|
2666
3352
|
config: config)
|
2667
3353
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
2668
|
-
context[:gem_version] = '1.0.0.
|
3354
|
+
context[:gem_version] = '1.0.0.rc7'
|
2669
3355
|
Seahorse::Client::Request.new(handlers, context)
|
2670
3356
|
end
|
2671
3357
|
|