aws-sdk-core 2.0.6 → 2.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,23 +20,39 @@
20
20
  "errors":[
21
21
  {
22
22
  "shape":"NotAuthorizedException",
23
- "error":{"httpStatusCode":403},
23
+ "error":{
24
+ "code":"NotAuthorizedError",
25
+ "httpStatusCode":403,
26
+ "senderFault":true
27
+ },
24
28
  "exception":true
25
29
  },
26
30
  {
27
31
  "shape":"InvalidParameterException",
28
- "error":{"httpStatusCode":400},
32
+ "error":{
33
+ "code":"InvalidParameter",
34
+ "httpStatusCode":400,
35
+ "senderFault":true
36
+ },
29
37
  "exception":true
30
38
  },
31
39
  {
32
40
  "shape":"ResourceNotFoundException",
33
- "error":{"httpStatusCode":404},
41
+ "error":{
42
+ "code":"ResourceNotFound",
43
+ "httpStatusCode":404,
44
+ "senderFault":true
45
+ },
34
46
  "exception":true
35
47
  },
36
48
  {
37
49
  "shape":"InternalErrorException",
38
- "error":{"httpStatusCode":500},
39
- "exception":true
50
+ "error":{
51
+ "code":"InternalError",
52
+ "httpStatusCode":500
53
+ },
54
+ "exception":true,
55
+ "fault":true
40
56
  }
41
57
  ]
42
58
  },
@@ -52,23 +68,39 @@
52
68
  "errors":[
53
69
  {
54
70
  "shape":"NotAuthorizedException",
55
- "error":{"httpStatusCode":403},
71
+ "error":{
72
+ "code":"NotAuthorizedError",
73
+ "httpStatusCode":403,
74
+ "senderFault":true
75
+ },
56
76
  "exception":true
57
77
  },
58
78
  {
59
79
  "shape":"InvalidParameterException",
60
- "error":{"httpStatusCode":400},
80
+ "error":{
81
+ "code":"InvalidParameter",
82
+ "httpStatusCode":400,
83
+ "senderFault":true
84
+ },
61
85
  "exception":true
62
86
  },
63
87
  {
64
88
  "shape":"ResourceNotFoundException",
65
- "error":{"httpStatusCode":404},
89
+ "error":{
90
+ "code":"ResourceNotFound",
91
+ "httpStatusCode":404,
92
+ "senderFault":true
93
+ },
66
94
  "exception":true
67
95
  },
68
96
  {
69
97
  "shape":"InternalErrorException",
70
- "error":{"httpStatusCode":500},
71
- "exception":true
98
+ "error":{
99
+ "code":"InternalError",
100
+ "httpStatusCode":500
101
+ },
102
+ "exception":true,
103
+ "fault":true
72
104
  }
73
105
  ]
74
106
  },
@@ -84,23 +116,39 @@
84
116
  "errors":[
85
117
  {
86
118
  "shape":"NotAuthorizedException",
87
- "error":{"httpStatusCode":403},
119
+ "error":{
120
+ "code":"NotAuthorizedError",
121
+ "httpStatusCode":403,
122
+ "senderFault":true
123
+ },
88
124
  "exception":true
89
125
  },
90
126
  {
91
127
  "shape":"InvalidParameterException",
92
- "error":{"httpStatusCode":400},
128
+ "error":{
129
+ "code":"InvalidParameter",
130
+ "httpStatusCode":400,
131
+ "senderFault":true
132
+ },
93
133
  "exception":true
94
134
  },
95
135
  {
96
136
  "shape":"ResourceNotFoundException",
97
- "error":{"httpStatusCode":404},
137
+ "error":{
138
+ "code":"ResourceNotFound",
139
+ "httpStatusCode":404,
140
+ "senderFault":true
141
+ },
98
142
  "exception":true
99
143
  },
100
144
  {
101
145
  "shape":"InternalErrorException",
102
- "error":{"httpStatusCode":500},
103
- "exception":true
146
+ "error":{
147
+ "code":"InternalError",
148
+ "httpStatusCode":500
149
+ },
150
+ "exception":true,
151
+ "fault":true
104
152
  }
105
153
  ]
106
154
  },
@@ -116,23 +164,87 @@
116
164
  "errors":[
117
165
  {
118
166
  "shape":"NotAuthorizedException",
119
- "error":{"httpStatusCode":403},
167
+ "error":{
168
+ "code":"NotAuthorizedError",
169
+ "httpStatusCode":403,
170
+ "senderFault":true
171
+ },
120
172
  "exception":true
121
173
  },
122
174
  {
123
175
  "shape":"InvalidParameterException",
124
- "error":{"httpStatusCode":400},
176
+ "error":{
177
+ "code":"InvalidParameter",
178
+ "httpStatusCode":400,
179
+ "senderFault":true
180
+ },
125
181
  "exception":true
126
182
  },
127
183
  {
128
184
  "shape":"ResourceNotFoundException",
129
- "error":{"httpStatusCode":404},
185
+ "error":{
186
+ "code":"ResourceNotFound",
187
+ "httpStatusCode":404,
188
+ "senderFault":true
189
+ },
130
190
  "exception":true
131
191
  },
132
192
  {
133
193
  "shape":"InternalErrorException",
134
- "error":{"httpStatusCode":500},
194
+ "error":{
195
+ "code":"InternalError",
196
+ "httpStatusCode":500
197
+ },
198
+ "exception":true,
199
+ "fault":true
200
+ }
201
+ ]
202
+ },
203
+ "GetIdentityPoolConfiguration":{
204
+ "name":"GetIdentityPoolConfiguration",
205
+ "http":{
206
+ "method":"GET",
207
+ "requestUri":"/identitypools/{IdentityPoolId}/configuration",
208
+ "responseCode":200
209
+ },
210
+ "input":{"shape":"GetIdentityPoolConfigurationRequest"},
211
+ "output":{"shape":"GetIdentityPoolConfigurationResponse"},
212
+ "errors":[
213
+ {
214
+ "shape":"NotAuthorizedException",
215
+ "error":{
216
+ "code":"NotAuthorizedError",
217
+ "httpStatusCode":403,
218
+ "senderFault":true
219
+ },
220
+ "exception":true
221
+ },
222
+ {
223
+ "shape":"InvalidParameterException",
224
+ "error":{
225
+ "code":"InvalidParameter",
226
+ "httpStatusCode":400,
227
+ "senderFault":true
228
+ },
135
229
  "exception":true
230
+ },
231
+ {
232
+ "shape":"ResourceNotFoundException",
233
+ "error":{
234
+ "code":"ResourceNotFound",
235
+ "httpStatusCode":404,
236
+ "senderFault":true
237
+ },
238
+ "exception":true
239
+ },
240
+ {
241
+ "shape":"InternalErrorException",
242
+ "error":{
243
+ "code":"InternalError",
244
+ "httpStatusCode":500
245
+ },
246
+ "exception":true,
247
+ "fault":true
136
248
  }
137
249
  ]
138
250
  },
@@ -148,18 +260,30 @@
148
260
  "errors":[
149
261
  {
150
262
  "shape":"NotAuthorizedException",
151
- "error":{"httpStatusCode":403},
263
+ "error":{
264
+ "code":"NotAuthorizedError",
265
+ "httpStatusCode":403,
266
+ "senderFault":true
267
+ },
152
268
  "exception":true
153
269
  },
154
270
  {
155
271
  "shape":"InvalidParameterException",
156
- "error":{"httpStatusCode":400},
272
+ "error":{
273
+ "code":"InvalidParameter",
274
+ "httpStatusCode":400,
275
+ "senderFault":true
276
+ },
157
277
  "exception":true
158
278
  },
159
279
  {
160
280
  "shape":"InternalErrorException",
161
- "error":{"httpStatusCode":500},
162
- "exception":true
281
+ "error":{
282
+ "code":"InternalError",
283
+ "httpStatusCode":500
284
+ },
285
+ "exception":true,
286
+ "fault":true
163
287
  }
164
288
  ]
165
289
  },
@@ -175,18 +299,30 @@
175
299
  "errors":[
176
300
  {
177
301
  "shape":"NotAuthorizedException",
178
- "error":{"httpStatusCode":403},
302
+ "error":{
303
+ "code":"NotAuthorizedError",
304
+ "httpStatusCode":403,
305
+ "senderFault":true
306
+ },
179
307
  "exception":true
180
308
  },
181
309
  {
182
310
  "shape":"InvalidParameterException",
183
- "error":{"httpStatusCode":400},
311
+ "error":{
312
+ "code":"InvalidParameter",
313
+ "httpStatusCode":400,
314
+ "senderFault":true
315
+ },
184
316
  "exception":true
185
317
  },
186
318
  {
187
319
  "shape":"InternalErrorException",
188
- "error":{"httpStatusCode":500},
189
- "exception":true
320
+ "error":{
321
+ "code":"InternalError",
322
+ "httpStatusCode":500
323
+ },
324
+ "exception":true,
325
+ "fault":true
190
326
  }
191
327
  ]
192
328
  },
@@ -202,22 +338,257 @@
202
338
  "errors":[
203
339
  {
204
340
  "shape":"InvalidParameterException",
205
- "error":{"httpStatusCode":400},
341
+ "error":{
342
+ "code":"InvalidParameter",
343
+ "httpStatusCode":400,
344
+ "senderFault":true
345
+ },
206
346
  "exception":true
207
347
  },
208
348
  {
209
349
  "shape":"NotAuthorizedException",
210
- "error":{"httpStatusCode":403},
350
+ "error":{
351
+ "code":"NotAuthorizedError",
352
+ "httpStatusCode":403,
353
+ "senderFault":true
354
+ },
211
355
  "exception":true
212
356
  },
213
357
  {
214
358
  "shape":"TooManyRequestsException",
215
- "error":{"httpStatusCode":429},
359
+ "error":{
360
+ "code":"TooManyRequests",
361
+ "httpStatusCode":429,
362
+ "senderFault":true
363
+ },
216
364
  "exception":true
217
365
  },
218
366
  {
219
367
  "shape":"InternalErrorException",
220
- "error":{"httpStatusCode":500},
368
+ "error":{
369
+ "code":"InternalError",
370
+ "httpStatusCode":500
371
+ },
372
+ "exception":true,
373
+ "fault":true
374
+ }
375
+ ]
376
+ },
377
+ "RegisterDevice":{
378
+ "name":"RegisterDevice",
379
+ "http":{
380
+ "method":"POST",
381
+ "requestUri":"/identitypools/{IdentityPoolId}/identity/{IdentityId}/device",
382
+ "responseCode":200
383
+ },
384
+ "input":{"shape":"RegisterDeviceRequest"},
385
+ "output":{"shape":"RegisterDeviceResponse"},
386
+ "errors":[
387
+ {
388
+ "shape":"NotAuthorizedException",
389
+ "error":{
390
+ "code":"NotAuthorizedError",
391
+ "httpStatusCode":403,
392
+ "senderFault":true
393
+ },
394
+ "exception":true
395
+ },
396
+ {
397
+ "shape":"InvalidParameterException",
398
+ "error":{
399
+ "code":"InvalidParameter",
400
+ "httpStatusCode":400,
401
+ "senderFault":true
402
+ },
403
+ "exception":true
404
+ },
405
+ {
406
+ "shape":"ResourceNotFoundException",
407
+ "error":{
408
+ "code":"ResourceNotFound",
409
+ "httpStatusCode":404,
410
+ "senderFault":true
411
+ },
412
+ "exception":true
413
+ },
414
+ {
415
+ "shape":"InternalErrorException",
416
+ "error":{
417
+ "code":"InternalError",
418
+ "httpStatusCode":500
419
+ },
420
+ "exception":true,
421
+ "fault":true
422
+ },
423
+ {
424
+ "shape":"InvalidConfigurationException",
425
+ "error":{
426
+ "code":"InvalidConfiguration",
427
+ "httpStatusCode":400,
428
+ "senderFault":true
429
+ },
430
+ "exception":true
431
+ }
432
+ ]
433
+ },
434
+ "SetIdentityPoolConfiguration":{
435
+ "name":"SetIdentityPoolConfiguration",
436
+ "http":{
437
+ "method":"POST",
438
+ "requestUri":"/identitypools/{IdentityPoolId}/configuration",
439
+ "responseCode":200
440
+ },
441
+ "input":{"shape":"SetIdentityPoolConfigurationRequest"},
442
+ "output":{"shape":"SetIdentityPoolConfigurationResponse"},
443
+ "errors":[
444
+ {
445
+ "shape":"NotAuthorizedException",
446
+ "error":{
447
+ "code":"NotAuthorizedError",
448
+ "httpStatusCode":403,
449
+ "senderFault":true
450
+ },
451
+ "exception":true
452
+ },
453
+ {
454
+ "shape":"InvalidParameterException",
455
+ "error":{
456
+ "code":"InvalidParameter",
457
+ "httpStatusCode":400,
458
+ "senderFault":true
459
+ },
460
+ "exception":true
461
+ },
462
+ {
463
+ "shape":"ResourceNotFoundException",
464
+ "error":{
465
+ "code":"ResourceNotFound",
466
+ "httpStatusCode":404,
467
+ "senderFault":true
468
+ },
469
+ "exception":true
470
+ },
471
+ {
472
+ "shape":"InternalErrorException",
473
+ "error":{
474
+ "code":"InternalError",
475
+ "httpStatusCode":500
476
+ },
477
+ "exception":true,
478
+ "fault":true
479
+ }
480
+ ]
481
+ },
482
+ "SubscribeToDataset":{
483
+ "name":"SubscribeToDataset",
484
+ "http":{
485
+ "method":"POST",
486
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
487
+ "responseCode":200
488
+ },
489
+ "input":{"shape":"SubscribeToDatasetRequest"},
490
+ "output":{"shape":"SubscribeToDatasetResponse"},
491
+ "errors":[
492
+ {
493
+ "shape":"NotAuthorizedException",
494
+ "error":{
495
+ "code":"NotAuthorizedError",
496
+ "httpStatusCode":403,
497
+ "senderFault":true
498
+ },
499
+ "exception":true
500
+ },
501
+ {
502
+ "shape":"InvalidParameterException",
503
+ "error":{
504
+ "code":"InvalidParameter",
505
+ "httpStatusCode":400,
506
+ "senderFault":true
507
+ },
508
+ "exception":true
509
+ },
510
+ {
511
+ "shape":"ResourceNotFoundException",
512
+ "error":{
513
+ "code":"ResourceNotFound",
514
+ "httpStatusCode":404,
515
+ "senderFault":true
516
+ },
517
+ "exception":true
518
+ },
519
+ {
520
+ "shape":"InternalErrorException",
521
+ "error":{
522
+ "code":"InternalError",
523
+ "httpStatusCode":500
524
+ },
525
+ "exception":true,
526
+ "fault":true
527
+ },
528
+ {
529
+ "shape":"InvalidConfigurationException",
530
+ "error":{
531
+ "code":"InvalidConfiguration",
532
+ "httpStatusCode":400,
533
+ "senderFault":true
534
+ },
535
+ "exception":true
536
+ }
537
+ ]
538
+ },
539
+ "UnsubscribeFromDataset":{
540
+ "name":"UnsubscribeFromDataset",
541
+ "http":{
542
+ "method":"DELETE",
543
+ "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
544
+ "responseCode":200
545
+ },
546
+ "input":{"shape":"UnsubscribeFromDatasetRequest"},
547
+ "output":{"shape":"UnsubscribeFromDatasetResponse"},
548
+ "errors":[
549
+ {
550
+ "shape":"NotAuthorizedException",
551
+ "error":{
552
+ "code":"NotAuthorizedError",
553
+ "httpStatusCode":403,
554
+ "senderFault":true
555
+ },
556
+ "exception":true
557
+ },
558
+ {
559
+ "shape":"InvalidParameterException",
560
+ "error":{
561
+ "code":"InvalidParameter",
562
+ "httpStatusCode":400,
563
+ "senderFault":true
564
+ },
565
+ "exception":true
566
+ },
567
+ {
568
+ "shape":"ResourceNotFoundException",
569
+ "error":{
570
+ "code":"ResourceNotFound",
571
+ "httpStatusCode":404,
572
+ "senderFault":true
573
+ },
574
+ "exception":true
575
+ },
576
+ {
577
+ "shape":"InternalErrorException",
578
+ "error":{
579
+ "code":"InternalError",
580
+ "httpStatusCode":500
581
+ },
582
+ "exception":true,
583
+ "fault":true
584
+ },
585
+ {
586
+ "shape":"InvalidConfigurationException",
587
+ "error":{
588
+ "code":"InvalidConfiguration",
589
+ "httpStatusCode":400,
590
+ "senderFault":true
591
+ },
221
592
  "exception":true
222
593
  }
223
594
  ]
@@ -234,43 +605,85 @@
234
605
  "errors":[
235
606
  {
236
607
  "shape":"InvalidParameterException",
237
- "error":{"httpStatusCode":400},
608
+ "error":{
609
+ "code":"InvalidParameter",
610
+ "httpStatusCode":400,
611
+ "senderFault":true
612
+ },
238
613
  "exception":true
239
614
  },
240
615
  {
241
616
  "shape":"LimitExceededException",
242
- "error":{"httpStatusCode":400},
617
+ "error":{
618
+ "code":"LimitExceeded",
619
+ "httpStatusCode":400,
620
+ "senderFault":true
621
+ },
243
622
  "exception":true
244
623
  },
245
624
  {
246
625
  "shape":"NotAuthorizedException",
247
- "error":{"httpStatusCode":403},
626
+ "error":{
627
+ "code":"NotAuthorizedError",
628
+ "httpStatusCode":403,
629
+ "senderFault":true
630
+ },
248
631
  "exception":true
249
632
  },
250
633
  {
251
634
  "shape":"ResourceNotFoundException",
252
- "error":{"httpStatusCode":404},
635
+ "error":{
636
+ "code":"ResourceNotFound",
637
+ "httpStatusCode":404,
638
+ "senderFault":true
639
+ },
253
640
  "exception":true
254
641
  },
255
642
  {
256
643
  "shape":"ResourceConflictException",
257
- "error":{"httpStatusCode":409},
644
+ "error":{
645
+ "code":"ResourceConflict",
646
+ "httpStatusCode":409,
647
+ "senderFault":true
648
+ },
258
649
  "exception":true
259
650
  },
260
651
  {
261
652
  "shape":"TooManyRequestsException",
262
- "error":{"httpStatusCode":429},
653
+ "error":{
654
+ "code":"TooManyRequests",
655
+ "httpStatusCode":429,
656
+ "senderFault":true
657
+ },
263
658
  "exception":true
264
659
  },
265
660
  {
266
661
  "shape":"InternalErrorException",
267
- "error":{"httpStatusCode":500},
268
- "exception":true
662
+ "error":{
663
+ "code":"InternalError",
664
+ "httpStatusCode":500
665
+ },
666
+ "exception":true,
667
+ "fault":true
269
668
  }
270
669
  ]
271
670
  }
272
671
  },
273
672
  "shapes":{
673
+ "ApplicationArn":{
674
+ "type":"string",
675
+ "pattern":"arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+"
676
+ },
677
+ "ApplicationArnList":{
678
+ "type":"list",
679
+ "member":{"shape":"ApplicationArn"}
680
+ },
681
+ "AssumeRoleArn":{
682
+ "type":"string",
683
+ "min":20,
684
+ "max":2048,
685
+ "pattern":"arn:aws:iam::\\d+:role/.*"
686
+ },
274
687
  "Boolean":{"type":"boolean"},
275
688
  "ClientContext":{"type":"string"},
276
689
  "Dataset":{
@@ -400,7 +813,30 @@
400
813
  "IdentityUsage":{"shape":"IdentityUsage"}
401
814
  }
402
815
  },
816
+ "DeviceId":{
817
+ "type":"string",
818
+ "min":1,
819
+ "max":256
820
+ },
403
821
  "ExceptionMessage":{"type":"string"},
822
+ "GetIdentityPoolConfigurationRequest":{
823
+ "type":"structure",
824
+ "required":["IdentityPoolId"],
825
+ "members":{
826
+ "IdentityPoolId":{
827
+ "shape":"IdentityPoolId",
828
+ "location":"uri",
829
+ "locationName":"IdentityPoolId"
830
+ }
831
+ }
832
+ },
833
+ "GetIdentityPoolConfigurationResponse":{
834
+ "type":"structure",
835
+ "members":{
836
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
837
+ "PushSync":{"shape":"PushSync"}
838
+ }
839
+ },
404
840
  "IdentityId":{
405
841
  "type":"string",
406
842
  "min":1,
@@ -444,7 +880,24 @@
444
880
  "members":{
445
881
  "message":{"shape":"ExceptionMessage"}
446
882
  },
447
- "error":{"httpStatusCode":500},
883
+ "error":{
884
+ "code":"InternalError",
885
+ "httpStatusCode":500
886
+ },
887
+ "exception":true,
888
+ "fault":true
889
+ },
890
+ "InvalidConfigurationException":{
891
+ "type":"structure",
892
+ "required":["message"],
893
+ "members":{
894
+ "message":{"shape":"ExceptionMessage"}
895
+ },
896
+ "error":{
897
+ "code":"InvalidConfiguration",
898
+ "httpStatusCode":400,
899
+ "senderFault":true
900
+ },
448
901
  "exception":true
449
902
  },
450
903
  "InvalidParameterException":{
@@ -453,7 +906,11 @@
453
906
  "members":{
454
907
  "message":{"shape":"ExceptionMessage"}
455
908
  },
456
- "error":{"httpStatusCode":400},
909
+ "error":{
910
+ "code":"InvalidParameter",
911
+ "httpStatusCode":400,
912
+ "senderFault":true
913
+ },
457
914
  "exception":true
458
915
  },
459
916
  "LimitExceededException":{
@@ -462,7 +919,11 @@
462
919
  "members":{
463
920
  "message":{"shape":"ExceptionMessage"}
464
921
  },
465
- "error":{"httpStatusCode":400},
922
+ "error":{
923
+ "code":"LimitExceeded",
924
+ "httpStatusCode":400,
925
+ "senderFault":true
926
+ },
466
927
  "exception":true
467
928
  },
468
929
  "ListDatasetsRequest":{
@@ -596,7 +1057,11 @@
596
1057
  "members":{
597
1058
  "message":{"shape":"ExceptionMessage"}
598
1059
  },
599
- "error":{"httpStatusCode":403},
1060
+ "error":{
1061
+ "code":"NotAuthorizedError",
1062
+ "httpStatusCode":403,
1063
+ "senderFault":true
1064
+ },
600
1065
  "exception":true
601
1066
  },
602
1067
  "Operation":{
@@ -606,6 +1071,23 @@
606
1071
  "remove"
607
1072
  ]
608
1073
  },
1074
+ "Platform":{
1075
+ "type":"string",
1076
+ "enum":[
1077
+ "APNS",
1078
+ "APNS_SANDBOX",
1079
+ "GCM",
1080
+ "ADM"
1081
+ ]
1082
+ },
1083
+ "PushSync":{
1084
+ "type":"structure",
1085
+ "members":{
1086
+ "ApplicationArns":{"shape":"ApplicationArnList"},
1087
+ "RoleArn":{"shape":"AssumeRoleArn"}
1088
+ }
1089
+ },
1090
+ "PushToken":{"type":"string"},
609
1091
  "Record":{
610
1092
  "type":"structure",
611
1093
  "members":{
@@ -649,13 +1131,46 @@
649
1131
  "type":"string",
650
1132
  "max":1048575
651
1133
  },
1134
+ "RegisterDeviceRequest":{
1135
+ "type":"structure",
1136
+ "required":[
1137
+ "IdentityPoolId",
1138
+ "IdentityId",
1139
+ "Platform",
1140
+ "Token"
1141
+ ],
1142
+ "members":{
1143
+ "IdentityPoolId":{
1144
+ "shape":"IdentityPoolId",
1145
+ "location":"uri",
1146
+ "locationName":"IdentityPoolId"
1147
+ },
1148
+ "IdentityId":{
1149
+ "shape":"IdentityId",
1150
+ "location":"uri",
1151
+ "locationName":"IdentityId"
1152
+ },
1153
+ "Platform":{"shape":"Platform"},
1154
+ "Token":{"shape":"PushToken"}
1155
+ }
1156
+ },
1157
+ "RegisterDeviceResponse":{
1158
+ "type":"structure",
1159
+ "members":{
1160
+ "DeviceId":{"shape":"DeviceId"}
1161
+ }
1162
+ },
652
1163
  "ResourceConflictException":{
653
1164
  "type":"structure",
654
1165
  "required":["message"],
655
1166
  "members":{
656
1167
  "message":{"shape":"ExceptionMessage"}
657
1168
  },
658
- "error":{"httpStatusCode":409},
1169
+ "error":{
1170
+ "code":"ResourceConflict",
1171
+ "httpStatusCode":409,
1172
+ "senderFault":true
1173
+ },
659
1174
  "exception":true
660
1175
  },
661
1176
  "ResourceNotFoundException":{
@@ -664,10 +1179,69 @@
664
1179
  "members":{
665
1180
  "message":{"shape":"ExceptionMessage"}
666
1181
  },
667
- "error":{"httpStatusCode":404},
1182
+ "error":{
1183
+ "code":"ResourceNotFound",
1184
+ "httpStatusCode":404,
1185
+ "senderFault":true
1186
+ },
668
1187
  "exception":true
669
1188
  },
1189
+ "SetIdentityPoolConfigurationRequest":{
1190
+ "type":"structure",
1191
+ "required":["IdentityPoolId"],
1192
+ "members":{
1193
+ "IdentityPoolId":{
1194
+ "shape":"IdentityPoolId",
1195
+ "location":"uri",
1196
+ "locationName":"IdentityPoolId"
1197
+ },
1198
+ "PushSync":{"shape":"PushSync"}
1199
+ }
1200
+ },
1201
+ "SetIdentityPoolConfigurationResponse":{
1202
+ "type":"structure",
1203
+ "members":{
1204
+ "IdentityPoolId":{"shape":"IdentityPoolId"},
1205
+ "PushSync":{"shape":"PushSync"}
1206
+ }
1207
+ },
670
1208
  "String":{"type":"string"},
1209
+ "SubscribeToDatasetRequest":{
1210
+ "type":"structure",
1211
+ "required":[
1212
+ "IdentityPoolId",
1213
+ "IdentityId",
1214
+ "DatasetName",
1215
+ "DeviceId"
1216
+ ],
1217
+ "members":{
1218
+ "IdentityPoolId":{
1219
+ "shape":"IdentityPoolId",
1220
+ "location":"uri",
1221
+ "locationName":"IdentityPoolId"
1222
+ },
1223
+ "IdentityId":{
1224
+ "shape":"IdentityId",
1225
+ "location":"uri",
1226
+ "locationName":"IdentityId"
1227
+ },
1228
+ "DatasetName":{
1229
+ "shape":"DatasetName",
1230
+ "location":"uri",
1231
+ "locationName":"DatasetName"
1232
+ },
1233
+ "DeviceId":{
1234
+ "shape":"DeviceId",
1235
+ "location":"uri",
1236
+ "locationName":"DeviceId"
1237
+ }
1238
+ }
1239
+ },
1240
+ "SubscribeToDatasetResponse":{
1241
+ "type":"structure",
1242
+ "members":{
1243
+ }
1244
+ },
671
1245
  "SyncSessionToken":{"type":"string"},
672
1246
  "TooManyRequestsException":{
673
1247
  "type":"structure",
@@ -675,9 +1249,49 @@
675
1249
  "members":{
676
1250
  "message":{"shape":"ExceptionMessage"}
677
1251
  },
678
- "error":{"httpStatusCode":429},
1252
+ "error":{
1253
+ "code":"TooManyRequests",
1254
+ "httpStatusCode":429,
1255
+ "senderFault":true
1256
+ },
679
1257
  "exception":true
680
1258
  },
1259
+ "UnsubscribeFromDatasetRequest":{
1260
+ "type":"structure",
1261
+ "required":[
1262
+ "IdentityPoolId",
1263
+ "IdentityId",
1264
+ "DatasetName",
1265
+ "DeviceId"
1266
+ ],
1267
+ "members":{
1268
+ "IdentityPoolId":{
1269
+ "shape":"IdentityPoolId",
1270
+ "location":"uri",
1271
+ "locationName":"IdentityPoolId"
1272
+ },
1273
+ "IdentityId":{
1274
+ "shape":"IdentityId",
1275
+ "location":"uri",
1276
+ "locationName":"IdentityId"
1277
+ },
1278
+ "DatasetName":{
1279
+ "shape":"DatasetName",
1280
+ "location":"uri",
1281
+ "locationName":"DatasetName"
1282
+ },
1283
+ "DeviceId":{
1284
+ "shape":"DeviceId",
1285
+ "location":"uri",
1286
+ "locationName":"DeviceId"
1287
+ }
1288
+ }
1289
+ },
1290
+ "UnsubscribeFromDatasetResponse":{
1291
+ "type":"structure",
1292
+ "members":{
1293
+ }
1294
+ },
681
1295
  "UpdateRecordsRequest":{
682
1296
  "type":"structure",
683
1297
  "required":[
@@ -702,6 +1316,7 @@
702
1316
  "location":"uri",
703
1317
  "locationName":"DatasetName"
704
1318
  },
1319
+ "DeviceId":{"shape":"DeviceId"},
705
1320
  "RecordPatches":{"shape":"RecordPatchList"},
706
1321
  "SyncSessionToken":{"shape":"SyncSessionToken"},
707
1322
  "ClientContext":{