aws-sdk-pinpoint 1.37.0 → 1.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +92 -5
- data/lib/aws-sdk-pinpoint/client_api.rb +18 -0
- data/lib/aws-sdk-pinpoint/types.rb +316 -123
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: a7cf03600440603973d5f65cd0b3d4c3b1539e0d2f3af4de40a55ae03b928d93
|
|
4
|
+
data.tar.gz: 887a8f34912f97214cea0c03e4d3d5b56237a745ae0f973d62ab8195af3e9ae9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 438031e185569e8a011e6f136fbd605b610c547e27d5692807fc60d9cb4f58ca09006a487213719864859ccce6c4b87dad430101d8851a220a028843ba6b6a54
|
|
7
|
+
data.tar.gz: 881ac8c594203d92c71c6ffb389fbba6c41f518022706e4752f55b56bca377fbbcd08d58b37ec237d4c87007a7049f08911b0854ead2be14074b22268c0c70e0
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
|
@@ -365,6 +365,10 @@ module Aws::Pinpoint
|
|
|
365
365
|
# write_campaign_request: { # required
|
|
366
366
|
# additional_treatments: [
|
|
367
367
|
# {
|
|
368
|
+
# custom_delivery_configuration: {
|
|
369
|
+
# delivery_uri: "__string", # required
|
|
370
|
+
# endpoint_types: ["GCM"], # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
|
371
|
+
# },
|
|
368
372
|
# message_configuration: {
|
|
369
373
|
# adm_message: {
|
|
370
374
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
@@ -408,6 +412,9 @@ module Aws::Pinpoint
|
|
|
408
412
|
# title: "__string",
|
|
409
413
|
# url: "__string",
|
|
410
414
|
# },
|
|
415
|
+
# custom_message: {
|
|
416
|
+
# data: "__string",
|
|
417
|
+
# },
|
|
411
418
|
# default_message: {
|
|
412
419
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
413
420
|
# body: "__string",
|
|
@@ -503,6 +510,10 @@ module Aws::Pinpoint
|
|
|
503
510
|
# treatment_name: "__string",
|
|
504
511
|
# },
|
|
505
512
|
# ],
|
|
513
|
+
# custom_delivery_configuration: {
|
|
514
|
+
# delivery_uri: "__string", # required
|
|
515
|
+
# endpoint_types: ["GCM"], # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
|
516
|
+
# },
|
|
506
517
|
# description: "__string",
|
|
507
518
|
# holdout_percent: 1,
|
|
508
519
|
# hook: {
|
|
@@ -560,6 +571,9 @@ module Aws::Pinpoint
|
|
|
560
571
|
# title: "__string",
|
|
561
572
|
# url: "__string",
|
|
562
573
|
# },
|
|
574
|
+
# custom_message: {
|
|
575
|
+
# data: "__string",
|
|
576
|
+
# },
|
|
563
577
|
# default_message: {
|
|
564
578
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
565
579
|
# body: "__string",
|
|
@@ -664,6 +678,9 @@ module Aws::Pinpoint
|
|
|
664
678
|
# @example Response structure
|
|
665
679
|
#
|
|
666
680
|
# resp.campaign_response.additional_treatments #=> Array
|
|
681
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
682
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
683
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
667
684
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
|
668
685
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
669
686
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -701,6 +718,7 @@ module Aws::Pinpoint
|
|
|
701
718
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
702
719
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
703
720
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
721
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
704
722
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
705
723
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
|
706
724
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -765,6 +783,9 @@ module Aws::Pinpoint
|
|
|
765
783
|
# resp.campaign_response.application_id #=> String
|
|
766
784
|
# resp.campaign_response.arn #=> String
|
|
767
785
|
# resp.campaign_response.creation_date #=> String
|
|
786
|
+
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
|
787
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
|
788
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
768
789
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
769
790
|
# resp.campaign_response.description #=> String
|
|
770
791
|
# resp.campaign_response.holdout_percent #=> Integer
|
|
@@ -814,6 +835,7 @@ module Aws::Pinpoint
|
|
|
814
835
|
# resp.campaign_response.message_configuration.baidu_message.time_to_live #=> Integer
|
|
815
836
|
# resp.campaign_response.message_configuration.baidu_message.title #=> String
|
|
816
837
|
# resp.campaign_response.message_configuration.baidu_message.url #=> String
|
|
838
|
+
# resp.campaign_response.message_configuration.custom_message.data #=> String
|
|
817
839
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
818
840
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
|
819
841
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
|
@@ -2288,6 +2310,9 @@ module Aws::Pinpoint
|
|
|
2288
2310
|
# @example Response structure
|
|
2289
2311
|
#
|
|
2290
2312
|
# resp.campaign_response.additional_treatments #=> Array
|
|
2313
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
2314
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
2315
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
2291
2316
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
|
2292
2317
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
2293
2318
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -2325,6 +2350,7 @@ module Aws::Pinpoint
|
|
|
2325
2350
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
2326
2351
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
2327
2352
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
2353
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
2328
2354
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
2329
2355
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
|
2330
2356
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -2389,6 +2415,9 @@ module Aws::Pinpoint
|
|
|
2389
2415
|
# resp.campaign_response.application_id #=> String
|
|
2390
2416
|
# resp.campaign_response.arn #=> String
|
|
2391
2417
|
# resp.campaign_response.creation_date #=> String
|
|
2418
|
+
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
|
2419
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
|
2420
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
2392
2421
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
2393
2422
|
# resp.campaign_response.description #=> String
|
|
2394
2423
|
# resp.campaign_response.holdout_percent #=> Integer
|
|
@@ -2438,6 +2467,7 @@ module Aws::Pinpoint
|
|
|
2438
2467
|
# resp.campaign_response.message_configuration.baidu_message.time_to_live #=> Integer
|
|
2439
2468
|
# resp.campaign_response.message_configuration.baidu_message.title #=> String
|
|
2440
2469
|
# resp.campaign_response.message_configuration.baidu_message.url #=> String
|
|
2470
|
+
# resp.campaign_response.message_configuration.custom_message.data #=> String
|
|
2441
2471
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
2442
2472
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
|
2443
2473
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
|
@@ -3710,6 +3740,9 @@ module Aws::Pinpoint
|
|
|
3710
3740
|
# @example Response structure
|
|
3711
3741
|
#
|
|
3712
3742
|
# resp.campaign_response.additional_treatments #=> Array
|
|
3743
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
3744
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
3745
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
3713
3746
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
|
3714
3747
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
3715
3748
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -3747,6 +3780,7 @@ module Aws::Pinpoint
|
|
|
3747
3780
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
3748
3781
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
3749
3782
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
3783
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
3750
3784
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
3751
3785
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
|
3752
3786
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -3811,6 +3845,9 @@ module Aws::Pinpoint
|
|
|
3811
3845
|
# resp.campaign_response.application_id #=> String
|
|
3812
3846
|
# resp.campaign_response.arn #=> String
|
|
3813
3847
|
# resp.campaign_response.creation_date #=> String
|
|
3848
|
+
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
|
3849
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
|
3850
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
3814
3851
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
3815
3852
|
# resp.campaign_response.description #=> String
|
|
3816
3853
|
# resp.campaign_response.holdout_percent #=> Integer
|
|
@@ -3860,6 +3897,7 @@ module Aws::Pinpoint
|
|
|
3860
3897
|
# resp.campaign_response.message_configuration.baidu_message.time_to_live #=> Integer
|
|
3861
3898
|
# resp.campaign_response.message_configuration.baidu_message.title #=> String
|
|
3862
3899
|
# resp.campaign_response.message_configuration.baidu_message.url #=> String
|
|
3900
|
+
# resp.campaign_response.message_configuration.custom_message.data #=> String
|
|
3863
3901
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
3864
3902
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
|
3865
3903
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4070,6 +4108,9 @@ module Aws::Pinpoint
|
|
|
4070
4108
|
# @example Response structure
|
|
4071
4109
|
#
|
|
4072
4110
|
# resp.campaign_response.additional_treatments #=> Array
|
|
4111
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
4112
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
4113
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4073
4114
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
|
4074
4115
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4075
4116
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -4107,6 +4148,7 @@ module Aws::Pinpoint
|
|
|
4107
4148
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
4108
4149
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
4109
4150
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
4151
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
4110
4152
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4111
4153
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
|
4112
4154
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4171,6 +4213,9 @@ module Aws::Pinpoint
|
|
|
4171
4213
|
# resp.campaign_response.application_id #=> String
|
|
4172
4214
|
# resp.campaign_response.arn #=> String
|
|
4173
4215
|
# resp.campaign_response.creation_date #=> String
|
|
4216
|
+
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
|
4217
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
|
4218
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4174
4219
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
4175
4220
|
# resp.campaign_response.description #=> String
|
|
4176
4221
|
# resp.campaign_response.holdout_percent #=> Integer
|
|
@@ -4220,6 +4265,7 @@ module Aws::Pinpoint
|
|
|
4220
4265
|
# resp.campaign_response.message_configuration.baidu_message.time_to_live #=> Integer
|
|
4221
4266
|
# resp.campaign_response.message_configuration.baidu_message.title #=> String
|
|
4222
4267
|
# resp.campaign_response.message_configuration.baidu_message.url #=> String
|
|
4268
|
+
# resp.campaign_response.message_configuration.custom_message.data #=> String
|
|
4223
4269
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4224
4270
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
|
4225
4271
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4324,6 +4370,9 @@ module Aws::Pinpoint
|
|
|
4324
4370
|
#
|
|
4325
4371
|
# resp.campaigns_response.item #=> Array
|
|
4326
4372
|
# resp.campaigns_response.item[0].additional_treatments #=> Array
|
|
4373
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
4374
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
4375
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4327
4376
|
# resp.campaigns_response.item[0].additional_treatments[0].id #=> String
|
|
4328
4377
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4329
4378
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -4361,6 +4410,7 @@ module Aws::Pinpoint
|
|
|
4361
4410
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
4362
4411
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
4363
4412
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
4413
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
4364
4414
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4365
4415
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
|
|
4366
4416
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4425,6 +4475,9 @@ module Aws::Pinpoint
|
|
|
4425
4475
|
# resp.campaigns_response.item[0].application_id #=> String
|
|
4426
4476
|
# resp.campaigns_response.item[0].arn #=> String
|
|
4427
4477
|
# resp.campaigns_response.item[0].creation_date #=> String
|
|
4478
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
|
|
4479
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
4480
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4428
4481
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
4429
4482
|
# resp.campaigns_response.item[0].description #=> String
|
|
4430
4483
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
|
@@ -4474,6 +4527,7 @@ module Aws::Pinpoint
|
|
|
4474
4527
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
4475
4528
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.title #=> String
|
|
4476
4529
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.url #=> String
|
|
4530
|
+
# resp.campaigns_response.item[0].message_configuration.custom_message.data #=> String
|
|
4477
4531
|
# resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4478
4532
|
# resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
|
|
4479
4533
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4577,6 +4631,9 @@ module Aws::Pinpoint
|
|
|
4577
4631
|
#
|
|
4578
4632
|
# resp.campaigns_response.item #=> Array
|
|
4579
4633
|
# resp.campaigns_response.item[0].additional_treatments #=> Array
|
|
4634
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
4635
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
4636
|
+
# resp.campaigns_response.item[0].additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4580
4637
|
# resp.campaigns_response.item[0].additional_treatments[0].id #=> String
|
|
4581
4638
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4582
4639
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -4614,6 +4671,7 @@ module Aws::Pinpoint
|
|
|
4614
4671
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
4615
4672
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
4616
4673
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
4674
|
+
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
4617
4675
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4618
4676
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.body #=> String
|
|
4619
4677
|
# resp.campaigns_response.item[0].additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -4678,6 +4736,9 @@ module Aws::Pinpoint
|
|
|
4678
4736
|
# resp.campaigns_response.item[0].application_id #=> String
|
|
4679
4737
|
# resp.campaigns_response.item[0].arn #=> String
|
|
4680
4738
|
# resp.campaigns_response.item[0].creation_date #=> String
|
|
4739
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.delivery_uri #=> String
|
|
4740
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
4741
|
+
# resp.campaigns_response.item[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
4681
4742
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
4682
4743
|
# resp.campaigns_response.item[0].description #=> String
|
|
4683
4744
|
# resp.campaigns_response.item[0].holdout_percent #=> Integer
|
|
@@ -4727,6 +4788,7 @@ module Aws::Pinpoint
|
|
|
4727
4788
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
4728
4789
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.title #=> String
|
|
4729
4790
|
# resp.campaigns_response.item[0].message_configuration.baidu_message.url #=> String
|
|
4791
|
+
# resp.campaigns_response.item[0].message_configuration.custom_message.data #=> String
|
|
4730
4792
|
# resp.campaigns_response.item[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
4731
4793
|
# resp.campaigns_response.item[0].message_configuration.default_message.body #=> String
|
|
4732
4794
|
# resp.campaigns_response.item[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -8087,6 +8149,10 @@ module Aws::Pinpoint
|
|
|
8087
8149
|
# write_campaign_request: { # required
|
|
8088
8150
|
# additional_treatments: [
|
|
8089
8151
|
# {
|
|
8152
|
+
# custom_delivery_configuration: {
|
|
8153
|
+
# delivery_uri: "__string", # required
|
|
8154
|
+
# endpoint_types: ["GCM"], # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
|
8155
|
+
# },
|
|
8090
8156
|
# message_configuration: {
|
|
8091
8157
|
# adm_message: {
|
|
8092
8158
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
@@ -8130,6 +8196,9 @@ module Aws::Pinpoint
|
|
|
8130
8196
|
# title: "__string",
|
|
8131
8197
|
# url: "__string",
|
|
8132
8198
|
# },
|
|
8199
|
+
# custom_message: {
|
|
8200
|
+
# data: "__string",
|
|
8201
|
+
# },
|
|
8133
8202
|
# default_message: {
|
|
8134
8203
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
8135
8204
|
# body: "__string",
|
|
@@ -8225,6 +8294,10 @@ module Aws::Pinpoint
|
|
|
8225
8294
|
# treatment_name: "__string",
|
|
8226
8295
|
# },
|
|
8227
8296
|
# ],
|
|
8297
|
+
# custom_delivery_configuration: {
|
|
8298
|
+
# delivery_uri: "__string", # required
|
|
8299
|
+
# endpoint_types: ["GCM"], # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM
|
|
8300
|
+
# },
|
|
8228
8301
|
# description: "__string",
|
|
8229
8302
|
# holdout_percent: 1,
|
|
8230
8303
|
# hook: {
|
|
@@ -8282,6 +8355,9 @@ module Aws::Pinpoint
|
|
|
8282
8355
|
# title: "__string",
|
|
8283
8356
|
# url: "__string",
|
|
8284
8357
|
# },
|
|
8358
|
+
# custom_message: {
|
|
8359
|
+
# data: "__string",
|
|
8360
|
+
# },
|
|
8285
8361
|
# default_message: {
|
|
8286
8362
|
# action: "OPEN_APP", # accepts OPEN_APP, DEEP_LINK, URL
|
|
8287
8363
|
# body: "__string",
|
|
@@ -8386,6 +8462,9 @@ module Aws::Pinpoint
|
|
|
8386
8462
|
# @example Response structure
|
|
8387
8463
|
#
|
|
8388
8464
|
# resp.campaign_response.additional_treatments #=> Array
|
|
8465
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.delivery_uri #=> String
|
|
8466
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types #=> Array
|
|
8467
|
+
# resp.campaign_response.additional_treatments[0].custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
8389
8468
|
# resp.campaign_response.additional_treatments[0].id #=> String
|
|
8390
8469
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
8391
8470
|
# resp.campaign_response.additional_treatments[0].message_configuration.adm_message.body #=> String
|
|
@@ -8423,6 +8502,7 @@ module Aws::Pinpoint
|
|
|
8423
8502
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.time_to_live #=> Integer
|
|
8424
8503
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.title #=> String
|
|
8425
8504
|
# resp.campaign_response.additional_treatments[0].message_configuration.baidu_message.url #=> String
|
|
8505
|
+
# resp.campaign_response.additional_treatments[0].message_configuration.custom_message.data #=> String
|
|
8426
8506
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
8427
8507
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.body #=> String
|
|
8428
8508
|
# resp.campaign_response.additional_treatments[0].message_configuration.default_message.image_icon_url #=> String
|
|
@@ -8487,6 +8567,9 @@ module Aws::Pinpoint
|
|
|
8487
8567
|
# resp.campaign_response.application_id #=> String
|
|
8488
8568
|
# resp.campaign_response.arn #=> String
|
|
8489
8569
|
# resp.campaign_response.creation_date #=> String
|
|
8570
|
+
# resp.campaign_response.custom_delivery_configuration.delivery_uri #=> String
|
|
8571
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types #=> Array
|
|
8572
|
+
# resp.campaign_response.custom_delivery_configuration.endpoint_types[0] #=> String, one of "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM"
|
|
8490
8573
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
|
8491
8574
|
# resp.campaign_response.description #=> String
|
|
8492
8575
|
# resp.campaign_response.holdout_percent #=> Integer
|
|
@@ -8536,6 +8619,7 @@ module Aws::Pinpoint
|
|
|
8536
8619
|
# resp.campaign_response.message_configuration.baidu_message.time_to_live #=> Integer
|
|
8537
8620
|
# resp.campaign_response.message_configuration.baidu_message.title #=> String
|
|
8538
8621
|
# resp.campaign_response.message_configuration.baidu_message.url #=> String
|
|
8622
|
+
# resp.campaign_response.message_configuration.custom_message.data #=> String
|
|
8539
8623
|
# resp.campaign_response.message_configuration.default_message.action #=> String, one of "OPEN_APP", "DEEP_LINK", "URL"
|
|
8540
8624
|
# resp.campaign_response.message_configuration.default_message.body #=> String
|
|
8541
8625
|
# resp.campaign_response.message_configuration.default_message.image_icon_url #=> String
|
|
@@ -8717,8 +8801,10 @@ module Aws::Pinpoint
|
|
|
8717
8801
|
|
|
8718
8802
|
# Creates a new endpoint for an application or updates the settings and
|
|
8719
8803
|
# attributes of an existing endpoint for an application. You can also
|
|
8720
|
-
# use this operation to define custom attributes
|
|
8721
|
-
#
|
|
8804
|
+
# use this operation to define custom attributes for an endpoint. If an
|
|
8805
|
+
# update includes one or more values for a custom attribute, Amazon
|
|
8806
|
+
# Pinpoint replaces (overwrites) any existing values with the new
|
|
8807
|
+
# values.
|
|
8722
8808
|
#
|
|
8723
8809
|
# @option params [required, String] :application_id
|
|
8724
8810
|
#
|
|
@@ -8793,8 +8879,9 @@ module Aws::Pinpoint
|
|
|
8793
8879
|
# Creates a new batch of endpoints for an application or updates the
|
|
8794
8880
|
# settings and attributes of a batch of existing endpoints for an
|
|
8795
8881
|
# application. You can also use this operation to define custom
|
|
8796
|
-
# attributes
|
|
8797
|
-
#
|
|
8882
|
+
# attributes for a batch of endpoints. If an update includes one or more
|
|
8883
|
+
# values for a custom attribute, Amazon Pinpoint replaces (overwrites)
|
|
8884
|
+
# any existing values with the new values.
|
|
8798
8885
|
#
|
|
8799
8886
|
# @option params [required, String] :application_id
|
|
8800
8887
|
#
|
|
@@ -10223,7 +10310,7 @@ module Aws::Pinpoint
|
|
|
10223
10310
|
params: params,
|
|
10224
10311
|
config: config)
|
|
10225
10312
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
|
10226
|
-
context[:gem_version] = '1.
|
|
10313
|
+
context[:gem_version] = '1.38.0'
|
|
10227
10314
|
Seahorse::Client::Request.new(handlers, context)
|
|
10228
10315
|
end
|
|
10229
10316
|
|
|
@@ -42,6 +42,7 @@ module Aws::Pinpoint
|
|
|
42
42
|
BaiduChannelResponse = Shapes::StructureShape.new(name: 'BaiduChannelResponse')
|
|
43
43
|
BaiduMessage = Shapes::StructureShape.new(name: 'BaiduMessage')
|
|
44
44
|
BaseKpiResult = Shapes::StructureShape.new(name: 'BaseKpiResult')
|
|
45
|
+
CampaignCustomMessage = Shapes::StructureShape.new(name: 'CampaignCustomMessage')
|
|
45
46
|
CampaignDateRangeKpiResponse = Shapes::StructureShape.new(name: 'CampaignDateRangeKpiResponse')
|
|
46
47
|
CampaignEmailMessage = Shapes::StructureShape.new(name: 'CampaignEmailMessage')
|
|
47
48
|
CampaignEventFilter = Shapes::StructureShape.new(name: 'CampaignEventFilter')
|
|
@@ -82,6 +83,7 @@ module Aws::Pinpoint
|
|
|
82
83
|
CreateTemplateMessageBody = Shapes::StructureShape.new(name: 'CreateTemplateMessageBody')
|
|
83
84
|
CreateVoiceTemplateRequest = Shapes::StructureShape.new(name: 'CreateVoiceTemplateRequest')
|
|
84
85
|
CreateVoiceTemplateResponse = Shapes::StructureShape.new(name: 'CreateVoiceTemplateResponse')
|
|
86
|
+
CustomDeliveryConfiguration = Shapes::StructureShape.new(name: 'CustomDeliveryConfiguration')
|
|
85
87
|
DefaultMessage = Shapes::StructureShape.new(name: 'DefaultMessage')
|
|
86
88
|
DefaultPushNotificationMessage = Shapes::StructureShape.new(name: 'DefaultPushNotificationMessage')
|
|
87
89
|
DefaultPushNotificationTemplate = Shapes::StructureShape.new(name: 'DefaultPushNotificationTemplate')
|
|
@@ -301,6 +303,7 @@ module Aws::Pinpoint
|
|
|
301
303
|
ListOfTemplateVersionResponse = Shapes::ListShape.new(name: 'ListOfTemplateVersionResponse')
|
|
302
304
|
ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
|
|
303
305
|
ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
|
|
306
|
+
ListOf__EndpointTypesElement = Shapes::ListShape.new(name: 'ListOf__EndpointTypesElement')
|
|
304
307
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
|
305
308
|
ListRecommenderConfigurationsResponse = Shapes::StructureShape.new(name: 'ListRecommenderConfigurationsResponse')
|
|
306
309
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
|
@@ -470,6 +473,7 @@ module Aws::Pinpoint
|
|
|
470
473
|
WriteJourneyRequest = Shapes::StructureShape.new(name: 'WriteJourneyRequest')
|
|
471
474
|
WriteSegmentRequest = Shapes::StructureShape.new(name: 'WriteSegmentRequest')
|
|
472
475
|
WriteTreatmentResource = Shapes::StructureShape.new(name: 'WriteTreatmentResource')
|
|
476
|
+
__EndpointTypesElement = Shapes::StringShape.new(name: '__EndpointTypesElement')
|
|
473
477
|
__blob = Shapes::BlobShape.new(name: '__blob')
|
|
474
478
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
|
475
479
|
__double = Shapes::FloatShape.new(name: '__double')
|
|
@@ -761,6 +765,9 @@ module Aws::Pinpoint
|
|
|
761
765
|
BaseKpiResult.add_member(:rows, Shapes::ShapeRef.new(shape: ListOfResultRow, required: true, location_name: "Rows"))
|
|
762
766
|
BaseKpiResult.struct_class = Types::BaseKpiResult
|
|
763
767
|
|
|
768
|
+
CampaignCustomMessage.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "Data"))
|
|
769
|
+
CampaignCustomMessage.struct_class = Types::CampaignCustomMessage
|
|
770
|
+
|
|
764
771
|
CampaignDateRangeKpiResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
|
765
772
|
CampaignDateRangeKpiResponse.add_member(:campaign_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CampaignId"))
|
|
766
773
|
CampaignDateRangeKpiResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: __timestampIso8601, required: true, location_name: "EndTime"))
|
|
@@ -795,6 +802,7 @@ module Aws::Pinpoint
|
|
|
795
802
|
CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "ApplicationId"))
|
|
796
803
|
CampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Arn"))
|
|
797
804
|
CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "CreationDate"))
|
|
805
|
+
CampaignResponse.add_member(:custom_delivery_configuration, Shapes::ShapeRef.new(shape: CustomDeliveryConfiguration, location_name: "CustomDeliveryConfiguration"))
|
|
798
806
|
CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState"))
|
|
799
807
|
CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
|
|
800
808
|
CampaignResponse.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent"))
|
|
@@ -991,6 +999,10 @@ module Aws::Pinpoint
|
|
|
991
999
|
CreateVoiceTemplateResponse[:payload] = :create_template_message_body
|
|
992
1000
|
CreateVoiceTemplateResponse[:payload_member] = CreateVoiceTemplateResponse.member(:create_template_message_body)
|
|
993
1001
|
|
|
1002
|
+
CustomDeliveryConfiguration.add_member(:delivery_uri, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "DeliveryUri"))
|
|
1003
|
+
CustomDeliveryConfiguration.add_member(:endpoint_types, Shapes::ShapeRef.new(shape: ListOf__EndpointTypesElement, location_name: "EndpointTypes"))
|
|
1004
|
+
CustomDeliveryConfiguration.struct_class = Types::CustomDeliveryConfiguration
|
|
1005
|
+
|
|
994
1006
|
DefaultMessage.add_member(:body, Shapes::ShapeRef.new(shape: __string, location_name: "Body"))
|
|
995
1007
|
DefaultMessage.add_member(:substitutions, Shapes::ShapeRef.new(shape: MapOfListOf__string, location_name: "Substitutions"))
|
|
996
1008
|
DefaultMessage.struct_class = Types::DefaultMessage
|
|
@@ -2064,6 +2076,8 @@ module Aws::Pinpoint
|
|
|
2064
2076
|
|
|
2065
2077
|
ListOfWriteTreatmentResource.member = Shapes::ShapeRef.new(shape: WriteTreatmentResource)
|
|
2066
2078
|
|
|
2079
|
+
ListOf__EndpointTypesElement.member = Shapes::ShapeRef.new(shape: __EndpointTypesElement)
|
|
2080
|
+
|
|
2067
2081
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
|
2068
2082
|
|
|
2069
2083
|
ListRecommenderConfigurationsResponse.add_member(:item, Shapes::ShapeRef.new(shape: ListOfRecommenderConfigurationResponse, required: true, location_name: "Item"))
|
|
@@ -2172,6 +2186,7 @@ module Aws::Pinpoint
|
|
|
2172
2186
|
MessageConfiguration.add_member(:adm_message, Shapes::ShapeRef.new(shape: Message, location_name: "ADMMessage"))
|
|
2173
2187
|
MessageConfiguration.add_member(:apns_message, Shapes::ShapeRef.new(shape: Message, location_name: "APNSMessage"))
|
|
2174
2188
|
MessageConfiguration.add_member(:baidu_message, Shapes::ShapeRef.new(shape: Message, location_name: "BaiduMessage"))
|
|
2189
|
+
MessageConfiguration.add_member(:custom_message, Shapes::ShapeRef.new(shape: CampaignCustomMessage, location_name: "CustomMessage"))
|
|
2175
2190
|
MessageConfiguration.add_member(:default_message, Shapes::ShapeRef.new(shape: Message, location_name: "DefaultMessage"))
|
|
2176
2191
|
MessageConfiguration.add_member(:email_message, Shapes::ShapeRef.new(shape: CampaignEmailMessage, location_name: "EmailMessage"))
|
|
2177
2192
|
MessageConfiguration.add_member(:gcm_message, Shapes::ShapeRef.new(shape: Message, location_name: "GCMMessage"))
|
|
@@ -2613,6 +2628,7 @@ module Aws::Pinpoint
|
|
|
2613
2628
|
TooManyRequestsException.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "RequestID"))
|
|
2614
2629
|
TooManyRequestsException.struct_class = Types::TooManyRequestsException
|
|
2615
2630
|
|
|
2631
|
+
TreatmentResource.add_member(:custom_delivery_configuration, Shapes::ShapeRef.new(shape: CustomDeliveryConfiguration, location_name: "CustomDeliveryConfiguration"))
|
|
2616
2632
|
TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "Id"))
|
|
2617
2633
|
TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
|
|
2618
2634
|
TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
|
@@ -2967,6 +2983,7 @@ module Aws::Pinpoint
|
|
|
2967
2983
|
WriteApplicationSettingsRequest.struct_class = Types::WriteApplicationSettingsRequest
|
|
2968
2984
|
|
|
2969
2985
|
WriteCampaignRequest.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfWriteTreatmentResource, location_name: "AdditionalTreatments"))
|
|
2986
|
+
WriteCampaignRequest.add_member(:custom_delivery_configuration, Shapes::ShapeRef.new(shape: CustomDeliveryConfiguration, location_name: "CustomDeliveryConfiguration"))
|
|
2970
2987
|
WriteCampaignRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
|
|
2971
2988
|
WriteCampaignRequest.add_member(:holdout_percent, Shapes::ShapeRef.new(shape: __integer, location_name: "HoldoutPercent"))
|
|
2972
2989
|
WriteCampaignRequest.add_member(:hook, Shapes::ShapeRef.new(shape: CampaignHook, location_name: "Hook"))
|
|
@@ -3007,6 +3024,7 @@ module Aws::Pinpoint
|
|
|
3007
3024
|
WriteSegmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
|
3008
3025
|
WriteSegmentRequest.struct_class = Types::WriteSegmentRequest
|
|
3009
3026
|
|
|
3027
|
+
WriteTreatmentResource.add_member(:custom_delivery_configuration, Shapes::ShapeRef.new(shape: CustomDeliveryConfiguration, location_name: "CustomDeliveryConfiguration"))
|
|
3010
3028
|
WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
|
|
3011
3029
|
WriteTreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
|
3012
3030
|
WriteTreatmentResource.add_member(:size_percent, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "SizePercent"))
|