aws-sdk-core 2.6.30 → 2.6.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/apis/apigateway/2015-07-09/api-2.json +503 -4
  3. data/apis/appstream/2016-12-01/api-2.json +820 -0
  4. data/apis/appstream/2016-12-01/examples-1.json +5 -0
  5. data/apis/appstream/2016-12-01/waiters-2.json +55 -0
  6. data/apis/codebuild/2016-10-06/api-2.json +702 -0
  7. data/apis/codebuild/2016-10-06/examples-1.json +5 -0
  8. data/apis/directconnect/2012-10-25/api-2.json +112 -9
  9. data/apis/ec2/2016-11-15/api-2.json +15025 -0
  10. data/apis/ec2/2016-11-15/examples-1.json +3740 -0
  11. data/apis/ec2/2016-11-15/paginators-1.json +138 -0
  12. data/apis/ec2/2016-11-15/resources-1.json +2582 -0
  13. data/apis/ec2/2016-11-15/waiters-2.json +593 -0
  14. data/apis/elasticbeanstalk/2010-12-01/api-2.json +53 -4
  15. data/apis/health/2016-08-04/api-2.json +547 -0
  16. data/apis/health/2016-08-04/examples-1.json +5 -0
  17. data/apis/health/2016-08-04/paginators-1.json +31 -0
  18. data/apis/lambda/2015-03-31/api-2.json +81 -11
  19. data/apis/opsworkscm/2016-11-01/api-2.json +712 -0
  20. data/apis/opsworkscm/2016-11-01/examples-1.json +5 -0
  21. data/apis/pinpoint/2016-12-01/api-2.json +2793 -0
  22. data/apis/pinpoint/2016-12-01/examples-1.json +5 -0
  23. data/apis/shield/2016-06-02/api-2.json +494 -0
  24. data/apis/shield/2016-06-02/examples-1.json +5 -0
  25. data/apis/ssm/2014-11-06/api-2.json +2671 -117
  26. data/apis/states/2016-11-23/api-2.json +1021 -0
  27. data/apis/states/2016-11-23/examples-1.json +5 -0
  28. data/apis/states/2016-11-23/paginators-1.json +28 -0
  29. data/apis/xray/2016-04-12/api-2.json +491 -0
  30. data/apis/xray/2016-04-12/examples-1.json +5 -0
  31. data/endpoints.json +82 -0
  32. data/lib/aws-sdk-core.rb +8 -0
  33. data/lib/aws-sdk-core/appstream.rb +6 -0
  34. data/lib/aws-sdk-core/codebuild.rb +5 -0
  35. data/lib/aws-sdk-core/ec2.rb +6 -6
  36. data/lib/aws-sdk-core/health.rb +6 -0
  37. data/lib/aws-sdk-core/opsworkscm.rb +5 -0
  38. data/lib/aws-sdk-core/pinpoint.rb +5 -0
  39. data/lib/aws-sdk-core/shield.rb +5 -0
  40. data/lib/aws-sdk-core/states.rb +6 -0
  41. data/lib/aws-sdk-core/version.rb +1 -1
  42. data/lib/aws-sdk-core/xray.rb +5 -0
  43. data/service-models.json +33 -1
  44. metadata +34 -2
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": "1.0",
3
+ "examples": {
4
+ }
5
+ }
@@ -0,0 +1,2793 @@
1
+ {
2
+ "metadata" : {
3
+ "apiVersion" : "2016-12-01",
4
+ "endpointPrefix" : "pinpoint",
5
+ "signingName" : "mobiletargeting",
6
+ "serviceFullName" : "Amazon Pinpoint",
7
+ "signatureVersion":"v4",
8
+ "protocol" : "rest-json",
9
+ "jsonVersion" : "1.1"
10
+ },
11
+ "operations" : {
12
+ "CreateCampaign" : {
13
+ "name" : "CreateCampaign",
14
+ "http" : {
15
+ "method" : "POST",
16
+ "requestUri" : "/v1/apps/{application-id}/campaigns",
17
+ "responseCode" : "201"
18
+ },
19
+ "input" : {
20
+ "shape" : "CreateCampaignRequest"
21
+ },
22
+ "output" : {
23
+ "shape" : "CreateCampaignResponse"
24
+ },
25
+ "errors" : [ {
26
+ "shape" : "BadRequestException"
27
+ }, {
28
+ "shape" : "InternalServerErrorException"
29
+ }, {
30
+ "shape" : "ForbiddenException"
31
+ }, {
32
+ "shape" : "NotFoundException"
33
+ }, {
34
+ "shape" : "MethodNotAllowedException"
35
+ }, {
36
+ "shape" : "TooManyRequestsException"
37
+ } ]
38
+ },
39
+ "CreateImportJob" : {
40
+ "name" : "CreateImportJob",
41
+ "http" : {
42
+ "method" : "POST",
43
+ "requestUri" : "/v1/apps/{application-id}/jobs/import",
44
+ "responseCode" : "201"
45
+ },
46
+ "input" : {
47
+ "shape" : "CreateImportJobRequest"
48
+ },
49
+ "output" : {
50
+ "shape" : "CreateImportJobResponse"
51
+ },
52
+ "errors" : [ {
53
+ "shape" : "BadRequestException"
54
+ }, {
55
+ "shape" : "InternalServerErrorException"
56
+ }, {
57
+ "shape" : "ForbiddenException"
58
+ }, {
59
+ "shape" : "NotFoundException"
60
+ }, {
61
+ "shape" : "MethodNotAllowedException"
62
+ }, {
63
+ "shape" : "TooManyRequestsException"
64
+ } ]
65
+ },
66
+ "CreateSegment" : {
67
+ "name" : "CreateSegment",
68
+ "http" : {
69
+ "method" : "POST",
70
+ "requestUri" : "/v1/apps/{application-id}/segments",
71
+ "responseCode" : "201"
72
+ },
73
+ "input" : {
74
+ "shape" : "CreateSegmentRequest"
75
+ },
76
+ "output" : {
77
+ "shape" : "CreateSegmentResponse"
78
+ },
79
+ "errors" : [ {
80
+ "shape" : "BadRequestException"
81
+ }, {
82
+ "shape" : "InternalServerErrorException"
83
+ }, {
84
+ "shape" : "ForbiddenException"
85
+ }, {
86
+ "shape" : "NotFoundException"
87
+ }, {
88
+ "shape" : "MethodNotAllowedException"
89
+ }, {
90
+ "shape" : "TooManyRequestsException"
91
+ } ]
92
+ },
93
+ "DeleteApnsChannel" : {
94
+ "name" : "DeleteApnsChannel",
95
+ "http" : {
96
+ "method" : "DELETE",
97
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
98
+ "responseCode" : "200"
99
+ },
100
+ "input" : {
101
+ "shape" : "DeleteApnsChannelRequest"
102
+ },
103
+ "output" : {
104
+ "shape" : "DeleteApnsChannelResponse"
105
+ },
106
+ "errors" : [ {
107
+ "shape" : "BadRequestException"
108
+ }, {
109
+ "shape" : "InternalServerErrorException"
110
+ }, {
111
+ "shape" : "ForbiddenException"
112
+ }, {
113
+ "shape" : "NotFoundException"
114
+ }, {
115
+ "shape" : "MethodNotAllowedException"
116
+ }, {
117
+ "shape" : "TooManyRequestsException"
118
+ } ]
119
+ },
120
+ "DeleteCampaign" : {
121
+ "name" : "DeleteCampaign",
122
+ "http" : {
123
+ "method" : "DELETE",
124
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
125
+ "responseCode" : "200"
126
+ },
127
+ "input" : {
128
+ "shape" : "DeleteCampaignRequest"
129
+ },
130
+ "output" : {
131
+ "shape" : "DeleteCampaignResponse"
132
+ },
133
+ "errors" : [ {
134
+ "shape" : "BadRequestException"
135
+ }, {
136
+ "shape" : "InternalServerErrorException"
137
+ }, {
138
+ "shape" : "ForbiddenException"
139
+ }, {
140
+ "shape" : "NotFoundException"
141
+ }, {
142
+ "shape" : "MethodNotAllowedException"
143
+ }, {
144
+ "shape" : "TooManyRequestsException"
145
+ } ]
146
+ },
147
+ "DeleteGcmChannel" : {
148
+ "name" : "DeleteGcmChannel",
149
+ "http" : {
150
+ "method" : "DELETE",
151
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
152
+ "responseCode" : "200"
153
+ },
154
+ "input" : {
155
+ "shape" : "DeleteGcmChannelRequest"
156
+ },
157
+ "output" : {
158
+ "shape" : "DeleteGcmChannelResponse"
159
+ },
160
+ "errors" : [ {
161
+ "shape" : "BadRequestException"
162
+ }, {
163
+ "shape" : "InternalServerErrorException"
164
+ }, {
165
+ "shape" : "ForbiddenException"
166
+ }, {
167
+ "shape" : "NotFoundException"
168
+ }, {
169
+ "shape" : "MethodNotAllowedException"
170
+ }, {
171
+ "shape" : "TooManyRequestsException"
172
+ } ]
173
+ },
174
+ "DeleteSegment" : {
175
+ "name" : "DeleteSegment",
176
+ "http" : {
177
+ "method" : "DELETE",
178
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
179
+ "responseCode" : "200"
180
+ },
181
+ "input" : {
182
+ "shape" : "DeleteSegmentRequest"
183
+ },
184
+ "output" : {
185
+ "shape" : "DeleteSegmentResponse"
186
+ },
187
+ "errors" : [ {
188
+ "shape" : "BadRequestException"
189
+ }, {
190
+ "shape" : "InternalServerErrorException"
191
+ }, {
192
+ "shape" : "ForbiddenException"
193
+ }, {
194
+ "shape" : "NotFoundException"
195
+ }, {
196
+ "shape" : "MethodNotAllowedException"
197
+ }, {
198
+ "shape" : "TooManyRequestsException"
199
+ } ]
200
+ },
201
+ "GetApnsChannel" : {
202
+ "name" : "GetApnsChannel",
203
+ "http" : {
204
+ "method" : "GET",
205
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
206
+ "responseCode" : "200"
207
+ },
208
+ "input" : {
209
+ "shape" : "GetApnsChannelRequest"
210
+ },
211
+ "output" : {
212
+ "shape" : "GetApnsChannelResponse"
213
+ },
214
+ "errors" : [ {
215
+ "shape" : "BadRequestException"
216
+ }, {
217
+ "shape" : "InternalServerErrorException"
218
+ }, {
219
+ "shape" : "ForbiddenException"
220
+ }, {
221
+ "shape" : "NotFoundException"
222
+ }, {
223
+ "shape" : "MethodNotAllowedException"
224
+ }, {
225
+ "shape" : "TooManyRequestsException"
226
+ } ]
227
+ },
228
+ "GetApplicationSettings" : {
229
+ "name" : "GetApplicationSettings",
230
+ "http" : {
231
+ "method" : "GET",
232
+ "requestUri" : "/v1/apps/{application-id}/settings",
233
+ "responseCode" : "200"
234
+ },
235
+ "input" : {
236
+ "shape" : "GetApplicationSettingsRequest"
237
+ },
238
+ "output" : {
239
+ "shape" : "GetApplicationSettingsResponse"
240
+ },
241
+ "errors" : [ {
242
+ "shape" : "BadRequestException"
243
+ }, {
244
+ "shape" : "InternalServerErrorException"
245
+ }, {
246
+ "shape" : "ForbiddenException"
247
+ }, {
248
+ "shape" : "NotFoundException"
249
+ }, {
250
+ "shape" : "MethodNotAllowedException"
251
+ }, {
252
+ "shape" : "TooManyRequestsException"
253
+ } ]
254
+ },
255
+ "GetCampaign" : {
256
+ "name" : "GetCampaign",
257
+ "http" : {
258
+ "method" : "GET",
259
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
260
+ "responseCode" : "200"
261
+ },
262
+ "input" : {
263
+ "shape" : "GetCampaignRequest"
264
+ },
265
+ "output" : {
266
+ "shape" : "GetCampaignResponse"
267
+ },
268
+ "errors" : [ {
269
+ "shape" : "BadRequestException"
270
+ }, {
271
+ "shape" : "InternalServerErrorException"
272
+ }, {
273
+ "shape" : "ForbiddenException"
274
+ }, {
275
+ "shape" : "NotFoundException"
276
+ }, {
277
+ "shape" : "MethodNotAllowedException"
278
+ }, {
279
+ "shape" : "TooManyRequestsException"
280
+ } ]
281
+ },
282
+ "GetCampaignActivities" : {
283
+ "name" : "GetCampaignActivities",
284
+ "http" : {
285
+ "method" : "GET",
286
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/activities",
287
+ "responseCode" : "200"
288
+ },
289
+ "input" : {
290
+ "shape" : "GetCampaignActivitiesRequest"
291
+ },
292
+ "output" : {
293
+ "shape" : "GetCampaignActivitiesResponse"
294
+ },
295
+ "errors" : [ {
296
+ "shape" : "BadRequestException"
297
+ }, {
298
+ "shape" : "InternalServerErrorException"
299
+ }, {
300
+ "shape" : "ForbiddenException"
301
+ }, {
302
+ "shape" : "NotFoundException"
303
+ }, {
304
+ "shape" : "MethodNotAllowedException"
305
+ }, {
306
+ "shape" : "TooManyRequestsException"
307
+ } ]
308
+ },
309
+ "GetCampaignVersion" : {
310
+ "name" : "GetCampaignVersion",
311
+ "http" : {
312
+ "method" : "GET",
313
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}",
314
+ "responseCode" : "200"
315
+ },
316
+ "input" : {
317
+ "shape" : "GetCampaignVersionRequest"
318
+ },
319
+ "output" : {
320
+ "shape" : "GetCampaignVersionResponse"
321
+ },
322
+ "errors" : [ {
323
+ "shape" : "BadRequestException"
324
+ }, {
325
+ "shape" : "InternalServerErrorException"
326
+ }, {
327
+ "shape" : "ForbiddenException"
328
+ }, {
329
+ "shape" : "NotFoundException"
330
+ }, {
331
+ "shape" : "MethodNotAllowedException"
332
+ }, {
333
+ "shape" : "TooManyRequestsException"
334
+ } ]
335
+ },
336
+ "GetCampaignVersions" : {
337
+ "name" : "GetCampaignVersions",
338
+ "http" : {
339
+ "method" : "GET",
340
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions",
341
+ "responseCode" : "200"
342
+ },
343
+ "input" : {
344
+ "shape" : "GetCampaignVersionsRequest"
345
+ },
346
+ "output" : {
347
+ "shape" : "GetCampaignVersionsResponse"
348
+ },
349
+ "errors" : [ {
350
+ "shape" : "BadRequestException"
351
+ }, {
352
+ "shape" : "InternalServerErrorException"
353
+ }, {
354
+ "shape" : "ForbiddenException"
355
+ }, {
356
+ "shape" : "NotFoundException"
357
+ }, {
358
+ "shape" : "MethodNotAllowedException"
359
+ }, {
360
+ "shape" : "TooManyRequestsException"
361
+ } ]
362
+ },
363
+ "GetCampaigns" : {
364
+ "name" : "GetCampaigns",
365
+ "http" : {
366
+ "method" : "GET",
367
+ "requestUri" : "/v1/apps/{application-id}/campaigns",
368
+ "responseCode" : "200"
369
+ },
370
+ "input" : {
371
+ "shape" : "GetCampaignsRequest"
372
+ },
373
+ "output" : {
374
+ "shape" : "GetCampaignsResponse"
375
+ },
376
+ "errors" : [ {
377
+ "shape" : "BadRequestException"
378
+ }, {
379
+ "shape" : "InternalServerErrorException"
380
+ }, {
381
+ "shape" : "ForbiddenException"
382
+ }, {
383
+ "shape" : "NotFoundException"
384
+ }, {
385
+ "shape" : "MethodNotAllowedException"
386
+ }, {
387
+ "shape" : "TooManyRequestsException"
388
+ } ]
389
+ },
390
+ "GetEndpoint" : {
391
+ "name" : "GetEndpoint",
392
+ "http" : {
393
+ "method" : "GET",
394
+ "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}",
395
+ "responseCode" : "200"
396
+ },
397
+ "input" : {
398
+ "shape" : "GetEndpointRequest"
399
+ },
400
+ "output" : {
401
+ "shape" : "GetEndpointResponse"
402
+ },
403
+ "errors" : [ {
404
+ "shape" : "BadRequestException"
405
+ }, {
406
+ "shape" : "InternalServerErrorException"
407
+ }, {
408
+ "shape" : "ForbiddenException"
409
+ }, {
410
+ "shape" : "NotFoundException"
411
+ }, {
412
+ "shape" : "MethodNotAllowedException"
413
+ }, {
414
+ "shape" : "TooManyRequestsException"
415
+ } ]
416
+ },
417
+ "GetGcmChannel" : {
418
+ "name" : "GetGcmChannel",
419
+ "http" : {
420
+ "method" : "GET",
421
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
422
+ "responseCode" : "200"
423
+ },
424
+ "input" : {
425
+ "shape" : "GetGcmChannelRequest"
426
+ },
427
+ "output" : {
428
+ "shape" : "GetGcmChannelResponse"
429
+ },
430
+ "errors" : [ {
431
+ "shape" : "BadRequestException"
432
+ }, {
433
+ "shape" : "InternalServerErrorException"
434
+ }, {
435
+ "shape" : "ForbiddenException"
436
+ }, {
437
+ "shape" : "NotFoundException"
438
+ }, {
439
+ "shape" : "MethodNotAllowedException"
440
+ }, {
441
+ "shape" : "TooManyRequestsException"
442
+ } ]
443
+ },
444
+ "GetImportJob" : {
445
+ "name" : "GetImportJob",
446
+ "http" : {
447
+ "method" : "GET",
448
+ "requestUri" : "/v1/apps/{application-id}/jobs/import/{job-id}",
449
+ "responseCode" : "200"
450
+ },
451
+ "input" : {
452
+ "shape" : "GetImportJobRequest"
453
+ },
454
+ "output" : {
455
+ "shape" : "GetImportJobResponse"
456
+ },
457
+ "errors" : [ {
458
+ "shape" : "BadRequestException"
459
+ }, {
460
+ "shape" : "InternalServerErrorException"
461
+ }, {
462
+ "shape" : "ForbiddenException"
463
+ }, {
464
+ "shape" : "NotFoundException"
465
+ }, {
466
+ "shape" : "MethodNotAllowedException"
467
+ }, {
468
+ "shape" : "TooManyRequestsException"
469
+ } ]
470
+ },
471
+ "GetImportJobs" : {
472
+ "name" : "GetImportJobs",
473
+ "http" : {
474
+ "method" : "GET",
475
+ "requestUri" : "/v1/apps/{application-id}/jobs/import",
476
+ "responseCode" : "200"
477
+ },
478
+ "input" : {
479
+ "shape" : "GetImportJobsRequest"
480
+ },
481
+ "output" : {
482
+ "shape" : "GetImportJobsResponse"
483
+ },
484
+ "errors" : [ {
485
+ "shape" : "BadRequestException"
486
+ }, {
487
+ "shape" : "InternalServerErrorException"
488
+ }, {
489
+ "shape" : "ForbiddenException"
490
+ }, {
491
+ "shape" : "NotFoundException"
492
+ }, {
493
+ "shape" : "MethodNotAllowedException"
494
+ }, {
495
+ "shape" : "TooManyRequestsException"
496
+ } ]
497
+ },
498
+ "GetSegment" : {
499
+ "name" : "GetSegment",
500
+ "http" : {
501
+ "method" : "GET",
502
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
503
+ "responseCode" : "200"
504
+ },
505
+ "input" : {
506
+ "shape" : "GetSegmentRequest"
507
+ },
508
+ "output" : {
509
+ "shape" : "GetSegmentResponse"
510
+ },
511
+ "errors" : [ {
512
+ "shape" : "BadRequestException"
513
+ }, {
514
+ "shape" : "InternalServerErrorException"
515
+ }, {
516
+ "shape" : "ForbiddenException"
517
+ }, {
518
+ "shape" : "NotFoundException"
519
+ }, {
520
+ "shape" : "MethodNotAllowedException"
521
+ }, {
522
+ "shape" : "TooManyRequestsException"
523
+ } ]
524
+ },
525
+ "GetSegmentImportJobs" : {
526
+ "name" : "GetSegmentImportJobs",
527
+ "http" : {
528
+ "method" : "GET",
529
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/jobs/import",
530
+ "responseCode" : "200"
531
+ },
532
+ "input" : {
533
+ "shape" : "GetSegmentImportJobsRequest"
534
+ },
535
+ "output" : {
536
+ "shape" : "GetSegmentImportJobsResponse"
537
+ },
538
+ "errors" : [ {
539
+ "shape" : "BadRequestException"
540
+ }, {
541
+ "shape" : "InternalServerErrorException"
542
+ }, {
543
+ "shape" : "ForbiddenException"
544
+ }, {
545
+ "shape" : "NotFoundException"
546
+ }, {
547
+ "shape" : "MethodNotAllowedException"
548
+ }, {
549
+ "shape" : "TooManyRequestsException"
550
+ } ]
551
+ },
552
+ "GetSegmentVersion" : {
553
+ "name" : "GetSegmentVersion",
554
+ "http" : {
555
+ "method" : "GET",
556
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}",
557
+ "responseCode" : "200"
558
+ },
559
+ "input" : {
560
+ "shape" : "GetSegmentVersionRequest"
561
+ },
562
+ "output" : {
563
+ "shape" : "GetSegmentVersionResponse"
564
+ },
565
+ "errors" : [ {
566
+ "shape" : "BadRequestException"
567
+ }, {
568
+ "shape" : "InternalServerErrorException"
569
+ }, {
570
+ "shape" : "ForbiddenException"
571
+ }, {
572
+ "shape" : "NotFoundException"
573
+ }, {
574
+ "shape" : "MethodNotAllowedException"
575
+ }, {
576
+ "shape" : "TooManyRequestsException"
577
+ } ]
578
+ },
579
+ "GetSegmentVersions" : {
580
+ "name" : "GetSegmentVersions",
581
+ "http" : {
582
+ "method" : "GET",
583
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions",
584
+ "responseCode" : "200"
585
+ },
586
+ "input" : {
587
+ "shape" : "GetSegmentVersionsRequest"
588
+ },
589
+ "output" : {
590
+ "shape" : "GetSegmentVersionsResponse"
591
+ },
592
+ "errors" : [ {
593
+ "shape" : "BadRequestException"
594
+ }, {
595
+ "shape" : "InternalServerErrorException"
596
+ }, {
597
+ "shape" : "ForbiddenException"
598
+ }, {
599
+ "shape" : "NotFoundException"
600
+ }, {
601
+ "shape" : "MethodNotAllowedException"
602
+ }, {
603
+ "shape" : "TooManyRequestsException"
604
+ } ]
605
+ },
606
+ "GetSegments" : {
607
+ "name" : "GetSegments",
608
+ "http" : {
609
+ "method" : "GET",
610
+ "requestUri" : "/v1/apps/{application-id}/segments",
611
+ "responseCode" : "200"
612
+ },
613
+ "input" : {
614
+ "shape" : "GetSegmentsRequest"
615
+ },
616
+ "output" : {
617
+ "shape" : "GetSegmentsResponse"
618
+ },
619
+ "errors" : [ {
620
+ "shape" : "BadRequestException"
621
+ }, {
622
+ "shape" : "InternalServerErrorException"
623
+ }, {
624
+ "shape" : "ForbiddenException"
625
+ }, {
626
+ "shape" : "NotFoundException"
627
+ }, {
628
+ "shape" : "MethodNotAllowedException"
629
+ }, {
630
+ "shape" : "TooManyRequestsException"
631
+ } ]
632
+ },
633
+ "UpdateApnsChannel" : {
634
+ "name" : "UpdateApnsChannel",
635
+ "http" : {
636
+ "method" : "PUT",
637
+ "requestUri" : "/v1/apps/{application-id}/channels/apns",
638
+ "responseCode" : "200"
639
+ },
640
+ "input" : {
641
+ "shape" : "UpdateApnsChannelRequest"
642
+ },
643
+ "output" : {
644
+ "shape" : "UpdateApnsChannelResponse"
645
+ },
646
+ "errors" : [ {
647
+ "shape" : "BadRequestException"
648
+ }, {
649
+ "shape" : "InternalServerErrorException"
650
+ }, {
651
+ "shape" : "ForbiddenException"
652
+ }, {
653
+ "shape" : "NotFoundException"
654
+ }, {
655
+ "shape" : "MethodNotAllowedException"
656
+ }, {
657
+ "shape" : "TooManyRequestsException"
658
+ } ]
659
+ },
660
+ "UpdateApplicationSettings" : {
661
+ "name" : "UpdateApplicationSettings",
662
+ "http" : {
663
+ "method" : "PUT",
664
+ "requestUri" : "/v1/apps/{application-id}/settings",
665
+ "responseCode" : "200"
666
+ },
667
+ "input" : {
668
+ "shape" : "UpdateApplicationSettingsRequest"
669
+ },
670
+ "output" : {
671
+ "shape" : "UpdateApplicationSettingsResponse"
672
+ },
673
+ "errors" : [ {
674
+ "shape" : "BadRequestException"
675
+ }, {
676
+ "shape" : "InternalServerErrorException"
677
+ }, {
678
+ "shape" : "ForbiddenException"
679
+ }, {
680
+ "shape" : "NotFoundException"
681
+ }, {
682
+ "shape" : "MethodNotAllowedException"
683
+ }, {
684
+ "shape" : "TooManyRequestsException"
685
+ } ]
686
+ },
687
+ "UpdateCampaign" : {
688
+ "name" : "UpdateCampaign",
689
+ "http" : {
690
+ "method" : "PUT",
691
+ "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}",
692
+ "responseCode" : "200"
693
+ },
694
+ "input" : {
695
+ "shape" : "UpdateCampaignRequest"
696
+ },
697
+ "output" : {
698
+ "shape" : "UpdateCampaignResponse"
699
+ },
700
+ "errors" : [ {
701
+ "shape" : "BadRequestException"
702
+ }, {
703
+ "shape" : "InternalServerErrorException"
704
+ }, {
705
+ "shape" : "ForbiddenException"
706
+ }, {
707
+ "shape" : "NotFoundException"
708
+ }, {
709
+ "shape" : "MethodNotAllowedException"
710
+ }, {
711
+ "shape" : "TooManyRequestsException"
712
+ } ]
713
+ },
714
+ "UpdateEndpoint" : {
715
+ "name" : "UpdateEndpoint",
716
+ "http" : {
717
+ "method" : "PUT",
718
+ "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}",
719
+ "responseCode" : "202"
720
+ },
721
+ "input" : {
722
+ "shape" : "UpdateEndpointRequest"
723
+ },
724
+ "output" : {
725
+ "shape" : "UpdateEndpointResponse"
726
+ },
727
+ "errors" : [ {
728
+ "shape" : "BadRequestException"
729
+ }, {
730
+ "shape" : "InternalServerErrorException"
731
+ }, {
732
+ "shape" : "ForbiddenException"
733
+ }, {
734
+ "shape" : "NotFoundException"
735
+ }, {
736
+ "shape" : "MethodNotAllowedException"
737
+ }, {
738
+ "shape" : "TooManyRequestsException"
739
+ } ]
740
+ },
741
+ "UpdateEndpointsBatch" : {
742
+ "name" : "UpdateEndpointsBatch",
743
+ "http" : {
744
+ "method" : "PUT",
745
+ "requestUri" : "/v1/apps/{application-id}/endpoints",
746
+ "responseCode" : "202"
747
+ },
748
+ "input" : {
749
+ "shape" : "UpdateEndpointsBatchRequest"
750
+ },
751
+ "output" : {
752
+ "shape" : "UpdateEndpointsBatchResponse"
753
+ },
754
+ "errors" : [ {
755
+ "shape" : "BadRequestException"
756
+ }, {
757
+ "shape" : "InternalServerErrorException"
758
+ }, {
759
+ "shape" : "ForbiddenException"
760
+ }, {
761
+ "shape" : "NotFoundException"
762
+ }, {
763
+ "shape" : "MethodNotAllowedException"
764
+ }, {
765
+ "shape" : "TooManyRequestsException"
766
+ } ]
767
+ },
768
+ "UpdateGcmChannel" : {
769
+ "name" : "UpdateGcmChannel",
770
+ "http" : {
771
+ "method" : "PUT",
772
+ "requestUri" : "/v1/apps/{application-id}/channels/gcm",
773
+ "responseCode" : "200"
774
+ },
775
+ "input" : {
776
+ "shape" : "UpdateGcmChannelRequest"
777
+ },
778
+ "output" : {
779
+ "shape" : "UpdateGcmChannelResponse"
780
+ },
781
+ "errors" : [ {
782
+ "shape" : "BadRequestException"
783
+ }, {
784
+ "shape" : "InternalServerErrorException"
785
+ }, {
786
+ "shape" : "ForbiddenException"
787
+ }, {
788
+ "shape" : "NotFoundException"
789
+ }, {
790
+ "shape" : "MethodNotAllowedException"
791
+ }, {
792
+ "shape" : "TooManyRequestsException"
793
+ } ]
794
+ },
795
+ "UpdateSegment" : {
796
+ "name" : "UpdateSegment",
797
+ "http" : {
798
+ "method" : "PUT",
799
+ "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}",
800
+ "responseCode" : "200"
801
+ },
802
+ "input" : {
803
+ "shape" : "UpdateSegmentRequest"
804
+ },
805
+ "output" : {
806
+ "shape" : "UpdateSegmentResponse"
807
+ },
808
+ "errors" : [ {
809
+ "shape" : "BadRequestException"
810
+ }, {
811
+ "shape" : "InternalServerErrorException"
812
+ }, {
813
+ "shape" : "ForbiddenException"
814
+ }, {
815
+ "shape" : "NotFoundException"
816
+ }, {
817
+ "shape" : "MethodNotAllowedException"
818
+ }, {
819
+ "shape" : "TooManyRequestsException"
820
+ } ]
821
+ }
822
+ },
823
+ "shapes" : {
824
+ "APNSChannelRequest" : {
825
+ "type" : "structure",
826
+ "members" : {
827
+ "Certificate" : {
828
+ "shape" : "__string"
829
+ },
830
+ "PrivateKey" : {
831
+ "shape" : "__string"
832
+ }
833
+ }
834
+ },
835
+ "APNSChannelResponse" : {
836
+ "type" : "structure",
837
+ "members" : {
838
+ "ApplicationId" : {
839
+ "shape" : "__string"
840
+ },
841
+ "CreationDate" : {
842
+ "shape" : "__string"
843
+ },
844
+ "Id" : {
845
+ "shape" : "__string"
846
+ },
847
+ "IsArchived" : {
848
+ "shape" : "__boolean"
849
+ },
850
+ "LastModifiedBy" : {
851
+ "shape" : "__string"
852
+ },
853
+ "LastModifiedDate" : {
854
+ "shape" : "__string"
855
+ },
856
+ "Platform" : {
857
+ "shape" : "__string"
858
+ },
859
+ "Version" : {
860
+ "shape" : "__integer"
861
+ }
862
+ }
863
+ },
864
+ "Action" : {
865
+ "type" : "string",
866
+ "enum" : [ "OPEN_APP", "DEEP_LINK", "URL" ]
867
+ },
868
+ "ActivitiesResponse" : {
869
+ "type" : "structure",
870
+ "members" : {
871
+ "Item" : {
872
+ "shape" : "ListOfActivityResponse"
873
+ }
874
+ }
875
+ },
876
+ "ActivityResponse" : {
877
+ "type" : "structure",
878
+ "members" : {
879
+ "ApplicationId" : {
880
+ "shape" : "__string"
881
+ },
882
+ "CampaignId" : {
883
+ "shape" : "__string"
884
+ },
885
+ "End" : {
886
+ "shape" : "__string"
887
+ },
888
+ "Id" : {
889
+ "shape" : "__string"
890
+ },
891
+ "Result" : {
892
+ "shape" : "__string"
893
+ },
894
+ "ScheduledStart" : {
895
+ "shape" : "__string"
896
+ },
897
+ "Start" : {
898
+ "shape" : "__string"
899
+ },
900
+ "State" : {
901
+ "shape" : "__string"
902
+ },
903
+ "SuccessfulEndpointCount" : {
904
+ "shape" : "__integer"
905
+ },
906
+ "TotalEndpointCount" : {
907
+ "shape" : "__integer"
908
+ },
909
+ "TreatmentId" : {
910
+ "shape" : "__string"
911
+ }
912
+ }
913
+ },
914
+ "ApplicationSettingsResource" : {
915
+ "type" : "structure",
916
+ "members" : {
917
+ "ApplicationId" : {
918
+ "shape" : "__string"
919
+ },
920
+ "LastModifiedDate" : {
921
+ "shape" : "__string"
922
+ },
923
+ "Limits" : {
924
+ "shape" : "CampaignLimits"
925
+ },
926
+ "QuietTime" : {
927
+ "shape" : "QuietTime"
928
+ }
929
+ }
930
+ },
931
+ "AttributeDimension" : {
932
+ "type" : "structure",
933
+ "members" : {
934
+ "AttributeType" : {
935
+ "shape" : "AttributeType"
936
+ },
937
+ "Values" : {
938
+ "shape" : "ListOf__string"
939
+ }
940
+ }
941
+ },
942
+ "AttributeType" : {
943
+ "type" : "string",
944
+ "enum" : [ "INCLUSIVE", "EXCLUSIVE" ]
945
+ },
946
+ "BadRequestException" : {
947
+ "type" : "structure",
948
+ "members" : {
949
+ "Message" : {
950
+ "shape" : "__string"
951
+ }
952
+ },
953
+ "exception" : true,
954
+ "error" : {
955
+ "httpStatusCode" : "400"
956
+ }
957
+ },
958
+ "CampaignLimits" : {
959
+ "type" : "structure",
960
+ "members" : {
961
+ "Daily" : {
962
+ "shape" : "__integer"
963
+ },
964
+ "Total" : {
965
+ "shape" : "__integer"
966
+ }
967
+ }
968
+ },
969
+ "CampaignResponse" : {
970
+ "type" : "structure",
971
+ "members" : {
972
+ "AdditionalTreatments" : {
973
+ "shape" : "ListOfTreatmentResource"
974
+ },
975
+ "ApplicationId" : {
976
+ "shape" : "__string"
977
+ },
978
+ "CreationDate" : {
979
+ "shape" : "__string"
980
+ },
981
+ "DefaultState" : {
982
+ "shape" : "CampaignState"
983
+ },
984
+ "Description" : {
985
+ "shape" : "__string"
986
+ },
987
+ "HoldoutPercent" : {
988
+ "shape" : "__integer"
989
+ },
990
+ "Id" : {
991
+ "shape" : "__string"
992
+ },
993
+ "IsPaused" : {
994
+ "shape" : "__boolean"
995
+ },
996
+ "LastModifiedDate" : {
997
+ "shape" : "__string"
998
+ },
999
+ "Limits" : {
1000
+ "shape" : "CampaignLimits"
1001
+ },
1002
+ "MessageConfiguration" : {
1003
+ "shape" : "MessageConfiguration"
1004
+ },
1005
+ "Name" : {
1006
+ "shape" : "__string"
1007
+ },
1008
+ "Schedule" : {
1009
+ "shape" : "Schedule"
1010
+ },
1011
+ "SegmentId" : {
1012
+ "shape" : "__string"
1013
+ },
1014
+ "SegmentVersion" : {
1015
+ "shape" : "__integer"
1016
+ },
1017
+ "State" : {
1018
+ "shape" : "CampaignState"
1019
+ },
1020
+ "TreatmentDescription" : {
1021
+ "shape" : "__string"
1022
+ },
1023
+ "TreatmentName" : {
1024
+ "shape" : "__string"
1025
+ },
1026
+ "Version" : {
1027
+ "shape" : "__integer"
1028
+ }
1029
+ }
1030
+ },
1031
+ "CampaignState" : {
1032
+ "type" : "structure",
1033
+ "members" : {
1034
+ "CampaignStatus" : {
1035
+ "shape" : "CampaignStatus"
1036
+ }
1037
+ }
1038
+ },
1039
+ "CampaignStatus" : {
1040
+ "type" : "string",
1041
+ "enum" : [ "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED" ]
1042
+ },
1043
+ "CampaignsResponse" : {
1044
+ "type" : "structure",
1045
+ "members" : {
1046
+ "Item" : {
1047
+ "shape" : "ListOfCampaignResponse"
1048
+ },
1049
+ "NextToken" : {
1050
+ "shape" : "__string"
1051
+ }
1052
+ }
1053
+ },
1054
+ "ChannelType" : {
1055
+ "type" : "string",
1056
+ "enum" : [ "APNS", "GCM" ]
1057
+ },
1058
+ "CreateCampaignRequest" : {
1059
+ "type" : "structure",
1060
+ "members" : {
1061
+ "ApplicationId" : {
1062
+ "shape" : "__string",
1063
+ "location" : "uri",
1064
+ "locationName" : "application-id"
1065
+ },
1066
+ "WriteCampaignRequest" : {
1067
+ "shape" : "WriteCampaignRequest",
1068
+ "payload" : true
1069
+ }
1070
+ },
1071
+ "required" : [ "ApplicationId", "WriteCampaignRequest" ],
1072
+ "payload" : "WriteCampaignRequest"
1073
+ },
1074
+ "CreateCampaignResponse" : {
1075
+ "type" : "structure",
1076
+ "members" : {
1077
+ "CampaignResponse" : {
1078
+ "shape" : "CampaignResponse",
1079
+ "payload" : true
1080
+ }
1081
+ },
1082
+ "required" : [ "CampaignResponse" ],
1083
+ "payload" : "CampaignResponse"
1084
+ },
1085
+ "CreateImportJobRequest" : {
1086
+ "type" : "structure",
1087
+ "members" : {
1088
+ "ApplicationId" : {
1089
+ "shape" : "__string",
1090
+ "location" : "uri",
1091
+ "locationName" : "application-id"
1092
+ },
1093
+ "ImportJobRequest" : {
1094
+ "shape" : "ImportJobRequest",
1095
+ "payload" : true
1096
+ }
1097
+ },
1098
+ "required" : [ "ApplicationId", "ImportJobRequest" ],
1099
+ "payload" : "ImportJobRequest"
1100
+ },
1101
+ "CreateImportJobResponse" : {
1102
+ "type" : "structure",
1103
+ "members" : {
1104
+ "ImportJobResponse" : {
1105
+ "shape" : "ImportJobResponse",
1106
+ "payload" : true
1107
+ }
1108
+ },
1109
+ "required" : [ "ImportJobResponse" ],
1110
+ "payload" : "ImportJobResponse"
1111
+ },
1112
+ "CreateSegmentRequest" : {
1113
+ "type" : "structure",
1114
+ "members" : {
1115
+ "ApplicationId" : {
1116
+ "shape" : "__string",
1117
+ "location" : "uri",
1118
+ "locationName" : "application-id"
1119
+ },
1120
+ "WriteSegmentRequest" : {
1121
+ "shape" : "WriteSegmentRequest",
1122
+ "payload" : true
1123
+ }
1124
+ },
1125
+ "required" : [ "ApplicationId", "WriteSegmentRequest" ],
1126
+ "payload" : "WriteSegmentRequest"
1127
+ },
1128
+ "CreateSegmentResponse" : {
1129
+ "type" : "structure",
1130
+ "members" : {
1131
+ "SegmentResponse" : {
1132
+ "shape" : "SegmentResponse",
1133
+ "payload" : true
1134
+ }
1135
+ },
1136
+ "required" : [ "SegmentResponse" ],
1137
+ "payload" : "SegmentResponse"
1138
+ },
1139
+ "DeleteApnsChannelRequest" : {
1140
+ "type" : "structure",
1141
+ "members" : {
1142
+ "ApplicationId" : {
1143
+ "shape" : "__string",
1144
+ "location" : "uri",
1145
+ "locationName" : "application-id"
1146
+ }
1147
+ },
1148
+ "required" : [ "ApplicationId" ]
1149
+ },
1150
+ "DeleteApnsChannelResponse" : {
1151
+ "type" : "structure",
1152
+ "members" : {
1153
+ "APNSChannelResponse" : {
1154
+ "shape" : "APNSChannelResponse",
1155
+ "payload" : true
1156
+ }
1157
+ },
1158
+ "required" : [ "APNSChannelResponse" ],
1159
+ "payload" : "APNSChannelResponse"
1160
+ },
1161
+ "DeleteCampaignRequest" : {
1162
+ "type" : "structure",
1163
+ "members" : {
1164
+ "ApplicationId" : {
1165
+ "shape" : "__string",
1166
+ "location" : "uri",
1167
+ "locationName" : "application-id"
1168
+ },
1169
+ "CampaignId" : {
1170
+ "shape" : "__string",
1171
+ "location" : "uri",
1172
+ "locationName" : "campaign-id"
1173
+ }
1174
+ },
1175
+ "required" : [ "CampaignId", "ApplicationId" ]
1176
+ },
1177
+ "DeleteCampaignResponse" : {
1178
+ "type" : "structure",
1179
+ "members" : {
1180
+ "CampaignResponse" : {
1181
+ "shape" : "CampaignResponse",
1182
+ "payload" : true
1183
+ }
1184
+ },
1185
+ "required" : [ "CampaignResponse" ],
1186
+ "payload" : "CampaignResponse"
1187
+ },
1188
+ "DeleteGcmChannelRequest" : {
1189
+ "type" : "structure",
1190
+ "members" : {
1191
+ "ApplicationId" : {
1192
+ "shape" : "__string",
1193
+ "location" : "uri",
1194
+ "locationName" : "application-id"
1195
+ }
1196
+ },
1197
+ "required" : [ "ApplicationId" ]
1198
+ },
1199
+ "DeleteGcmChannelResponse" : {
1200
+ "type" : "structure",
1201
+ "members" : {
1202
+ "GCMChannelResponse" : {
1203
+ "shape" : "GCMChannelResponse",
1204
+ "payload" : true
1205
+ }
1206
+ },
1207
+ "required" : [ "GCMChannelResponse" ],
1208
+ "payload" : "GCMChannelResponse"
1209
+ },
1210
+ "DeleteSegmentRequest" : {
1211
+ "type" : "structure",
1212
+ "members" : {
1213
+ "ApplicationId" : {
1214
+ "shape" : "__string",
1215
+ "location" : "uri",
1216
+ "locationName" : "application-id"
1217
+ },
1218
+ "SegmentId" : {
1219
+ "shape" : "__string",
1220
+ "location" : "uri",
1221
+ "locationName" : "segment-id"
1222
+ }
1223
+ },
1224
+ "required" : [ "SegmentId", "ApplicationId" ]
1225
+ },
1226
+ "DeleteSegmentResponse" : {
1227
+ "type" : "structure",
1228
+ "members" : {
1229
+ "SegmentResponse" : {
1230
+ "shape" : "SegmentResponse",
1231
+ "payload" : true
1232
+ }
1233
+ },
1234
+ "required" : [ "SegmentResponse" ],
1235
+ "payload" : "SegmentResponse"
1236
+ },
1237
+ "DimensionType" : {
1238
+ "type" : "string",
1239
+ "enum" : [ "INCLUSIVE", "EXCLUSIVE" ]
1240
+ },
1241
+ "Duration" : {
1242
+ "type" : "string",
1243
+ "enum" : [ "HR_24", "DAY_7", "DAY_14", "DAY_30" ]
1244
+ },
1245
+ "EndpointBatchItem" : {
1246
+ "type" : "structure",
1247
+ "members" : {
1248
+ "Address" : {
1249
+ "shape" : "__string"
1250
+ },
1251
+ "Attributes" : {
1252
+ "shape" : "MapOfListOf__string"
1253
+ },
1254
+ "ChannelType" : {
1255
+ "shape" : "ChannelType"
1256
+ },
1257
+ "Demographic" : {
1258
+ "shape" : "EndpointDemographic"
1259
+ },
1260
+ "EffectiveDate" : {
1261
+ "shape" : "__string"
1262
+ },
1263
+ "EndpointStatus" : {
1264
+ "shape" : "__string"
1265
+ },
1266
+ "Id" : {
1267
+ "shape" : "__string"
1268
+ },
1269
+ "Location" : {
1270
+ "shape" : "EndpointLocation"
1271
+ },
1272
+ "Metrics" : {
1273
+ "shape" : "MapOf__double"
1274
+ },
1275
+ "OptOut" : {
1276
+ "shape" : "__string"
1277
+ },
1278
+ "RequestId" : {
1279
+ "shape" : "__string"
1280
+ },
1281
+ "User" : {
1282
+ "shape" : "EndpointUser"
1283
+ }
1284
+ }
1285
+ },
1286
+ "EndpointBatchRequest" : {
1287
+ "type" : "structure",
1288
+ "members" : {
1289
+ "Item" : {
1290
+ "shape" : "ListOfEndpointBatchItem"
1291
+ }
1292
+ }
1293
+ },
1294
+ "EndpointDemographic" : {
1295
+ "type" : "structure",
1296
+ "members" : {
1297
+ "AppVersion" : {
1298
+ "shape" : "__string"
1299
+ },
1300
+ "Locale" : {
1301
+ "shape" : "__string"
1302
+ },
1303
+ "Make" : {
1304
+ "shape" : "__string"
1305
+ },
1306
+ "Model" : {
1307
+ "shape" : "__string"
1308
+ },
1309
+ "ModelVersion" : {
1310
+ "shape" : "__string"
1311
+ },
1312
+ "Platform" : {
1313
+ "shape" : "__string"
1314
+ },
1315
+ "PlatformVersion" : {
1316
+ "shape" : "__string"
1317
+ },
1318
+ "Timezone" : {
1319
+ "shape" : "__string"
1320
+ }
1321
+ }
1322
+ },
1323
+ "EndpointLocation" : {
1324
+ "type" : "structure",
1325
+ "members" : {
1326
+ "City" : {
1327
+ "shape" : "__string"
1328
+ },
1329
+ "Country" : {
1330
+ "shape" : "__string"
1331
+ },
1332
+ "Latitude" : {
1333
+ "shape" : "__double"
1334
+ },
1335
+ "Longitude" : {
1336
+ "shape" : "__double"
1337
+ },
1338
+ "PostalCode" : {
1339
+ "shape" : "__string"
1340
+ },
1341
+ "Region" : {
1342
+ "shape" : "__string"
1343
+ }
1344
+ }
1345
+ },
1346
+ "EndpointRequest" : {
1347
+ "type" : "structure",
1348
+ "members" : {
1349
+ "Address" : {
1350
+ "shape" : "__string"
1351
+ },
1352
+ "Attributes" : {
1353
+ "shape" : "MapOfListOf__string"
1354
+ },
1355
+ "ChannelType" : {
1356
+ "shape" : "ChannelType"
1357
+ },
1358
+ "Demographic" : {
1359
+ "shape" : "EndpointDemographic"
1360
+ },
1361
+ "EffectiveDate" : {
1362
+ "shape" : "__string"
1363
+ },
1364
+ "EndpointStatus" : {
1365
+ "shape" : "__string"
1366
+ },
1367
+ "Location" : {
1368
+ "shape" : "EndpointLocation"
1369
+ },
1370
+ "Metrics" : {
1371
+ "shape" : "MapOf__double"
1372
+ },
1373
+ "OptOut" : {
1374
+ "shape" : "__string"
1375
+ },
1376
+ "RequestId" : {
1377
+ "shape" : "__string"
1378
+ },
1379
+ "User" : {
1380
+ "shape" : "EndpointUser"
1381
+ }
1382
+ }
1383
+ },
1384
+ "EndpointResponse" : {
1385
+ "type" : "structure",
1386
+ "members" : {
1387
+ "Address" : {
1388
+ "shape" : "__string"
1389
+ },
1390
+ "ApplicationId" : {
1391
+ "shape" : "__string"
1392
+ },
1393
+ "Attributes" : {
1394
+ "shape" : "MapOfListOf__string"
1395
+ },
1396
+ "ChannelType" : {
1397
+ "shape" : "ChannelType"
1398
+ },
1399
+ "CohortId" : {
1400
+ "shape" : "__string"
1401
+ },
1402
+ "CreationDate" : {
1403
+ "shape" : "__string"
1404
+ },
1405
+ "Demographic" : {
1406
+ "shape" : "EndpointDemographic"
1407
+ },
1408
+ "EffectiveDate" : {
1409
+ "shape" : "__string"
1410
+ },
1411
+ "EndpointStatus" : {
1412
+ "shape" : "__string"
1413
+ },
1414
+ "Id" : {
1415
+ "shape" : "__string"
1416
+ },
1417
+ "Location" : {
1418
+ "shape" : "EndpointLocation"
1419
+ },
1420
+ "Metrics" : {
1421
+ "shape" : "MapOf__double"
1422
+ },
1423
+ "OptOut" : {
1424
+ "shape" : "__string"
1425
+ },
1426
+ "RequestId" : {
1427
+ "shape" : "__string"
1428
+ },
1429
+ "ShardId" : {
1430
+ "shape" : "__string"
1431
+ },
1432
+ "User" : {
1433
+ "shape" : "EndpointUser"
1434
+ }
1435
+ }
1436
+ },
1437
+ "EndpointUser" : {
1438
+ "type" : "structure",
1439
+ "members" : {
1440
+ "UserAttributes" : {
1441
+ "shape" : "MapOfListOf__string"
1442
+ },
1443
+ "UserId" : {
1444
+ "shape" : "__string"
1445
+ }
1446
+ }
1447
+ },
1448
+ "ForbiddenException" : {
1449
+ "type" : "structure",
1450
+ "members" : {
1451
+ "Message" : {
1452
+ "shape" : "__string"
1453
+ }
1454
+ },
1455
+ "exception" : true,
1456
+ "error" : {
1457
+ "httpStatusCode" : "403"
1458
+ }
1459
+ },
1460
+ "Format" : {
1461
+ "type" : "string",
1462
+ "enum" : [ "CSV", "JSON" ]
1463
+ },
1464
+ "Frequency" : {
1465
+ "type" : "string",
1466
+ "enum" : [ "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY" ]
1467
+ },
1468
+ "GCMChannelRequest" : {
1469
+ "type" : "structure",
1470
+ "members" : {
1471
+ "ApiKey" : {
1472
+ "shape" : "__string"
1473
+ }
1474
+ }
1475
+ },
1476
+ "GCMChannelResponse" : {
1477
+ "type" : "structure",
1478
+ "members" : {
1479
+ "ApplicationId" : {
1480
+ "shape" : "__string"
1481
+ },
1482
+ "CreationDate" : {
1483
+ "shape" : "__string"
1484
+ },
1485
+ "Credential" : {
1486
+ "shape" : "__string"
1487
+ },
1488
+ "Id" : {
1489
+ "shape" : "__string"
1490
+ },
1491
+ "IsArchived" : {
1492
+ "shape" : "__boolean"
1493
+ },
1494
+ "LastModifiedBy" : {
1495
+ "shape" : "__string"
1496
+ },
1497
+ "LastModifiedDate" : {
1498
+ "shape" : "__string"
1499
+ },
1500
+ "Platform" : {
1501
+ "shape" : "__string"
1502
+ },
1503
+ "Version" : {
1504
+ "shape" : "__integer"
1505
+ }
1506
+ }
1507
+ },
1508
+ "GetApnsChannelRequest" : {
1509
+ "type" : "structure",
1510
+ "members" : {
1511
+ "ApplicationId" : {
1512
+ "shape" : "__string",
1513
+ "location" : "uri",
1514
+ "locationName" : "application-id"
1515
+ }
1516
+ },
1517
+ "required" : [ "ApplicationId" ]
1518
+ },
1519
+ "GetApnsChannelResponse" : {
1520
+ "type" : "structure",
1521
+ "members" : {
1522
+ "APNSChannelResponse" : {
1523
+ "shape" : "APNSChannelResponse",
1524
+ "payload" : true
1525
+ }
1526
+ },
1527
+ "required" : [ "APNSChannelResponse" ],
1528
+ "payload" : "APNSChannelResponse"
1529
+ },
1530
+ "GetApplicationSettingsRequest" : {
1531
+ "type" : "structure",
1532
+ "members" : {
1533
+ "ApplicationId" : {
1534
+ "shape" : "__string",
1535
+ "location" : "uri",
1536
+ "locationName" : "application-id"
1537
+ }
1538
+ },
1539
+ "required" : [ "ApplicationId" ]
1540
+ },
1541
+ "GetApplicationSettingsResponse" : {
1542
+ "type" : "structure",
1543
+ "members" : {
1544
+ "ApplicationSettingsResource" : {
1545
+ "shape" : "ApplicationSettingsResource",
1546
+ "payload" : true
1547
+ }
1548
+ },
1549
+ "required" : [ "ApplicationSettingsResource" ],
1550
+ "payload" : "ApplicationSettingsResource"
1551
+ },
1552
+ "GetCampaignActivitiesRequest" : {
1553
+ "type" : "structure",
1554
+ "members" : {
1555
+ "ApplicationId" : {
1556
+ "shape" : "__string",
1557
+ "location" : "uri",
1558
+ "locationName" : "application-id"
1559
+ },
1560
+ "CampaignId" : {
1561
+ "shape" : "__string",
1562
+ "location" : "uri",
1563
+ "locationName" : "campaign-id"
1564
+ },
1565
+ "PageSize" : {
1566
+ "shape" : "__string",
1567
+ "location" : "querystring",
1568
+ "locationName" : "page-size"
1569
+ },
1570
+ "Token" : {
1571
+ "shape" : "__string",
1572
+ "location" : "querystring",
1573
+ "locationName" : "token"
1574
+ }
1575
+ },
1576
+ "required" : [ "ApplicationId", "CampaignId" ]
1577
+ },
1578
+ "GetCampaignActivitiesResponse" : {
1579
+ "type" : "structure",
1580
+ "members" : {
1581
+ "ActivitiesResponse" : {
1582
+ "shape" : "ActivitiesResponse",
1583
+ "payload" : true
1584
+ }
1585
+ },
1586
+ "required" : [ "ActivitiesResponse" ],
1587
+ "payload" : "ActivitiesResponse"
1588
+ },
1589
+ "GetCampaignRequest" : {
1590
+ "type" : "structure",
1591
+ "members" : {
1592
+ "ApplicationId" : {
1593
+ "shape" : "__string",
1594
+ "location" : "uri",
1595
+ "locationName" : "application-id"
1596
+ },
1597
+ "CampaignId" : {
1598
+ "shape" : "__string",
1599
+ "location" : "uri",
1600
+ "locationName" : "campaign-id"
1601
+ }
1602
+ },
1603
+ "required" : [ "CampaignId", "ApplicationId" ]
1604
+ },
1605
+ "GetCampaignResponse" : {
1606
+ "type" : "structure",
1607
+ "members" : {
1608
+ "CampaignResponse" : {
1609
+ "shape" : "CampaignResponse",
1610
+ "payload" : true
1611
+ }
1612
+ },
1613
+ "required" : [ "CampaignResponse" ],
1614
+ "payload" : "CampaignResponse"
1615
+ },
1616
+ "GetCampaignVersionRequest" : {
1617
+ "type" : "structure",
1618
+ "members" : {
1619
+ "ApplicationId" : {
1620
+ "shape" : "__string",
1621
+ "location" : "uri",
1622
+ "locationName" : "application-id"
1623
+ },
1624
+ "CampaignId" : {
1625
+ "shape" : "__string",
1626
+ "location" : "uri",
1627
+ "locationName" : "campaign-id"
1628
+ },
1629
+ "Version" : {
1630
+ "shape" : "__string",
1631
+ "location" : "uri",
1632
+ "locationName" : "version"
1633
+ }
1634
+ },
1635
+ "required" : [ "Version", "ApplicationId", "CampaignId" ]
1636
+ },
1637
+ "GetCampaignVersionResponse" : {
1638
+ "type" : "structure",
1639
+ "members" : {
1640
+ "CampaignResponse" : {
1641
+ "shape" : "CampaignResponse",
1642
+ "payload" : true
1643
+ }
1644
+ },
1645
+ "required" : [ "CampaignResponse" ],
1646
+ "payload" : "CampaignResponse"
1647
+ },
1648
+ "GetCampaignVersionsRequest" : {
1649
+ "type" : "structure",
1650
+ "members" : {
1651
+ "ApplicationId" : {
1652
+ "shape" : "__string",
1653
+ "location" : "uri",
1654
+ "locationName" : "application-id"
1655
+ },
1656
+ "CampaignId" : {
1657
+ "shape" : "__string",
1658
+ "location" : "uri",
1659
+ "locationName" : "campaign-id"
1660
+ },
1661
+ "PageSize" : {
1662
+ "shape" : "__string",
1663
+ "location" : "querystring",
1664
+ "locationName" : "page-size"
1665
+ },
1666
+ "Token" : {
1667
+ "shape" : "__string",
1668
+ "location" : "querystring",
1669
+ "locationName" : "token"
1670
+ }
1671
+ },
1672
+ "required" : [ "ApplicationId", "CampaignId" ]
1673
+ },
1674
+ "GetCampaignVersionsResponse" : {
1675
+ "type" : "structure",
1676
+ "members" : {
1677
+ "CampaignsResponse" : {
1678
+ "shape" : "CampaignsResponse",
1679
+ "payload" : true
1680
+ }
1681
+ },
1682
+ "required" : [ "CampaignsResponse" ],
1683
+ "payload" : "CampaignsResponse"
1684
+ },
1685
+ "GetCampaignsRequest" : {
1686
+ "type" : "structure",
1687
+ "members" : {
1688
+ "ApplicationId" : {
1689
+ "shape" : "__string",
1690
+ "location" : "uri",
1691
+ "locationName" : "application-id"
1692
+ },
1693
+ "PageSize" : {
1694
+ "shape" : "__string",
1695
+ "location" : "querystring",
1696
+ "locationName" : "page-size"
1697
+ },
1698
+ "Token" : {
1699
+ "shape" : "__string",
1700
+ "location" : "querystring",
1701
+ "locationName" : "token"
1702
+ }
1703
+ },
1704
+ "required" : [ "ApplicationId" ]
1705
+ },
1706
+ "GetCampaignsResponse" : {
1707
+ "type" : "structure",
1708
+ "members" : {
1709
+ "CampaignsResponse" : {
1710
+ "shape" : "CampaignsResponse",
1711
+ "payload" : true
1712
+ }
1713
+ },
1714
+ "required" : [ "CampaignsResponse" ],
1715
+ "payload" : "CampaignsResponse"
1716
+ },
1717
+ "GetEndpointRequest" : {
1718
+ "type" : "structure",
1719
+ "members" : {
1720
+ "ApplicationId" : {
1721
+ "shape" : "__string",
1722
+ "location" : "uri",
1723
+ "locationName" : "application-id"
1724
+ },
1725
+ "EndpointId" : {
1726
+ "shape" : "__string",
1727
+ "location" : "uri",
1728
+ "locationName" : "endpoint-id"
1729
+ }
1730
+ },
1731
+ "required" : [ "ApplicationId", "EndpointId" ]
1732
+ },
1733
+ "GetEndpointResponse" : {
1734
+ "type" : "structure",
1735
+ "members" : {
1736
+ "EndpointResponse" : {
1737
+ "shape" : "EndpointResponse",
1738
+ "payload" : true
1739
+ }
1740
+ },
1741
+ "required" : [ "EndpointResponse" ],
1742
+ "payload" : "EndpointResponse"
1743
+ },
1744
+ "GetGcmChannelRequest" : {
1745
+ "type" : "structure",
1746
+ "members" : {
1747
+ "ApplicationId" : {
1748
+ "shape" : "__string",
1749
+ "location" : "uri",
1750
+ "locationName" : "application-id"
1751
+ }
1752
+ },
1753
+ "required" : [ "ApplicationId" ]
1754
+ },
1755
+ "GetGcmChannelResponse" : {
1756
+ "type" : "structure",
1757
+ "members" : {
1758
+ "GCMChannelResponse" : {
1759
+ "shape" : "GCMChannelResponse",
1760
+ "payload" : true
1761
+ }
1762
+ },
1763
+ "required" : [ "GCMChannelResponse" ],
1764
+ "payload" : "GCMChannelResponse"
1765
+ },
1766
+ "GetImportJobRequest" : {
1767
+ "type" : "structure",
1768
+ "members" : {
1769
+ "ApplicationId" : {
1770
+ "shape" : "__string",
1771
+ "location" : "uri",
1772
+ "locationName" : "application-id"
1773
+ },
1774
+ "JobId" : {
1775
+ "shape" : "__string",
1776
+ "location" : "uri",
1777
+ "locationName" : "job-id"
1778
+ }
1779
+ },
1780
+ "required" : [ "ApplicationId", "JobId" ]
1781
+ },
1782
+ "GetImportJobResponse" : {
1783
+ "type" : "structure",
1784
+ "members" : {
1785
+ "ImportJobResponse" : {
1786
+ "shape" : "ImportJobResponse",
1787
+ "payload" : true
1788
+ }
1789
+ },
1790
+ "required" : [ "ImportJobResponse" ],
1791
+ "payload" : "ImportJobResponse"
1792
+ },
1793
+ "GetImportJobsRequest" : {
1794
+ "type" : "structure",
1795
+ "members" : {
1796
+ "ApplicationId" : {
1797
+ "shape" : "__string",
1798
+ "location" : "uri",
1799
+ "locationName" : "application-id"
1800
+ },
1801
+ "PageSize" : {
1802
+ "shape" : "__string",
1803
+ "location" : "querystring",
1804
+ "locationName" : "page-size"
1805
+ },
1806
+ "Token" : {
1807
+ "shape" : "__string",
1808
+ "location" : "querystring",
1809
+ "locationName" : "token"
1810
+ }
1811
+ },
1812
+ "required" : [ "ApplicationId" ]
1813
+ },
1814
+ "GetImportJobsResponse" : {
1815
+ "type" : "structure",
1816
+ "members" : {
1817
+ "ImportJobsResponse" : {
1818
+ "shape" : "ImportJobsResponse",
1819
+ "payload" : true
1820
+ }
1821
+ },
1822
+ "required" : [ "ImportJobsResponse" ],
1823
+ "payload" : "ImportJobsResponse"
1824
+ },
1825
+ "GetSegmentImportJobsRequest" : {
1826
+ "type" : "structure",
1827
+ "members" : {
1828
+ "ApplicationId" : {
1829
+ "shape" : "__string",
1830
+ "location" : "uri",
1831
+ "locationName" : "application-id"
1832
+ },
1833
+ "PageSize" : {
1834
+ "shape" : "__string",
1835
+ "location" : "querystring",
1836
+ "locationName" : "page-size"
1837
+ },
1838
+ "SegmentId" : {
1839
+ "shape" : "__string",
1840
+ "location" : "uri",
1841
+ "locationName" : "segment-id"
1842
+ },
1843
+ "Token" : {
1844
+ "shape" : "__string",
1845
+ "location" : "querystring",
1846
+ "locationName" : "token"
1847
+ }
1848
+ },
1849
+ "required" : [ "SegmentId", "ApplicationId" ]
1850
+ },
1851
+ "GetSegmentImportJobsResponse" : {
1852
+ "type" : "structure",
1853
+ "members" : {
1854
+ "ImportJobsResponse" : {
1855
+ "shape" : "ImportJobsResponse",
1856
+ "payload" : true
1857
+ }
1858
+ },
1859
+ "required" : [ "ImportJobsResponse" ],
1860
+ "payload" : "ImportJobsResponse"
1861
+ },
1862
+ "GetSegmentRequest" : {
1863
+ "type" : "structure",
1864
+ "members" : {
1865
+ "ApplicationId" : {
1866
+ "shape" : "__string",
1867
+ "location" : "uri",
1868
+ "locationName" : "application-id"
1869
+ },
1870
+ "SegmentId" : {
1871
+ "shape" : "__string",
1872
+ "location" : "uri",
1873
+ "locationName" : "segment-id"
1874
+ }
1875
+ },
1876
+ "required" : [ "SegmentId", "ApplicationId" ]
1877
+ },
1878
+ "GetSegmentResponse" : {
1879
+ "type" : "structure",
1880
+ "members" : {
1881
+ "SegmentResponse" : {
1882
+ "shape" : "SegmentResponse",
1883
+ "payload" : true
1884
+ }
1885
+ },
1886
+ "required" : [ "SegmentResponse" ],
1887
+ "payload" : "SegmentResponse"
1888
+ },
1889
+ "GetSegmentVersionRequest" : {
1890
+ "type" : "structure",
1891
+ "members" : {
1892
+ "ApplicationId" : {
1893
+ "shape" : "__string",
1894
+ "location" : "uri",
1895
+ "locationName" : "application-id"
1896
+ },
1897
+ "SegmentId" : {
1898
+ "shape" : "__string",
1899
+ "location" : "uri",
1900
+ "locationName" : "segment-id"
1901
+ },
1902
+ "Version" : {
1903
+ "shape" : "__string",
1904
+ "location" : "uri",
1905
+ "locationName" : "version"
1906
+ }
1907
+ },
1908
+ "required" : [ "SegmentId", "Version", "ApplicationId" ]
1909
+ },
1910
+ "GetSegmentVersionResponse" : {
1911
+ "type" : "structure",
1912
+ "members" : {
1913
+ "SegmentResponse" : {
1914
+ "shape" : "SegmentResponse",
1915
+ "payload" : true
1916
+ }
1917
+ },
1918
+ "required" : [ "SegmentResponse" ],
1919
+ "payload" : "SegmentResponse"
1920
+ },
1921
+ "GetSegmentVersionsRequest" : {
1922
+ "type" : "structure",
1923
+ "members" : {
1924
+ "ApplicationId" : {
1925
+ "shape" : "__string",
1926
+ "location" : "uri",
1927
+ "locationName" : "application-id"
1928
+ },
1929
+ "PageSize" : {
1930
+ "shape" : "__string",
1931
+ "location" : "querystring",
1932
+ "locationName" : "page-size"
1933
+ },
1934
+ "SegmentId" : {
1935
+ "shape" : "__string",
1936
+ "location" : "uri",
1937
+ "locationName" : "segment-id"
1938
+ },
1939
+ "Token" : {
1940
+ "shape" : "__string",
1941
+ "location" : "querystring",
1942
+ "locationName" : "token"
1943
+ }
1944
+ },
1945
+ "required" : [ "SegmentId", "ApplicationId" ]
1946
+ },
1947
+ "GetSegmentVersionsResponse" : {
1948
+ "type" : "structure",
1949
+ "members" : {
1950
+ "SegmentsResponse" : {
1951
+ "shape" : "SegmentsResponse",
1952
+ "payload" : true
1953
+ }
1954
+ },
1955
+ "required" : [ "SegmentsResponse" ],
1956
+ "payload" : "SegmentsResponse"
1957
+ },
1958
+ "GetSegmentsRequest" : {
1959
+ "type" : "structure",
1960
+ "members" : {
1961
+ "ApplicationId" : {
1962
+ "shape" : "__string",
1963
+ "location" : "uri",
1964
+ "locationName" : "application-id"
1965
+ },
1966
+ "PageSize" : {
1967
+ "shape" : "__string",
1968
+ "location" : "querystring",
1969
+ "locationName" : "page-size"
1970
+ },
1971
+ "Token" : {
1972
+ "shape" : "__string",
1973
+ "location" : "querystring",
1974
+ "locationName" : "token"
1975
+ }
1976
+ },
1977
+ "required" : [ "ApplicationId" ]
1978
+ },
1979
+ "GetSegmentsResponse" : {
1980
+ "type" : "structure",
1981
+ "members" : {
1982
+ "SegmentsResponse" : {
1983
+ "shape" : "SegmentsResponse",
1984
+ "payload" : true
1985
+ }
1986
+ },
1987
+ "required" : [ "SegmentsResponse" ],
1988
+ "payload" : "SegmentsResponse"
1989
+ },
1990
+ "ImportJobRequest" : {
1991
+ "type" : "structure",
1992
+ "members" : {
1993
+ "DefineSegment" : {
1994
+ "shape" : "__boolean"
1995
+ },
1996
+ "ExternalId" : {
1997
+ "shape" : "__string"
1998
+ },
1999
+ "Format" : {
2000
+ "shape" : "Format"
2001
+ },
2002
+ "RegisterEndpoints" : {
2003
+ "shape" : "__boolean"
2004
+ },
2005
+ "RoleArn" : {
2006
+ "shape" : "__string"
2007
+ },
2008
+ "S3Url" : {
2009
+ "shape" : "__string"
2010
+ },
2011
+ "SegmentId" : {
2012
+ "shape" : "__string"
2013
+ },
2014
+ "SegmentName" : {
2015
+ "shape" : "__string"
2016
+ }
2017
+ }
2018
+ },
2019
+ "ImportJobResource" : {
2020
+ "type" : "structure",
2021
+ "members" : {
2022
+ "DefineSegment" : {
2023
+ "shape" : "__boolean"
2024
+ },
2025
+ "ExternalId" : {
2026
+ "shape" : "__string"
2027
+ },
2028
+ "Format" : {
2029
+ "shape" : "Format"
2030
+ },
2031
+ "RegisterEndpoints" : {
2032
+ "shape" : "__boolean"
2033
+ },
2034
+ "RoleArn" : {
2035
+ "shape" : "__string"
2036
+ },
2037
+ "S3Url" : {
2038
+ "shape" : "__string"
2039
+ },
2040
+ "SegmentId" : {
2041
+ "shape" : "__string"
2042
+ },
2043
+ "SegmentName" : {
2044
+ "shape" : "__string"
2045
+ }
2046
+ }
2047
+ },
2048
+ "ImportJobResponse" : {
2049
+ "type" : "structure",
2050
+ "members" : {
2051
+ "ApplicationId" : {
2052
+ "shape" : "__string"
2053
+ },
2054
+ "CompletedPieces" : {
2055
+ "shape" : "__integer"
2056
+ },
2057
+ "CompletionDate" : {
2058
+ "shape" : "__string"
2059
+ },
2060
+ "CreationDate" : {
2061
+ "shape" : "__string"
2062
+ },
2063
+ "Definition" : {
2064
+ "shape" : "ImportJobResource"
2065
+ },
2066
+ "FailedPieces" : {
2067
+ "shape" : "__integer"
2068
+ },
2069
+ "Failures" : {
2070
+ "shape" : "ListOf__string"
2071
+ },
2072
+ "Id" : {
2073
+ "shape" : "__string"
2074
+ },
2075
+ "JobStatus" : {
2076
+ "shape" : "JobStatus"
2077
+ },
2078
+ "TotalFailures" : {
2079
+ "shape" : "__integer"
2080
+ },
2081
+ "TotalPieces" : {
2082
+ "shape" : "__integer"
2083
+ },
2084
+ "TotalProcessed" : {
2085
+ "shape" : "__integer"
2086
+ },
2087
+ "Type" : {
2088
+ "shape" : "__string"
2089
+ }
2090
+ }
2091
+ },
2092
+ "ImportJobsResponse" : {
2093
+ "type" : "structure",
2094
+ "members" : {
2095
+ "Item" : {
2096
+ "shape" : "ListOfImportJobResponse"
2097
+ },
2098
+ "NextToken" : {
2099
+ "shape" : "__string"
2100
+ }
2101
+ }
2102
+ },
2103
+ "InternalServerErrorException" : {
2104
+ "type" : "structure",
2105
+ "members" : {
2106
+ "Message" : {
2107
+ "shape" : "__string"
2108
+ }
2109
+ },
2110
+ "exception" : true,
2111
+ "error" : {
2112
+ "httpStatusCode" : "500"
2113
+ }
2114
+ },
2115
+ "JobStatus" : {
2116
+ "type" : "string",
2117
+ "enum" : [ "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED" ]
2118
+ },
2119
+ "ListOfActivityResponse" : {
2120
+ "type" : "list",
2121
+ "member" : {
2122
+ "shape" : "ActivityResponse"
2123
+ }
2124
+ },
2125
+ "ListOfCampaignResponse" : {
2126
+ "type" : "list",
2127
+ "member" : {
2128
+ "shape" : "CampaignResponse"
2129
+ }
2130
+ },
2131
+ "ListOfEndpointBatchItem" : {
2132
+ "type" : "list",
2133
+ "member" : {
2134
+ "shape" : "EndpointBatchItem"
2135
+ }
2136
+ },
2137
+ "ListOfImportJobResponse" : {
2138
+ "type" : "list",
2139
+ "member" : {
2140
+ "shape" : "ImportJobResponse"
2141
+ }
2142
+ },
2143
+ "ListOfSegmentResponse" : {
2144
+ "type" : "list",
2145
+ "member" : {
2146
+ "shape" : "SegmentResponse"
2147
+ }
2148
+ },
2149
+ "ListOfTreatmentResource" : {
2150
+ "type" : "list",
2151
+ "member" : {
2152
+ "shape" : "TreatmentResource"
2153
+ }
2154
+ },
2155
+ "ListOfWriteTreatmentResource" : {
2156
+ "type" : "list",
2157
+ "member" : {
2158
+ "shape" : "WriteTreatmentResource"
2159
+ }
2160
+ },
2161
+ "ListOf__string" : {
2162
+ "type" : "list",
2163
+ "member" : {
2164
+ "shape" : "__string"
2165
+ }
2166
+ },
2167
+ "MapOfAttributeDimension" : {
2168
+ "type" : "map",
2169
+ "key" : {
2170
+ "shape" : "__string"
2171
+ },
2172
+ "value" : {
2173
+ "shape" : "AttributeDimension"
2174
+ }
2175
+ },
2176
+ "MapOfListOf__string" : {
2177
+ "type" : "map",
2178
+ "key" : {
2179
+ "shape" : "__string"
2180
+ },
2181
+ "value" : {
2182
+ "shape" : "ListOf__string"
2183
+ }
2184
+ },
2185
+ "MapOf__double" : {
2186
+ "type" : "map",
2187
+ "key" : {
2188
+ "shape" : "__string"
2189
+ },
2190
+ "value" : {
2191
+ "shape" : "__double"
2192
+ }
2193
+ },
2194
+ "Message" : {
2195
+ "type" : "structure",
2196
+ "members" : {
2197
+ "Action" : {
2198
+ "shape" : "Action"
2199
+ },
2200
+ "Body" : {
2201
+ "shape" : "__string"
2202
+ },
2203
+ "ImageIconUrl" : {
2204
+ "shape" : "__string"
2205
+ },
2206
+ "ImageUrl" : {
2207
+ "shape" : "__string"
2208
+ },
2209
+ "JsonBody" : {
2210
+ "shape" : "__string"
2211
+ },
2212
+ "MediaUrl" : {
2213
+ "shape" : "__string"
2214
+ },
2215
+ "SilentPush" : {
2216
+ "shape" : "__boolean"
2217
+ },
2218
+ "Title" : {
2219
+ "shape" : "__string"
2220
+ },
2221
+ "Url" : {
2222
+ "shape" : "__string"
2223
+ }
2224
+ }
2225
+ },
2226
+ "MessageBody" : {
2227
+ "type" : "structure",
2228
+ "members" : {
2229
+ "Message" : {
2230
+ "shape" : "__string"
2231
+ },
2232
+ "RequestID" : {
2233
+ "shape" : "__string"
2234
+ }
2235
+ }
2236
+ },
2237
+ "MessageConfiguration" : {
2238
+ "type" : "structure",
2239
+ "members" : {
2240
+ "APNSMessage" : {
2241
+ "shape" : "Message"
2242
+ },
2243
+ "DefaultMessage" : {
2244
+ "shape" : "Message"
2245
+ },
2246
+ "GCMMessage" : {
2247
+ "shape" : "Message"
2248
+ }
2249
+ }
2250
+ },
2251
+ "MethodNotAllowedException" : {
2252
+ "type" : "structure",
2253
+ "members" : {
2254
+ "Message" : {
2255
+ "shape" : "__string"
2256
+ }
2257
+ },
2258
+ "exception" : true,
2259
+ "error" : {
2260
+ "httpStatusCode" : "405"
2261
+ }
2262
+ },
2263
+ "NotFoundException" : {
2264
+ "type" : "structure",
2265
+ "members" : {
2266
+ "Message" : {
2267
+ "shape" : "__string"
2268
+ }
2269
+ },
2270
+ "exception" : true,
2271
+ "error" : {
2272
+ "httpStatusCode" : "404"
2273
+ }
2274
+ },
2275
+ "QuietTime" : {
2276
+ "type" : "structure",
2277
+ "members" : {
2278
+ "End" : {
2279
+ "shape" : "__string"
2280
+ },
2281
+ "Start" : {
2282
+ "shape" : "__string"
2283
+ }
2284
+ }
2285
+ },
2286
+ "RecencyDimension" : {
2287
+ "type" : "structure",
2288
+ "members" : {
2289
+ "Duration" : {
2290
+ "shape" : "Duration"
2291
+ },
2292
+ "RecencyType" : {
2293
+ "shape" : "RecencyType"
2294
+ }
2295
+ }
2296
+ },
2297
+ "RecencyType" : {
2298
+ "type" : "string",
2299
+ "enum" : [ "ACTIVE", "INACTIVE" ]
2300
+ },
2301
+ "Schedule" : {
2302
+ "type" : "structure",
2303
+ "members" : {
2304
+ "EndTime" : {
2305
+ "shape" : "__string"
2306
+ },
2307
+ "Frequency" : {
2308
+ "shape" : "Frequency"
2309
+ },
2310
+ "IsLocalTime" : {
2311
+ "shape" : "__boolean"
2312
+ },
2313
+ "QuietTime" : {
2314
+ "shape" : "QuietTime"
2315
+ },
2316
+ "StartTime" : {
2317
+ "shape" : "__string"
2318
+ },
2319
+ "Timezone" : {
2320
+ "shape" : "__string"
2321
+ }
2322
+ }
2323
+ },
2324
+ "SegmentBehaviors" : {
2325
+ "type" : "structure",
2326
+ "members" : {
2327
+ "Recency" : {
2328
+ "shape" : "RecencyDimension"
2329
+ }
2330
+ }
2331
+ },
2332
+ "SegmentDemographics" : {
2333
+ "type" : "structure",
2334
+ "members" : {
2335
+ "AppVersion" : {
2336
+ "shape" : "SetDimension"
2337
+ },
2338
+ "DeviceType" : {
2339
+ "shape" : "SetDimension"
2340
+ },
2341
+ "Make" : {
2342
+ "shape" : "SetDimension"
2343
+ },
2344
+ "Model" : {
2345
+ "shape" : "SetDimension"
2346
+ },
2347
+ "Platform" : {
2348
+ "shape" : "SetDimension"
2349
+ }
2350
+ }
2351
+ },
2352
+ "SegmentDimensions" : {
2353
+ "type" : "structure",
2354
+ "members" : {
2355
+ "Attributes" : {
2356
+ "shape" : "MapOfAttributeDimension"
2357
+ },
2358
+ "Behavior" : {
2359
+ "shape" : "SegmentBehaviors"
2360
+ },
2361
+ "Demographic" : {
2362
+ "shape" : "SegmentDemographics"
2363
+ },
2364
+ "Location" : {
2365
+ "shape" : "SegmentLocation"
2366
+ }
2367
+ }
2368
+ },
2369
+ "SegmentImportResource" : {
2370
+ "type" : "structure",
2371
+ "members" : {
2372
+ "ExternalId" : {
2373
+ "shape" : "__string"
2374
+ },
2375
+ "Format" : {
2376
+ "shape" : "Format"
2377
+ },
2378
+ "RoleArn" : {
2379
+ "shape" : "__string"
2380
+ },
2381
+ "S3Url" : {
2382
+ "shape" : "__string"
2383
+ },
2384
+ "Size" : {
2385
+ "shape" : "__integer"
2386
+ }
2387
+ }
2388
+ },
2389
+ "SegmentLocation" : {
2390
+ "type" : "structure",
2391
+ "members" : {
2392
+ "Country" : {
2393
+ "shape" : "SetDimension"
2394
+ }
2395
+ }
2396
+ },
2397
+ "SegmentResponse" : {
2398
+ "type" : "structure",
2399
+ "members" : {
2400
+ "ApplicationId" : {
2401
+ "shape" : "__string"
2402
+ },
2403
+ "CreationDate" : {
2404
+ "shape" : "__string"
2405
+ },
2406
+ "Dimensions" : {
2407
+ "shape" : "SegmentDimensions"
2408
+ },
2409
+ "Id" : {
2410
+ "shape" : "__string"
2411
+ },
2412
+ "ImportDefinition" : {
2413
+ "shape" : "SegmentImportResource"
2414
+ },
2415
+ "LastModifiedDate" : {
2416
+ "shape" : "__string"
2417
+ },
2418
+ "Name" : {
2419
+ "shape" : "__string"
2420
+ },
2421
+ "SegmentType" : {
2422
+ "shape" : "SegmentType"
2423
+ },
2424
+ "Version" : {
2425
+ "shape" : "__integer"
2426
+ }
2427
+ }
2428
+ },
2429
+ "SegmentType" : {
2430
+ "type" : "string",
2431
+ "enum" : [ "DIMENSIONAL", "IMPORT" ]
2432
+ },
2433
+ "SegmentsResponse" : {
2434
+ "type" : "structure",
2435
+ "members" : {
2436
+ "Item" : {
2437
+ "shape" : "ListOfSegmentResponse"
2438
+ },
2439
+ "NextToken" : {
2440
+ "shape" : "__string"
2441
+ }
2442
+ }
2443
+ },
2444
+ "SetDimension" : {
2445
+ "type" : "structure",
2446
+ "members" : {
2447
+ "DimensionType" : {
2448
+ "shape" : "DimensionType"
2449
+ },
2450
+ "Values" : {
2451
+ "shape" : "ListOf__string"
2452
+ }
2453
+ }
2454
+ },
2455
+ "TooManyRequestsException" : {
2456
+ "type" : "structure",
2457
+ "members" : {
2458
+ "Message" : {
2459
+ "shape" : "__string"
2460
+ }
2461
+ },
2462
+ "exception" : true,
2463
+ "error" : {
2464
+ "httpStatusCode" : "429"
2465
+ }
2466
+ },
2467
+ "TreatmentResource" : {
2468
+ "type" : "structure",
2469
+ "members" : {
2470
+ "Id" : {
2471
+ "shape" : "__string"
2472
+ },
2473
+ "MessageConfiguration" : {
2474
+ "shape" : "MessageConfiguration"
2475
+ },
2476
+ "Schedule" : {
2477
+ "shape" : "Schedule"
2478
+ },
2479
+ "SizePercent" : {
2480
+ "shape" : "__integer"
2481
+ },
2482
+ "State" : {
2483
+ "shape" : "CampaignState"
2484
+ },
2485
+ "TreatmentDescription" : {
2486
+ "shape" : "__string"
2487
+ },
2488
+ "TreatmentName" : {
2489
+ "shape" : "__string"
2490
+ }
2491
+ }
2492
+ },
2493
+ "UpdateApnsChannelRequest" : {
2494
+ "type" : "structure",
2495
+ "members" : {
2496
+ "APNSChannelRequest" : {
2497
+ "shape" : "APNSChannelRequest",
2498
+ "payload" : true
2499
+ },
2500
+ "ApplicationId" : {
2501
+ "shape" : "__string",
2502
+ "location" : "uri",
2503
+ "locationName" : "application-id"
2504
+ }
2505
+ },
2506
+ "required" : [ "ApplicationId", "APNSChannelRequest" ],
2507
+ "payload" : "APNSChannelRequest"
2508
+ },
2509
+ "UpdateApnsChannelResponse" : {
2510
+ "type" : "structure",
2511
+ "members" : {
2512
+ "APNSChannelResponse" : {
2513
+ "shape" : "APNSChannelResponse",
2514
+ "payload" : true
2515
+ }
2516
+ },
2517
+ "required" : [ "APNSChannelResponse" ],
2518
+ "payload" : "APNSChannelResponse"
2519
+ },
2520
+ "UpdateApplicationSettingsRequest" : {
2521
+ "type" : "structure",
2522
+ "members" : {
2523
+ "ApplicationId" : {
2524
+ "shape" : "__string",
2525
+ "location" : "uri",
2526
+ "locationName" : "application-id"
2527
+ },
2528
+ "WriteApplicationSettingsRequest" : {
2529
+ "shape" : "WriteApplicationSettingsRequest",
2530
+ "payload" : true
2531
+ }
2532
+ },
2533
+ "required" : [ "ApplicationId", "WriteApplicationSettingsRequest" ],
2534
+ "payload" : "WriteApplicationSettingsRequest"
2535
+ },
2536
+ "UpdateApplicationSettingsResponse" : {
2537
+ "type" : "structure",
2538
+ "members" : {
2539
+ "ApplicationSettingsResource" : {
2540
+ "shape" : "ApplicationSettingsResource",
2541
+ "payload" : true
2542
+ }
2543
+ },
2544
+ "required" : [ "ApplicationSettingsResource" ],
2545
+ "payload" : "ApplicationSettingsResource"
2546
+ },
2547
+ "UpdateCampaignRequest" : {
2548
+ "type" : "structure",
2549
+ "members" : {
2550
+ "ApplicationId" : {
2551
+ "shape" : "__string",
2552
+ "location" : "uri",
2553
+ "locationName" : "application-id"
2554
+ },
2555
+ "CampaignId" : {
2556
+ "shape" : "__string",
2557
+ "location" : "uri",
2558
+ "locationName" : "campaign-id"
2559
+ },
2560
+ "WriteCampaignRequest" : {
2561
+ "shape" : "WriteCampaignRequest",
2562
+ "payload" : true
2563
+ }
2564
+ },
2565
+ "required" : [ "CampaignId", "ApplicationId", "WriteCampaignRequest" ],
2566
+ "payload" : "WriteCampaignRequest"
2567
+ },
2568
+ "UpdateCampaignResponse" : {
2569
+ "type" : "structure",
2570
+ "members" : {
2571
+ "CampaignResponse" : {
2572
+ "shape" : "CampaignResponse",
2573
+ "payload" : true
2574
+ }
2575
+ },
2576
+ "required" : [ "CampaignResponse" ],
2577
+ "payload" : "CampaignResponse"
2578
+ },
2579
+ "UpdateEndpointRequest" : {
2580
+ "type" : "structure",
2581
+ "members" : {
2582
+ "ApplicationId" : {
2583
+ "shape" : "__string",
2584
+ "location" : "uri",
2585
+ "locationName" : "application-id"
2586
+ },
2587
+ "EndpointId" : {
2588
+ "shape" : "__string",
2589
+ "location" : "uri",
2590
+ "locationName" : "endpoint-id"
2591
+ },
2592
+ "EndpointRequest" : {
2593
+ "shape" : "EndpointRequest",
2594
+ "payload" : true
2595
+ }
2596
+ },
2597
+ "required" : [ "ApplicationId", "EndpointId", "EndpointRequest" ],
2598
+ "payload" : "EndpointRequest"
2599
+ },
2600
+ "UpdateEndpointResponse" : {
2601
+ "type" : "structure",
2602
+ "members" : {
2603
+ "MessageBody" : {
2604
+ "shape" : "MessageBody",
2605
+ "payload" : true
2606
+ }
2607
+ },
2608
+ "required" : [ "MessageBody" ],
2609
+ "payload" : "MessageBody"
2610
+ },
2611
+ "UpdateEndpointsBatchRequest" : {
2612
+ "type" : "structure",
2613
+ "members" : {
2614
+ "ApplicationId" : {
2615
+ "shape" : "__string",
2616
+ "location" : "uri",
2617
+ "locationName" : "application-id"
2618
+ },
2619
+ "EndpointBatchRequest" : {
2620
+ "shape" : "EndpointBatchRequest",
2621
+ "payload" : true
2622
+ }
2623
+ },
2624
+ "required" : [ "ApplicationId", "EndpointBatchRequest" ],
2625
+ "payload" : "EndpointBatchRequest"
2626
+ },
2627
+ "UpdateEndpointsBatchResponse" : {
2628
+ "type" : "structure",
2629
+ "members" : {
2630
+ "MessageBody" : {
2631
+ "shape" : "MessageBody",
2632
+ "payload" : true
2633
+ }
2634
+ },
2635
+ "required" : [ "MessageBody" ],
2636
+ "payload" : "MessageBody"
2637
+ },
2638
+ "UpdateGcmChannelRequest" : {
2639
+ "type" : "structure",
2640
+ "members" : {
2641
+ "ApplicationId" : {
2642
+ "shape" : "__string",
2643
+ "location" : "uri",
2644
+ "locationName" : "application-id"
2645
+ },
2646
+ "GCMChannelRequest" : {
2647
+ "shape" : "GCMChannelRequest",
2648
+ "payload" : true
2649
+ }
2650
+ },
2651
+ "required" : [ "ApplicationId", "GCMChannelRequest" ],
2652
+ "payload" : "GCMChannelRequest"
2653
+ },
2654
+ "UpdateGcmChannelResponse" : {
2655
+ "type" : "structure",
2656
+ "members" : {
2657
+ "GCMChannelResponse" : {
2658
+ "shape" : "GCMChannelResponse",
2659
+ "payload" : true
2660
+ }
2661
+ },
2662
+ "required" : [ "GCMChannelResponse" ],
2663
+ "payload" : "GCMChannelResponse"
2664
+ },
2665
+ "UpdateSegmentRequest" : {
2666
+ "type" : "structure",
2667
+ "members" : {
2668
+ "ApplicationId" : {
2669
+ "shape" : "__string",
2670
+ "location" : "uri",
2671
+ "locationName" : "application-id"
2672
+ },
2673
+ "SegmentId" : {
2674
+ "shape" : "__string",
2675
+ "location" : "uri",
2676
+ "locationName" : "segment-id"
2677
+ },
2678
+ "WriteSegmentRequest" : {
2679
+ "shape" : "WriteSegmentRequest",
2680
+ "payload" : true
2681
+ }
2682
+ },
2683
+ "required" : [ "SegmentId", "ApplicationId", "WriteSegmentRequest" ],
2684
+ "payload" : "WriteSegmentRequest"
2685
+ },
2686
+ "UpdateSegmentResponse" : {
2687
+ "type" : "structure",
2688
+ "members" : {
2689
+ "SegmentResponse" : {
2690
+ "shape" : "SegmentResponse",
2691
+ "payload" : true
2692
+ }
2693
+ },
2694
+ "required" : [ "SegmentResponse" ],
2695
+ "payload" : "SegmentResponse"
2696
+ },
2697
+ "WriteApplicationSettingsRequest" : {
2698
+ "type" : "structure",
2699
+ "members" : {
2700
+ "Limits" : {
2701
+ "shape" : "CampaignLimits"
2702
+ },
2703
+ "QuietTime" : {
2704
+ "shape" : "QuietTime"
2705
+ }
2706
+ }
2707
+ },
2708
+ "WriteCampaignRequest" : {
2709
+ "type" : "structure",
2710
+ "members" : {
2711
+ "AdditionalTreatments" : {
2712
+ "shape" : "ListOfWriteTreatmentResource"
2713
+ },
2714
+ "Description" : {
2715
+ "shape" : "__string"
2716
+ },
2717
+ "HoldoutPercent" : {
2718
+ "shape" : "__integer"
2719
+ },
2720
+ "IsPaused" : {
2721
+ "shape" : "__boolean"
2722
+ },
2723
+ "Limits" : {
2724
+ "shape" : "CampaignLimits"
2725
+ },
2726
+ "MessageConfiguration" : {
2727
+ "shape" : "MessageConfiguration"
2728
+ },
2729
+ "Name" : {
2730
+ "shape" : "__string"
2731
+ },
2732
+ "Schedule" : {
2733
+ "shape" : "Schedule"
2734
+ },
2735
+ "SegmentId" : {
2736
+ "shape" : "__string"
2737
+ },
2738
+ "SegmentVersion" : {
2739
+ "shape" : "__integer"
2740
+ },
2741
+ "TreatmentDescription" : {
2742
+ "shape" : "__string"
2743
+ },
2744
+ "TreatmentName" : {
2745
+ "shape" : "__string"
2746
+ }
2747
+ }
2748
+ },
2749
+ "WriteSegmentRequest" : {
2750
+ "type" : "structure",
2751
+ "members" : {
2752
+ "Dimensions" : {
2753
+ "shape" : "SegmentDimensions"
2754
+ },
2755
+ "Name" : {
2756
+ "shape" : "__string"
2757
+ }
2758
+ }
2759
+ },
2760
+ "WriteTreatmentResource" : {
2761
+ "type" : "structure",
2762
+ "members" : {
2763
+ "MessageConfiguration" : {
2764
+ "shape" : "MessageConfiguration"
2765
+ },
2766
+ "Schedule" : {
2767
+ "shape" : "Schedule"
2768
+ },
2769
+ "SizePercent" : {
2770
+ "shape" : "__integer"
2771
+ },
2772
+ "TreatmentDescription" : {
2773
+ "shape" : "__string"
2774
+ },
2775
+ "TreatmentName" : {
2776
+ "shape" : "__string"
2777
+ }
2778
+ }
2779
+ },
2780
+ "__boolean" : {
2781
+ "type" : "boolean"
2782
+ },
2783
+ "__double" : {
2784
+ "type" : "double"
2785
+ },
2786
+ "__integer" : {
2787
+ "type" : "integer"
2788
+ },
2789
+ "__string" : {
2790
+ "type" : "string"
2791
+ }
2792
+ }
2793
+ }