aws-sdk-core 2.1.28 → 2.1.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2851 @@
1
+ {
2
+ "version":"2.0",
3
+ "metadata":{
4
+ "apiVersion":"2015-05-28",
5
+ "endpointPrefix":"iot",
6
+ "serviceFullName":"AWS IoT",
7
+ "signatureVersion":"v4",
8
+ "signingName":"execute-api",
9
+ "protocol":"rest-json"
10
+ },
11
+ "operations":{
12
+ "AcceptCertificateTransfer":{
13
+ "name":"AcceptCertificateTransfer",
14
+ "http":{
15
+ "method":"PATCH",
16
+ "requestUri":"/accept-certificate-transfer/{certificateId}"
17
+ },
18
+ "input":{"shape":"AcceptCertificateTransferRequest"},
19
+ "errors":[
20
+ {
21
+ "shape":"ResourceNotFoundException",
22
+ "error":{"httpStatusCode":404},
23
+ "exception":true
24
+ },
25
+ {
26
+ "shape":"TransferAlreadyCompletedException",
27
+ "error":{"httpStatusCode":410},
28
+ "exception":true
29
+ },
30
+ {
31
+ "shape":"InvalidRequestException",
32
+ "error":{"httpStatusCode":400},
33
+ "exception":true
34
+ },
35
+ {
36
+ "shape":"ThrottlingException",
37
+ "error":{"httpStatusCode":429},
38
+ "exception":true
39
+ },
40
+ {
41
+ "shape":"UnauthorizedException",
42
+ "error":{"httpStatusCode":401},
43
+ "exception":true
44
+ },
45
+ {
46
+ "shape":"ServiceUnavailableException",
47
+ "error":{"httpStatusCode":503},
48
+ "exception":true,
49
+ "fault":true
50
+ },
51
+ {
52
+ "shape":"InternalFailureException",
53
+ "error":{"httpStatusCode":500},
54
+ "exception":true,
55
+ "fault":true
56
+ }
57
+ ]
58
+ },
59
+ "AttachPrincipalPolicy":{
60
+ "name":"AttachPrincipalPolicy",
61
+ "http":{
62
+ "method":"PUT",
63
+ "requestUri":"/principal-policies/{policyName}"
64
+ },
65
+ "input":{"shape":"AttachPrincipalPolicyRequest"},
66
+ "errors":[
67
+ {
68
+ "shape":"ResourceNotFoundException",
69
+ "error":{"httpStatusCode":404},
70
+ "exception":true
71
+ },
72
+ {
73
+ "shape":"InvalidRequestException",
74
+ "error":{"httpStatusCode":400},
75
+ "exception":true
76
+ },
77
+ {
78
+ "shape":"ThrottlingException",
79
+ "error":{"httpStatusCode":429},
80
+ "exception":true
81
+ },
82
+ {
83
+ "shape":"UnauthorizedException",
84
+ "error":{"httpStatusCode":401},
85
+ "exception":true
86
+ },
87
+ {
88
+ "shape":"ServiceUnavailableException",
89
+ "error":{"httpStatusCode":503},
90
+ "exception":true,
91
+ "fault":true
92
+ },
93
+ {
94
+ "shape":"InternalFailureException",
95
+ "error":{"httpStatusCode":500},
96
+ "exception":true,
97
+ "fault":true
98
+ },
99
+ {
100
+ "shape":"LimitExceededException",
101
+ "error":{"httpStatusCode":410},
102
+ "exception":true
103
+ }
104
+ ]
105
+ },
106
+ "AttachThingPrincipal":{
107
+ "name":"AttachThingPrincipal",
108
+ "http":{
109
+ "method":"PUT",
110
+ "requestUri":"/things/{thingName}/principals"
111
+ },
112
+ "input":{"shape":"AttachThingPrincipalRequest"},
113
+ "output":{"shape":"AttachThingPrincipalResponse"},
114
+ "errors":[
115
+ {
116
+ "shape":"ResourceNotFoundException",
117
+ "error":{"httpStatusCode":404},
118
+ "exception":true
119
+ },
120
+ {
121
+ "shape":"InvalidRequestException",
122
+ "error":{"httpStatusCode":400},
123
+ "exception":true
124
+ },
125
+ {
126
+ "shape":"ThrottlingException",
127
+ "error":{"httpStatusCode":429},
128
+ "exception":true
129
+ },
130
+ {
131
+ "shape":"UnauthorizedException",
132
+ "error":{"httpStatusCode":401},
133
+ "exception":true
134
+ },
135
+ {
136
+ "shape":"ServiceUnavailableException",
137
+ "error":{"httpStatusCode":503},
138
+ "exception":true,
139
+ "fault":true
140
+ },
141
+ {
142
+ "shape":"InternalFailureException",
143
+ "error":{"httpStatusCode":500},
144
+ "exception":true,
145
+ "fault":true
146
+ }
147
+ ]
148
+ },
149
+ "CancelCertificateTransfer":{
150
+ "name":"CancelCertificateTransfer",
151
+ "http":{
152
+ "method":"PATCH",
153
+ "requestUri":"/cancel-certificate-transfer/{certificateId}"
154
+ },
155
+ "input":{"shape":"CancelCertificateTransferRequest"},
156
+ "errors":[
157
+ {
158
+ "shape":"ResourceNotFoundException",
159
+ "error":{"httpStatusCode":404},
160
+ "exception":true
161
+ },
162
+ {
163
+ "shape":"TransferAlreadyCompletedException",
164
+ "error":{"httpStatusCode":410},
165
+ "exception":true
166
+ },
167
+ {
168
+ "shape":"InvalidRequestException",
169
+ "error":{"httpStatusCode":400},
170
+ "exception":true
171
+ },
172
+ {
173
+ "shape":"ThrottlingException",
174
+ "error":{"httpStatusCode":429},
175
+ "exception":true
176
+ },
177
+ {
178
+ "shape":"UnauthorizedException",
179
+ "error":{"httpStatusCode":401},
180
+ "exception":true
181
+ },
182
+ {
183
+ "shape":"ServiceUnavailableException",
184
+ "error":{"httpStatusCode":503},
185
+ "exception":true,
186
+ "fault":true
187
+ },
188
+ {
189
+ "shape":"InternalFailureException",
190
+ "error":{"httpStatusCode":500},
191
+ "exception":true,
192
+ "fault":true
193
+ }
194
+ ]
195
+ },
196
+ "CreateCertificateFromCsr":{
197
+ "name":"CreateCertificateFromCsr",
198
+ "http":{
199
+ "method":"POST",
200
+ "requestUri":"/certificates"
201
+ },
202
+ "input":{"shape":"CreateCertificateFromCsrRequest"},
203
+ "output":{"shape":"CreateCertificateFromCsrResponse"},
204
+ "errors":[
205
+ {
206
+ "shape":"InvalidRequestException",
207
+ "error":{"httpStatusCode":400},
208
+ "exception":true
209
+ },
210
+ {
211
+ "shape":"ThrottlingException",
212
+ "error":{"httpStatusCode":429},
213
+ "exception":true
214
+ },
215
+ {
216
+ "shape":"UnauthorizedException",
217
+ "error":{"httpStatusCode":401},
218
+ "exception":true
219
+ },
220
+ {
221
+ "shape":"ServiceUnavailableException",
222
+ "error":{"httpStatusCode":503},
223
+ "exception":true,
224
+ "fault":true
225
+ },
226
+ {
227
+ "shape":"InternalFailureException",
228
+ "error":{"httpStatusCode":500},
229
+ "exception":true,
230
+ "fault":true
231
+ }
232
+ ]
233
+ },
234
+ "CreateKeysAndCertificate":{
235
+ "name":"CreateKeysAndCertificate",
236
+ "http":{
237
+ "method":"POST",
238
+ "requestUri":"/keys-and-certificate"
239
+ },
240
+ "input":{"shape":"CreateKeysAndCertificateRequest"},
241
+ "output":{"shape":"CreateKeysAndCertificateResponse"},
242
+ "errors":[
243
+ {
244
+ "shape":"InvalidRequestException",
245
+ "error":{"httpStatusCode":400},
246
+ "exception":true
247
+ },
248
+ {
249
+ "shape":"ThrottlingException",
250
+ "error":{"httpStatusCode":429},
251
+ "exception":true
252
+ },
253
+ {
254
+ "shape":"UnauthorizedException",
255
+ "error":{"httpStatusCode":401},
256
+ "exception":true
257
+ },
258
+ {
259
+ "shape":"ServiceUnavailableException",
260
+ "error":{"httpStatusCode":503},
261
+ "exception":true,
262
+ "fault":true
263
+ },
264
+ {
265
+ "shape":"InternalFailureException",
266
+ "error":{"httpStatusCode":500},
267
+ "exception":true,
268
+ "fault":true
269
+ }
270
+ ]
271
+ },
272
+ "CreatePolicy":{
273
+ "name":"CreatePolicy",
274
+ "http":{
275
+ "method":"POST",
276
+ "requestUri":"/policies/{policyName}"
277
+ },
278
+ "input":{"shape":"CreatePolicyRequest"},
279
+ "output":{"shape":"CreatePolicyResponse"},
280
+ "errors":[
281
+ {
282
+ "shape":"ResourceAlreadyExistsException",
283
+ "error":{"httpStatusCode":409},
284
+ "exception":true
285
+ },
286
+ {
287
+ "shape":"MalformedPolicyException",
288
+ "error":{"httpStatusCode":400},
289
+ "exception":true
290
+ },
291
+ {
292
+ "shape":"InvalidRequestException",
293
+ "error":{"httpStatusCode":400},
294
+ "exception":true
295
+ },
296
+ {
297
+ "shape":"ThrottlingException",
298
+ "error":{"httpStatusCode":429},
299
+ "exception":true
300
+ },
301
+ {
302
+ "shape":"UnauthorizedException",
303
+ "error":{"httpStatusCode":401},
304
+ "exception":true
305
+ },
306
+ {
307
+ "shape":"ServiceUnavailableException",
308
+ "error":{"httpStatusCode":503},
309
+ "exception":true,
310
+ "fault":true
311
+ },
312
+ {
313
+ "shape":"InternalFailureException",
314
+ "error":{"httpStatusCode":500},
315
+ "exception":true,
316
+ "fault":true
317
+ }
318
+ ]
319
+ },
320
+ "CreatePolicyVersion":{
321
+ "name":"CreatePolicyVersion",
322
+ "http":{
323
+ "method":"POST",
324
+ "requestUri":"/policies/{policyName}/version"
325
+ },
326
+ "input":{"shape":"CreatePolicyVersionRequest"},
327
+ "output":{"shape":"CreatePolicyVersionResponse"},
328
+ "errors":[
329
+ {
330
+ "shape":"ResourceNotFoundException",
331
+ "error":{"httpStatusCode":404},
332
+ "exception":true
333
+ },
334
+ {
335
+ "shape":"MalformedPolicyException",
336
+ "error":{"httpStatusCode":400},
337
+ "exception":true
338
+ },
339
+ {
340
+ "shape":"VersionsLimitExceededException",
341
+ "error":{"httpStatusCode":409},
342
+ "exception":true
343
+ },
344
+ {
345
+ "shape":"InvalidRequestException",
346
+ "error":{"httpStatusCode":400},
347
+ "exception":true
348
+ },
349
+ {
350
+ "shape":"ThrottlingException",
351
+ "error":{"httpStatusCode":429},
352
+ "exception":true
353
+ },
354
+ {
355
+ "shape":"UnauthorizedException",
356
+ "error":{"httpStatusCode":401},
357
+ "exception":true
358
+ },
359
+ {
360
+ "shape":"ServiceUnavailableException",
361
+ "error":{"httpStatusCode":503},
362
+ "exception":true,
363
+ "fault":true
364
+ },
365
+ {
366
+ "shape":"InternalFailureException",
367
+ "error":{"httpStatusCode":500},
368
+ "exception":true,
369
+ "fault":true
370
+ }
371
+ ]
372
+ },
373
+ "CreateThing":{
374
+ "name":"CreateThing",
375
+ "http":{
376
+ "method":"POST",
377
+ "requestUri":"/things/{thingName}"
378
+ },
379
+ "input":{"shape":"CreateThingRequest"},
380
+ "output":{"shape":"CreateThingResponse"},
381
+ "errors":[
382
+ {
383
+ "shape":"InvalidRequestException",
384
+ "error":{"httpStatusCode":400},
385
+ "exception":true
386
+ },
387
+ {
388
+ "shape":"ThrottlingException",
389
+ "error":{"httpStatusCode":429},
390
+ "exception":true
391
+ },
392
+ {
393
+ "shape":"UnauthorizedException",
394
+ "error":{"httpStatusCode":401},
395
+ "exception":true
396
+ },
397
+ {
398
+ "shape":"ServiceUnavailableException",
399
+ "error":{"httpStatusCode":503},
400
+ "exception":true,
401
+ "fault":true
402
+ },
403
+ {
404
+ "shape":"InternalFailureException",
405
+ "error":{"httpStatusCode":500},
406
+ "exception":true,
407
+ "fault":true
408
+ },
409
+ {
410
+ "shape":"ResourceAlreadyExistsException",
411
+ "error":{"httpStatusCode":409},
412
+ "exception":true
413
+ }
414
+ ]
415
+ },
416
+ "CreateTopicRule":{
417
+ "name":"CreateTopicRule",
418
+ "http":{
419
+ "method":"POST",
420
+ "requestUri":"/rules/{ruleName}"
421
+ },
422
+ "input":{"shape":"CreateTopicRuleRequest"},
423
+ "errors":[
424
+ {
425
+ "shape":"SqlParseException",
426
+ "error":{"httpStatusCode":406},
427
+ "exception":true
428
+ },
429
+ {
430
+ "shape":"InternalException",
431
+ "error":{"httpStatusCode":500},
432
+ "exception":true,
433
+ "fault":true
434
+ },
435
+ {
436
+ "shape":"InvalidRequestException",
437
+ "error":{"httpStatusCode":400},
438
+ "exception":true
439
+ },
440
+ {
441
+ "shape":"ResourceAlreadyExistsException",
442
+ "error":{"httpStatusCode":409},
443
+ "exception":true
444
+ },
445
+ {
446
+ "shape":"ServiceUnavailableException",
447
+ "error":{"httpStatusCode":503},
448
+ "exception":true,
449
+ "fault":true
450
+ }
451
+ ]
452
+ },
453
+ "DeleteCertificate":{
454
+ "name":"DeleteCertificate",
455
+ "http":{
456
+ "method":"DELETE",
457
+ "requestUri":"/certificates/{certificateId}"
458
+ },
459
+ "input":{"shape":"DeleteCertificateRequest"},
460
+ "errors":[
461
+ {
462
+ "shape":"DeleteConflictException",
463
+ "error":{"httpStatusCode":409},
464
+ "exception":true
465
+ },
466
+ {
467
+ "shape":"ResourceNotFoundException",
468
+ "error":{"httpStatusCode":404},
469
+ "exception":true
470
+ },
471
+ {
472
+ "shape":"CertificateStateException",
473
+ "error":{"httpStatusCode":406},
474
+ "exception":true
475
+ }
476
+ ]
477
+ },
478
+ "DeletePolicy":{
479
+ "name":"DeletePolicy",
480
+ "http":{
481
+ "method":"DELETE",
482
+ "requestUri":"/policies/{policyName}"
483
+ },
484
+ "input":{"shape":"DeletePolicyRequest"},
485
+ "errors":[
486
+ {
487
+ "shape":"DeleteConflictException",
488
+ "error":{"httpStatusCode":409},
489
+ "exception":true
490
+ },
491
+ {
492
+ "shape":"ResourceNotFoundException",
493
+ "error":{"httpStatusCode":404},
494
+ "exception":true
495
+ },
496
+ {
497
+ "shape":"InvalidRequestException",
498
+ "error":{"httpStatusCode":400},
499
+ "exception":true
500
+ },
501
+ {
502
+ "shape":"ThrottlingException",
503
+ "error":{"httpStatusCode":429},
504
+ "exception":true
505
+ },
506
+ {
507
+ "shape":"UnauthorizedException",
508
+ "error":{"httpStatusCode":401},
509
+ "exception":true
510
+ },
511
+ {
512
+ "shape":"ServiceUnavailableException",
513
+ "error":{"httpStatusCode":503},
514
+ "exception":true,
515
+ "fault":true
516
+ },
517
+ {
518
+ "shape":"InternalFailureException",
519
+ "error":{"httpStatusCode":500},
520
+ "exception":true,
521
+ "fault":true
522
+ }
523
+ ]
524
+ },
525
+ "DeletePolicyVersion":{
526
+ "name":"DeletePolicyVersion",
527
+ "http":{
528
+ "method":"DELETE",
529
+ "requestUri":"/policies/{policyName}/version/{policyVersionId}"
530
+ },
531
+ "input":{"shape":"DeletePolicyVersionRequest"},
532
+ "errors":[
533
+ {
534
+ "shape":"DeleteConflictException",
535
+ "error":{"httpStatusCode":409},
536
+ "exception":true
537
+ },
538
+ {
539
+ "shape":"ResourceNotFoundException",
540
+ "error":{"httpStatusCode":404},
541
+ "exception":true
542
+ },
543
+ {
544
+ "shape":"InvalidRequestException",
545
+ "error":{"httpStatusCode":400},
546
+ "exception":true
547
+ },
548
+ {
549
+ "shape":"ThrottlingException",
550
+ "error":{"httpStatusCode":429},
551
+ "exception":true
552
+ },
553
+ {
554
+ "shape":"UnauthorizedException",
555
+ "error":{"httpStatusCode":401},
556
+ "exception":true
557
+ },
558
+ {
559
+ "shape":"ServiceUnavailableException",
560
+ "error":{"httpStatusCode":503},
561
+ "exception":true,
562
+ "fault":true
563
+ },
564
+ {
565
+ "shape":"InternalFailureException",
566
+ "error":{"httpStatusCode":500},
567
+ "exception":true,
568
+ "fault":true
569
+ }
570
+ ]
571
+ },
572
+ "DeleteThing":{
573
+ "name":"DeleteThing",
574
+ "http":{
575
+ "method":"DELETE",
576
+ "requestUri":"/things/{thingName}"
577
+ },
578
+ "input":{"shape":"DeleteThingRequest"},
579
+ "output":{"shape":"DeleteThingResponse"},
580
+ "errors":[
581
+ {
582
+ "shape":"ResourceNotFoundException",
583
+ "error":{"httpStatusCode":404},
584
+ "exception":true
585
+ },
586
+ {
587
+ "shape":"InvalidRequestException",
588
+ "error":{"httpStatusCode":400},
589
+ "exception":true
590
+ },
591
+ {
592
+ "shape":"ThrottlingException",
593
+ "error":{"httpStatusCode":429},
594
+ "exception":true
595
+ },
596
+ {
597
+ "shape":"UnauthorizedException",
598
+ "error":{"httpStatusCode":401},
599
+ "exception":true
600
+ },
601
+ {
602
+ "shape":"ServiceUnavailableException",
603
+ "error":{"httpStatusCode":503},
604
+ "exception":true,
605
+ "fault":true
606
+ },
607
+ {
608
+ "shape":"InternalFailureException",
609
+ "error":{"httpStatusCode":500},
610
+ "exception":true,
611
+ "fault":true
612
+ }
613
+ ]
614
+ },
615
+ "DeleteTopicRule":{
616
+ "name":"DeleteTopicRule",
617
+ "http":{
618
+ "method":"DELETE",
619
+ "requestUri":"/rules/{ruleName}"
620
+ },
621
+ "input":{"shape":"DeleteTopicRuleRequest"},
622
+ "errors":[
623
+ {
624
+ "shape":"InternalException",
625
+ "error":{"httpStatusCode":500},
626
+ "exception":true,
627
+ "fault":true
628
+ },
629
+ {
630
+ "shape":"InvalidRequestException",
631
+ "error":{"httpStatusCode":400},
632
+ "exception":true
633
+ },
634
+ {
635
+ "shape":"ServiceUnavailableException",
636
+ "error":{"httpStatusCode":503},
637
+ "exception":true,
638
+ "fault":true
639
+ },
640
+ {
641
+ "shape":"UnauthorizedException",
642
+ "error":{"httpStatusCode":401},
643
+ "exception":true
644
+ }
645
+ ]
646
+ },
647
+ "DescribeCertificate":{
648
+ "name":"DescribeCertificate",
649
+ "http":{
650
+ "method":"GET",
651
+ "requestUri":"/certificates/{certificateId}"
652
+ },
653
+ "input":{"shape":"DescribeCertificateRequest"},
654
+ "output":{"shape":"DescribeCertificateResponse"},
655
+ "errors":[
656
+ {
657
+ "shape":"InvalidRequestException",
658
+ "error":{"httpStatusCode":400},
659
+ "exception":true
660
+ },
661
+ {
662
+ "shape":"ThrottlingException",
663
+ "error":{"httpStatusCode":429},
664
+ "exception":true
665
+ },
666
+ {
667
+ "shape":"UnauthorizedException",
668
+ "error":{"httpStatusCode":401},
669
+ "exception":true
670
+ },
671
+ {
672
+ "shape":"ServiceUnavailableException",
673
+ "error":{"httpStatusCode":503},
674
+ "exception":true,
675
+ "fault":true
676
+ },
677
+ {
678
+ "shape":"InternalFailureException",
679
+ "error":{"httpStatusCode":500},
680
+ "exception":true,
681
+ "fault":true
682
+ },
683
+ {
684
+ "shape":"ResourceNotFoundException",
685
+ "error":{"httpStatusCode":404},
686
+ "exception":true
687
+ }
688
+ ]
689
+ },
690
+ "DescribeEndpoint":{
691
+ "name":"DescribeEndpoint",
692
+ "http":{
693
+ "method":"GET",
694
+ "requestUri":"/endpoint"
695
+ },
696
+ "input":{"shape":"DescribeEndpointRequest"},
697
+ "output":{"shape":"DescribeEndpointResponse"},
698
+ "errors":[
699
+ {
700
+ "shape":"InternalFailureException",
701
+ "error":{"httpStatusCode":500},
702
+ "exception":true,
703
+ "fault":true
704
+ },
705
+ {
706
+ "shape":"UnauthorizedException",
707
+ "error":{"httpStatusCode":401},
708
+ "exception":true
709
+ }
710
+ ]
711
+ },
712
+ "DescribeThing":{
713
+ "name":"DescribeThing",
714
+ "http":{
715
+ "method":"GET",
716
+ "requestUri":"/things/{thingName}"
717
+ },
718
+ "input":{"shape":"DescribeThingRequest"},
719
+ "output":{"shape":"DescribeThingResponse"},
720
+ "errors":[
721
+ {
722
+ "shape":"ResourceNotFoundException",
723
+ "error":{"httpStatusCode":404},
724
+ "exception":true
725
+ },
726
+ {
727
+ "shape":"InvalidRequestException",
728
+ "error":{"httpStatusCode":400},
729
+ "exception":true
730
+ },
731
+ {
732
+ "shape":"ThrottlingException",
733
+ "error":{"httpStatusCode":429},
734
+ "exception":true
735
+ },
736
+ {
737
+ "shape":"UnauthorizedException",
738
+ "error":{"httpStatusCode":401},
739
+ "exception":true
740
+ },
741
+ {
742
+ "shape":"ServiceUnavailableException",
743
+ "error":{"httpStatusCode":503},
744
+ "exception":true,
745
+ "fault":true
746
+ },
747
+ {
748
+ "shape":"InternalFailureException",
749
+ "error":{"httpStatusCode":500},
750
+ "exception":true,
751
+ "fault":true
752
+ }
753
+ ]
754
+ },
755
+ "DetachPrincipalPolicy":{
756
+ "name":"DetachPrincipalPolicy",
757
+ "http":{
758
+ "method":"DELETE",
759
+ "requestUri":"/principal-policies/{policyName}"
760
+ },
761
+ "input":{"shape":"DetachPrincipalPolicyRequest"},
762
+ "errors":[
763
+ {
764
+ "shape":"ResourceNotFoundException",
765
+ "error":{"httpStatusCode":404},
766
+ "exception":true
767
+ },
768
+ {
769
+ "shape":"InvalidRequestException",
770
+ "error":{"httpStatusCode":400},
771
+ "exception":true
772
+ },
773
+ {
774
+ "shape":"ThrottlingException",
775
+ "error":{"httpStatusCode":429},
776
+ "exception":true
777
+ },
778
+ {
779
+ "shape":"UnauthorizedException",
780
+ "error":{"httpStatusCode":401},
781
+ "exception":true
782
+ },
783
+ {
784
+ "shape":"ServiceUnavailableException",
785
+ "error":{"httpStatusCode":503},
786
+ "exception":true,
787
+ "fault":true
788
+ },
789
+ {
790
+ "shape":"InternalFailureException",
791
+ "error":{"httpStatusCode":500},
792
+ "exception":true,
793
+ "fault":true
794
+ }
795
+ ]
796
+ },
797
+ "DetachThingPrincipal":{
798
+ "name":"DetachThingPrincipal",
799
+ "http":{
800
+ "method":"DELETE",
801
+ "requestUri":"/things/{thingName}/principals"
802
+ },
803
+ "input":{"shape":"DetachThingPrincipalRequest"},
804
+ "output":{"shape":"DetachThingPrincipalResponse"},
805
+ "errors":[
806
+ {
807
+ "shape":"ResourceNotFoundException",
808
+ "error":{"httpStatusCode":404},
809
+ "exception":true
810
+ },
811
+ {
812
+ "shape":"InvalidRequestException",
813
+ "error":{"httpStatusCode":400},
814
+ "exception":true
815
+ },
816
+ {
817
+ "shape":"ThrottlingException",
818
+ "error":{"httpStatusCode":429},
819
+ "exception":true
820
+ },
821
+ {
822
+ "shape":"UnauthorizedException",
823
+ "error":{"httpStatusCode":401},
824
+ "exception":true
825
+ },
826
+ {
827
+ "shape":"ServiceUnavailableException",
828
+ "error":{"httpStatusCode":503},
829
+ "exception":true,
830
+ "fault":true
831
+ },
832
+ {
833
+ "shape":"InternalFailureException",
834
+ "error":{"httpStatusCode":500},
835
+ "exception":true,
836
+ "fault":true
837
+ }
838
+ ]
839
+ },
840
+ "GetLoggingOptions":{
841
+ "name":"GetLoggingOptions",
842
+ "http":{
843
+ "method":"GET",
844
+ "requestUri":"/loggingOptions"
845
+ },
846
+ "input":{"shape":"GetLoggingOptionsRequest"},
847
+ "output":{"shape":"GetLoggingOptionsResponse"},
848
+ "errors":[
849
+ {
850
+ "shape":"InternalException",
851
+ "error":{"httpStatusCode":500},
852
+ "exception":true,
853
+ "fault":true
854
+ },
855
+ {
856
+ "shape":"InvalidRequestException",
857
+ "error":{"httpStatusCode":400},
858
+ "exception":true
859
+ },
860
+ {
861
+ "shape":"ServiceUnavailableException",
862
+ "error":{"httpStatusCode":503},
863
+ "exception":true,
864
+ "fault":true
865
+ }
866
+ ]
867
+ },
868
+ "GetPolicy":{
869
+ "name":"GetPolicy",
870
+ "http":{
871
+ "method":"GET",
872
+ "requestUri":"/policies/{policyName}"
873
+ },
874
+ "input":{"shape":"GetPolicyRequest"},
875
+ "output":{"shape":"GetPolicyResponse"},
876
+ "errors":[
877
+ {
878
+ "shape":"ResourceNotFoundException",
879
+ "error":{"httpStatusCode":404},
880
+ "exception":true
881
+ },
882
+ {
883
+ "shape":"InvalidRequestException",
884
+ "error":{"httpStatusCode":400},
885
+ "exception":true
886
+ },
887
+ {
888
+ "shape":"ThrottlingException",
889
+ "error":{"httpStatusCode":429},
890
+ "exception":true
891
+ },
892
+ {
893
+ "shape":"UnauthorizedException",
894
+ "error":{"httpStatusCode":401},
895
+ "exception":true
896
+ },
897
+ {
898
+ "shape":"ServiceUnavailableException",
899
+ "error":{"httpStatusCode":503},
900
+ "exception":true,
901
+ "fault":true
902
+ },
903
+ {
904
+ "shape":"InternalFailureException",
905
+ "error":{"httpStatusCode":500},
906
+ "exception":true,
907
+ "fault":true
908
+ }
909
+ ]
910
+ },
911
+ "GetPolicyVersion":{
912
+ "name":"GetPolicyVersion",
913
+ "http":{
914
+ "method":"GET",
915
+ "requestUri":"/policies/{policyName}/version/{policyVersionId}"
916
+ },
917
+ "input":{"shape":"GetPolicyVersionRequest"},
918
+ "output":{"shape":"GetPolicyVersionResponse"},
919
+ "errors":[
920
+ {
921
+ "shape":"ResourceNotFoundException",
922
+ "error":{"httpStatusCode":404},
923
+ "exception":true
924
+ },
925
+ {
926
+ "shape":"InvalidRequestException",
927
+ "error":{"httpStatusCode":400},
928
+ "exception":true
929
+ },
930
+ {
931
+ "shape":"ThrottlingException",
932
+ "error":{"httpStatusCode":429},
933
+ "exception":true
934
+ },
935
+ {
936
+ "shape":"UnauthorizedException",
937
+ "error":{"httpStatusCode":401},
938
+ "exception":true
939
+ },
940
+ {
941
+ "shape":"ServiceUnavailableException",
942
+ "error":{"httpStatusCode":503},
943
+ "exception":true,
944
+ "fault":true
945
+ },
946
+ {
947
+ "shape":"InternalFailureException",
948
+ "error":{"httpStatusCode":500},
949
+ "exception":true,
950
+ "fault":true
951
+ }
952
+ ]
953
+ },
954
+ "GetTopicRule":{
955
+ "name":"GetTopicRule",
956
+ "http":{
957
+ "method":"GET",
958
+ "requestUri":"/rules/{ruleName}"
959
+ },
960
+ "input":{"shape":"GetTopicRuleRequest"},
961
+ "output":{"shape":"GetTopicRuleResponse"},
962
+ "errors":[
963
+ {
964
+ "shape":"InternalException",
965
+ "error":{"httpStatusCode":500},
966
+ "exception":true,
967
+ "fault":true
968
+ },
969
+ {
970
+ "shape":"InvalidRequestException",
971
+ "error":{"httpStatusCode":400},
972
+ "exception":true
973
+ },
974
+ {
975
+ "shape":"ServiceUnavailableException",
976
+ "error":{"httpStatusCode":503},
977
+ "exception":true,
978
+ "fault":true
979
+ },
980
+ {
981
+ "shape":"UnauthorizedException",
982
+ "error":{"httpStatusCode":401},
983
+ "exception":true
984
+ }
985
+ ]
986
+ },
987
+ "ListCertificates":{
988
+ "name":"ListCertificates",
989
+ "http":{
990
+ "method":"GET",
991
+ "requestUri":"/certificates"
992
+ },
993
+ "input":{"shape":"ListCertificatesRequest"},
994
+ "output":{"shape":"ListCertificatesResponse"},
995
+ "errors":[
996
+ {
997
+ "shape":"InvalidRequestException",
998
+ "error":{"httpStatusCode":400},
999
+ "exception":true
1000
+ },
1001
+ {
1002
+ "shape":"ThrottlingException",
1003
+ "error":{"httpStatusCode":429},
1004
+ "exception":true
1005
+ },
1006
+ {
1007
+ "shape":"UnauthorizedException",
1008
+ "error":{"httpStatusCode":401},
1009
+ "exception":true
1010
+ },
1011
+ {
1012
+ "shape":"ServiceUnavailableException",
1013
+ "error":{"httpStatusCode":503},
1014
+ "exception":true,
1015
+ "fault":true
1016
+ },
1017
+ {
1018
+ "shape":"InternalFailureException",
1019
+ "error":{"httpStatusCode":500},
1020
+ "exception":true,
1021
+ "fault":true
1022
+ }
1023
+ ]
1024
+ },
1025
+ "ListPolicies":{
1026
+ "name":"ListPolicies",
1027
+ "http":{
1028
+ "method":"GET",
1029
+ "requestUri":"/policies"
1030
+ },
1031
+ "input":{"shape":"ListPoliciesRequest"},
1032
+ "output":{"shape":"ListPoliciesResponse"},
1033
+ "errors":[
1034
+ {
1035
+ "shape":"InvalidRequestException",
1036
+ "error":{"httpStatusCode":400},
1037
+ "exception":true
1038
+ },
1039
+ {
1040
+ "shape":"ThrottlingException",
1041
+ "error":{"httpStatusCode":429},
1042
+ "exception":true
1043
+ },
1044
+ {
1045
+ "shape":"UnauthorizedException",
1046
+ "error":{"httpStatusCode":401},
1047
+ "exception":true
1048
+ },
1049
+ {
1050
+ "shape":"ServiceUnavailableException",
1051
+ "error":{"httpStatusCode":503},
1052
+ "exception":true,
1053
+ "fault":true
1054
+ },
1055
+ {
1056
+ "shape":"InternalFailureException",
1057
+ "error":{"httpStatusCode":500},
1058
+ "exception":true,
1059
+ "fault":true
1060
+ }
1061
+ ]
1062
+ },
1063
+ "ListPolicyVersions":{
1064
+ "name":"ListPolicyVersions",
1065
+ "http":{
1066
+ "method":"GET",
1067
+ "requestUri":"/policies/{policyName}/version"
1068
+ },
1069
+ "input":{"shape":"ListPolicyVersionsRequest"},
1070
+ "output":{"shape":"ListPolicyVersionsResponse"},
1071
+ "errors":[
1072
+ {
1073
+ "shape":"ResourceNotFoundException",
1074
+ "error":{"httpStatusCode":404},
1075
+ "exception":true
1076
+ },
1077
+ {
1078
+ "shape":"InvalidRequestException",
1079
+ "error":{"httpStatusCode":400},
1080
+ "exception":true
1081
+ },
1082
+ {
1083
+ "shape":"ThrottlingException",
1084
+ "error":{"httpStatusCode":429},
1085
+ "exception":true
1086
+ },
1087
+ {
1088
+ "shape":"UnauthorizedException",
1089
+ "error":{"httpStatusCode":401},
1090
+ "exception":true
1091
+ },
1092
+ {
1093
+ "shape":"ServiceUnavailableException",
1094
+ "error":{"httpStatusCode":503},
1095
+ "exception":true,
1096
+ "fault":true
1097
+ },
1098
+ {
1099
+ "shape":"InternalFailureException",
1100
+ "error":{"httpStatusCode":500},
1101
+ "exception":true,
1102
+ "fault":true
1103
+ }
1104
+ ]
1105
+ },
1106
+ "ListPrincipalPolicies":{
1107
+ "name":"ListPrincipalPolicies",
1108
+ "http":{
1109
+ "method":"GET",
1110
+ "requestUri":"/principal-policies"
1111
+ },
1112
+ "input":{"shape":"ListPrincipalPoliciesRequest"},
1113
+ "output":{"shape":"ListPrincipalPoliciesResponse"},
1114
+ "errors":[
1115
+ {
1116
+ "shape":"ResourceNotFoundException",
1117
+ "error":{"httpStatusCode":404},
1118
+ "exception":true
1119
+ },
1120
+ {
1121
+ "shape":"InvalidRequestException",
1122
+ "error":{"httpStatusCode":400},
1123
+ "exception":true
1124
+ },
1125
+ {
1126
+ "shape":"ThrottlingException",
1127
+ "error":{"httpStatusCode":429},
1128
+ "exception":true
1129
+ },
1130
+ {
1131
+ "shape":"UnauthorizedException",
1132
+ "error":{"httpStatusCode":401},
1133
+ "exception":true
1134
+ },
1135
+ {
1136
+ "shape":"ServiceUnavailableException",
1137
+ "error":{"httpStatusCode":503},
1138
+ "exception":true,
1139
+ "fault":true
1140
+ },
1141
+ {
1142
+ "shape":"InternalFailureException",
1143
+ "error":{"httpStatusCode":500},
1144
+ "exception":true,
1145
+ "fault":true
1146
+ }
1147
+ ]
1148
+ },
1149
+ "ListPrincipalThings":{
1150
+ "name":"ListPrincipalThings",
1151
+ "http":{
1152
+ "method":"GET",
1153
+ "requestUri":"/principals/things"
1154
+ },
1155
+ "input":{"shape":"ListPrincipalThingsRequest"},
1156
+ "output":{"shape":"ListPrincipalThingsResponse"},
1157
+ "errors":[
1158
+ {
1159
+ "shape":"InvalidRequestException",
1160
+ "error":{"httpStatusCode":400},
1161
+ "exception":true
1162
+ },
1163
+ {
1164
+ "shape":"ThrottlingException",
1165
+ "error":{"httpStatusCode":429},
1166
+ "exception":true
1167
+ },
1168
+ {
1169
+ "shape":"UnauthorizedException",
1170
+ "error":{"httpStatusCode":401},
1171
+ "exception":true
1172
+ },
1173
+ {
1174
+ "shape":"ServiceUnavailableException",
1175
+ "error":{"httpStatusCode":503},
1176
+ "exception":true,
1177
+ "fault":true
1178
+ },
1179
+ {
1180
+ "shape":"InternalFailureException",
1181
+ "error":{"httpStatusCode":500},
1182
+ "exception":true,
1183
+ "fault":true
1184
+ }
1185
+ ]
1186
+ },
1187
+ "ListThingPrincipals":{
1188
+ "name":"ListThingPrincipals",
1189
+ "http":{
1190
+ "method":"GET",
1191
+ "requestUri":"/things/{thingName}/principals"
1192
+ },
1193
+ "input":{"shape":"ListThingPrincipalsRequest"},
1194
+ "output":{"shape":"ListThingPrincipalsResponse"},
1195
+ "errors":[
1196
+ {
1197
+ "shape":"InvalidRequestException",
1198
+ "error":{"httpStatusCode":400},
1199
+ "exception":true
1200
+ },
1201
+ {
1202
+ "shape":"ThrottlingException",
1203
+ "error":{"httpStatusCode":429},
1204
+ "exception":true
1205
+ },
1206
+ {
1207
+ "shape":"UnauthorizedException",
1208
+ "error":{"httpStatusCode":401},
1209
+ "exception":true
1210
+ },
1211
+ {
1212
+ "shape":"ServiceUnavailableException",
1213
+ "error":{"httpStatusCode":503},
1214
+ "exception":true,
1215
+ "fault":true
1216
+ },
1217
+ {
1218
+ "shape":"InternalFailureException",
1219
+ "error":{"httpStatusCode":500},
1220
+ "exception":true,
1221
+ "fault":true
1222
+ }
1223
+ ]
1224
+ },
1225
+ "ListThings":{
1226
+ "name":"ListThings",
1227
+ "http":{
1228
+ "method":"GET",
1229
+ "requestUri":"/things"
1230
+ },
1231
+ "input":{"shape":"ListThingsRequest"},
1232
+ "output":{"shape":"ListThingsResponse"},
1233
+ "errors":[
1234
+ {
1235
+ "shape":"InvalidRequestException",
1236
+ "error":{"httpStatusCode":400},
1237
+ "exception":true
1238
+ },
1239
+ {
1240
+ "shape":"ThrottlingException",
1241
+ "error":{"httpStatusCode":429},
1242
+ "exception":true
1243
+ },
1244
+ {
1245
+ "shape":"UnauthorizedException",
1246
+ "error":{"httpStatusCode":401},
1247
+ "exception":true
1248
+ },
1249
+ {
1250
+ "shape":"ServiceUnavailableException",
1251
+ "error":{"httpStatusCode":503},
1252
+ "exception":true,
1253
+ "fault":true
1254
+ },
1255
+ {
1256
+ "shape":"InternalFailureException",
1257
+ "error":{"httpStatusCode":500},
1258
+ "exception":true,
1259
+ "fault":true
1260
+ }
1261
+ ]
1262
+ },
1263
+ "ListTopicRules":{
1264
+ "name":"ListTopicRules",
1265
+ "http":{
1266
+ "method":"GET",
1267
+ "requestUri":"/rules"
1268
+ },
1269
+ "input":{"shape":"ListTopicRulesRequest"},
1270
+ "output":{"shape":"ListTopicRulesResponse"},
1271
+ "errors":[
1272
+ {
1273
+ "shape":"InternalException",
1274
+ "error":{"httpStatusCode":500},
1275
+ "exception":true,
1276
+ "fault":true
1277
+ },
1278
+ {
1279
+ "shape":"InvalidRequestException",
1280
+ "error":{"httpStatusCode":400},
1281
+ "exception":true
1282
+ },
1283
+ {
1284
+ "shape":"ServiceUnavailableException",
1285
+ "error":{"httpStatusCode":503},
1286
+ "exception":true,
1287
+ "fault":true
1288
+ }
1289
+ ]
1290
+ },
1291
+ "RejectCertificateTransfer":{
1292
+ "name":"RejectCertificateTransfer",
1293
+ "http":{
1294
+ "method":"PATCH",
1295
+ "requestUri":"/reject-certificate-transfer/{certificateId}"
1296
+ },
1297
+ "input":{"shape":"RejectCertificateTransferRequest"},
1298
+ "errors":[
1299
+ {
1300
+ "shape":"ResourceNotFoundException",
1301
+ "error":{"httpStatusCode":404},
1302
+ "exception":true
1303
+ },
1304
+ {
1305
+ "shape":"TransferAlreadyCompletedException",
1306
+ "error":{"httpStatusCode":410},
1307
+ "exception":true
1308
+ },
1309
+ {
1310
+ "shape":"InvalidRequestException",
1311
+ "error":{"httpStatusCode":400},
1312
+ "exception":true
1313
+ },
1314
+ {
1315
+ "shape":"ThrottlingException",
1316
+ "error":{"httpStatusCode":429},
1317
+ "exception":true
1318
+ },
1319
+ {
1320
+ "shape":"UnauthorizedException",
1321
+ "error":{"httpStatusCode":401},
1322
+ "exception":true
1323
+ },
1324
+ {
1325
+ "shape":"ServiceUnavailableException",
1326
+ "error":{"httpStatusCode":503},
1327
+ "exception":true,
1328
+ "fault":true
1329
+ },
1330
+ {
1331
+ "shape":"InternalFailureException",
1332
+ "error":{"httpStatusCode":500},
1333
+ "exception":true,
1334
+ "fault":true
1335
+ }
1336
+ ]
1337
+ },
1338
+ "ReplaceTopicRule":{
1339
+ "name":"ReplaceTopicRule",
1340
+ "http":{
1341
+ "method":"PATCH",
1342
+ "requestUri":"/rules/{ruleName}"
1343
+ },
1344
+ "input":{"shape":"ReplaceTopicRuleRequest"},
1345
+ "errors":[
1346
+ {
1347
+ "shape":"SqlParseException",
1348
+ "error":{"httpStatusCode":406},
1349
+ "exception":true
1350
+ },
1351
+ {
1352
+ "shape":"InternalException",
1353
+ "error":{"httpStatusCode":500},
1354
+ "exception":true,
1355
+ "fault":true
1356
+ },
1357
+ {
1358
+ "shape":"InvalidRequestException",
1359
+ "error":{"httpStatusCode":400},
1360
+ "exception":true
1361
+ },
1362
+ {
1363
+ "shape":"ServiceUnavailableException",
1364
+ "error":{"httpStatusCode":503},
1365
+ "exception":true,
1366
+ "fault":true
1367
+ },
1368
+ {
1369
+ "shape":"UnauthorizedException",
1370
+ "error":{"httpStatusCode":401},
1371
+ "exception":true
1372
+ }
1373
+ ]
1374
+ },
1375
+ "SetDefaultPolicyVersion":{
1376
+ "name":"SetDefaultPolicyVersion",
1377
+ "http":{
1378
+ "method":"PATCH",
1379
+ "requestUri":"/policies/{policyName}/version/{policyVersionId}"
1380
+ },
1381
+ "input":{"shape":"SetDefaultPolicyVersionRequest"},
1382
+ "errors":[
1383
+ {
1384
+ "shape":"ResourceNotFoundException",
1385
+ "error":{"httpStatusCode":404},
1386
+ "exception":true
1387
+ },
1388
+ {
1389
+ "shape":"InvalidRequestException",
1390
+ "error":{"httpStatusCode":400},
1391
+ "exception":true
1392
+ },
1393
+ {
1394
+ "shape":"ThrottlingException",
1395
+ "error":{"httpStatusCode":429},
1396
+ "exception":true
1397
+ },
1398
+ {
1399
+ "shape":"UnauthorizedException",
1400
+ "error":{"httpStatusCode":401},
1401
+ "exception":true
1402
+ },
1403
+ {
1404
+ "shape":"ServiceUnavailableException",
1405
+ "error":{"httpStatusCode":503},
1406
+ "exception":true,
1407
+ "fault":true
1408
+ },
1409
+ {
1410
+ "shape":"InternalFailureException",
1411
+ "error":{"httpStatusCode":500},
1412
+ "exception":true,
1413
+ "fault":true
1414
+ }
1415
+ ]
1416
+ },
1417
+ "SetLoggingOptions":{
1418
+ "name":"SetLoggingOptions",
1419
+ "http":{
1420
+ "method":"POST",
1421
+ "requestUri":"/loggingOptions"
1422
+ },
1423
+ "input":{"shape":"SetLoggingOptionsRequest"},
1424
+ "errors":[
1425
+ {
1426
+ "shape":"InternalException",
1427
+ "error":{"httpStatusCode":500},
1428
+ "exception":true,
1429
+ "fault":true
1430
+ },
1431
+ {
1432
+ "shape":"InvalidRequestException",
1433
+ "error":{"httpStatusCode":400},
1434
+ "exception":true
1435
+ },
1436
+ {
1437
+ "shape":"ServiceUnavailableException",
1438
+ "error":{"httpStatusCode":503},
1439
+ "exception":true,
1440
+ "fault":true
1441
+ }
1442
+ ]
1443
+ },
1444
+ "TransferCertificate":{
1445
+ "name":"TransferCertificate",
1446
+ "http":{
1447
+ "method":"PATCH",
1448
+ "requestUri":"/transfer-certificate/{certificateId}"
1449
+ },
1450
+ "input":{"shape":"TransferCertificateRequest"},
1451
+ "output":{"shape":"TransferCertificateResponse"},
1452
+ "errors":[
1453
+ {
1454
+ "shape":"InvalidRequestException",
1455
+ "error":{"httpStatusCode":400},
1456
+ "exception":true
1457
+ },
1458
+ {
1459
+ "shape":"ResourceNotFoundException",
1460
+ "error":{"httpStatusCode":404},
1461
+ "exception":true
1462
+ },
1463
+ {
1464
+ "shape":"CertificateStateException",
1465
+ "error":{"httpStatusCode":406},
1466
+ "exception":true
1467
+ },
1468
+ {
1469
+ "shape":"TransferConflictException",
1470
+ "error":{"httpStatusCode":409},
1471
+ "exception":true
1472
+ },
1473
+ {
1474
+ "shape":"ThrottlingException",
1475
+ "error":{"httpStatusCode":429},
1476
+ "exception":true
1477
+ },
1478
+ {
1479
+ "shape":"UnauthorizedException",
1480
+ "error":{"httpStatusCode":401},
1481
+ "exception":true
1482
+ },
1483
+ {
1484
+ "shape":"ServiceUnavailableException",
1485
+ "error":{"httpStatusCode":503},
1486
+ "exception":true,
1487
+ "fault":true
1488
+ },
1489
+ {
1490
+ "shape":"InternalFailureException",
1491
+ "error":{"httpStatusCode":500},
1492
+ "exception":true,
1493
+ "fault":true
1494
+ }
1495
+ ]
1496
+ },
1497
+ "UpdateCertificate":{
1498
+ "name":"UpdateCertificate",
1499
+ "http":{
1500
+ "method":"PUT",
1501
+ "requestUri":"/certificates/{certificateId}"
1502
+ },
1503
+ "input":{"shape":"UpdateCertificateRequest"},
1504
+ "errors":[
1505
+ {
1506
+ "shape":"ResourceNotFoundException",
1507
+ "error":{"httpStatusCode":404},
1508
+ "exception":true
1509
+ },
1510
+ {
1511
+ "shape":"CertificateStateException",
1512
+ "error":{"httpStatusCode":406},
1513
+ "exception":true
1514
+ },
1515
+ {
1516
+ "shape":"InvalidRequestException",
1517
+ "error":{"httpStatusCode":400},
1518
+ "exception":true
1519
+ },
1520
+ {
1521
+ "shape":"ThrottlingException",
1522
+ "error":{"httpStatusCode":429},
1523
+ "exception":true
1524
+ },
1525
+ {
1526
+ "shape":"UnauthorizedException",
1527
+ "error":{"httpStatusCode":401},
1528
+ "exception":true
1529
+ },
1530
+ {
1531
+ "shape":"ServiceUnavailableException",
1532
+ "error":{"httpStatusCode":503},
1533
+ "exception":true,
1534
+ "fault":true
1535
+ },
1536
+ {
1537
+ "shape":"InternalFailureException",
1538
+ "error":{"httpStatusCode":500},
1539
+ "exception":true,
1540
+ "fault":true
1541
+ }
1542
+ ]
1543
+ },
1544
+ "UpdateThing":{
1545
+ "name":"UpdateThing",
1546
+ "http":{
1547
+ "method":"PATCH",
1548
+ "requestUri":"/things/{thingName}"
1549
+ },
1550
+ "input":{"shape":"UpdateThingRequest"},
1551
+ "output":{"shape":"UpdateThingResponse"},
1552
+ "errors":[
1553
+ {
1554
+ "shape":"InvalidRequestException",
1555
+ "error":{"httpStatusCode":400},
1556
+ "exception":true
1557
+ },
1558
+ {
1559
+ "shape":"ThrottlingException",
1560
+ "error":{"httpStatusCode":429},
1561
+ "exception":true
1562
+ },
1563
+ {
1564
+ "shape":"UnauthorizedException",
1565
+ "error":{"httpStatusCode":401},
1566
+ "exception":true
1567
+ },
1568
+ {
1569
+ "shape":"ServiceUnavailableException",
1570
+ "error":{"httpStatusCode":503},
1571
+ "exception":true,
1572
+ "fault":true
1573
+ },
1574
+ {
1575
+ "shape":"InternalFailureException",
1576
+ "error":{"httpStatusCode":500},
1577
+ "exception":true,
1578
+ "fault":true
1579
+ },
1580
+ {
1581
+ "shape":"ResourceNotFoundException",
1582
+ "error":{"httpStatusCode":404},
1583
+ "exception":true
1584
+ }
1585
+ ]
1586
+ }
1587
+ },
1588
+ "shapes":{
1589
+ "AcceptCertificateTransferRequest":{
1590
+ "type":"structure",
1591
+ "required":["certificateId"],
1592
+ "members":{
1593
+ "certificateId":{
1594
+ "shape":"CertificateId",
1595
+ "location":"uri",
1596
+ "locationName":"certificateId"
1597
+ },
1598
+ "setAsActive":{
1599
+ "shape":"SetAsActive",
1600
+ "location":"querystring",
1601
+ "locationName":"setAsActive"
1602
+ }
1603
+ }
1604
+ },
1605
+ "Action":{
1606
+ "type":"structure",
1607
+ "members":{
1608
+ "dynamoDB":{"shape":"DynamoDBAction"},
1609
+ "lambda":{"shape":"LambdaAction"},
1610
+ "sns":{"shape":"SnsAction"},
1611
+ "sqs":{"shape":"SqsAction"},
1612
+ "kinesis":{"shape":"KinesisAction"},
1613
+ "republish":{"shape":"RepublishAction"},
1614
+ "s3":{"shape":"S3Action"},
1615
+ "firehose":{"shape":"FirehoseAction"}
1616
+ }
1617
+ },
1618
+ "ActionList":{
1619
+ "type":"list",
1620
+ "member":{"shape":"Action"},
1621
+ "min":0,
1622
+ "max":10
1623
+ },
1624
+ "AscendingOrder":{"type":"boolean"},
1625
+ "AttachPrincipalPolicyRequest":{
1626
+ "type":"structure",
1627
+ "required":[
1628
+ "policyName",
1629
+ "principal"
1630
+ ],
1631
+ "members":{
1632
+ "policyName":{
1633
+ "shape":"PolicyName",
1634
+ "location":"uri",
1635
+ "locationName":"policyName"
1636
+ },
1637
+ "principal":{
1638
+ "shape":"Principal",
1639
+ "location":"header",
1640
+ "locationName":"x-amzn-iot-principal"
1641
+ }
1642
+ }
1643
+ },
1644
+ "AttachThingPrincipalRequest":{
1645
+ "type":"structure",
1646
+ "required":[
1647
+ "thingName",
1648
+ "principal"
1649
+ ],
1650
+ "members":{
1651
+ "thingName":{
1652
+ "shape":"ThingName",
1653
+ "location":"uri",
1654
+ "locationName":"thingName"
1655
+ },
1656
+ "principal":{
1657
+ "shape":"Principal",
1658
+ "location":"header",
1659
+ "locationName":"x-amzn-principal"
1660
+ }
1661
+ }
1662
+ },
1663
+ "AttachThingPrincipalResponse":{
1664
+ "type":"structure",
1665
+ "members":{
1666
+ }
1667
+ },
1668
+ "AttributeName":{
1669
+ "type":"string",
1670
+ "max":128,
1671
+ "pattern":"[a-zA-Z0-9_.,@/:#-]+"
1672
+ },
1673
+ "AttributePayload":{
1674
+ "type":"structure",
1675
+ "members":{
1676
+ "attributes":{"shape":"Attributes"}
1677
+ }
1678
+ },
1679
+ "AttributeValue":{
1680
+ "type":"string",
1681
+ "max":1024,
1682
+ "pattern":"[a-zA-Z0-9_.,@/:#-]+"
1683
+ },
1684
+ "Attributes":{
1685
+ "type":"map",
1686
+ "key":{"shape":"AttributeName"},
1687
+ "value":{"shape":"AttributeValue"}
1688
+ },
1689
+ "AwsAccountId":{
1690
+ "type":"string",
1691
+ "pattern":"[0-9]{12}"
1692
+ },
1693
+ "AwsArn":{"type":"string"},
1694
+ "BucketName":{"type":"string"},
1695
+ "CancelCertificateTransferRequest":{
1696
+ "type":"structure",
1697
+ "required":["certificateId"],
1698
+ "members":{
1699
+ "certificateId":{
1700
+ "shape":"CertificateId",
1701
+ "location":"uri",
1702
+ "locationName":"certificateId"
1703
+ }
1704
+ }
1705
+ },
1706
+ "Certificate":{
1707
+ "type":"structure",
1708
+ "members":{
1709
+ "certificateArn":{"shape":"CertificateArn"},
1710
+ "certificateId":{"shape":"CertificateId"},
1711
+ "status":{"shape":"CertificateStatus"},
1712
+ "creationDate":{"shape":"DateType"}
1713
+ }
1714
+ },
1715
+ "CertificateArn":{"type":"string"},
1716
+ "CertificateDescription":{
1717
+ "type":"structure",
1718
+ "members":{
1719
+ "certificateArn":{"shape":"CertificateArn"},
1720
+ "certificateId":{"shape":"CertificateId"},
1721
+ "status":{"shape":"CertificateStatus"},
1722
+ "certificatePem":{"shape":"CertificatePem"},
1723
+ "ownedBy":{"shape":"AwsAccountId"},
1724
+ "creationDate":{"shape":"DateType"},
1725
+ "lastModifiedDate":{"shape":"DateType"}
1726
+ }
1727
+ },
1728
+ "CertificateId":{
1729
+ "type":"string",
1730
+ "min":64,
1731
+ "max":64,
1732
+ "pattern":"(0x)?[a-fA-F0-9]+"
1733
+ },
1734
+ "CertificatePem":{"type":"string"},
1735
+ "CertificateSigningRequest":{
1736
+ "type":"string",
1737
+ "min":1
1738
+ },
1739
+ "CertificateStateException":{
1740
+ "type":"structure",
1741
+ "members":{
1742
+ "message":{"shape":"errorMessage"}
1743
+ },
1744
+ "error":{"httpStatusCode":406},
1745
+ "exception":true
1746
+ },
1747
+ "CertificateStatus":{
1748
+ "type":"string",
1749
+ "enum":[
1750
+ "ACTIVE",
1751
+ "INACTIVE",
1752
+ "REVOKED",
1753
+ "PENDING_TRANSFER"
1754
+ ]
1755
+ },
1756
+ "Certificates":{
1757
+ "type":"list",
1758
+ "member":{"shape":"Certificate"}
1759
+ },
1760
+ "ClientId":{"type":"string"},
1761
+ "CreateCertificateFromCsrRequest":{
1762
+ "type":"structure",
1763
+ "required":["certificateSigningRequest"],
1764
+ "members":{
1765
+ "certificateSigningRequest":{"shape":"CertificateSigningRequest"},
1766
+ "setAsActive":{
1767
+ "shape":"SetAsActive",
1768
+ "location":"querystring",
1769
+ "locationName":"setAsActive"
1770
+ }
1771
+ }
1772
+ },
1773
+ "CreateCertificateFromCsrResponse":{
1774
+ "type":"structure",
1775
+ "members":{
1776
+ "certificateArn":{"shape":"CertificateArn"},
1777
+ "certificateId":{"shape":"CertificateId"},
1778
+ "certificatePem":{"shape":"CertificatePem"}
1779
+ }
1780
+ },
1781
+ "CreateKeysAndCertificateRequest":{
1782
+ "type":"structure",
1783
+ "members":{
1784
+ "setAsActive":{
1785
+ "shape":"SetAsActive",
1786
+ "location":"querystring",
1787
+ "locationName":"setAsActive"
1788
+ }
1789
+ }
1790
+ },
1791
+ "CreateKeysAndCertificateResponse":{
1792
+ "type":"structure",
1793
+ "members":{
1794
+ "certificateArn":{"shape":"CertificateArn"},
1795
+ "certificateId":{"shape":"CertificateId"},
1796
+ "certificatePem":{"shape":"CertificatePem"},
1797
+ "keyPair":{"shape":"KeyPair"}
1798
+ }
1799
+ },
1800
+ "CreatePolicyRequest":{
1801
+ "type":"structure",
1802
+ "required":[
1803
+ "policyName",
1804
+ "policyDocument"
1805
+ ],
1806
+ "members":{
1807
+ "policyName":{
1808
+ "shape":"PolicyName",
1809
+ "location":"uri",
1810
+ "locationName":"policyName"
1811
+ },
1812
+ "policyDocument":{"shape":"PolicyDocument"}
1813
+ }
1814
+ },
1815
+ "CreatePolicyResponse":{
1816
+ "type":"structure",
1817
+ "members":{
1818
+ "policyName":{"shape":"PolicyName"},
1819
+ "policyArn":{"shape":"PolicyArn"},
1820
+ "policyDocument":{"shape":"PolicyDocument"},
1821
+ "policyVersionId":{"shape":"PolicyVersionId"}
1822
+ }
1823
+ },
1824
+ "CreatePolicyVersionRequest":{
1825
+ "type":"structure",
1826
+ "required":[
1827
+ "policyName",
1828
+ "policyDocument"
1829
+ ],
1830
+ "members":{
1831
+ "policyName":{
1832
+ "shape":"PolicyName",
1833
+ "location":"uri",
1834
+ "locationName":"policyName"
1835
+ },
1836
+ "policyDocument":{"shape":"PolicyDocument"},
1837
+ "setAsDefault":{
1838
+ "shape":"SetAsDefault",
1839
+ "location":"querystring",
1840
+ "locationName":"setAsDefault"
1841
+ }
1842
+ }
1843
+ },
1844
+ "CreatePolicyVersionResponse":{
1845
+ "type":"structure",
1846
+ "members":{
1847
+ "policyArn":{"shape":"PolicyArn"},
1848
+ "policyDocument":{"shape":"PolicyDocument"},
1849
+ "policyVersionId":{"shape":"PolicyVersionId"},
1850
+ "isDefaultVersion":{"shape":"IsDefaultVersion"}
1851
+ }
1852
+ },
1853
+ "CreateThingRequest":{
1854
+ "type":"structure",
1855
+ "required":["thingName"],
1856
+ "members":{
1857
+ "thingName":{
1858
+ "shape":"ThingName",
1859
+ "location":"uri",
1860
+ "locationName":"thingName"
1861
+ },
1862
+ "attributePayload":{"shape":"AttributePayload"}
1863
+ }
1864
+ },
1865
+ "CreateThingResponse":{
1866
+ "type":"structure",
1867
+ "members":{
1868
+ "thingName":{"shape":"ThingName"},
1869
+ "thingArn":{"shape":"ThingArn"}
1870
+ }
1871
+ },
1872
+ "CreateTopicRuleRequest":{
1873
+ "type":"structure",
1874
+ "required":[
1875
+ "ruleName",
1876
+ "topicRulePayload"
1877
+ ],
1878
+ "members":{
1879
+ "ruleName":{
1880
+ "shape":"RuleName",
1881
+ "location":"uri",
1882
+ "locationName":"ruleName"
1883
+ },
1884
+ "topicRulePayload":{"shape":"TopicRulePayload"}
1885
+ },
1886
+ "payload":"topicRulePayload"
1887
+ },
1888
+ "CreatedAtDate":{"type":"timestamp"},
1889
+ "DateType":{"type":"timestamp"},
1890
+ "DeleteCertificateRequest":{
1891
+ "type":"structure",
1892
+ "required":["certificateId"],
1893
+ "members":{
1894
+ "certificateId":{
1895
+ "shape":"CertificateId",
1896
+ "location":"uri",
1897
+ "locationName":"certificateId"
1898
+ }
1899
+ }
1900
+ },
1901
+ "DeleteConflictException":{
1902
+ "type":"structure",
1903
+ "members":{
1904
+ "message":{"shape":"errorMessage"}
1905
+ },
1906
+ "error":{"httpStatusCode":409},
1907
+ "exception":true
1908
+ },
1909
+ "DeletePolicyRequest":{
1910
+ "type":"structure",
1911
+ "required":["policyName"],
1912
+ "members":{
1913
+ "policyName":{
1914
+ "shape":"PolicyName",
1915
+ "location":"uri",
1916
+ "locationName":"policyName"
1917
+ }
1918
+ }
1919
+ },
1920
+ "DeletePolicyVersionRequest":{
1921
+ "type":"structure",
1922
+ "required":[
1923
+ "policyName",
1924
+ "policyVersionId"
1925
+ ],
1926
+ "members":{
1927
+ "policyName":{
1928
+ "shape":"PolicyName",
1929
+ "location":"uri",
1930
+ "locationName":"policyName"
1931
+ },
1932
+ "policyVersionId":{
1933
+ "shape":"PolicyVersionId",
1934
+ "location":"uri",
1935
+ "locationName":"policyVersionId"
1936
+ }
1937
+ }
1938
+ },
1939
+ "DeleteThingRequest":{
1940
+ "type":"structure",
1941
+ "required":["thingName"],
1942
+ "members":{
1943
+ "thingName":{
1944
+ "shape":"ThingName",
1945
+ "location":"uri",
1946
+ "locationName":"thingName"
1947
+ }
1948
+ }
1949
+ },
1950
+ "DeleteThingResponse":{
1951
+ "type":"structure",
1952
+ "members":{
1953
+ }
1954
+ },
1955
+ "DeleteTopicRuleRequest":{
1956
+ "type":"structure",
1957
+ "members":{
1958
+ "ruleName":{
1959
+ "shape":"RuleName",
1960
+ "location":"uri",
1961
+ "locationName":"ruleName"
1962
+ }
1963
+ },
1964
+ "required":["ruleName"]
1965
+ },
1966
+ "DeliveryStreamName":{"type":"string"},
1967
+ "DescribeCertificateRequest":{
1968
+ "type":"structure",
1969
+ "required":["certificateId"],
1970
+ "members":{
1971
+ "certificateId":{
1972
+ "shape":"CertificateId",
1973
+ "location":"uri",
1974
+ "locationName":"certificateId"
1975
+ }
1976
+ }
1977
+ },
1978
+ "DescribeCertificateResponse":{
1979
+ "type":"structure",
1980
+ "members":{
1981
+ "certificateDescription":{"shape":"CertificateDescription"}
1982
+ }
1983
+ },
1984
+ "DescribeEndpointRequest":{
1985
+ "type":"structure",
1986
+ "members":{
1987
+ }
1988
+ },
1989
+ "DescribeEndpointResponse":{
1990
+ "type":"structure",
1991
+ "members":{
1992
+ "endpointAddress":{"shape":"EndpointAddress"}
1993
+ }
1994
+ },
1995
+ "DescribeThingRequest":{
1996
+ "type":"structure",
1997
+ "required":["thingName"],
1998
+ "members":{
1999
+ "thingName":{
2000
+ "shape":"ThingName",
2001
+ "location":"uri",
2002
+ "locationName":"thingName"
2003
+ }
2004
+ }
2005
+ },
2006
+ "DescribeThingResponse":{
2007
+ "type":"structure",
2008
+ "members":{
2009
+ "defaultClientId":{"shape":"ClientId"},
2010
+ "thingName":{"shape":"ThingName"},
2011
+ "attributes":{"shape":"Attributes"}
2012
+ }
2013
+ },
2014
+ "Description":{"type":"string"},
2015
+ "DetachPrincipalPolicyRequest":{
2016
+ "type":"structure",
2017
+ "required":[
2018
+ "policyName",
2019
+ "principal"
2020
+ ],
2021
+ "members":{
2022
+ "policyName":{
2023
+ "shape":"PolicyName",
2024
+ "location":"uri",
2025
+ "locationName":"policyName"
2026
+ },
2027
+ "principal":{
2028
+ "shape":"Principal",
2029
+ "location":"header",
2030
+ "locationName":"x-amzn-iot-principal"
2031
+ }
2032
+ }
2033
+ },
2034
+ "DetachThingPrincipalRequest":{
2035
+ "type":"structure",
2036
+ "required":[
2037
+ "thingName",
2038
+ "principal"
2039
+ ],
2040
+ "members":{
2041
+ "thingName":{
2042
+ "shape":"ThingName",
2043
+ "location":"uri",
2044
+ "locationName":"thingName"
2045
+ },
2046
+ "principal":{
2047
+ "shape":"Principal",
2048
+ "location":"header",
2049
+ "locationName":"x-amzn-principal"
2050
+ }
2051
+ }
2052
+ },
2053
+ "DetachThingPrincipalResponse":{
2054
+ "type":"structure",
2055
+ "members":{
2056
+ }
2057
+ },
2058
+ "DynamoDBAction":{
2059
+ "type":"structure",
2060
+ "required":[
2061
+ "tableName",
2062
+ "roleArn",
2063
+ "hashKeyField",
2064
+ "hashKeyValue",
2065
+ "rangeKeyField",
2066
+ "rangeKeyValue"
2067
+ ],
2068
+ "members":{
2069
+ "tableName":{"shape":"TableName"},
2070
+ "roleArn":{"shape":"AwsArn"},
2071
+ "hashKeyField":{"shape":"HashKeyField"},
2072
+ "hashKeyValue":{"shape":"HashKeyValue"},
2073
+ "rangeKeyField":{"shape":"RangeKeyField"},
2074
+ "rangeKeyValue":{"shape":"RangeKeyValue"},
2075
+ "payloadField":{"shape":"PayloadField"}
2076
+ }
2077
+ },
2078
+ "EndpointAddress":{"type":"string"},
2079
+ "FirehoseAction":{
2080
+ "type":"structure",
2081
+ "required":[
2082
+ "roleArn",
2083
+ "deliveryStreamName"
2084
+ ],
2085
+ "members":{
2086
+ "roleArn":{"shape":"AwsArn"},
2087
+ "deliveryStreamName":{"shape":"DeliveryStreamName"}
2088
+ }
2089
+ },
2090
+ "FunctionArn":{"type":"string"},
2091
+ "GetLoggingOptionsRequest":{
2092
+ "type":"structure",
2093
+ "members":{
2094
+ }
2095
+ },
2096
+ "GetLoggingOptionsResponse":{
2097
+ "type":"structure",
2098
+ "members":{
2099
+ "roleArn":{"shape":"AwsArn"},
2100
+ "logLevel":{"shape":"LogLevel"}
2101
+ }
2102
+ },
2103
+ "GetPolicyRequest":{
2104
+ "type":"structure",
2105
+ "required":["policyName"],
2106
+ "members":{
2107
+ "policyName":{
2108
+ "shape":"PolicyName",
2109
+ "location":"uri",
2110
+ "locationName":"policyName"
2111
+ }
2112
+ }
2113
+ },
2114
+ "GetPolicyResponse":{
2115
+ "type":"structure",
2116
+ "members":{
2117
+ "policyName":{"shape":"PolicyName"},
2118
+ "policyArn":{"shape":"PolicyArn"},
2119
+ "policyDocument":{"shape":"PolicyDocument"},
2120
+ "defaultVersionId":{"shape":"PolicyVersionId"}
2121
+ }
2122
+ },
2123
+ "GetPolicyVersionRequest":{
2124
+ "type":"structure",
2125
+ "required":[
2126
+ "policyName",
2127
+ "policyVersionId"
2128
+ ],
2129
+ "members":{
2130
+ "policyName":{
2131
+ "shape":"PolicyName",
2132
+ "location":"uri",
2133
+ "locationName":"policyName"
2134
+ },
2135
+ "policyVersionId":{
2136
+ "shape":"PolicyVersionId",
2137
+ "location":"uri",
2138
+ "locationName":"policyVersionId"
2139
+ }
2140
+ }
2141
+ },
2142
+ "GetPolicyVersionResponse":{
2143
+ "type":"structure",
2144
+ "members":{
2145
+ "policyArn":{"shape":"PolicyArn"},
2146
+ "policyName":{"shape":"PolicyName"},
2147
+ "policyDocument":{"shape":"PolicyDocument"},
2148
+ "policyVersionId":{"shape":"PolicyVersionId"},
2149
+ "isDefaultVersion":{"shape":"IsDefaultVersion"}
2150
+ }
2151
+ },
2152
+ "GetTopicRuleRequest":{
2153
+ "type":"structure",
2154
+ "required":["ruleName"],
2155
+ "members":{
2156
+ "ruleName":{
2157
+ "shape":"RuleName",
2158
+ "location":"uri",
2159
+ "locationName":"ruleName"
2160
+ }
2161
+ }
2162
+ },
2163
+ "GetTopicRuleResponse":{
2164
+ "type":"structure",
2165
+ "members":{
2166
+ "rule":{"shape":"TopicRule"}
2167
+ }
2168
+ },
2169
+ "HashKeyField":{"type":"string"},
2170
+ "HashKeyValue":{"type":"string"},
2171
+ "InternalException":{
2172
+ "type":"structure",
2173
+ "members":{
2174
+ "message":{"shape":"errorMessage"}
2175
+ },
2176
+ "error":{"httpStatusCode":500},
2177
+ "exception":true,
2178
+ "fault":true
2179
+ },
2180
+ "InternalFailureException":{
2181
+ "type":"structure",
2182
+ "members":{
2183
+ "message":{"shape":"errorMessage"}
2184
+ },
2185
+ "error":{"httpStatusCode":500},
2186
+ "exception":true,
2187
+ "fault":true
2188
+ },
2189
+ "InvalidRequestException":{
2190
+ "type":"structure",
2191
+ "members":{
2192
+ "message":{"shape":"errorMessage"}
2193
+ },
2194
+ "error":{"httpStatusCode":400},
2195
+ "exception":true
2196
+ },
2197
+ "IsDefaultVersion":{"type":"boolean"},
2198
+ "IsDisabled":{"type":"boolean"},
2199
+ "Key":{"type":"string"},
2200
+ "KeyPair":{
2201
+ "type":"structure",
2202
+ "members":{
2203
+ "PublicKey":{"shape":"PublicKey"},
2204
+ "PrivateKey":{"shape":"PrivateKey"}
2205
+ }
2206
+ },
2207
+ "KinesisAction":{
2208
+ "type":"structure",
2209
+ "required":[
2210
+ "roleArn",
2211
+ "streamName"
2212
+ ],
2213
+ "members":{
2214
+ "roleArn":{"shape":"AwsArn"},
2215
+ "streamName":{"shape":"StreamName"},
2216
+ "partitionKey":{"shape":"PartitionKey"}
2217
+ }
2218
+ },
2219
+ "LambdaAction":{
2220
+ "type":"structure",
2221
+ "required":["functionArn"],
2222
+ "members":{
2223
+ "functionArn":{"shape":"FunctionArn"}
2224
+ }
2225
+ },
2226
+ "LimitExceededException":{
2227
+ "type":"structure",
2228
+ "members":{
2229
+ "message":{"shape":"errorMessage"}
2230
+ },
2231
+ "error":{"httpStatusCode":410},
2232
+ "exception":true
2233
+ },
2234
+ "ListCertificatesRequest":{
2235
+ "type":"structure",
2236
+ "members":{
2237
+ "pageSize":{
2238
+ "shape":"PageSize",
2239
+ "location":"querystring",
2240
+ "locationName":"pageSize"
2241
+ },
2242
+ "marker":{
2243
+ "shape":"Marker",
2244
+ "location":"querystring",
2245
+ "locationName":"marker"
2246
+ },
2247
+ "ascendingOrder":{
2248
+ "shape":"AscendingOrder",
2249
+ "location":"querystring",
2250
+ "locationName":"isAscendingOrder"
2251
+ }
2252
+ }
2253
+ },
2254
+ "ListCertificatesResponse":{
2255
+ "type":"structure",
2256
+ "members":{
2257
+ "certificates":{"shape":"Certificates"},
2258
+ "nextMarker":{"shape":"Marker"}
2259
+ }
2260
+ },
2261
+ "ListPoliciesRequest":{
2262
+ "type":"structure",
2263
+ "members":{
2264
+ "marker":{
2265
+ "shape":"Marker",
2266
+ "location":"querystring",
2267
+ "locationName":"marker"
2268
+ },
2269
+ "pageSize":{
2270
+ "shape":"PageSize",
2271
+ "location":"querystring",
2272
+ "locationName":"pageSize"
2273
+ },
2274
+ "ascendingOrder":{
2275
+ "shape":"AscendingOrder",
2276
+ "location":"querystring",
2277
+ "locationName":"isAscendingOrder"
2278
+ }
2279
+ }
2280
+ },
2281
+ "ListPoliciesResponse":{
2282
+ "type":"structure",
2283
+ "members":{
2284
+ "policies":{"shape":"Policies"},
2285
+ "nextMarker":{"shape":"Marker"}
2286
+ }
2287
+ },
2288
+ "ListPolicyVersionsRequest":{
2289
+ "type":"structure",
2290
+ "required":["policyName"],
2291
+ "members":{
2292
+ "policyName":{
2293
+ "shape":"PolicyName",
2294
+ "location":"uri",
2295
+ "locationName":"policyName"
2296
+ }
2297
+ }
2298
+ },
2299
+ "ListPolicyVersionsResponse":{
2300
+ "type":"structure",
2301
+ "members":{
2302
+ "policyVersions":{"shape":"PolicyVersions"}
2303
+ }
2304
+ },
2305
+ "ListPrincipalPoliciesRequest":{
2306
+ "type":"structure",
2307
+ "required":["principal"],
2308
+ "members":{
2309
+ "principal":{
2310
+ "shape":"Principal",
2311
+ "location":"header",
2312
+ "locationName":"x-amzn-iot-principal"
2313
+ },
2314
+ "marker":{
2315
+ "shape":"Marker",
2316
+ "location":"querystring",
2317
+ "locationName":"marker"
2318
+ },
2319
+ "pageSize":{
2320
+ "shape":"PageSize",
2321
+ "location":"querystring",
2322
+ "locationName":"pageSize"
2323
+ },
2324
+ "ascendingOrder":{
2325
+ "shape":"AscendingOrder",
2326
+ "location":"querystring",
2327
+ "locationName":"isAscendingOrder"
2328
+ }
2329
+ }
2330
+ },
2331
+ "ListPrincipalPoliciesResponse":{
2332
+ "type":"structure",
2333
+ "members":{
2334
+ "policies":{"shape":"Policies"},
2335
+ "nextMarker":{"shape":"Marker"}
2336
+ }
2337
+ },
2338
+ "ListPrincipalThingsRequest":{
2339
+ "type":"structure",
2340
+ "required":["principal"],
2341
+ "members":{
2342
+ "nextToken":{
2343
+ "shape":"NextToken",
2344
+ "location":"querystring",
2345
+ "locationName":"nextToken"
2346
+ },
2347
+ "maxResults":{
2348
+ "shape":"MaxResults",
2349
+ "location":"querystring",
2350
+ "locationName":"maxResults"
2351
+ },
2352
+ "principal":{
2353
+ "shape":"Principal",
2354
+ "location":"header",
2355
+ "locationName":"x-amzn-principal"
2356
+ }
2357
+ }
2358
+ },
2359
+ "ListPrincipalThingsResponse":{
2360
+ "type":"structure",
2361
+ "members":{
2362
+ "things":{"shape":"ThingNameList"},
2363
+ "nextToken":{"shape":"NextToken"}
2364
+ }
2365
+ },
2366
+ "ListThingPrincipalsRequest":{
2367
+ "type":"structure",
2368
+ "required":["thingName"],
2369
+ "members":{
2370
+ "thingName":{
2371
+ "shape":"ThingName",
2372
+ "location":"uri",
2373
+ "locationName":"thingName"
2374
+ }
2375
+ }
2376
+ },
2377
+ "ListThingPrincipalsResponse":{
2378
+ "type":"structure",
2379
+ "members":{
2380
+ "principals":{"shape":"Principals"}
2381
+ }
2382
+ },
2383
+ "ListThingsRequest":{
2384
+ "type":"structure",
2385
+ "members":{
2386
+ "nextToken":{
2387
+ "shape":"NextToken",
2388
+ "location":"querystring",
2389
+ "locationName":"nextToken"
2390
+ },
2391
+ "maxResults":{
2392
+ "shape":"MaxResults",
2393
+ "location":"querystring",
2394
+ "locationName":"maxResults"
2395
+ },
2396
+ "attributeName":{
2397
+ "shape":"AttributeName",
2398
+ "location":"querystring",
2399
+ "locationName":"attributeName"
2400
+ },
2401
+ "attributeValue":{
2402
+ "shape":"AttributeValue",
2403
+ "location":"querystring",
2404
+ "locationName":"attributeValue"
2405
+ }
2406
+ }
2407
+ },
2408
+ "ListThingsResponse":{
2409
+ "type":"structure",
2410
+ "members":{
2411
+ "things":{"shape":"ThingAttributeList"},
2412
+ "nextToken":{"shape":"NextToken"}
2413
+ }
2414
+ },
2415
+ "ListTopicRulesRequest":{
2416
+ "type":"structure",
2417
+ "members":{
2418
+ "topic":{
2419
+ "shape":"Topic",
2420
+ "location":"querystring",
2421
+ "locationName":"topic"
2422
+ },
2423
+ "maxResults":{
2424
+ "shape":"MaxResults",
2425
+ "location":"querystring",
2426
+ "locationName":"maxResults"
2427
+ },
2428
+ "nextToken":{
2429
+ "shape":"NextToken",
2430
+ "location":"querystring",
2431
+ "locationName":"nextToken"
2432
+ },
2433
+ "ruleDisabled":{
2434
+ "shape":"IsDisabled",
2435
+ "location":"querystring",
2436
+ "locationName":"ruleDisabled"
2437
+ }
2438
+ }
2439
+ },
2440
+ "ListTopicRulesResponse":{
2441
+ "type":"structure",
2442
+ "members":{
2443
+ "rules":{"shape":"TopicRuleList"},
2444
+ "nextToken":{"shape":"NextToken"}
2445
+ }
2446
+ },
2447
+ "LogLevel":{
2448
+ "type":"string",
2449
+ "enum":[
2450
+ "DEBUG",
2451
+ "INFO",
2452
+ "ERROR",
2453
+ "WARN",
2454
+ "DISABLED"
2455
+ ]
2456
+ },
2457
+ "LoggingOptionsPayload":{
2458
+ "type":"structure",
2459
+ "required":["roleArn"],
2460
+ "members":{
2461
+ "roleArn":{"shape":"AwsArn"},
2462
+ "logLevel":{"shape":"LogLevel"}
2463
+ }
2464
+ },
2465
+ "MalformedPolicyException":{
2466
+ "type":"structure",
2467
+ "members":{
2468
+ "message":{"shape":"errorMessage"}
2469
+ },
2470
+ "error":{"httpStatusCode":400},
2471
+ "exception":true
2472
+ },
2473
+ "Marker":{"type":"string"},
2474
+ "MaxResults":{
2475
+ "type":"integer",
2476
+ "min":1,
2477
+ "max":10000
2478
+ },
2479
+ "NextToken":{"type":"string"},
2480
+ "PageSize":{
2481
+ "type":"integer",
2482
+ "min":1,
2483
+ "max":250
2484
+ },
2485
+ "PartitionKey":{"type":"string"},
2486
+ "PayloadField":{"type":"string"},
2487
+ "Policies":{
2488
+ "type":"list",
2489
+ "member":{"shape":"Policy"}
2490
+ },
2491
+ "Policy":{
2492
+ "type":"structure",
2493
+ "members":{
2494
+ "policyName":{"shape":"PolicyName"},
2495
+ "policyArn":{"shape":"PolicyArn"}
2496
+ }
2497
+ },
2498
+ "PolicyArn":{"type":"string"},
2499
+ "PolicyDocument":{"type":"string"},
2500
+ "PolicyName":{
2501
+ "type":"string",
2502
+ "min":1,
2503
+ "max":128,
2504
+ "pattern":"[\\w+=,.@-]+"
2505
+ },
2506
+ "PolicyVersion":{
2507
+ "type":"structure",
2508
+ "members":{
2509
+ "versionId":{"shape":"PolicyVersionId"},
2510
+ "isDefaultVersion":{"shape":"IsDefaultVersion"},
2511
+ "createDate":{"shape":"DateType"}
2512
+ }
2513
+ },
2514
+ "PolicyVersionId":{
2515
+ "type":"string",
2516
+ "pattern":"[0-9]+"
2517
+ },
2518
+ "PolicyVersions":{
2519
+ "type":"list",
2520
+ "member":{"shape":"PolicyVersion"}
2521
+ },
2522
+ "Principal":{"type":"string"},
2523
+ "PrincipalArn":{"type":"string"},
2524
+ "Principals":{
2525
+ "type":"list",
2526
+ "member":{"shape":"PrincipalArn"}
2527
+ },
2528
+ "PrivateKey":{
2529
+ "type":"string",
2530
+ "min":1
2531
+ },
2532
+ "PublicKey":{
2533
+ "type":"string",
2534
+ "min":1
2535
+ },
2536
+ "QueueUrl":{"type":"string"},
2537
+ "RangeKeyField":{"type":"string"},
2538
+ "RangeKeyValue":{"type":"string"},
2539
+ "RejectCertificateTransferRequest":{
2540
+ "type":"structure",
2541
+ "required":["certificateId"],
2542
+ "members":{
2543
+ "certificateId":{
2544
+ "shape":"CertificateId",
2545
+ "location":"uri",
2546
+ "locationName":"certificateId"
2547
+ }
2548
+ }
2549
+ },
2550
+ "ReplaceTopicRuleRequest":{
2551
+ "type":"structure",
2552
+ "required":[
2553
+ "ruleName",
2554
+ "topicRulePayload"
2555
+ ],
2556
+ "members":{
2557
+ "ruleName":{
2558
+ "shape":"RuleName",
2559
+ "location":"uri",
2560
+ "locationName":"ruleName"
2561
+ },
2562
+ "topicRulePayload":{"shape":"TopicRulePayload"}
2563
+ },
2564
+ "payload":"topicRulePayload"
2565
+ },
2566
+ "RepublishAction":{
2567
+ "type":"structure",
2568
+ "required":[
2569
+ "roleArn",
2570
+ "topic"
2571
+ ],
2572
+ "members":{
2573
+ "roleArn":{"shape":"AwsArn"},
2574
+ "topic":{"shape":"TopicPattern"}
2575
+ }
2576
+ },
2577
+ "ResourceAlreadyExistsException":{
2578
+ "type":"structure",
2579
+ "members":{
2580
+ "message":{"shape":"errorMessage"}
2581
+ },
2582
+ "error":{"httpStatusCode":409},
2583
+ "exception":true
2584
+ },
2585
+ "ResourceNotFoundException":{
2586
+ "type":"structure",
2587
+ "members":{
2588
+ "message":{"shape":"errorMessage"}
2589
+ },
2590
+ "error":{"httpStatusCode":404},
2591
+ "exception":true
2592
+ },
2593
+ "RuleName":{
2594
+ "type":"string",
2595
+ "min":1,
2596
+ "max":128,
2597
+ "pattern":"^[a-zA-Z0-9_]+$"
2598
+ },
2599
+ "S3Action":{
2600
+ "type":"structure",
2601
+ "required":[
2602
+ "roleArn",
2603
+ "bucketName",
2604
+ "key"
2605
+ ],
2606
+ "members":{
2607
+ "roleArn":{"shape":"AwsArn"},
2608
+ "bucketName":{"shape":"BucketName"},
2609
+ "key":{"shape":"Key"}
2610
+ }
2611
+ },
2612
+ "SQL":{"type":"string"},
2613
+ "ServiceUnavailableException":{
2614
+ "type":"structure",
2615
+ "members":{
2616
+ "message":{"shape":"errorMessage"}
2617
+ },
2618
+ "error":{"httpStatusCode":503},
2619
+ "exception":true,
2620
+ "fault":true
2621
+ },
2622
+ "SetAsActive":{"type":"boolean"},
2623
+ "SetAsDefault":{"type":"boolean"},
2624
+ "SetDefaultPolicyVersionRequest":{
2625
+ "type":"structure",
2626
+ "required":[
2627
+ "policyName",
2628
+ "policyVersionId"
2629
+ ],
2630
+ "members":{
2631
+ "policyName":{
2632
+ "shape":"PolicyName",
2633
+ "location":"uri",
2634
+ "locationName":"policyName"
2635
+ },
2636
+ "policyVersionId":{
2637
+ "shape":"PolicyVersionId",
2638
+ "location":"uri",
2639
+ "locationName":"policyVersionId"
2640
+ }
2641
+ }
2642
+ },
2643
+ "SetLoggingOptionsRequest":{
2644
+ "type":"structure",
2645
+ "members":{
2646
+ "loggingOptionsPayload":{"shape":"LoggingOptionsPayload"}
2647
+ },
2648
+ "payload":"loggingOptionsPayload"
2649
+ },
2650
+ "SnsAction":{
2651
+ "type":"structure",
2652
+ "required":[
2653
+ "targetArn",
2654
+ "roleArn"
2655
+ ],
2656
+ "members":{
2657
+ "targetArn":{"shape":"AwsArn"},
2658
+ "roleArn":{"shape":"AwsArn"}
2659
+ }
2660
+ },
2661
+ "SqlParseException":{
2662
+ "type":"structure",
2663
+ "members":{
2664
+ "message":{"shape":"errorMessage"}
2665
+ },
2666
+ "error":{"httpStatusCode":406},
2667
+ "exception":true
2668
+ },
2669
+ "SqsAction":{
2670
+ "type":"structure",
2671
+ "required":[
2672
+ "roleArn",
2673
+ "queueUrl"
2674
+ ],
2675
+ "members":{
2676
+ "roleArn":{"shape":"AwsArn"},
2677
+ "queueUrl":{"shape":"QueueUrl"},
2678
+ "useBase64":{"shape":"UseBase64"}
2679
+ }
2680
+ },
2681
+ "StreamName":{"type":"string"},
2682
+ "TableName":{"type":"string"},
2683
+ "ThingArn":{"type":"string"},
2684
+ "ThingAttribute":{
2685
+ "type":"structure",
2686
+ "members":{
2687
+ "thingName":{"shape":"ThingName"},
2688
+ "attributes":{"shape":"Attributes"}
2689
+ }
2690
+ },
2691
+ "ThingAttributeList":{
2692
+ "type":"list",
2693
+ "member":{"shape":"ThingAttribute"}
2694
+ },
2695
+ "ThingName":{
2696
+ "type":"string",
2697
+ "min":1,
2698
+ "max":128,
2699
+ "pattern":"[a-zA-Z0-9_-]+"
2700
+ },
2701
+ "ThingNameList":{
2702
+ "type":"list",
2703
+ "member":{"shape":"ThingName"}
2704
+ },
2705
+ "ThrottlingException":{
2706
+ "type":"structure",
2707
+ "members":{
2708
+ "message":{"shape":"errorMessage"}
2709
+ },
2710
+ "error":{"httpStatusCode":429},
2711
+ "exception":true
2712
+ },
2713
+ "Topic":{"type":"string"},
2714
+ "TopicPattern":{"type":"string"},
2715
+ "TopicRule":{
2716
+ "type":"structure",
2717
+ "members":{
2718
+ "ruleName":{"shape":"RuleName"},
2719
+ "sql":{"shape":"SQL"},
2720
+ "description":{"shape":"Description"},
2721
+ "createdAt":{"shape":"CreatedAtDate"},
2722
+ "actions":{"shape":"ActionList"},
2723
+ "ruleDisabled":{"shape":"IsDisabled"}
2724
+ }
2725
+ },
2726
+ "TopicRuleList":{
2727
+ "type":"list",
2728
+ "member":{"shape":"TopicRuleListItem"}
2729
+ },
2730
+ "TopicRuleListItem":{
2731
+ "type":"structure",
2732
+ "members":{
2733
+ "ruleName":{"shape":"RuleName"},
2734
+ "topicPattern":{"shape":"TopicPattern"},
2735
+ "createdAt":{"shape":"CreatedAtDate"},
2736
+ "ruleDisabled":{"shape":"IsDisabled"}
2737
+ }
2738
+ },
2739
+ "TopicRulePayload":{
2740
+ "type":"structure",
2741
+ "required":[
2742
+ "sql",
2743
+ "actions"
2744
+ ],
2745
+ "members":{
2746
+ "sql":{"shape":"SQL"},
2747
+ "description":{"shape":"Description"},
2748
+ "actions":{"shape":"ActionList"},
2749
+ "ruleDisabled":{"shape":"IsDisabled"}
2750
+ }
2751
+ },
2752
+ "TransferAlreadyCompletedException":{
2753
+ "type":"structure",
2754
+ "members":{
2755
+ "message":{"shape":"errorMessage"}
2756
+ },
2757
+ "error":{"httpStatusCode":410},
2758
+ "exception":true
2759
+ },
2760
+ "TransferCertificateRequest":{
2761
+ "type":"structure",
2762
+ "required":[
2763
+ "certificateId",
2764
+ "targetAwsAccount"
2765
+ ],
2766
+ "members":{
2767
+ "certificateId":{
2768
+ "shape":"CertificateId",
2769
+ "location":"uri",
2770
+ "locationName":"certificateId"
2771
+ },
2772
+ "targetAwsAccount":{
2773
+ "shape":"AwsAccountId",
2774
+ "location":"querystring",
2775
+ "locationName":"targetAwsAccount"
2776
+ }
2777
+ }
2778
+ },
2779
+ "TransferCertificateResponse":{
2780
+ "type":"structure",
2781
+ "members":{
2782
+ "transferredCertificateArn":{"shape":"CertificateArn"}
2783
+ }
2784
+ },
2785
+ "TransferConflictException":{
2786
+ "type":"structure",
2787
+ "members":{
2788
+ "message":{"shape":"errorMessage"}
2789
+ },
2790
+ "error":{"httpStatusCode":409},
2791
+ "exception":true
2792
+ },
2793
+ "UnauthorizedException":{
2794
+ "type":"structure",
2795
+ "members":{
2796
+ "message":{"shape":"errorMessage"}
2797
+ },
2798
+ "error":{"httpStatusCode":401},
2799
+ "exception":true
2800
+ },
2801
+ "UpdateCertificateRequest":{
2802
+ "type":"structure",
2803
+ "required":[
2804
+ "certificateId",
2805
+ "newStatus"
2806
+ ],
2807
+ "members":{
2808
+ "certificateId":{
2809
+ "shape":"CertificateId",
2810
+ "location":"uri",
2811
+ "locationName":"certificateId"
2812
+ },
2813
+ "newStatus":{
2814
+ "shape":"CertificateStatus",
2815
+ "location":"querystring",
2816
+ "locationName":"newStatus"
2817
+ }
2818
+ }
2819
+ },
2820
+ "UpdateThingRequest":{
2821
+ "type":"structure",
2822
+ "required":[
2823
+ "thingName",
2824
+ "attributePayload"
2825
+ ],
2826
+ "members":{
2827
+ "thingName":{
2828
+ "shape":"ThingName",
2829
+ "location":"uri",
2830
+ "locationName":"thingName"
2831
+ },
2832
+ "attributePayload":{"shape":"AttributePayload"}
2833
+ }
2834
+ },
2835
+ "UpdateThingResponse":{
2836
+ "type":"structure",
2837
+ "members":{
2838
+ }
2839
+ },
2840
+ "UseBase64":{"type":"boolean"},
2841
+ "VersionsLimitExceededException":{
2842
+ "type":"structure",
2843
+ "members":{
2844
+ "message":{"shape":"errorMessage"}
2845
+ },
2846
+ "error":{"httpStatusCode":409},
2847
+ "exception":true
2848
+ },
2849
+ "errorMessage":{"type":"string"}
2850
+ }
2851
+ }