@aws-sdk/client-iot 3.473.0 → 3.474.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/IoT.js +10 -0
- package/dist-cjs/commands/CreateCertificateProviderCommand.js +51 -0
- package/dist-cjs/commands/DeleteCertificateProviderCommand.js +51 -0
- package/dist-cjs/commands/DescribeCertificateProviderCommand.js +51 -0
- package/dist-cjs/commands/ListCertificateProvidersCommand.js +51 -0
- package/dist-cjs/commands/UpdateCertificateProviderCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +5 -2
- package/dist-cjs/protocols/Aws_restJson1.js +370 -10
- package/dist-es/IoT.js +10 -0
- package/dist-es/commands/CreateCertificateProviderCommand.js +47 -0
- package/dist-es/commands/DeleteCertificateProviderCommand.js +47 -0
- package/dist-es/commands/DescribeCertificateProviderCommand.js +47 -0
- package/dist-es/commands/ListCertificateProvidersCommand.js +47 -0
- package/dist-es/commands/UpdateCertificateProviderCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +349 -0
- package/dist-types/IoT.d.ts +35 -0
- package/dist-types/IoTClient.d.ts +7 -2
- package/dist-types/commands/CreateCertificateProviderCommand.d.ts +118 -0
- package/dist-types/commands/DeleteCertificateProviderCommand.d.ts +98 -0
- package/dist-types/commands/DeleteCustomMetricCommand.d.ts +2 -1
- package/dist-types/commands/DeleteDimensionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCertificateProviderCommand.d.ts +100 -0
- package/dist-types/commands/ListCertificateProvidersCommand.d.ts +97 -0
- package/dist-types/commands/ListOutgoingCertificatesCommand.d.ts +2 -1
- package/dist-types/commands/ListPackageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCertificateProviderCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +68 -31
- package/dist-types/models/models_1.d.ts +128 -219
- package/dist-types/models/models_2.d.ts +255 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/IoT.d.ts +85 -0
- package/dist-types/ts3.4/IoTClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateCertificateProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCertificateProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomMetricCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteDimensionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDomainConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCertificateProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCertificateProvidersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListOutgoingCertificatesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListPackageVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPackagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCertificateProviderCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +20 -9
- package/dist-types/ts3.4/models/models_1.d.ts +33 -52
- package/dist-types/ts3.4/models/models_2.d.ts +63 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -378,6 +378,14 @@ CreateCertificateFromCsr
|
|
|
378
378
|
|
|
379
379
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/CreateCertificateFromCsrCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/CreateCertificateFromCsrCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/CreateCertificateFromCsrCommandOutput/)
|
|
380
380
|
|
|
381
|
+
</details>
|
|
382
|
+
<details>
|
|
383
|
+
<summary>
|
|
384
|
+
CreateCertificateProvider
|
|
385
|
+
</summary>
|
|
386
|
+
|
|
387
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/CreateCertificateProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/CreateCertificateProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/CreateCertificateProviderCommandOutput/)
|
|
388
|
+
|
|
381
389
|
</details>
|
|
382
390
|
<details>
|
|
383
391
|
<summary>
|
|
@@ -634,6 +642,14 @@ DeleteCertificate
|
|
|
634
642
|
|
|
635
643
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/DeleteCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DeleteCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DeleteCertificateCommandOutput/)
|
|
636
644
|
|
|
645
|
+
</details>
|
|
646
|
+
<details>
|
|
647
|
+
<summary>
|
|
648
|
+
DeleteCertificateProvider
|
|
649
|
+
</summary>
|
|
650
|
+
|
|
651
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/DeleteCertificateProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DeleteCertificateProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DeleteCertificateProviderCommandOutput/)
|
|
652
|
+
|
|
637
653
|
</details>
|
|
638
654
|
<details>
|
|
639
655
|
<summary>
|
|
@@ -930,6 +946,14 @@ DescribeCertificate
|
|
|
930
946
|
|
|
931
947
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/DescribeCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DescribeCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DescribeCertificateCommandOutput/)
|
|
932
948
|
|
|
949
|
+
</details>
|
|
950
|
+
<details>
|
|
951
|
+
<summary>
|
|
952
|
+
DescribeCertificateProvider
|
|
953
|
+
</summary>
|
|
954
|
+
|
|
955
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/DescribeCertificateProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DescribeCertificateProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/DescribeCertificateProviderCommandOutput/)
|
|
956
|
+
|
|
933
957
|
</details>
|
|
934
958
|
<details>
|
|
935
959
|
<summary>
|
|
@@ -1402,6 +1426,14 @@ ListCACertificates
|
|
|
1402
1426
|
|
|
1403
1427
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/ListCACertificatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/ListCACertificatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/ListCACertificatesCommandOutput/)
|
|
1404
1428
|
|
|
1429
|
+
</details>
|
|
1430
|
+
<details>
|
|
1431
|
+
<summary>
|
|
1432
|
+
ListCertificateProviders
|
|
1433
|
+
</summary>
|
|
1434
|
+
|
|
1435
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/ListCertificateProvidersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/ListCertificateProvidersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/ListCertificateProvidersCommandOutput/)
|
|
1436
|
+
|
|
1405
1437
|
</details>
|
|
1406
1438
|
<details>
|
|
1407
1439
|
<summary>
|
|
@@ -2042,6 +2074,14 @@ UpdateCertificate
|
|
|
2042
2074
|
|
|
2043
2075
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/UpdateCertificateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/UpdateCertificateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/UpdateCertificateCommandOutput/)
|
|
2044
2076
|
|
|
2077
|
+
</details>
|
|
2078
|
+
<details>
|
|
2079
|
+
<summary>
|
|
2080
|
+
UpdateCertificateProvider
|
|
2081
|
+
</summary>
|
|
2082
|
+
|
|
2083
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/iot/command/UpdateCertificateProviderCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/UpdateCertificateProviderCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-iot/Interface/UpdateCertificateProviderCommandOutput/)
|
|
2084
|
+
|
|
2045
2085
|
</details>
|
|
2046
2086
|
<details>
|
|
2047
2087
|
<summary>
|
package/dist-cjs/IoT.js
CHANGED
|
@@ -22,6 +22,7 @@ const CreateAuditSuppressionCommand_1 = require("./commands/CreateAuditSuppressi
|
|
|
22
22
|
const CreateAuthorizerCommand_1 = require("./commands/CreateAuthorizerCommand");
|
|
23
23
|
const CreateBillingGroupCommand_1 = require("./commands/CreateBillingGroupCommand");
|
|
24
24
|
const CreateCertificateFromCsrCommand_1 = require("./commands/CreateCertificateFromCsrCommand");
|
|
25
|
+
const CreateCertificateProviderCommand_1 = require("./commands/CreateCertificateProviderCommand");
|
|
25
26
|
const CreateCustomMetricCommand_1 = require("./commands/CreateCustomMetricCommand");
|
|
26
27
|
const CreateDimensionCommand_1 = require("./commands/CreateDimensionCommand");
|
|
27
28
|
const CreateDomainConfigurationCommand_1 = require("./commands/CreateDomainConfigurationCommand");
|
|
@@ -54,6 +55,7 @@ const DeleteAuthorizerCommand_1 = require("./commands/DeleteAuthorizerCommand");
|
|
|
54
55
|
const DeleteBillingGroupCommand_1 = require("./commands/DeleteBillingGroupCommand");
|
|
55
56
|
const DeleteCACertificateCommand_1 = require("./commands/DeleteCACertificateCommand");
|
|
56
57
|
const DeleteCertificateCommand_1 = require("./commands/DeleteCertificateCommand");
|
|
58
|
+
const DeleteCertificateProviderCommand_1 = require("./commands/DeleteCertificateProviderCommand");
|
|
57
59
|
const DeleteCustomMetricCommand_1 = require("./commands/DeleteCustomMetricCommand");
|
|
58
60
|
const DeleteDimensionCommand_1 = require("./commands/DeleteDimensionCommand");
|
|
59
61
|
const DeleteDomainConfigurationCommand_1 = require("./commands/DeleteDomainConfigurationCommand");
|
|
@@ -91,6 +93,7 @@ const DescribeAuthorizerCommand_1 = require("./commands/DescribeAuthorizerComman
|
|
|
91
93
|
const DescribeBillingGroupCommand_1 = require("./commands/DescribeBillingGroupCommand");
|
|
92
94
|
const DescribeCACertificateCommand_1 = require("./commands/DescribeCACertificateCommand");
|
|
93
95
|
const DescribeCertificateCommand_1 = require("./commands/DescribeCertificateCommand");
|
|
96
|
+
const DescribeCertificateProviderCommand_1 = require("./commands/DescribeCertificateProviderCommand");
|
|
94
97
|
const DescribeCustomMetricCommand_1 = require("./commands/DescribeCustomMetricCommand");
|
|
95
98
|
const DescribeDefaultAuthorizerCommand_1 = require("./commands/DescribeDefaultAuthorizerCommand");
|
|
96
99
|
const DescribeDetectMitigationActionsTaskCommand_1 = require("./commands/DescribeDetectMitigationActionsTaskCommand");
|
|
@@ -150,6 +153,7 @@ const ListAuditTasksCommand_1 = require("./commands/ListAuditTasksCommand");
|
|
|
150
153
|
const ListAuthorizersCommand_1 = require("./commands/ListAuthorizersCommand");
|
|
151
154
|
const ListBillingGroupsCommand_1 = require("./commands/ListBillingGroupsCommand");
|
|
152
155
|
const ListCACertificatesCommand_1 = require("./commands/ListCACertificatesCommand");
|
|
156
|
+
const ListCertificateProvidersCommand_1 = require("./commands/ListCertificateProvidersCommand");
|
|
153
157
|
const ListCertificatesByCACommand_1 = require("./commands/ListCertificatesByCACommand");
|
|
154
158
|
const ListCertificatesCommand_1 = require("./commands/ListCertificatesCommand");
|
|
155
159
|
const ListCustomMetricsCommand_1 = require("./commands/ListCustomMetricsCommand");
|
|
@@ -230,6 +234,7 @@ const UpdateAuthorizerCommand_1 = require("./commands/UpdateAuthorizerCommand");
|
|
|
230
234
|
const UpdateBillingGroupCommand_1 = require("./commands/UpdateBillingGroupCommand");
|
|
231
235
|
const UpdateCACertificateCommand_1 = require("./commands/UpdateCACertificateCommand");
|
|
232
236
|
const UpdateCertificateCommand_1 = require("./commands/UpdateCertificateCommand");
|
|
237
|
+
const UpdateCertificateProviderCommand_1 = require("./commands/UpdateCertificateProviderCommand");
|
|
233
238
|
const UpdateCustomMetricCommand_1 = require("./commands/UpdateCustomMetricCommand");
|
|
234
239
|
const UpdateDimensionCommand_1 = require("./commands/UpdateDimensionCommand");
|
|
235
240
|
const UpdateDomainConfigurationCommand_1 = require("./commands/UpdateDomainConfigurationCommand");
|
|
@@ -274,6 +279,7 @@ const commands = {
|
|
|
274
279
|
CreateAuthorizerCommand: CreateAuthorizerCommand_1.CreateAuthorizerCommand,
|
|
275
280
|
CreateBillingGroupCommand: CreateBillingGroupCommand_1.CreateBillingGroupCommand,
|
|
276
281
|
CreateCertificateFromCsrCommand: CreateCertificateFromCsrCommand_1.CreateCertificateFromCsrCommand,
|
|
282
|
+
CreateCertificateProviderCommand: CreateCertificateProviderCommand_1.CreateCertificateProviderCommand,
|
|
277
283
|
CreateCustomMetricCommand: CreateCustomMetricCommand_1.CreateCustomMetricCommand,
|
|
278
284
|
CreateDimensionCommand: CreateDimensionCommand_1.CreateDimensionCommand,
|
|
279
285
|
CreateDomainConfigurationCommand: CreateDomainConfigurationCommand_1.CreateDomainConfigurationCommand,
|
|
@@ -306,6 +312,7 @@ const commands = {
|
|
|
306
312
|
DeleteBillingGroupCommand: DeleteBillingGroupCommand_1.DeleteBillingGroupCommand,
|
|
307
313
|
DeleteCACertificateCommand: DeleteCACertificateCommand_1.DeleteCACertificateCommand,
|
|
308
314
|
DeleteCertificateCommand: DeleteCertificateCommand_1.DeleteCertificateCommand,
|
|
315
|
+
DeleteCertificateProviderCommand: DeleteCertificateProviderCommand_1.DeleteCertificateProviderCommand,
|
|
309
316
|
DeleteCustomMetricCommand: DeleteCustomMetricCommand_1.DeleteCustomMetricCommand,
|
|
310
317
|
DeleteDimensionCommand: DeleteDimensionCommand_1.DeleteDimensionCommand,
|
|
311
318
|
DeleteDomainConfigurationCommand: DeleteDomainConfigurationCommand_1.DeleteDomainConfigurationCommand,
|
|
@@ -343,6 +350,7 @@ const commands = {
|
|
|
343
350
|
DescribeBillingGroupCommand: DescribeBillingGroupCommand_1.DescribeBillingGroupCommand,
|
|
344
351
|
DescribeCACertificateCommand: DescribeCACertificateCommand_1.DescribeCACertificateCommand,
|
|
345
352
|
DescribeCertificateCommand: DescribeCertificateCommand_1.DescribeCertificateCommand,
|
|
353
|
+
DescribeCertificateProviderCommand: DescribeCertificateProviderCommand_1.DescribeCertificateProviderCommand,
|
|
346
354
|
DescribeCustomMetricCommand: DescribeCustomMetricCommand_1.DescribeCustomMetricCommand,
|
|
347
355
|
DescribeDefaultAuthorizerCommand: DescribeDefaultAuthorizerCommand_1.DescribeDefaultAuthorizerCommand,
|
|
348
356
|
DescribeDetectMitigationActionsTaskCommand: DescribeDetectMitigationActionsTaskCommand_1.DescribeDetectMitigationActionsTaskCommand,
|
|
@@ -402,6 +410,7 @@ const commands = {
|
|
|
402
410
|
ListAuthorizersCommand: ListAuthorizersCommand_1.ListAuthorizersCommand,
|
|
403
411
|
ListBillingGroupsCommand: ListBillingGroupsCommand_1.ListBillingGroupsCommand,
|
|
404
412
|
ListCACertificatesCommand: ListCACertificatesCommand_1.ListCACertificatesCommand,
|
|
413
|
+
ListCertificateProvidersCommand: ListCertificateProvidersCommand_1.ListCertificateProvidersCommand,
|
|
405
414
|
ListCertificatesCommand: ListCertificatesCommand_1.ListCertificatesCommand,
|
|
406
415
|
ListCertificatesByCACommand: ListCertificatesByCACommand_1.ListCertificatesByCACommand,
|
|
407
416
|
ListCustomMetricsCommand: ListCustomMetricsCommand_1.ListCustomMetricsCommand,
|
|
@@ -482,6 +491,7 @@ const commands = {
|
|
|
482
491
|
UpdateBillingGroupCommand: UpdateBillingGroupCommand_1.UpdateBillingGroupCommand,
|
|
483
492
|
UpdateCACertificateCommand: UpdateCACertificateCommand_1.UpdateCACertificateCommand,
|
|
484
493
|
UpdateCertificateCommand: UpdateCertificateCommand_1.UpdateCertificateCommand,
|
|
494
|
+
UpdateCertificateProviderCommand: UpdateCertificateProviderCommand_1.UpdateCertificateProviderCommand,
|
|
485
495
|
UpdateCustomMetricCommand: UpdateCustomMetricCommand_1.UpdateCustomMetricCommand,
|
|
486
496
|
UpdateDimensionCommand: UpdateDimensionCommand_1.UpdateDimensionCommand,
|
|
487
497
|
UpdateDomainConfigurationCommand: UpdateDomainConfigurationCommand_1.UpdateDomainConfigurationCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCertificateProviderCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateCertificateProviderCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCertificateProviderCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTClient";
|
|
29
|
+
const commandName = "CreateCertificateProviderCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIotService",
|
|
38
|
+
operation: "CreateCertificateProvider",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CreateCertificateProviderCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CreateCertificateProviderCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateCertificateProviderCommand = CreateCertificateProviderCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCertificateProviderCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteCertificateProviderCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCertificateProviderCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTClient";
|
|
29
|
+
const commandName = "DeleteCertificateProviderCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIotService",
|
|
38
|
+
operation: "DeleteCertificateProvider",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteCertificateProviderCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteCertificateProviderCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteCertificateProviderCommand = DeleteCertificateProviderCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeCertificateProviderCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DescribeCertificateProviderCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCertificateProviderCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTClient";
|
|
29
|
+
const commandName = "DescribeCertificateProviderCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIotService",
|
|
38
|
+
operation: "DescribeCertificateProvider",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DescribeCertificateProviderCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DescribeCertificateProviderCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DescribeCertificateProviderCommand = DescribeCertificateProviderCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCertificateProvidersCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListCertificateProvidersCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCertificateProvidersCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTClient";
|
|
29
|
+
const commandName = "ListCertificateProvidersCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIotService",
|
|
38
|
+
operation: "ListCertificateProviders",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListCertificateProvidersCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListCertificateProvidersCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListCertificateProvidersCommand = ListCertificateProvidersCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCertificateProviderCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateCertificateProviderCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCertificateProviderCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "IoTClient";
|
|
29
|
+
const commandName = "UpdateCertificateProviderCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSIotService",
|
|
38
|
+
operation: "UpdateCertificateProvider",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateCertificateProviderCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateCertificateProviderCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateCertificateProviderCommand = UpdateCertificateProviderCommand;
|
|
@@ -21,6 +21,7 @@ tslib_1.__exportStar(require("./CreateAuditSuppressionCommand"), exports);
|
|
|
21
21
|
tslib_1.__exportStar(require("./CreateAuthorizerCommand"), exports);
|
|
22
22
|
tslib_1.__exportStar(require("./CreateBillingGroupCommand"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./CreateCertificateFromCsrCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./CreateCertificateProviderCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./CreateCustomMetricCommand"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./CreateDimensionCommand"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./CreateDomainConfigurationCommand"), exports);
|
|
@@ -53,6 +54,7 @@ tslib_1.__exportStar(require("./DeleteAuthorizerCommand"), exports);
|
|
|
53
54
|
tslib_1.__exportStar(require("./DeleteBillingGroupCommand"), exports);
|
|
54
55
|
tslib_1.__exportStar(require("./DeleteCACertificateCommand"), exports);
|
|
55
56
|
tslib_1.__exportStar(require("./DeleteCertificateCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./DeleteCertificateProviderCommand"), exports);
|
|
56
58
|
tslib_1.__exportStar(require("./DeleteCustomMetricCommand"), exports);
|
|
57
59
|
tslib_1.__exportStar(require("./DeleteDimensionCommand"), exports);
|
|
58
60
|
tslib_1.__exportStar(require("./DeleteDomainConfigurationCommand"), exports);
|
|
@@ -90,6 +92,7 @@ tslib_1.__exportStar(require("./DescribeAuthorizerCommand"), exports);
|
|
|
90
92
|
tslib_1.__exportStar(require("./DescribeBillingGroupCommand"), exports);
|
|
91
93
|
tslib_1.__exportStar(require("./DescribeCACertificateCommand"), exports);
|
|
92
94
|
tslib_1.__exportStar(require("./DescribeCertificateCommand"), exports);
|
|
95
|
+
tslib_1.__exportStar(require("./DescribeCertificateProviderCommand"), exports);
|
|
93
96
|
tslib_1.__exportStar(require("./DescribeCustomMetricCommand"), exports);
|
|
94
97
|
tslib_1.__exportStar(require("./DescribeDefaultAuthorizerCommand"), exports);
|
|
95
98
|
tslib_1.__exportStar(require("./DescribeDetectMitigationActionsTaskCommand"), exports);
|
|
@@ -149,6 +152,7 @@ tslib_1.__exportStar(require("./ListAuditTasksCommand"), exports);
|
|
|
149
152
|
tslib_1.__exportStar(require("./ListAuthorizersCommand"), exports);
|
|
150
153
|
tslib_1.__exportStar(require("./ListBillingGroupsCommand"), exports);
|
|
151
154
|
tslib_1.__exportStar(require("./ListCACertificatesCommand"), exports);
|
|
155
|
+
tslib_1.__exportStar(require("./ListCertificateProvidersCommand"), exports);
|
|
152
156
|
tslib_1.__exportStar(require("./ListCertificatesByCACommand"), exports);
|
|
153
157
|
tslib_1.__exportStar(require("./ListCertificatesCommand"), exports);
|
|
154
158
|
tslib_1.__exportStar(require("./ListCustomMetricsCommand"), exports);
|
|
@@ -229,6 +233,7 @@ tslib_1.__exportStar(require("./UpdateAuthorizerCommand"), exports);
|
|
|
229
233
|
tslib_1.__exportStar(require("./UpdateBillingGroupCommand"), exports);
|
|
230
234
|
tslib_1.__exportStar(require("./UpdateCACertificateCommand"), exports);
|
|
231
235
|
tslib_1.__exportStar(require("./UpdateCertificateCommand"), exports);
|
|
236
|
+
tslib_1.__exportStar(require("./UpdateCertificateProviderCommand"), exports);
|
|
232
237
|
tslib_1.__exportStar(require("./UpdateCustomMetricCommand"), exports);
|
|
233
238
|
tslib_1.__exportStar(require("./UpdateDimensionCommand"), exports);
|
|
234
239
|
tslib_1.__exportStar(require("./UpdateDomainConfigurationCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.CreateProvisioningClaimResponseFilterSensitiveLog = exports.CreatePackageVersionResponseFilterSensitiveLog = exports.CreatePackageVersionRequestFilterSensitiveLog = exports.CreatePackageResponseFilterSensitiveLog = exports.CreatePackageRequestFilterSensitiveLog = exports.CreateKeysAndCertificateResponseFilterSensitiveLog = exports.KeyPairFilterSensitiveLog = exports.CertificateStateException = exports.DeleteConflictException = exports.TopicRuleDestinationStatus = exports.SqlParseException = exports.DayOfWeek = exports.TemplateType = exports.VersionsLimitExceededException = exports.MalformedPolicyException = exports.PackageVersionStatus = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.OTAUpdateStatus = exports.Protocol = exports.AwsJobAbortCriteriaFailureType = exports.AwsJobAbortCriteriaAbortAction = exports.DeviceCertificateUpdateAction = exports.CACertificateUpdateAction = exports.PolicyTemplateName = exports.LogLevel = void 0;
|
|
3
|
+
exports.TargetSelection = exports.JobEndBehavior = exports.RetryableFailureType = exports.InvalidAggregationException = exports.IndexNotReadyException = exports.FleetMetricUnit = exports.InvalidQueryException = exports.ServiceType = exports.CertificateValidationException = exports.DimensionType = exports.CustomMetricType = exports.CertificateProviderOperation = exports.ResourceAlreadyExistsException = exports.InternalException = exports.ConflictingResourceUpdateException = exports.InvalidStateTransitionException = exports.AutoRegistrationStatus = exports.AuthorizerStatus = exports.AuthDecision = exports.AuditTaskType = exports.AuditTaskStatus = exports.AuditNotificationType = exports.AuditMitigationActionsTaskStatus = exports.AuditMitigationActionsExecutionStatus = exports.AuditFrequency = exports.AuditFindingSeverity = exports.ResourceType = exports.AuditCheckRunStatus = exports.VersionConflictException = exports.LimitExceededException = exports.AlertTargetType = exports.AggregationTypeName = exports.VerificationState = exports.DimensionValueOperator = exports.ConfidenceLevel = exports.ComparisonOperator = exports.ActionType = exports.MessageFormat = exports.CannedAccessControlList = exports.AssetPropertyVariant = exports.DynamoKeyType = exports.UnauthorizedException = exports.TransferAlreadyCompletedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InternalFailureException = exports.JobExecutionFailureType = exports.AbortAction = void 0;
|
|
4
|
+
exports.CreateProvisioningClaimResponseFilterSensitiveLog = exports.CreatePackageVersionResponseFilterSensitiveLog = exports.CreatePackageVersionRequestFilterSensitiveLog = exports.CreatePackageResponseFilterSensitiveLog = exports.CreatePackageRequestFilterSensitiveLog = exports.CreateKeysAndCertificateResponseFilterSensitiveLog = exports.KeyPairFilterSensitiveLog = exports.CertificateStateException = exports.DeleteConflictException = exports.TopicRuleDestinationStatus = exports.SqlParseException = exports.DayOfWeek = exports.TemplateType = exports.VersionsLimitExceededException = exports.MalformedPolicyException = exports.PackageVersionStatus = exports.ValidationException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.OTAUpdateStatus = exports.Protocol = exports.AwsJobAbortCriteriaFailureType = exports.AwsJobAbortCriteriaAbortAction = exports.DeviceCertificateUpdateAction = exports.CACertificateUpdateAction = exports.PolicyTemplateName = exports.LogLevel = exports.ConflictException = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const IoTServiceException_1 = require("./IoTServiceException");
|
|
7
7
|
exports.AbortAction = {
|
|
@@ -328,6 +328,9 @@ class ResourceAlreadyExistsException extends IoTServiceException_1.IoTServiceExc
|
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
331
|
+
exports.CertificateProviderOperation = {
|
|
332
|
+
CreateCertificateFromCsr: "CreateCertificateFromCsr",
|
|
333
|
+
};
|
|
331
334
|
exports.CustomMetricType = {
|
|
332
335
|
IP_ADDRESS_LIST: "ip-address-list",
|
|
333
336
|
NUMBER: "number",
|