aws-sdk-pinpoint 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-pinpoint.rb +1 -1
- data/lib/aws-sdk-pinpoint/client.rb +150 -1
- data/lib/aws-sdk-pinpoint/client_api.rb +59 -0
- data/lib/aws-sdk-pinpoint/types.rb +166 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b883f1a22a9476b01cb02fea2fbc8032db492aa7
|
4
|
+
data.tar.gz: b72eccccede8406ab728a7da955ccd4530e267cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 645df3eac712d7f3f6881cab44a6cb2f9d57e8fd3d29378c4d5d06c8f843143179d6e9ecfea985b13f3315270c2f2f36b939fef4cbb1a640a46682fbde6ee4ba
|
7
|
+
data.tar.gz: b500b6ea407f985589f71a690f3a93678cd6f9b29e32dbb4676dfca8d30badc1dd7afa6e0a5fd6810fc70885f02b74b2090981431f5411706e10cb13da7c440f
|
data/lib/aws-sdk-pinpoint.rb
CHANGED
@@ -219,13 +219,19 @@ module Aws::Pinpoint
|
|
219
219
|
# resp = client.create_app({
|
220
220
|
# create_application_request: { # required
|
221
221
|
# name: "__string",
|
222
|
+
# tags: {
|
223
|
+
# "__string" => "__string",
|
224
|
+
# },
|
222
225
|
# },
|
223
226
|
# })
|
224
227
|
#
|
225
228
|
# @example Response structure
|
226
229
|
#
|
230
|
+
# resp.application_response.arn #=> String
|
227
231
|
# resp.application_response.id #=> String
|
228
232
|
# resp.application_response.name #=> String
|
233
|
+
# resp.application_response.tags #=> Hash
|
234
|
+
# resp.application_response.tags["__string"] #=> String
|
229
235
|
#
|
230
236
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApp AWS API Documentation
|
231
237
|
#
|
@@ -506,6 +512,9 @@ module Aws::Pinpoint
|
|
506
512
|
# },
|
507
513
|
# segment_id: "__string",
|
508
514
|
# segment_version: 1,
|
515
|
+
# tags: {
|
516
|
+
# "__string" => "__string",
|
517
|
+
# },
|
509
518
|
# treatment_description: "__string",
|
510
519
|
# treatment_name: "__string",
|
511
520
|
# },
|
@@ -605,6 +614,7 @@ module Aws::Pinpoint
|
|
605
614
|
# resp.campaign_response.additional_treatments[0].treatment_description #=> String
|
606
615
|
# resp.campaign_response.additional_treatments[0].treatment_name #=> String
|
607
616
|
# resp.campaign_response.application_id #=> String
|
617
|
+
# resp.campaign_response.arn #=> String
|
608
618
|
# resp.campaign_response.creation_date #=> String
|
609
619
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
610
620
|
# resp.campaign_response.description #=> String
|
@@ -708,6 +718,8 @@ module Aws::Pinpoint
|
|
708
718
|
# resp.campaign_response.segment_id #=> String
|
709
719
|
# resp.campaign_response.segment_version #=> Integer
|
710
720
|
# resp.campaign_response.state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
721
|
+
# resp.campaign_response.tags #=> Hash
|
722
|
+
# resp.campaign_response.tags["__string"] #=> String
|
711
723
|
# resp.campaign_response.treatment_description #=> String
|
712
724
|
# resp.campaign_response.treatment_name #=> String
|
713
725
|
# resp.campaign_response.version #=> Integer
|
@@ -997,12 +1009,16 @@ module Aws::Pinpoint
|
|
997
1009
|
# ],
|
998
1010
|
# include: "ALL", # accepts ALL, ANY, NONE
|
999
1011
|
# },
|
1012
|
+
# tags: {
|
1013
|
+
# "__string" => "__string",
|
1014
|
+
# },
|
1000
1015
|
# },
|
1001
1016
|
# })
|
1002
1017
|
#
|
1003
1018
|
# @example Response structure
|
1004
1019
|
#
|
1005
1020
|
# resp.segment_response.application_id #=> String
|
1021
|
+
# resp.segment_response.arn #=> String
|
1006
1022
|
# resp.segment_response.creation_date #=> String
|
1007
1023
|
# resp.segment_response.dimensions.attributes #=> Hash
|
1008
1024
|
# resp.segment_response.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -1097,6 +1113,8 @@ module Aws::Pinpoint
|
|
1097
1113
|
# resp.segment_response.segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
1098
1114
|
# resp.segment_response.segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
1099
1115
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
1116
|
+
# resp.segment_response.tags #=> Hash
|
1117
|
+
# resp.segment_response.tags["__string"] #=> String
|
1100
1118
|
# resp.segment_response.version #=> Integer
|
1101
1119
|
#
|
1102
1120
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateSegment AWS API Documentation
|
@@ -1312,8 +1330,11 @@ module Aws::Pinpoint
|
|
1312
1330
|
#
|
1313
1331
|
# @example Response structure
|
1314
1332
|
#
|
1333
|
+
# resp.application_response.arn #=> String
|
1315
1334
|
# resp.application_response.id #=> String
|
1316
1335
|
# resp.application_response.name #=> String
|
1336
|
+
# resp.application_response.tags #=> Hash
|
1337
|
+
# resp.application_response.tags["__string"] #=> String
|
1317
1338
|
#
|
1318
1339
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteApp AWS API Documentation
|
1319
1340
|
#
|
@@ -1472,6 +1493,7 @@ module Aws::Pinpoint
|
|
1472
1493
|
# resp.campaign_response.additional_treatments[0].treatment_description #=> String
|
1473
1494
|
# resp.campaign_response.additional_treatments[0].treatment_name #=> String
|
1474
1495
|
# resp.campaign_response.application_id #=> String
|
1496
|
+
# resp.campaign_response.arn #=> String
|
1475
1497
|
# resp.campaign_response.creation_date #=> String
|
1476
1498
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
1477
1499
|
# resp.campaign_response.description #=> String
|
@@ -1575,6 +1597,8 @@ module Aws::Pinpoint
|
|
1575
1597
|
# resp.campaign_response.segment_id #=> String
|
1576
1598
|
# resp.campaign_response.segment_version #=> Integer
|
1577
1599
|
# resp.campaign_response.state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
1600
|
+
# resp.campaign_response.tags #=> Hash
|
1601
|
+
# resp.campaign_response.tags["__string"] #=> String
|
1578
1602
|
# resp.campaign_response.treatment_description #=> String
|
1579
1603
|
# resp.campaign_response.treatment_name #=> String
|
1580
1604
|
# resp.campaign_response.version #=> Integer
|
@@ -1780,6 +1804,7 @@ module Aws::Pinpoint
|
|
1780
1804
|
# @example Response structure
|
1781
1805
|
#
|
1782
1806
|
# resp.segment_response.application_id #=> String
|
1807
|
+
# resp.segment_response.arn #=> String
|
1783
1808
|
# resp.segment_response.creation_date #=> String
|
1784
1809
|
# resp.segment_response.dimensions.attributes #=> Hash
|
1785
1810
|
# resp.segment_response.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -1874,6 +1899,8 @@ module Aws::Pinpoint
|
|
1874
1899
|
# resp.segment_response.segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
1875
1900
|
# resp.segment_response.segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
1876
1901
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
1902
|
+
# resp.segment_response.tags #=> Hash
|
1903
|
+
# resp.segment_response.tags["__string"] #=> String
|
1877
1904
|
# resp.segment_response.version #=> Integer
|
1878
1905
|
#
|
1879
1906
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/DeleteSegment AWS API Documentation
|
@@ -2228,8 +2255,11 @@ module Aws::Pinpoint
|
|
2228
2255
|
#
|
2229
2256
|
# @example Response structure
|
2230
2257
|
#
|
2258
|
+
# resp.application_response.arn #=> String
|
2231
2259
|
# resp.application_response.id #=> String
|
2232
2260
|
# resp.application_response.name #=> String
|
2261
|
+
# resp.application_response.tags #=> Hash
|
2262
|
+
# resp.application_response.tags["__string"] #=> String
|
2233
2263
|
#
|
2234
2264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApp AWS API Documentation
|
2235
2265
|
#
|
@@ -2297,8 +2327,11 @@ module Aws::Pinpoint
|
|
2297
2327
|
# @example Response structure
|
2298
2328
|
#
|
2299
2329
|
# resp.applications_response.item #=> Array
|
2330
|
+
# resp.applications_response.item[0].arn #=> String
|
2300
2331
|
# resp.applications_response.item[0].id #=> String
|
2301
2332
|
# resp.applications_response.item[0].name #=> String
|
2333
|
+
# resp.applications_response.item[0].tags #=> Hash
|
2334
|
+
# resp.applications_response.item[0].tags["__string"] #=> String
|
2302
2335
|
# resp.applications_response.next_token #=> String
|
2303
2336
|
#
|
2304
2337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApps AWS API Documentation
|
@@ -2458,6 +2491,7 @@ module Aws::Pinpoint
|
|
2458
2491
|
# resp.campaign_response.additional_treatments[0].treatment_description #=> String
|
2459
2492
|
# resp.campaign_response.additional_treatments[0].treatment_name #=> String
|
2460
2493
|
# resp.campaign_response.application_id #=> String
|
2494
|
+
# resp.campaign_response.arn #=> String
|
2461
2495
|
# resp.campaign_response.creation_date #=> String
|
2462
2496
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
2463
2497
|
# resp.campaign_response.description #=> String
|
@@ -2561,6 +2595,8 @@ module Aws::Pinpoint
|
|
2561
2595
|
# resp.campaign_response.segment_id #=> String
|
2562
2596
|
# resp.campaign_response.segment_version #=> Integer
|
2563
2597
|
# resp.campaign_response.state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
2598
|
+
# resp.campaign_response.tags #=> Hash
|
2599
|
+
# resp.campaign_response.tags["__string"] #=> String
|
2564
2600
|
# resp.campaign_response.treatment_description #=> String
|
2565
2601
|
# resp.campaign_response.treatment_name #=> String
|
2566
2602
|
# resp.campaign_response.version #=> Integer
|
@@ -2738,6 +2774,7 @@ module Aws::Pinpoint
|
|
2738
2774
|
# resp.campaign_response.additional_treatments[0].treatment_description #=> String
|
2739
2775
|
# resp.campaign_response.additional_treatments[0].treatment_name #=> String
|
2740
2776
|
# resp.campaign_response.application_id #=> String
|
2777
|
+
# resp.campaign_response.arn #=> String
|
2741
2778
|
# resp.campaign_response.creation_date #=> String
|
2742
2779
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
2743
2780
|
# resp.campaign_response.description #=> String
|
@@ -2841,6 +2878,8 @@ module Aws::Pinpoint
|
|
2841
2878
|
# resp.campaign_response.segment_id #=> String
|
2842
2879
|
# resp.campaign_response.segment_version #=> Integer
|
2843
2880
|
# resp.campaign_response.state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
2881
|
+
# resp.campaign_response.tags #=> Hash
|
2882
|
+
# resp.campaign_response.tags["__string"] #=> String
|
2844
2883
|
# resp.campaign_response.treatment_description #=> String
|
2845
2884
|
# resp.campaign_response.treatment_name #=> String
|
2846
2885
|
# resp.campaign_response.version #=> Integer
|
@@ -2972,6 +3011,7 @@ module Aws::Pinpoint
|
|
2972
3011
|
# resp.campaigns_response.item[0].additional_treatments[0].treatment_description #=> String
|
2973
3012
|
# resp.campaigns_response.item[0].additional_treatments[0].treatment_name #=> String
|
2974
3013
|
# resp.campaigns_response.item[0].application_id #=> String
|
3014
|
+
# resp.campaigns_response.item[0].arn #=> String
|
2975
3015
|
# resp.campaigns_response.item[0].creation_date #=> String
|
2976
3016
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
2977
3017
|
# resp.campaigns_response.item[0].description #=> String
|
@@ -3075,6 +3115,8 @@ module Aws::Pinpoint
|
|
3075
3115
|
# resp.campaigns_response.item[0].segment_id #=> String
|
3076
3116
|
# resp.campaigns_response.item[0].segment_version #=> Integer
|
3077
3117
|
# resp.campaigns_response.item[0].state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
3118
|
+
# resp.campaigns_response.item[0].tags #=> Hash
|
3119
|
+
# resp.campaigns_response.item[0].tags["__string"] #=> String
|
3078
3120
|
# resp.campaigns_response.item[0].treatment_description #=> String
|
3079
3121
|
# resp.campaigns_response.item[0].treatment_name #=> String
|
3080
3122
|
# resp.campaigns_response.item[0].version #=> Integer
|
@@ -3204,6 +3246,7 @@ module Aws::Pinpoint
|
|
3204
3246
|
# resp.campaigns_response.item[0].additional_treatments[0].treatment_description #=> String
|
3205
3247
|
# resp.campaigns_response.item[0].additional_treatments[0].treatment_name #=> String
|
3206
3248
|
# resp.campaigns_response.item[0].application_id #=> String
|
3249
|
+
# resp.campaigns_response.item[0].arn #=> String
|
3207
3250
|
# resp.campaigns_response.item[0].creation_date #=> String
|
3208
3251
|
# resp.campaigns_response.item[0].default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
3209
3252
|
# resp.campaigns_response.item[0].description #=> String
|
@@ -3307,6 +3350,8 @@ module Aws::Pinpoint
|
|
3307
3350
|
# resp.campaigns_response.item[0].segment_id #=> String
|
3308
3351
|
# resp.campaigns_response.item[0].segment_version #=> Integer
|
3309
3352
|
# resp.campaigns_response.item[0].state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
3353
|
+
# resp.campaigns_response.item[0].tags #=> Hash
|
3354
|
+
# resp.campaigns_response.item[0].tags["__string"] #=> String
|
3310
3355
|
# resp.campaigns_response.item[0].treatment_description #=> String
|
3311
3356
|
# resp.campaigns_response.item[0].treatment_name #=> String
|
3312
3357
|
# resp.campaigns_response.item[0].version #=> Integer
|
@@ -3751,6 +3796,7 @@ module Aws::Pinpoint
|
|
3751
3796
|
# @example Response structure
|
3752
3797
|
#
|
3753
3798
|
# resp.segment_response.application_id #=> String
|
3799
|
+
# resp.segment_response.arn #=> String
|
3754
3800
|
# resp.segment_response.creation_date #=> String
|
3755
3801
|
# resp.segment_response.dimensions.attributes #=> Hash
|
3756
3802
|
# resp.segment_response.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -3845,6 +3891,8 @@ module Aws::Pinpoint
|
|
3845
3891
|
# resp.segment_response.segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
3846
3892
|
# resp.segment_response.segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
3847
3893
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
3894
|
+
# resp.segment_response.tags #=> Hash
|
3895
|
+
# resp.segment_response.tags["__string"] #=> String
|
3848
3896
|
# resp.segment_response.version #=> Integer
|
3849
3897
|
#
|
3850
3898
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegment AWS API Documentation
|
@@ -3991,6 +4039,7 @@ module Aws::Pinpoint
|
|
3991
4039
|
# @example Response structure
|
3992
4040
|
#
|
3993
4041
|
# resp.segment_response.application_id #=> String
|
4042
|
+
# resp.segment_response.arn #=> String
|
3994
4043
|
# resp.segment_response.creation_date #=> String
|
3995
4044
|
# resp.segment_response.dimensions.attributes #=> Hash
|
3996
4045
|
# resp.segment_response.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -4085,6 +4134,8 @@ module Aws::Pinpoint
|
|
4085
4134
|
# resp.segment_response.segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
4086
4135
|
# resp.segment_response.segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
4087
4136
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
4137
|
+
# resp.segment_response.tags #=> Hash
|
4138
|
+
# resp.segment_response.tags["__string"] #=> String
|
4088
4139
|
# resp.segment_response.version #=> Integer
|
4089
4140
|
#
|
4090
4141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetSegmentVersion AWS API Documentation
|
@@ -4123,6 +4174,7 @@ module Aws::Pinpoint
|
|
4123
4174
|
#
|
4124
4175
|
# resp.segments_response.item #=> Array
|
4125
4176
|
# resp.segments_response.item[0].application_id #=> String
|
4177
|
+
# resp.segments_response.item[0].arn #=> String
|
4126
4178
|
# resp.segments_response.item[0].creation_date #=> String
|
4127
4179
|
# resp.segments_response.item[0].dimensions.attributes #=> Hash
|
4128
4180
|
# resp.segments_response.item[0].dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -4217,6 +4269,8 @@ module Aws::Pinpoint
|
|
4217
4269
|
# resp.segments_response.item[0].segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
4218
4270
|
# resp.segments_response.item[0].segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
4219
4271
|
# resp.segments_response.item[0].segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
4272
|
+
# resp.segments_response.item[0].tags #=> Hash
|
4273
|
+
# resp.segments_response.item[0].tags["__string"] #=> String
|
4220
4274
|
# resp.segments_response.item[0].version #=> Integer
|
4221
4275
|
# resp.segments_response.next_token #=> String
|
4222
4276
|
#
|
@@ -4253,6 +4307,7 @@ module Aws::Pinpoint
|
|
4253
4307
|
#
|
4254
4308
|
# resp.segments_response.item #=> Array
|
4255
4309
|
# resp.segments_response.item[0].application_id #=> String
|
4310
|
+
# resp.segments_response.item[0].arn #=> String
|
4256
4311
|
# resp.segments_response.item[0].creation_date #=> String
|
4257
4312
|
# resp.segments_response.item[0].dimensions.attributes #=> Hash
|
4258
4313
|
# resp.segments_response.item[0].dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -4347,6 +4402,8 @@ module Aws::Pinpoint
|
|
4347
4402
|
# resp.segments_response.item[0].segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
4348
4403
|
# resp.segments_response.item[0].segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
4349
4404
|
# resp.segments_response.item[0].segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
4405
|
+
# resp.segments_response.item[0].tags #=> Hash
|
4406
|
+
# resp.segments_response.item[0].tags["__string"] #=> String
|
4350
4407
|
# resp.segments_response.item[0].version #=> Integer
|
4351
4408
|
# resp.segments_response.next_token #=> String
|
4352
4409
|
#
|
@@ -4499,6 +4556,34 @@ module Aws::Pinpoint
|
|
4499
4556
|
req.send_request(options)
|
4500
4557
|
end
|
4501
4558
|
|
4559
|
+
# Get list of all tags for a given resource arn
|
4560
|
+
#
|
4561
|
+
# @option params [required, String] :resource_arn
|
4562
|
+
#
|
4563
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4564
|
+
#
|
4565
|
+
# * {Types::ListTagsForResourceResponse#tags_model #tags_model} => Types::TagsModel
|
4566
|
+
#
|
4567
|
+
# @example Request syntax with placeholder values
|
4568
|
+
#
|
4569
|
+
# resp = client.list_tags_for_resource({
|
4570
|
+
# resource_arn: "__string", # required
|
4571
|
+
# })
|
4572
|
+
#
|
4573
|
+
# @example Response structure
|
4574
|
+
#
|
4575
|
+
# resp.tags_model.tags #=> Hash
|
4576
|
+
# resp.tags_model.tags["__string"] #=> String
|
4577
|
+
#
|
4578
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTagsForResource AWS API Documentation
|
4579
|
+
#
|
4580
|
+
# @overload list_tags_for_resource(params = {})
|
4581
|
+
# @param [Hash] params ({})
|
4582
|
+
def list_tags_for_resource(params = {}, options = {})
|
4583
|
+
req = build_request(:list_tags_for_resource, params)
|
4584
|
+
req.send_request(options)
|
4585
|
+
end
|
4586
|
+
|
4502
4587
|
# Returns information about the specified phone number.
|
4503
4588
|
#
|
4504
4589
|
# @option params [required, Types::NumberValidateRequest] :number_validate_request
|
@@ -5168,6 +5253,58 @@ module Aws::Pinpoint
|
|
5168
5253
|
req.send_request(options)
|
5169
5254
|
end
|
5170
5255
|
|
5256
|
+
# Adds tags to a resource.
|
5257
|
+
#
|
5258
|
+
# @option params [required, String] :resource_arn
|
5259
|
+
#
|
5260
|
+
# @option params [required, Types::TagsModel] :tags_model
|
5261
|
+
#
|
5262
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5263
|
+
#
|
5264
|
+
# @example Request syntax with placeholder values
|
5265
|
+
#
|
5266
|
+
# resp = client.tag_resource({
|
5267
|
+
# resource_arn: "__string", # required
|
5268
|
+
# tags_model: { # required
|
5269
|
+
# tags: { # required
|
5270
|
+
# "__string" => "__string",
|
5271
|
+
# },
|
5272
|
+
# },
|
5273
|
+
# })
|
5274
|
+
#
|
5275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TagResource AWS API Documentation
|
5276
|
+
#
|
5277
|
+
# @overload tag_resource(params = {})
|
5278
|
+
# @param [Hash] params ({})
|
5279
|
+
def tag_resource(params = {}, options = {})
|
5280
|
+
req = build_request(:tag_resource, params)
|
5281
|
+
req.send_request(options)
|
5282
|
+
end
|
5283
|
+
|
5284
|
+
# Remove tags from a resource.
|
5285
|
+
#
|
5286
|
+
# @option params [required, String] :resource_arn
|
5287
|
+
#
|
5288
|
+
# @option params [required, Array<String>] :tag_keys
|
5289
|
+
#
|
5290
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5291
|
+
#
|
5292
|
+
# @example Request syntax with placeholder values
|
5293
|
+
#
|
5294
|
+
# resp = client.untag_resource({
|
5295
|
+
# resource_arn: "__string", # required
|
5296
|
+
# tag_keys: ["__string"], # required
|
5297
|
+
# })
|
5298
|
+
#
|
5299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UntagResource AWS API Documentation
|
5300
|
+
#
|
5301
|
+
# @overload untag_resource(params = {})
|
5302
|
+
# @param [Hash] params ({})
|
5303
|
+
def untag_resource(params = {}, options = {})
|
5304
|
+
req = build_request(:untag_resource, params)
|
5305
|
+
req.send_request(options)
|
5306
|
+
end
|
5307
|
+
|
5171
5308
|
# Update an ADM channel.
|
5172
5309
|
#
|
5173
5310
|
# @option params [required, Types::ADMChannelRequest] :adm_channel_request
|
@@ -5792,6 +5929,9 @@ module Aws::Pinpoint
|
|
5792
5929
|
# },
|
5793
5930
|
# segment_id: "__string",
|
5794
5931
|
# segment_version: 1,
|
5932
|
+
# tags: {
|
5933
|
+
# "__string" => "__string",
|
5934
|
+
# },
|
5795
5935
|
# treatment_description: "__string",
|
5796
5936
|
# treatment_name: "__string",
|
5797
5937
|
# },
|
@@ -5891,6 +6031,7 @@ module Aws::Pinpoint
|
|
5891
6031
|
# resp.campaign_response.additional_treatments[0].treatment_description #=> String
|
5892
6032
|
# resp.campaign_response.additional_treatments[0].treatment_name #=> String
|
5893
6033
|
# resp.campaign_response.application_id #=> String
|
6034
|
+
# resp.campaign_response.arn #=> String
|
5894
6035
|
# resp.campaign_response.creation_date #=> String
|
5895
6036
|
# resp.campaign_response.default_state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
5896
6037
|
# resp.campaign_response.description #=> String
|
@@ -5994,6 +6135,8 @@ module Aws::Pinpoint
|
|
5994
6135
|
# resp.campaign_response.segment_id #=> String
|
5995
6136
|
# resp.campaign_response.segment_version #=> Integer
|
5996
6137
|
# resp.campaign_response.state.campaign_status #=> String, one of "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED"
|
6138
|
+
# resp.campaign_response.tags #=> Hash
|
6139
|
+
# resp.campaign_response.tags["__string"] #=> String
|
5997
6140
|
# resp.campaign_response.treatment_description #=> String
|
5998
6141
|
# resp.campaign_response.treatment_name #=> String
|
5999
6142
|
# resp.campaign_response.version #=> Integer
|
@@ -6415,12 +6558,16 @@ module Aws::Pinpoint
|
|
6415
6558
|
# ],
|
6416
6559
|
# include: "ALL", # accepts ALL, ANY, NONE
|
6417
6560
|
# },
|
6561
|
+
# tags: {
|
6562
|
+
# "__string" => "__string",
|
6563
|
+
# },
|
6418
6564
|
# },
|
6419
6565
|
# })
|
6420
6566
|
#
|
6421
6567
|
# @example Response structure
|
6422
6568
|
#
|
6423
6569
|
# resp.segment_response.application_id #=> String
|
6570
|
+
# resp.segment_response.arn #=> String
|
6424
6571
|
# resp.segment_response.creation_date #=> String
|
6425
6572
|
# resp.segment_response.dimensions.attributes #=> Hash
|
6426
6573
|
# resp.segment_response.dimensions.attributes["__string"].attribute_type #=> String, one of "INCLUSIVE", "EXCLUSIVE"
|
@@ -6515,6 +6662,8 @@ module Aws::Pinpoint
|
|
6515
6662
|
# resp.segment_response.segment_groups.groups[0].type #=> String, one of "ALL", "ANY", "NONE"
|
6516
6663
|
# resp.segment_response.segment_groups.include #=> String, one of "ALL", "ANY", "NONE"
|
6517
6664
|
# resp.segment_response.segment_type #=> String, one of "DIMENSIONAL", "IMPORT"
|
6665
|
+
# resp.segment_response.tags #=> Hash
|
6666
|
+
# resp.segment_response.tags["__string"] #=> String
|
6518
6667
|
# resp.segment_response.version #=> Integer
|
6519
6668
|
#
|
6520
6669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UpdateSegment AWS API Documentation
|
@@ -6629,7 +6778,7 @@ module Aws::Pinpoint
|
|
6629
6778
|
params: params,
|
6630
6779
|
config: config)
|
6631
6780
|
context[:gem_name] = 'aws-sdk-pinpoint'
|
6632
|
-
context[:gem_version] = '1.
|
6781
|
+
context[:gem_version] = '1.16.0'
|
6633
6782
|
Seahorse::Client::Request.new(handlers, context)
|
6634
6783
|
end
|
6635
6784
|
|
@@ -218,6 +218,8 @@ module Aws::Pinpoint
|
|
218
218
|
ListOfTreatmentResource = Shapes::ListShape.new(name: 'ListOfTreatmentResource')
|
219
219
|
ListOfWriteTreatmentResource = Shapes::ListShape.new(name: 'ListOfWriteTreatmentResource')
|
220
220
|
ListOf__string = Shapes::ListShape.new(name: 'ListOf__string')
|
221
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
222
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
221
223
|
MapOfAddressConfiguration = Shapes::MapShape.new(name: 'MapOfAddressConfiguration')
|
222
224
|
MapOfAttributeDimension = Shapes::MapShape.new(name: 'MapOfAttributeDimension')
|
223
225
|
MapOfChannelResponse = Shapes::MapShape.new(name: 'MapOfChannelResponse')
|
@@ -286,9 +288,12 @@ module Aws::Pinpoint
|
|
286
288
|
SimpleEmail = Shapes::StructureShape.new(name: 'SimpleEmail')
|
287
289
|
SimpleEmailPart = Shapes::StructureShape.new(name: 'SimpleEmailPart')
|
288
290
|
SourceType = Shapes::StringShape.new(name: 'SourceType')
|
291
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
292
|
+
TagsModel = Shapes::StructureShape.new(name: 'TagsModel')
|
289
293
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
290
294
|
TreatmentResource = Shapes::StructureShape.new(name: 'TreatmentResource')
|
291
295
|
Type = Shapes::StringShape.new(name: 'Type')
|
296
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
292
297
|
UpdateAdmChannelRequest = Shapes::StructureShape.new(name: 'UpdateAdmChannelRequest')
|
293
298
|
UpdateAdmChannelResponse = Shapes::StructureShape.new(name: 'UpdateAdmChannelResponse')
|
294
299
|
UpdateApnsChannelRequest = Shapes::StructureShape.new(name: 'UpdateApnsChannelRequest')
|
@@ -514,8 +519,10 @@ module Aws::Pinpoint
|
|
514
519
|
AddressConfiguration.add_member(:title_override, Shapes::ShapeRef.new(shape: __string, location_name: "TitleOverride"))
|
515
520
|
AddressConfiguration.struct_class = Types::AddressConfiguration
|
516
521
|
|
522
|
+
ApplicationResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
517
523
|
ApplicationResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
518
524
|
ApplicationResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
525
|
+
ApplicationResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
519
526
|
ApplicationResponse.struct_class = Types::ApplicationResponse
|
520
527
|
|
521
528
|
ApplicationSettingsResource.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
@@ -595,6 +602,7 @@ module Aws::Pinpoint
|
|
595
602
|
|
596
603
|
CampaignResponse.add_member(:additional_treatments, Shapes::ShapeRef.new(shape: ListOfTreatmentResource, location_name: "AdditionalTreatments"))
|
597
604
|
CampaignResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
605
|
+
CampaignResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
598
606
|
CampaignResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
599
607
|
CampaignResponse.add_member(:default_state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "DefaultState"))
|
600
608
|
CampaignResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "Description"))
|
@@ -610,6 +618,7 @@ module Aws::Pinpoint
|
|
610
618
|
CampaignResponse.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
|
611
619
|
CampaignResponse.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
|
612
620
|
CampaignResponse.add_member(:state, Shapes::ShapeRef.new(shape: CampaignState, location_name: "State"))
|
621
|
+
CampaignResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
613
622
|
CampaignResponse.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
|
614
623
|
CampaignResponse.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
615
624
|
CampaignResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
@@ -652,6 +661,7 @@ module Aws::Pinpoint
|
|
652
661
|
CreateAppResponse[:payload_member] = CreateAppResponse.member(:application_response)
|
653
662
|
|
654
663
|
CreateApplicationRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
664
|
+
CreateApplicationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
655
665
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
656
666
|
|
657
667
|
CreateCampaignRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
@@ -1453,6 +1463,14 @@ module Aws::Pinpoint
|
|
1453
1463
|
|
1454
1464
|
ListOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
1455
1465
|
|
1466
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1467
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1468
|
+
|
1469
|
+
ListTagsForResourceResponse.add_member(:tags_model, Shapes::ShapeRef.new(shape: TagsModel, required: true, location_name: "TagsModel"))
|
1470
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1471
|
+
ListTagsForResourceResponse[:payload] = :tags_model
|
1472
|
+
ListTagsForResourceResponse[:payload_member] = ListTagsForResourceResponse.member(:tags_model)
|
1473
|
+
|
1456
1474
|
MapOfAddressConfiguration.key = Shapes::ShapeRef.new(shape: __string)
|
1457
1475
|
MapOfAddressConfiguration.value = Shapes::ShapeRef.new(shape: AddressConfiguration)
|
1458
1476
|
|
@@ -1724,6 +1742,7 @@ module Aws::Pinpoint
|
|
1724
1742
|
SegmentReference.struct_class = Types::SegmentReference
|
1725
1743
|
|
1726
1744
|
SegmentResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, location_name: "ApplicationId"))
|
1745
|
+
SegmentResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "Arn"))
|
1727
1746
|
SegmentResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: __string, location_name: "CreationDate"))
|
1728
1747
|
SegmentResponse.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
|
1729
1748
|
SegmentResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
@@ -1732,6 +1751,7 @@ module Aws::Pinpoint
|
|
1732
1751
|
SegmentResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
1733
1752
|
SegmentResponse.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
|
1734
1753
|
SegmentResponse.add_member(:segment_type, Shapes::ShapeRef.new(shape: SegmentType, location_name: "SegmentType"))
|
1754
|
+
SegmentResponse.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
1735
1755
|
SegmentResponse.add_member(:version, Shapes::ShapeRef.new(shape: __integer, location_name: "Version"))
|
1736
1756
|
SegmentResponse.struct_class = Types::SegmentResponse
|
1737
1757
|
|
@@ -1791,6 +1811,15 @@ module Aws::Pinpoint
|
|
1791
1811
|
SimpleEmailPart.add_member(:data, Shapes::ShapeRef.new(shape: __string, location_name: "Data"))
|
1792
1812
|
SimpleEmailPart.struct_class = Types::SimpleEmailPart
|
1793
1813
|
|
1814
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1815
|
+
TagResourceRequest.add_member(:tags_model, Shapes::ShapeRef.new(shape: TagsModel, required: true, location_name: "TagsModel"))
|
1816
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1817
|
+
TagResourceRequest[:payload] = :tags_model
|
1818
|
+
TagResourceRequest[:payload_member] = TagResourceRequest.member(:tags_model)
|
1819
|
+
|
1820
|
+
TagsModel.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, required: true, location_name: "tags"))
|
1821
|
+
TagsModel.struct_class = Types::TagsModel
|
1822
|
+
|
1794
1823
|
TreatmentResource.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "Id"))
|
1795
1824
|
TreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
|
1796
1825
|
TreatmentResource.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
@@ -1800,6 +1829,10 @@ module Aws::Pinpoint
|
|
1800
1829
|
TreatmentResource.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
1801
1830
|
TreatmentResource.struct_class = Types::TreatmentResource
|
1802
1831
|
|
1832
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
|
1833
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: ListOf__string, required: true, location: "querystring", location_name: "tagKeys"))
|
1834
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1835
|
+
|
1803
1836
|
UpdateAdmChannelRequest.add_member(:adm_channel_request, Shapes::ShapeRef.new(shape: ADMChannelRequest, required: true, location_name: "ADMChannelRequest"))
|
1804
1837
|
UpdateAdmChannelRequest.add_member(:application_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "application-id"))
|
1805
1838
|
UpdateAdmChannelRequest.struct_class = Types::UpdateAdmChannelRequest
|
@@ -2010,6 +2043,7 @@ module Aws::Pinpoint
|
|
2010
2043
|
WriteCampaignRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: Schedule, location_name: "Schedule"))
|
2011
2044
|
WriteCampaignRequest.add_member(:segment_id, Shapes::ShapeRef.new(shape: __string, location_name: "SegmentId"))
|
2012
2045
|
WriteCampaignRequest.add_member(:segment_version, Shapes::ShapeRef.new(shape: __integer, location_name: "SegmentVersion"))
|
2046
|
+
WriteCampaignRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2013
2047
|
WriteCampaignRequest.add_member(:treatment_description, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentDescription"))
|
2014
2048
|
WriteCampaignRequest.add_member(:treatment_name, Shapes::ShapeRef.new(shape: __string, location_name: "TreatmentName"))
|
2015
2049
|
WriteCampaignRequest.struct_class = Types::WriteCampaignRequest
|
@@ -2021,6 +2055,7 @@ module Aws::Pinpoint
|
|
2021
2055
|
WriteSegmentRequest.add_member(:dimensions, Shapes::ShapeRef.new(shape: SegmentDimensions, location_name: "Dimensions"))
|
2022
2056
|
WriteSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "Name"))
|
2023
2057
|
WriteSegmentRequest.add_member(:segment_groups, Shapes::ShapeRef.new(shape: SegmentGroupList, location_name: "SegmentGroups"))
|
2058
|
+
WriteSegmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: MapOf__string, location_name: "tags"))
|
2024
2059
|
WriteSegmentRequest.struct_class = Types::WriteSegmentRequest
|
2025
2060
|
|
2026
2061
|
WriteTreatmentResource.add_member(:message_configuration, Shapes::ShapeRef.new(shape: MessageConfiguration, location_name: "MessageConfiguration"))
|
@@ -2790,6 +2825,14 @@ module Aws::Pinpoint
|
|
2790
2825
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2791
2826
|
end)
|
2792
2827
|
|
2828
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2829
|
+
o.name = "ListTagsForResource"
|
2830
|
+
o.http_method = "GET"
|
2831
|
+
o.http_request_uri = "/v1/tags/{resource-arn}"
|
2832
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2833
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2834
|
+
end)
|
2835
|
+
|
2793
2836
|
api.add_operation(:phone_number_validate, Seahorse::Model::Operation.new.tap do |o|
|
2794
2837
|
o.name = "PhoneNumberValidate"
|
2795
2838
|
o.http_method = "POST"
|
@@ -2874,6 +2917,22 @@ module Aws::Pinpoint
|
|
2874
2917
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2875
2918
|
end)
|
2876
2919
|
|
2920
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2921
|
+
o.name = "TagResource"
|
2922
|
+
o.http_method = "POST"
|
2923
|
+
o.http_request_uri = "/v1/tags/{resource-arn}"
|
2924
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2925
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2926
|
+
end)
|
2927
|
+
|
2928
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2929
|
+
o.name = "UntagResource"
|
2930
|
+
o.http_method = "DELETE"
|
2931
|
+
o.http_request_uri = "/v1/tags/{resource-arn}"
|
2932
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2933
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2934
|
+
end)
|
2935
|
+
|
2877
2936
|
api.add_operation(:update_adm_channel, Seahorse::Model::Operation.new.tap do |o|
|
2878
2937
|
o.name = "UpdateAdmChannel"
|
2879
2938
|
o.http_method = "PUT"
|
@@ -1092,6 +1092,10 @@ module Aws::Pinpoint
|
|
1092
1092
|
|
1093
1093
|
# Application Response.
|
1094
1094
|
#
|
1095
|
+
# @!attribute [rw] arn
|
1096
|
+
# The arn for the application.
|
1097
|
+
# @return [String]
|
1098
|
+
#
|
1095
1099
|
# @!attribute [rw] id
|
1096
1100
|
# The unique application ID.
|
1097
1101
|
# @return [String]
|
@@ -1100,11 +1104,17 @@ module Aws::Pinpoint
|
|
1100
1104
|
# The display name of the application.
|
1101
1105
|
# @return [String]
|
1102
1106
|
#
|
1107
|
+
# @!attribute [rw] tags
|
1108
|
+
# The Tags for the application.
|
1109
|
+
# @return [Hash<String,String>]
|
1110
|
+
#
|
1103
1111
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ApplicationResponse AWS API Documentation
|
1104
1112
|
#
|
1105
1113
|
class ApplicationResponse < Struct.new(
|
1114
|
+
:arn,
|
1106
1115
|
:id,
|
1107
|
-
:name
|
1116
|
+
:name,
|
1117
|
+
:tags)
|
1108
1118
|
include Aws::Structure
|
1109
1119
|
end
|
1110
1120
|
|
@@ -1622,6 +1632,10 @@ module Aws::Pinpoint
|
|
1622
1632
|
# The ID of the application to which the campaign applies.
|
1623
1633
|
# @return [String]
|
1624
1634
|
#
|
1635
|
+
# @!attribute [rw] arn
|
1636
|
+
# The arn for the campaign.
|
1637
|
+
# @return [String]
|
1638
|
+
#
|
1625
1639
|
# @!attribute [rw] creation_date
|
1626
1640
|
# The date the campaign was created in ISO 8601 format.
|
1627
1641
|
# @return [String]
|
@@ -1686,6 +1700,10 @@ module Aws::Pinpoint
|
|
1686
1700
|
# COMPLETED only when all treatments have a status of COMPLETED.
|
1687
1701
|
# @return [Types::CampaignState]
|
1688
1702
|
#
|
1703
|
+
# @!attribute [rw] tags
|
1704
|
+
# The Tags for the campaign.
|
1705
|
+
# @return [Hash<String,String>]
|
1706
|
+
#
|
1689
1707
|
# @!attribute [rw] treatment_description
|
1690
1708
|
# A custom description for the treatment.
|
1691
1709
|
# @return [String]
|
@@ -1703,6 +1721,7 @@ module Aws::Pinpoint
|
|
1703
1721
|
class CampaignResponse < Struct.new(
|
1704
1722
|
:additional_treatments,
|
1705
1723
|
:application_id,
|
1724
|
+
:arn,
|
1706
1725
|
:creation_date,
|
1707
1726
|
:default_state,
|
1708
1727
|
:description,
|
@@ -1718,6 +1737,7 @@ module Aws::Pinpoint
|
|
1718
1737
|
:segment_id,
|
1719
1738
|
:segment_version,
|
1720
1739
|
:state,
|
1740
|
+
:tags,
|
1721
1741
|
:treatment_description,
|
1722
1742
|
:treatment_name,
|
1723
1743
|
:version)
|
@@ -1864,6 +1884,9 @@ module Aws::Pinpoint
|
|
1864
1884
|
# {
|
1865
1885
|
# create_application_request: { # required
|
1866
1886
|
# name: "__string",
|
1887
|
+
# tags: {
|
1888
|
+
# "__string" => "__string",
|
1889
|
+
# },
|
1867
1890
|
# },
|
1868
1891
|
# }
|
1869
1892
|
#
|
@@ -1896,6 +1919,9 @@ module Aws::Pinpoint
|
|
1896
1919
|
#
|
1897
1920
|
# {
|
1898
1921
|
# name: "__string",
|
1922
|
+
# tags: {
|
1923
|
+
# "__string" => "__string",
|
1924
|
+
# },
|
1899
1925
|
# }
|
1900
1926
|
#
|
1901
1927
|
# @!attribute [rw] name
|
@@ -1903,10 +1929,15 @@ module Aws::Pinpoint
|
|
1903
1929
|
# console.
|
1904
1930
|
# @return [String]
|
1905
1931
|
#
|
1932
|
+
# @!attribute [rw] tags
|
1933
|
+
# The Tags for the app.
|
1934
|
+
# @return [Hash<String,String>]
|
1935
|
+
#
|
1906
1936
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/CreateApplicationRequest AWS API Documentation
|
1907
1937
|
#
|
1908
1938
|
class CreateApplicationRequest < Struct.new(
|
1909
|
-
:name
|
1939
|
+
:name,
|
1940
|
+
:tags)
|
1910
1941
|
include Aws::Structure
|
1911
1942
|
end
|
1912
1943
|
|
@@ -2170,6 +2201,9 @@ module Aws::Pinpoint
|
|
2170
2201
|
# },
|
2171
2202
|
# segment_id: "__string",
|
2172
2203
|
# segment_version: 1,
|
2204
|
+
# tags: {
|
2205
|
+
# "__string" => "__string",
|
2206
|
+
# },
|
2173
2207
|
# treatment_description: "__string",
|
2174
2208
|
# treatment_name: "__string",
|
2175
2209
|
# },
|
@@ -2437,6 +2471,9 @@ module Aws::Pinpoint
|
|
2437
2471
|
# ],
|
2438
2472
|
# include: "ALL", # accepts ALL, ANY, NONE
|
2439
2473
|
# },
|
2474
|
+
# tags: {
|
2475
|
+
# "__string" => "__string",
|
2476
|
+
# },
|
2440
2477
|
# },
|
2441
2478
|
# }
|
2442
2479
|
#
|
@@ -6367,6 +6404,33 @@ module Aws::Pinpoint
|
|
6367
6404
|
include Aws::Structure
|
6368
6405
|
end
|
6369
6406
|
|
6407
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
6408
|
+
# data as a hash:
|
6409
|
+
#
|
6410
|
+
# {
|
6411
|
+
# resource_arn: "__string", # required
|
6412
|
+
# }
|
6413
|
+
#
|
6414
|
+
# @!attribute [rw] resource_arn
|
6415
|
+
# @return [String]
|
6416
|
+
#
|
6417
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTagsForResourceRequest AWS API Documentation
|
6418
|
+
#
|
6419
|
+
class ListTagsForResourceRequest < Struct.new(
|
6420
|
+
:resource_arn)
|
6421
|
+
include Aws::Structure
|
6422
|
+
end
|
6423
|
+
|
6424
|
+
# @!attribute [rw] tags_model
|
6425
|
+
# @return [Types::TagsModel]
|
6426
|
+
#
|
6427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/ListTagsForResourceResponse AWS API Documentation
|
6428
|
+
#
|
6429
|
+
class ListTagsForResourceResponse < Struct.new(
|
6430
|
+
:tags_model)
|
6431
|
+
include Aws::Structure
|
6432
|
+
end
|
6433
|
+
|
6370
6434
|
# Message to send
|
6371
6435
|
#
|
6372
6436
|
# @note When making an API call, you may pass Message
|
@@ -8298,6 +8362,10 @@ module Aws::Pinpoint
|
|
8298
8362
|
# The ID of the application that the segment applies to.
|
8299
8363
|
# @return [String]
|
8300
8364
|
#
|
8365
|
+
# @!attribute [rw] arn
|
8366
|
+
# The arn for the segment.
|
8367
|
+
# @return [String]
|
8368
|
+
#
|
8301
8369
|
# @!attribute [rw] creation_date
|
8302
8370
|
# The date and time when the segment was created.
|
8303
8371
|
# @return [String]
|
@@ -8338,6 +8406,10 @@ module Aws::Pinpoint
|
|
8338
8406
|
# to the jobs/import resource.
|
8339
8407
|
# @return [String]
|
8340
8408
|
#
|
8409
|
+
# @!attribute [rw] tags
|
8410
|
+
# The Tags for the segment.
|
8411
|
+
# @return [Hash<String,String>]
|
8412
|
+
#
|
8341
8413
|
# @!attribute [rw] version
|
8342
8414
|
# The segment version number.
|
8343
8415
|
# @return [Integer]
|
@@ -8346,6 +8418,7 @@ module Aws::Pinpoint
|
|
8346
8418
|
#
|
8347
8419
|
class SegmentResponse < Struct.new(
|
8348
8420
|
:application_id,
|
8421
|
+
:arn,
|
8349
8422
|
:creation_date,
|
8350
8423
|
:dimensions,
|
8351
8424
|
:id,
|
@@ -8354,6 +8427,7 @@ module Aws::Pinpoint
|
|
8354
8427
|
:name,
|
8355
8428
|
:segment_groups,
|
8356
8429
|
:segment_type,
|
8430
|
+
:tags,
|
8357
8431
|
:version)
|
8358
8432
|
include Aws::Structure
|
8359
8433
|
end
|
@@ -9183,6 +9257,51 @@ module Aws::Pinpoint
|
|
9183
9257
|
include Aws::Structure
|
9184
9258
|
end
|
9185
9259
|
|
9260
|
+
# @note When making an API call, you may pass TagResourceRequest
|
9261
|
+
# data as a hash:
|
9262
|
+
#
|
9263
|
+
# {
|
9264
|
+
# resource_arn: "__string", # required
|
9265
|
+
# tags_model: { # required
|
9266
|
+
# tags: { # required
|
9267
|
+
# "__string" => "__string",
|
9268
|
+
# },
|
9269
|
+
# },
|
9270
|
+
# }
|
9271
|
+
#
|
9272
|
+
# @!attribute [rw] resource_arn
|
9273
|
+
# @return [String]
|
9274
|
+
#
|
9275
|
+
# @!attribute [rw] tags_model
|
9276
|
+
# @return [Types::TagsModel]
|
9277
|
+
#
|
9278
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TagResourceRequest AWS API Documentation
|
9279
|
+
#
|
9280
|
+
class TagResourceRequest < Struct.new(
|
9281
|
+
:resource_arn,
|
9282
|
+
:tags_model)
|
9283
|
+
include Aws::Structure
|
9284
|
+
end
|
9285
|
+
|
9286
|
+
# @note When making an API call, you may pass TagsModel
|
9287
|
+
# data as a hash:
|
9288
|
+
#
|
9289
|
+
# {
|
9290
|
+
# tags: { # required
|
9291
|
+
# "__string" => "__string",
|
9292
|
+
# },
|
9293
|
+
# }
|
9294
|
+
#
|
9295
|
+
# @!attribute [rw] tags
|
9296
|
+
# @return [Hash<String,String>]
|
9297
|
+
#
|
9298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/TagsModel AWS API Documentation
|
9299
|
+
#
|
9300
|
+
class TagsModel < Struct.new(
|
9301
|
+
:tags)
|
9302
|
+
include Aws::Structure
|
9303
|
+
end
|
9304
|
+
|
9186
9305
|
# Treatment resource
|
9187
9306
|
#
|
9188
9307
|
# @!attribute [rw] id
|
@@ -9226,6 +9345,28 @@ module Aws::Pinpoint
|
|
9226
9345
|
include Aws::Structure
|
9227
9346
|
end
|
9228
9347
|
|
9348
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
9349
|
+
# data as a hash:
|
9350
|
+
#
|
9351
|
+
# {
|
9352
|
+
# resource_arn: "__string", # required
|
9353
|
+
# tag_keys: ["__string"], # required
|
9354
|
+
# }
|
9355
|
+
#
|
9356
|
+
# @!attribute [rw] resource_arn
|
9357
|
+
# @return [String]
|
9358
|
+
#
|
9359
|
+
# @!attribute [rw] tag_keys
|
9360
|
+
# @return [Array<String>]
|
9361
|
+
#
|
9362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/UntagResourceRequest AWS API Documentation
|
9363
|
+
#
|
9364
|
+
class UntagResourceRequest < Struct.new(
|
9365
|
+
:resource_arn,
|
9366
|
+
:tag_keys)
|
9367
|
+
include Aws::Structure
|
9368
|
+
end
|
9369
|
+
|
9229
9370
|
# @note When making an API call, you may pass UpdateAdmChannelRequest
|
9230
9371
|
# data as a hash:
|
9231
9372
|
#
|
@@ -9806,6 +9947,9 @@ module Aws::Pinpoint
|
|
9806
9947
|
# },
|
9807
9948
|
# segment_id: "__string",
|
9808
9949
|
# segment_version: 1,
|
9950
|
+
# tags: {
|
9951
|
+
# "__string" => "__string",
|
9952
|
+
# },
|
9809
9953
|
# treatment_description: "__string",
|
9810
9954
|
# treatment_name: "__string",
|
9811
9955
|
# },
|
@@ -10225,6 +10369,9 @@ module Aws::Pinpoint
|
|
10225
10369
|
# ],
|
10226
10370
|
# include: "ALL", # accepts ALL, ANY, NONE
|
10227
10371
|
# },
|
10372
|
+
# tags: {
|
10373
|
+
# "__string" => "__string",
|
10374
|
+
# },
|
10228
10375
|
# },
|
10229
10376
|
# }
|
10230
10377
|
#
|
@@ -10784,6 +10931,9 @@ module Aws::Pinpoint
|
|
10784
10931
|
# },
|
10785
10932
|
# segment_id: "__string",
|
10786
10933
|
# segment_version: 1,
|
10934
|
+
# tags: {
|
10935
|
+
# "__string" => "__string",
|
10936
|
+
# },
|
10787
10937
|
# treatment_description: "__string",
|
10788
10938
|
# treatment_name: "__string",
|
10789
10939
|
# }
|
@@ -10834,6 +10984,10 @@ module Aws::Pinpoint
|
|
10834
10984
|
# The version of the segment to which the campaign sends messages.
|
10835
10985
|
# @return [Integer]
|
10836
10986
|
#
|
10987
|
+
# @!attribute [rw] tags
|
10988
|
+
# The Tags for the campaign.
|
10989
|
+
# @return [Hash<String,String>]
|
10990
|
+
#
|
10837
10991
|
# @!attribute [rw] treatment_description
|
10838
10992
|
# A custom description for the treatment.
|
10839
10993
|
# @return [String]
|
@@ -10856,6 +11010,7 @@ module Aws::Pinpoint
|
|
10856
11010
|
:schedule,
|
10857
11011
|
:segment_id,
|
10858
11012
|
:segment_version,
|
11013
|
+
:tags,
|
10859
11014
|
:treatment_description,
|
10860
11015
|
:treatment_name)
|
10861
11016
|
include Aws::Structure
|
@@ -11046,6 +11201,9 @@ module Aws::Pinpoint
|
|
11046
11201
|
# ],
|
11047
11202
|
# include: "ALL", # accepts ALL, ANY, NONE
|
11048
11203
|
# },
|
11204
|
+
# tags: {
|
11205
|
+
# "__string" => "__string",
|
11206
|
+
# },
|
11049
11207
|
# }
|
11050
11208
|
#
|
11051
11209
|
# @!attribute [rw] dimensions
|
@@ -11063,12 +11221,17 @@ module Aws::Pinpoint
|
|
11063
11221
|
# either a SegmentGroups object or a Dimensions object, but not both.
|
11064
11222
|
# @return [Types::SegmentGroupList]
|
11065
11223
|
#
|
11224
|
+
# @!attribute [rw] tags
|
11225
|
+
# The Tags for the segments.
|
11226
|
+
# @return [Hash<String,String>]
|
11227
|
+
#
|
11066
11228
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/WriteSegmentRequest AWS API Documentation
|
11067
11229
|
#
|
11068
11230
|
class WriteSegmentRequest < Struct.new(
|
11069
11231
|
:dimensions,
|
11070
11232
|
:name,
|
11071
|
-
:segment_groups
|
11233
|
+
:segment_groups,
|
11234
|
+
:tags)
|
11072
11235
|
include Aws::Structure
|
11073
11236
|
end
|
11074
11237
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-pinpoint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|