-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
service-2.json
20876 lines (20876 loc) · 831 KB
/
service-2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version":"2.0",
"metadata":{
"apiVersion":"2015-05-28",
"endpointPrefix":"iot",
"protocol":"rest-json",
"serviceFullName":"AWS IoT",
"serviceId":"IoT",
"signatureVersion":"v4",
"signingName":"iot",
"uid":"iot-2015-05-28"
},
"operations":{
"AcceptCertificateTransfer":{
"name":"AcceptCertificateTransfer",
"http":{
"method":"PATCH",
"requestUri":"/accept-certificate-transfer/{certificateId}"
},
"input":{"shape":"AcceptCertificateTransferRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"TransferAlreadyCompletedException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.</p> <p>To check for pending certificate transfers, call <a>ListCertificates</a> to enumerate your certificates.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AcceptCertificateTransfer</a> action.</p>"
},
"AddThingToBillingGroup":{
"name":"AddThingToBillingGroup",
"http":{
"method":"PUT",
"requestUri":"/billing-groups/addThingToBillingGroup"
},
"input":{"shape":"AddThingToBillingGroupRequest"},
"output":{"shape":"AddThingToBillingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Adds a thing to a billing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AddThingToBillingGroup</a> action.</p>"
},
"AddThingToThingGroup":{
"name":"AddThingToThingGroup",
"http":{
"method":"PUT",
"requestUri":"/thing-groups/addThingToThingGroup"
},
"input":{"shape":"AddThingToThingGroupRequest"},
"output":{"shape":"AddThingToThingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Adds a thing to a thing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AddThingToThingGroup</a> action.</p>"
},
"AssociateTargetsWithJob":{
"name":"AssociateTargetsWithJob",
"http":{
"method":"POST",
"requestUri":"/jobs/{jobId}/targets"
},
"input":{"shape":"AssociateTargetsWithJobRequest"},
"output":{"shape":"AssociateTargetsWithJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Associates a group with a continuous job. The following criteria must be met: </p> <ul> <li> <p>The job must have been created with the <code>targetSelection</code> field set to \"CONTINUOUS\".</p> </li> <li> <p>The job status must currently be \"IN_PROGRESS\".</p> </li> <li> <p>The total number of targets associated with a job must not exceed 100.</p> </li> </ul> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AssociateTargetsWithJob</a> action.</p>"
},
"AttachPolicy":{
"name":"AttachPolicy",
"http":{
"method":"PUT",
"requestUri":"/target-policies/{policyName}"
},
"input":{"shape":"AttachPolicyRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPolicy</a> action.</p>"
},
"AttachPrincipalPolicy":{
"name":"AttachPrincipalPolicy",
"http":{
"method":"PUT",
"requestUri":"/principal-policies/{policyName}"
},
"input":{"shape":"AttachPrincipalPolicyRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Attaches the specified policy to the specified principal (certificate or other credential).</p> <p> <b>Note:</b> This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use <a>AttachPolicy</a> instead.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachPrincipalPolicy</a> action.</p>",
"deprecated":true
},
"AttachSecurityProfile":{
"name":"AttachSecurityProfile",
"http":{
"method":"PUT",
"requestUri":"/security-profiles/{securityProfileName}/targets"
},
"input":{"shape":"AttachSecurityProfileRequest"},
"output":{"shape":"AttachSecurityProfileResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"LimitExceededException"},
{"shape":"VersionConflictException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Associates a Device Defender security profile with a thing group or this account. Each thing group or account can have up to five security profiles associated with it.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachSecurityProfile</a> action.</p>"
},
"AttachThingPrincipal":{
"name":"AttachThingPrincipal",
"http":{
"method":"PUT",
"requestUri":"/things/{thingName}/principals"
},
"input":{"shape":"AttachThingPrincipalRequest"},
"output":{"shape":"AttachThingPrincipalResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Attaches the specified principal to the specified thing. A principal can be X.509 certificates, Amazon Cognito identities or federated identities.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">AttachThingPrincipal</a> action.</p>"
},
"CancelAuditMitigationActionsTask":{
"name":"CancelAuditMitigationActionsTask",
"http":{
"method":"PUT",
"requestUri":"/audit/mitigationactions/tasks/{taskId}/cancel"
},
"input":{"shape":"CancelAuditMitigationActionsTaskRequest"},
"output":{"shape":"CancelAuditMitigationActionsTaskResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelAuditMitigationActionsTask</a> action.</p>"
},
"CancelAuditTask":{
"name":"CancelAuditTask",
"http":{
"method":"PUT",
"requestUri":"/audit/tasks/{taskId}/cancel"
},
"input":{"shape":"CancelAuditTaskRequest"},
"output":{"shape":"CancelAuditTaskResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Cancels an audit that is in progress. The audit can be either scheduled or on demand. If the audit isn't in progress, an \"InvalidRequestException\" occurs.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelAuditTask</a> action.</p>"
},
"CancelCertificateTransfer":{
"name":"CancelCertificateTransfer",
"http":{
"method":"PATCH",
"requestUri":"/cancel-certificate-transfer/{certificateId}"
},
"input":{"shape":"CancelCertificateTransferRequest"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"TransferAlreadyCompletedException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Cancels a pending transfer for the specified certificate.</p> <p> <b>Note</b> Only the transfer source account can use this operation to cancel a transfer. (Transfer destinations can use <a>RejectCertificateTransfer</a> instead.) After transfer, IoT returns the certificate to the source account in the INACTIVE state. After the destination account has accepted the transfer, the transfer cannot be cancelled.</p> <p>After a certificate transfer is cancelled, the status of the certificate changes from PENDING_TRANSFER to INACTIVE.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelCertificateTransfer</a> action.</p>"
},
"CancelDetectMitigationActionsTask":{
"name":"CancelDetectMitigationActionsTask",
"http":{
"method":"PUT",
"requestUri":"/detect/mitigationactions/tasks/{taskId}/cancel"
},
"input":{"shape":"CancelDetectMitigationActionsTaskRequest"},
"output":{"shape":"CancelDetectMitigationActionsTaskResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p> Cancels a Device Defender ML Detect mitigation action. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelDetectMitigationActionsTask</a> action.</p>"
},
"CancelJob":{
"name":"CancelJob",
"http":{
"method":"PUT",
"requestUri":"/jobs/{jobId}/cancel"
},
"input":{"shape":"CancelJobRequest"},
"output":{"shape":"CancelJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ServiceUnavailableException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Cancels a job.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelJob</a> action.</p>"
},
"CancelJobExecution":{
"name":"CancelJobExecution",
"http":{
"method":"PUT",
"requestUri":"/things/{thingName}/jobs/{jobId}/cancel"
},
"input":{"shape":"CancelJobExecutionRequest"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"InvalidStateTransitionException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"ServiceUnavailableException"},
{"shape":"VersionConflictException"}
],
"documentation":"<p>Cancels the execution of a job for a given thing.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CancelJobExecution</a> action.</p>"
},
"ClearDefaultAuthorizer":{
"name":"ClearDefaultAuthorizer",
"http":{
"method":"DELETE",
"requestUri":"/default-authorizer"
},
"input":{"shape":"ClearDefaultAuthorizerRequest"},
"output":{"shape":"ClearDefaultAuthorizerResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Clears the default authorizer.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">ClearDefaultAuthorizer</a> action.</p>"
},
"ConfirmTopicRuleDestination":{
"name":"ConfirmTopicRuleDestination",
"http":{
"method":"GET",
"requestUri":"/confirmdestination/{confirmationToken+}"
},
"input":{"shape":"ConfirmTopicRuleDestinationRequest"},
"output":{"shape":"ConfirmTopicRuleDestinationResponse"},
"errors":[
{"shape":"InternalException"},
{"shape":"InvalidRequestException"},
{"shape":"ServiceUnavailableException"},
{"shape":"UnauthorizedException"},
{"shape":"ConflictingResourceUpdateException"}
],
"documentation":"<p>Confirms a topic rule destination. When you create a rule requiring a destination, IoT sends a confirmation message to the endpoint or base address you specify. The message includes a token which you pass back when calling <code>ConfirmTopicRuleDestination</code> to confirm that you own or have access to the endpoint.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">ConfirmTopicRuleDestination</a> action.</p>"
},
"CreateAuditSuppression":{
"name":"CreateAuditSuppression",
"http":{
"method":"POST",
"requestUri":"/audit/suppressions/create"
},
"input":{"shape":"CreateAuditSuppressionRequest"},
"output":{"shape":"CreateAuditSuppressionResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p> Creates a Device Defender audit suppression. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateAuditSuppression</a> action.</p>"
},
"CreateAuthorizer":{
"name":"CreateAuthorizer",
"http":{
"method":"POST",
"requestUri":"/authorizer/{authorizerName}"
},
"input":{"shape":"CreateAuthorizerRequest"},
"output":{"shape":"CreateAuthorizerResponse"},
"errors":[
{"shape":"ResourceAlreadyExistsException"},
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates an authorizer.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateAuthorizer</a> action.</p>"
},
"CreateBillingGroup":{
"name":"CreateBillingGroup",
"http":{
"method":"POST",
"requestUri":"/billing-groups/{billingGroupName}"
},
"input":{"shape":"CreateBillingGroupRequest"},
"output":{"shape":"CreateBillingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a billing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateBillingGroup</a> action.</p>"
},
"CreateCertificateFromCsr":{
"name":"CreateCertificateFromCsr",
"http":{
"method":"POST",
"requestUri":"/certificates"
},
"input":{"shape":"CreateCertificateFromCsrRequest"},
"output":{"shape":"CreateCertificateFromCsrResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates an X.509 certificate using the specified certificate signing request. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateCertificateFromCsr</a> action. </p> <note> <p>The CSR must include a public key that is either an RSA key with a length of at least 2048 bits or an ECC key from NIST P-256, NIST P-384, or NIST P-521 curves. For supported certificates, consult <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html#x509-cert-algorithms\"> Certificate signing algorithms supported by IoT</a>. </p> </note> <note> <p>Reusing the same certificate signing request (CSR) results in a distinct certificate.</p> </note> <p>You can create multiple certificates in a batch by creating a directory, copying multiple <code>.csr</code> files into that directory, and then specifying that directory on the command line. The following commands show how to create a batch of certificates given a batch of CSRs. In the following commands, we assume that a set of CSRs are located inside of the directory my-csr-directory:</p> <p>On Linux and OS X, the command is: </p> <p> <code>$ ls my-csr-directory/ | xargs -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{}</code> </p> <p>This command lists all of the CSRs in my-csr-directory and pipes each CSR file name to the <code>aws iot create-certificate-from-csr</code> Amazon Web Services CLI command to create a certificate for the corresponding CSR. </p> <p>You can also run the <code>aws iot create-certificate-from-csr</code> part of the command in parallel to speed up the certificate creation process:</p> <p> <code>$ ls my-csr-directory/ | xargs -P 10 -I {} aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/{} </code> </p> <p>On Windows PowerShell, the command to create certificates for all CSRs in my-csr-directory is:</p> <p> <code>> ls -Name my-csr-directory | %{aws iot create-certificate-from-csr --certificate-signing-request file://my-csr-directory/$_} </code> </p> <p>On a Windows command prompt, the command to create certificates for all CSRs in my-csr-directory is:</p> <p> <code>> forfiles /p my-csr-directory /c \"cmd /c aws iot create-certificate-from-csr --certificate-signing-request file://@path\" </code> </p>"
},
"CreateCertificateProvider":{
"name":"CreateCertificateProvider",
"http":{
"method":"POST",
"requestUri":"/certificate-providers/{certificateProviderName}"
},
"input":{"shape":"CreateCertificateProviderRequest"},
"output":{"shape":"CreateCertificateProviderResponse"},
"errors":[
{"shape":"LimitExceededException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates an Amazon Web Services IoT Core certificate provider. You can use Amazon Web Services IoT Core certificate provider to customize how to sign a certificate signing request (CSR) in IoT fleet provisioning. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/provisioning-cert-provider.html\">Customizing certificate signing using Amazon Web Services IoT Core certificate provider</a> from <i>Amazon Web Services IoT Core Developer Guide</i>.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateCertificateProvider</a> action.</p> <important> <p>After you create a certificate provider, the behavior of <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/fleet-provision-api.html#create-cert-csr\"> <code>CreateCertificateFromCsr</code> API for fleet provisioning</a> will change and all API calls to <code>CreateCertificateFromCsr</code> will invoke the certificate provider to create the certificates. It can take up to a few minutes for this behavior to change after a certificate provider is created.</p> </important>"
},
"CreateCustomMetric":{
"name":"CreateCustomMetric",
"http":{
"method":"POST",
"requestUri":"/custom-metric/{metricName}"
},
"input":{"shape":"CreateCustomMetricRequest"},
"output":{"shape":"CreateCustomMetricResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p> Use this API to define a Custom Metric published by your devices to Device Defender. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateCustomMetric</a> action.</p>"
},
"CreateDimension":{
"name":"CreateDimension",
"http":{
"method":"POST",
"requestUri":"/dimensions/{name}"
},
"input":{"shape":"CreateDimensionRequest"},
"output":{"shape":"CreateDimensionResponse"},
"errors":[
{"shape":"InternalFailureException"},
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"}
],
"documentation":"<p>Create a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender. For example, using a <code>TOPIC_FILTER</code> dimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateDimension</a> action.</p>"
},
"CreateDomainConfiguration":{
"name":"CreateDomainConfiguration",
"http":{
"method":"POST",
"requestUri":"/domainConfigurations/{domainConfigurationName}"
},
"input":{"shape":"CreateDomainConfigurationRequest"},
"output":{"shape":"CreateDomainConfigurationResponse"},
"errors":[
{"shape":"LimitExceededException"},
{"shape":"CertificateValidationException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"InvalidRequestException"},
{"shape":"UnauthorizedException"},
{"shape":"ThrottlingException"}
],
"documentation":"<p>Creates a domain configuration.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateDomainConfiguration</a> action.</p>"
},
"CreateDynamicThingGroup":{
"name":"CreateDynamicThingGroup",
"http":{
"method":"POST",
"requestUri":"/dynamic-thing-groups/{thingGroupName}"
},
"input":{"shape":"CreateDynamicThingGroupRequest"},
"output":{"shape":"CreateDynamicThingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"InvalidQueryException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Creates a dynamic thing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateDynamicThingGroup</a> action.</p>"
},
"CreateFleetMetric":{
"name":"CreateFleetMetric",
"http":{
"method":"PUT",
"requestUri":"/fleet-metric/{metricName}"
},
"input":{"shape":"CreateFleetMetricRequest"},
"output":{"shape":"CreateFleetMetricResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidQueryException"},
{"shape":"InvalidAggregationException"},
{"shape":"IndexNotReadyException"}
],
"documentation":"<p>Creates a fleet metric.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateFleetMetric</a> action.</p>"
},
"CreateJob":{
"name":"CreateJob",
"http":{
"method":"PUT",
"requestUri":"/jobs/{jobId}"
},
"input":{"shape":"CreateJobRequest"},
"output":{"shape":"CreateJobResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates a job.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateJob</a> action.</p>"
},
"CreateJobTemplate":{
"name":"CreateJobTemplate",
"http":{
"method":"PUT",
"requestUri":"/job-templates/{jobTemplateId}"
},
"input":{"shape":"CreateJobTemplateRequest"},
"output":{"shape":"CreateJobTemplateResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ConflictException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a job template.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateJobTemplate</a> action.</p>"
},
"CreateKeysAndCertificate":{
"name":"CreateKeysAndCertificate",
"http":{
"method":"POST",
"requestUri":"/keys-and-certificate"
},
"input":{"shape":"CreateKeysAndCertificateRequest"},
"output":{"shape":"CreateKeysAndCertificateResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a 2048-bit RSA key pair and issues an X.509 certificate using the issued public key. You can also call <code>CreateKeysAndCertificate</code> over MQTT from a device, for more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/provision-wo-cert.html#provision-mqtt-api\">Provisioning MQTT API</a>.</p> <p> <b>Note</b> This is the only time IoT issues the private key for this certificate, so it is important to keep it in a secure location.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateKeysAndCertificate</a> action.</p>"
},
"CreateMitigationAction":{
"name":"CreateMitigationAction",
"http":{
"method":"POST",
"requestUri":"/mitigationactions/actions/{actionName}"
},
"input":{"shape":"CreateMitigationActionRequest"},
"output":{"shape":"CreateMitigationActionResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Defines an action that can be applied to audit findings by using StartAuditMitigationActionsTask. Only certain types of mitigation actions can be applied to specific check names. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/device-defender-mitigation-actions.html\">Mitigation actions</a>. Each mitigation action can apply only one type of change.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateMitigationAction</a> action.</p>"
},
"CreateOTAUpdate":{
"name":"CreateOTAUpdate",
"http":{
"method":"POST",
"requestUri":"/otaUpdates/{otaUpdateId}"
},
"input":{"shape":"CreateOTAUpdateRequest"},
"output":{"shape":"CreateOTAUpdateResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"InternalFailureException"},
{"shape":"ServiceUnavailableException"}
],
"documentation":"<p>Creates an IoT OTA update on a target group of things or groups.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateOTAUpdate</a> action.</p>"
},
"CreatePackage":{
"name":"CreatePackage",
"http":{
"method":"PUT",
"requestUri":"/packages/{packageName}",
"responseCode":200
},
"input":{"shape":"CreatePackageRequest"},
"output":{"shape":"CreatePackageResponse"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"InternalServerException"},
{"shape":"ValidationException"},
{"shape":"ServiceQuotaExceededException"}
],
"documentation":"<p>Creates an IoT software package that can be deployed to your fleet.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreatePackage</a> and <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">GetIndexingConfiguration</a> actions.</p>",
"idempotent":true
},
"CreatePackageVersion":{
"name":"CreatePackageVersion",
"http":{
"method":"PUT",
"requestUri":"/packages/{packageName}/versions/{versionName}",
"responseCode":200
},
"input":{"shape":"CreatePackageVersionRequest"},
"output":{"shape":"CreatePackageVersionResponse"},
"errors":[
{"shape":"ThrottlingException"},
{"shape":"ConflictException"},
{"shape":"InternalServerException"},
{"shape":"ValidationException"},
{"shape":"ServiceQuotaExceededException"}
],
"documentation":"<p>Creates a new version for an existing IoT software package.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreatePackageVersion</a> and <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">GetIndexingConfiguration</a> actions.</p>",
"idempotent":true
},
"CreatePolicy":{
"name":"CreatePolicy",
"http":{
"method":"POST",
"requestUri":"/policies/{policyName}"
},
"input":{"shape":"CreatePolicyRequest"},
"output":{"shape":"CreatePolicyResponse"},
"errors":[
{"shape":"ResourceAlreadyExistsException"},
{"shape":"MalformedPolicyException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates an IoT policy.</p> <p>The created policy is the default version for the policy. This operation creates a policy version with a version identifier of <b>1</b> and sets <b>1</b> as the policy's default version.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreatePolicy</a> action.</p>"
},
"CreatePolicyVersion":{
"name":"CreatePolicyVersion",
"http":{
"method":"POST",
"requestUri":"/policies/{policyName}/version"
},
"input":{"shape":"CreatePolicyVersionRequest"},
"output":{"shape":"CreatePolicyVersionResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"MalformedPolicyException"},
{"shape":"VersionsLimitExceededException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use <a>DeletePolicyVersion</a> to delete an existing version before you create a new one.</p> <p>Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreatePolicyVersion</a> action.</p>"
},
"CreateProvisioningClaim":{
"name":"CreateProvisioningClaim",
"http":{
"method":"POST",
"requestUri":"/provisioning-templates/{templateName}/provisioning-claim"
},
"input":{"shape":"CreateProvisioningClaimRequest"},
"output":{"shape":"CreateProvisioningClaimResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a provisioning claim.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateProvisioningClaim</a> action.</p>"
},
"CreateProvisioningTemplate":{
"name":"CreateProvisioningTemplate",
"http":{
"method":"POST",
"requestUri":"/provisioning-templates"
},
"input":{"shape":"CreateProvisioningTemplateRequest"},
"output":{"shape":"CreateProvisioningTemplateResponse"},
"errors":[
{"shape":"InternalFailureException"},
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ResourceAlreadyExistsException"}
],
"documentation":"<p>Creates a provisioning template.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateProvisioningTemplate</a> action.</p>"
},
"CreateProvisioningTemplateVersion":{
"name":"CreateProvisioningTemplateVersion",
"http":{
"method":"POST",
"requestUri":"/provisioning-templates/{templateName}/versions"
},
"input":{"shape":"CreateProvisioningTemplateVersionRequest"},
"output":{"shape":"CreateProvisioningTemplateVersionResponse"},
"errors":[
{"shape":"VersionsLimitExceededException"},
{"shape":"InternalFailureException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"ResourceNotFoundException"},
{"shape":"UnauthorizedException"},
{"shape":"ConflictingResourceUpdateException"}
],
"documentation":"<p>Creates a new version of a provisioning template.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateProvisioningTemplateVersion</a> action.</p>"
},
"CreateRoleAlias":{
"name":"CreateRoleAlias",
"http":{
"method":"POST",
"requestUri":"/role-aliases/{roleAlias}"
},
"input":{"shape":"CreateRoleAliasRequest"},
"output":{"shape":"CreateRoleAliasResponse"},
"errors":[
{"shape":"ResourceAlreadyExistsException"},
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a role alias.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateRoleAlias</a> action.</p>"
},
"CreateScheduledAudit":{
"name":"CreateScheduledAudit",
"http":{
"method":"POST",
"requestUri":"/audit/scheduledaudits/{scheduledAuditName}"
},
"input":{"shape":"CreateScheduledAuditRequest"},
"output":{"shape":"CreateScheduledAuditResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"},
{"shape":"LimitExceededException"}
],
"documentation":"<p>Creates a scheduled audit that is run at a specified time interval.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateScheduledAudit</a> action.</p>"
},
"CreateSecurityProfile":{
"name":"CreateSecurityProfile",
"http":{
"method":"POST",
"requestUri":"/security-profiles/{securityProfileName}"
},
"input":{"shape":"CreateSecurityProfileRequest"},
"output":{"shape":"CreateSecurityProfileResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a Device Defender security profile.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateSecurityProfile</a> action.</p>"
},
"CreateStream":{
"name":"CreateStream",
"http":{
"method":"POST",
"requestUri":"/streams/{streamId}"
},
"input":{"shape":"CreateStreamRequest"},
"output":{"shape":"CreateStreamResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateStream</a> action.</p>"
},
"CreateThing":{
"name":"CreateThing",
"http":{
"method":"POST",
"requestUri":"/things/{thingName}"
},
"input":{"shape":"CreateThingRequest"},
"output":{"shape":"CreateThingResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a <code>ResourceAlreadyExistsException</code> is thrown.</p> <note> <p>This is a control plane operation. See <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html\">Authorization</a> for information about authorizing control plane actions.</p> </note> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateThing</a> action.</p>"
},
"CreateThingGroup":{
"name":"CreateThingGroup",
"http":{
"method":"POST",
"requestUri":"/thing-groups/{thingGroupName}"
},
"input":{"shape":"CreateThingGroupRequest"},
"output":{"shape":"CreateThingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Create a thing group.</p> <note> <p>This is a control plane operation. See <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/iot-authorization.html\">Authorization</a> for information about authorizing control plane actions.</p> <p>If the <code>ThingGroup</code> that you create has the exact same attributes as an existing <code>ThingGroup</code>, you will get a 200 success response. </p> </note> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateThingGroup</a> action.</p>"
},
"CreateThingType":{
"name":"CreateThingType",
"http":{
"method":"POST",
"requestUri":"/thing-types/{thingTypeName}"
},
"input":{"shape":"CreateThingTypeRequest"},
"output":{"shape":"CreateThingTypeResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceAlreadyExistsException"}
],
"documentation":"<p>Creates a new thing type.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateThingType</a> action.</p>"
},
"CreateTopicRule":{
"name":"CreateTopicRule",
"http":{
"method":"POST",
"requestUri":"/rules/{ruleName}"
},
"input":{"shape":"CreateTopicRuleRequest"},
"errors":[
{"shape":"SqlParseException"},
{"shape":"InternalException"},
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ConflictingResourceUpdateException"}
],
"documentation":"<p>Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateTopicRule</a> action.</p>"
},
"CreateTopicRuleDestination":{
"name":"CreateTopicRuleDestination",
"http":{
"method":"POST",
"requestUri":"/destinations"
},
"input":{"shape":"CreateTopicRuleDestinationRequest"},
"output":{"shape":"CreateTopicRuleDestinationResponse"},
"errors":[
{"shape":"InternalException"},
{"shape":"InvalidRequestException"},
{"shape":"ResourceAlreadyExistsException"},
{"shape":"ServiceUnavailableException"},
{"shape":"ConflictingResourceUpdateException"}
],
"documentation":"<p>Creates a topic rule destination. The destination must be confirmed prior to use.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">CreateTopicRuleDestination</a> action.</p>"
},
"DeleteAccountAuditConfiguration":{
"name":"DeleteAccountAuditConfiguration",
"http":{
"method":"DELETE",
"requestUri":"/audit/configuration"
},
"input":{"shape":"DeleteAccountAuditConfigurationRequest"},
"output":{"shape":"DeleteAccountAuditConfigurationResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Restores the default settings for Device Defender audits for this account. Any configuration data you entered is deleted and all audit checks are reset to disabled. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteAccountAuditConfiguration</a> action.</p>"
},
"DeleteAuditSuppression":{
"name":"DeleteAuditSuppression",
"http":{
"method":"POST",
"requestUri":"/audit/suppressions/delete"
},
"input":{"shape":"DeleteAuditSuppressionRequest"},
"output":{"shape":"DeleteAuditSuppressionResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p> Deletes a Device Defender audit suppression. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteAuditSuppression</a> action.</p>"
},
"DeleteAuthorizer":{
"name":"DeleteAuthorizer",
"http":{
"method":"DELETE",
"requestUri":"/authorizer/{authorizerName}"
},
"input":{"shape":"DeleteAuthorizerRequest"},
"output":{"shape":"DeleteAuthorizerResponse"},
"errors":[
{"shape":"DeleteConflictException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Deletes an authorizer.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteAuthorizer</a> action.</p>"
},
"DeleteBillingGroup":{
"name":"DeleteBillingGroup",
"http":{
"method":"DELETE",
"requestUri":"/billing-groups/{billingGroupName}"
},
"input":{"shape":"DeleteBillingGroupRequest"},
"output":{"shape":"DeleteBillingGroupResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"VersionConflictException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Deletes the billing group.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteBillingGroup</a> action.</p>"
},
"DeleteCACertificate":{
"name":"DeleteCACertificate",
"http":{
"method":"DELETE",
"requestUri":"/cacertificate/{caCertificateId}"
},
"input":{"shape":"DeleteCACertificateRequest"},
"output":{"shape":"DeleteCACertificateResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"CertificateStateException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Deletes a registered CA certificate.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteCACertificate</a> action.</p>"
},
"DeleteCertificate":{
"name":"DeleteCertificate",
"http":{
"method":"DELETE",
"requestUri":"/certificates/{certificateId}"
},
"input":{"shape":"DeleteCertificateRequest"},
"errors":[
{"shape":"CertificateStateException"},
{"shape":"DeleteConflictException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"},
{"shape":"ResourceNotFoundException"}
],
"documentation":"<p>Deletes the specified certificate.</p> <p>A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the <a>DetachPolicy</a> action to detach all policies. Next, use the <a>UpdateCertificate</a> action to set the certificate to the INACTIVE status.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteCertificate</a> action.</p>"
},
"DeleteCertificateProvider":{
"name":"DeleteCertificateProvider",
"http":{
"method":"DELETE",
"requestUri":"/certificate-providers/{certificateProviderName}"
},
"input":{"shape":"DeleteCertificateProviderRequest"},
"output":{"shape":"DeleteCertificateProviderResponse"},
"errors":[
{"shape":"DeleteConflictException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
{"shape":"ServiceUnavailableException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p>Deletes a certificate provider.</p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteCertificateProvider</a> action. </p> <p>If you delete the certificate provider resource, the behavior of <code>CreateCertificateFromCsr</code> will resume, and IoT will create certificates signed by IoT from a certificate signing request (CSR).</p>"
},
"DeleteCustomMetric":{
"name":"DeleteCustomMetric",
"http":{
"method":"DELETE",
"requestUri":"/custom-metric/{metricName}"
},
"input":{"shape":"DeleteCustomMetricRequest"},
"output":{"shape":"DeleteCustomMetricResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ThrottlingException"},
{"shape":"InternalFailureException"}
],
"documentation":"<p> Deletes a Device Defender detect custom metric. </p> <p>Requires permission to access the <a href=\"https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions\">DeleteCustomMetric</a> action.</p> <note> <p>Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the <a href=\"https://docs.aws.amazon.com/iot/latest/apireference/API_ListSecurityProfiles.html\">ListSecurityProfiles</a> API with <code>metricName</code> set to your custom metric name.</p> </note>"
},
"DeleteDimension":{
"name":"DeleteDimension",
"http":{
"method":"DELETE",
"requestUri":"/dimensions/{name}"
},
"input":{"shape":"DeleteDimensionRequest"},
"output":{"shape":"DeleteDimensionResponse"},
"errors":[