@aws-sdk/client-iot 3.694.0 → 3.698.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 +64 -0
- package/dist-cjs/index.js +555 -0
- package/dist-es/IoT.js +16 -0
- package/dist-es/commands/CreateCommandCommand.js +22 -0
- package/dist-es/commands/DeleteCommandCommand.js +22 -0
- package/dist-es/commands/DeleteCommandExecutionCommand.js +22 -0
- package/dist-es/commands/GetCommandCommand.js +22 -0
- package/dist-es/commands/GetCommandExecutionCommand.js +22 -0
- package/dist-es/commands/ListCommandExecutionsCommand.js +22 -0
- package/dist-es/commands/ListCommandsCommand.js +22 -0
- package/dist-es/commands/UpdateCommandCommand.js +22 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/pagination/ListCommandExecutionsPaginator.js +4 -0
- package/dist-es/pagination/ListCommandsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +387 -0
- package/dist-types/IoT.d.ts +58 -0
- package/dist-types/IoTClient.d.ts +10 -2
- package/dist-types/commands/AssociateSbomWithPackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/AssociateTargetsWithJobCommand.d.ts +4 -3
- package/dist-types/commands/CreateCommandCommand.d.ts +127 -0
- package/dist-types/commands/CreateJobTemplateCommand.d.ts +1 -1
- package/dist-types/commands/CreatePackageCommand.d.ts +2 -2
- package/dist-types/commands/CreatePackageVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateTopicRuleDestinationCommand.d.ts +2 -1
- package/dist-types/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCommandCommand.d.ts +84 -0
- package/dist-types/commands/DeleteCommandExecutionCommand.d.ts +87 -0
- package/dist-types/commands/DeleteJobCommand.d.ts +6 -7
- package/dist-types/commands/DisassociateSbomFromPackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetCommandCommand.d.ts +121 -0
- package/dist-types/commands/GetCommandExecutionCommand.d.ts +117 -0
- package/dist-types/commands/ListCommandExecutionsCommand.d.ts +116 -0
- package/dist-types/commands/ListCommandsCommand.d.ts +96 -0
- package/dist-types/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/commands/ListJobTemplatesCommand.d.ts +1 -2
- package/dist-types/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCommandCommand.d.ts +94 -0
- package/dist-types/commands/UpdatePackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePackageVersionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +332 -236
- package/dist-types/models/models_1.d.ts +880 -784
- package/dist-types/models/models_2.d.ts +671 -11
- package/dist-types/pagination/ListCommandExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCommandsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/ts3.4/IoT.d.ts +138 -0
- package/dist-types/ts3.4/IoTClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateTopicRuleDestinationCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DeleteAccountAuditConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAuditSuppressionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCommandExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCommandCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCommandExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommandExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCommandsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListDetectMitigationActionsExecutionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDetectMitigationActionsTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDimensionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFleetMetricsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIndicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobExecutionsForJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobExecutionsForThingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListJobTemplatesCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCommandCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -21
- package/dist-types/ts3.4/models/models_1.d.ts +148 -129
- package/dist-types/ts3.4/models/models_2.d.ts +147 -1
- package/dist-types/ts3.4/pagination/ListCommandExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- package/package.json +35 -35
package/dist-es/IoT.js
CHANGED
|
@@ -21,6 +21,7 @@ import { CreateAuthorizerCommand, } from "./commands/CreateAuthorizerCommand";
|
|
|
21
21
|
import { CreateBillingGroupCommand, } from "./commands/CreateBillingGroupCommand";
|
|
22
22
|
import { CreateCertificateFromCsrCommand, } from "./commands/CreateCertificateFromCsrCommand";
|
|
23
23
|
import { CreateCertificateProviderCommand, } from "./commands/CreateCertificateProviderCommand";
|
|
24
|
+
import { CreateCommandCommand, } from "./commands/CreateCommandCommand";
|
|
24
25
|
import { CreateCustomMetricCommand, } from "./commands/CreateCustomMetricCommand";
|
|
25
26
|
import { CreateDimensionCommand, } from "./commands/CreateDimensionCommand";
|
|
26
27
|
import { CreateDomainConfigurationCommand, } from "./commands/CreateDomainConfigurationCommand";
|
|
@@ -54,6 +55,8 @@ import { DeleteBillingGroupCommand, } from "./commands/DeleteBillingGroupCommand
|
|
|
54
55
|
import { DeleteCACertificateCommand, } from "./commands/DeleteCACertificateCommand";
|
|
55
56
|
import { DeleteCertificateCommand, } from "./commands/DeleteCertificateCommand";
|
|
56
57
|
import { DeleteCertificateProviderCommand, } from "./commands/DeleteCertificateProviderCommand";
|
|
58
|
+
import { DeleteCommandCommand, } from "./commands/DeleteCommandCommand";
|
|
59
|
+
import { DeleteCommandExecutionCommand, } from "./commands/DeleteCommandExecutionCommand";
|
|
57
60
|
import { DeleteCustomMetricCommand, } from "./commands/DeleteCustomMetricCommand";
|
|
58
61
|
import { DeleteDimensionCommand, } from "./commands/DeleteDimensionCommand";
|
|
59
62
|
import { DeleteDomainConfigurationCommand, } from "./commands/DeleteDomainConfigurationCommand";
|
|
@@ -126,6 +129,8 @@ import { EnableTopicRuleCommand, } from "./commands/EnableTopicRuleCommand";
|
|
|
126
129
|
import { GetBehaviorModelTrainingSummariesCommand, } from "./commands/GetBehaviorModelTrainingSummariesCommand";
|
|
127
130
|
import { GetBucketsAggregationCommand, } from "./commands/GetBucketsAggregationCommand";
|
|
128
131
|
import { GetCardinalityCommand, } from "./commands/GetCardinalityCommand";
|
|
132
|
+
import { GetCommandCommand } from "./commands/GetCommandCommand";
|
|
133
|
+
import { GetCommandExecutionCommand, } from "./commands/GetCommandExecutionCommand";
|
|
129
134
|
import { GetEffectivePoliciesCommand, } from "./commands/GetEffectivePoliciesCommand";
|
|
130
135
|
import { GetIndexingConfigurationCommand, } from "./commands/GetIndexingConfigurationCommand";
|
|
131
136
|
import { GetJobDocumentCommand, } from "./commands/GetJobDocumentCommand";
|
|
@@ -155,6 +160,8 @@ import { ListCACertificatesCommand, } from "./commands/ListCACertificatesCommand
|
|
|
155
160
|
import { ListCertificateProvidersCommand, } from "./commands/ListCertificateProvidersCommand";
|
|
156
161
|
import { ListCertificatesByCACommand, } from "./commands/ListCertificatesByCACommand";
|
|
157
162
|
import { ListCertificatesCommand, } from "./commands/ListCertificatesCommand";
|
|
163
|
+
import { ListCommandExecutionsCommand, } from "./commands/ListCommandExecutionsCommand";
|
|
164
|
+
import { ListCommandsCommand, } from "./commands/ListCommandsCommand";
|
|
158
165
|
import { ListCustomMetricsCommand, } from "./commands/ListCustomMetricsCommand";
|
|
159
166
|
import { ListDetectMitigationActionsExecutionsCommand, } from "./commands/ListDetectMitigationActionsExecutionsCommand";
|
|
160
167
|
import { ListDetectMitigationActionsTasksCommand, } from "./commands/ListDetectMitigationActionsTasksCommand";
|
|
@@ -237,6 +244,7 @@ import { UpdateBillingGroupCommand, } from "./commands/UpdateBillingGroupCommand
|
|
|
237
244
|
import { UpdateCACertificateCommand, } from "./commands/UpdateCACertificateCommand";
|
|
238
245
|
import { UpdateCertificateCommand, } from "./commands/UpdateCertificateCommand";
|
|
239
246
|
import { UpdateCertificateProviderCommand, } from "./commands/UpdateCertificateProviderCommand";
|
|
247
|
+
import { UpdateCommandCommand, } from "./commands/UpdateCommandCommand";
|
|
240
248
|
import { UpdateCustomMetricCommand, } from "./commands/UpdateCustomMetricCommand";
|
|
241
249
|
import { UpdateDimensionCommand, } from "./commands/UpdateDimensionCommand";
|
|
242
250
|
import { UpdateDomainConfigurationCommand, } from "./commands/UpdateDomainConfigurationCommand";
|
|
@@ -284,6 +292,7 @@ const commands = {
|
|
|
284
292
|
CreateBillingGroupCommand,
|
|
285
293
|
CreateCertificateFromCsrCommand,
|
|
286
294
|
CreateCertificateProviderCommand,
|
|
295
|
+
CreateCommandCommand,
|
|
287
296
|
CreateCustomMetricCommand,
|
|
288
297
|
CreateDimensionCommand,
|
|
289
298
|
CreateDomainConfigurationCommand,
|
|
@@ -317,6 +326,8 @@ const commands = {
|
|
|
317
326
|
DeleteCACertificateCommand,
|
|
318
327
|
DeleteCertificateCommand,
|
|
319
328
|
DeleteCertificateProviderCommand,
|
|
329
|
+
DeleteCommandCommand,
|
|
330
|
+
DeleteCommandExecutionCommand,
|
|
320
331
|
DeleteCustomMetricCommand,
|
|
321
332
|
DeleteDimensionCommand,
|
|
322
333
|
DeleteDomainConfigurationCommand,
|
|
@@ -389,6 +400,8 @@ const commands = {
|
|
|
389
400
|
GetBehaviorModelTrainingSummariesCommand,
|
|
390
401
|
GetBucketsAggregationCommand,
|
|
391
402
|
GetCardinalityCommand,
|
|
403
|
+
GetCommandCommand,
|
|
404
|
+
GetCommandExecutionCommand,
|
|
392
405
|
GetEffectivePoliciesCommand,
|
|
393
406
|
GetIndexingConfigurationCommand,
|
|
394
407
|
GetJobDocumentCommand,
|
|
@@ -418,6 +431,8 @@ const commands = {
|
|
|
418
431
|
ListCertificateProvidersCommand,
|
|
419
432
|
ListCertificatesCommand,
|
|
420
433
|
ListCertificatesByCACommand,
|
|
434
|
+
ListCommandExecutionsCommand,
|
|
435
|
+
ListCommandsCommand,
|
|
421
436
|
ListCustomMetricsCommand,
|
|
422
437
|
ListDetectMitigationActionsExecutionsCommand,
|
|
423
438
|
ListDetectMitigationActionsTasksCommand,
|
|
@@ -500,6 +515,7 @@ const commands = {
|
|
|
500
515
|
UpdateCACertificateCommand,
|
|
501
516
|
UpdateCertificateCommand,
|
|
502
517
|
UpdateCertificateProviderCommand,
|
|
518
|
+
UpdateCommandCommand,
|
|
503
519
|
UpdateCustomMetricCommand,
|
|
504
520
|
UpdateDimensionCommand,
|
|
505
521
|
UpdateDomainConfigurationCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_CreateCommandCommand, se_CreateCommandCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateCommandCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "CreateCommand", {})
|
|
17
|
+
.n("IoTClient", "CreateCommandCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateCommandCommand)
|
|
20
|
+
.de(de_CreateCommandCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCommandCommand, se_DeleteCommandCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCommandCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "DeleteCommand", {})
|
|
17
|
+
.n("IoTClient", "DeleteCommandCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCommandCommand)
|
|
20
|
+
.de(de_DeleteCommandCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteCommandExecutionCommand, se_DeleteCommandExecutionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteCommandExecutionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "DeleteCommandExecution", {})
|
|
17
|
+
.n("IoTClient", "DeleteCommandExecutionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteCommandExecutionCommand)
|
|
20
|
+
.de(de_DeleteCommandExecutionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCommandCommand, se_GetCommandCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCommandCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "GetCommand", {})
|
|
17
|
+
.n("IoTClient", "GetCommandCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCommandCommand)
|
|
20
|
+
.de(de_GetCommandCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetCommandExecutionCommand, se_GetCommandExecutionCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetCommandExecutionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "GetCommandExecution", {})
|
|
17
|
+
.n("IoTClient", "GetCommandExecutionCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetCommandExecutionCommand)
|
|
20
|
+
.de(de_GetCommandExecutionCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCommandExecutionsCommand, se_ListCommandExecutionsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCommandExecutionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "ListCommandExecutions", {})
|
|
17
|
+
.n("IoTClient", "ListCommandExecutionsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCommandExecutionsCommand)
|
|
20
|
+
.de(de_ListCommandExecutionsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListCommandsCommand, se_ListCommandsCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCommandsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "ListCommands", {})
|
|
17
|
+
.n("IoTClient", "ListCommandsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCommandsCommand)
|
|
20
|
+
.de(de_ListCommandsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateCommandCommand, se_UpdateCommandCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateCommandCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSIotService", "UpdateCommand", {})
|
|
17
|
+
.n("IoTClient", "UpdateCommandCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateCommandCommand)
|
|
20
|
+
.de(de_UpdateCommandCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -20,6 +20,7 @@ export * from "./CreateAuthorizerCommand";
|
|
|
20
20
|
export * from "./CreateBillingGroupCommand";
|
|
21
21
|
export * from "./CreateCertificateFromCsrCommand";
|
|
22
22
|
export * from "./CreateCertificateProviderCommand";
|
|
23
|
+
export * from "./CreateCommandCommand";
|
|
23
24
|
export * from "./CreateCustomMetricCommand";
|
|
24
25
|
export * from "./CreateDimensionCommand";
|
|
25
26
|
export * from "./CreateDomainConfigurationCommand";
|
|
@@ -53,6 +54,8 @@ export * from "./DeleteBillingGroupCommand";
|
|
|
53
54
|
export * from "./DeleteCACertificateCommand";
|
|
54
55
|
export * from "./DeleteCertificateCommand";
|
|
55
56
|
export * from "./DeleteCertificateProviderCommand";
|
|
57
|
+
export * from "./DeleteCommandCommand";
|
|
58
|
+
export * from "./DeleteCommandExecutionCommand";
|
|
56
59
|
export * from "./DeleteCustomMetricCommand";
|
|
57
60
|
export * from "./DeleteDimensionCommand";
|
|
58
61
|
export * from "./DeleteDomainConfigurationCommand";
|
|
@@ -125,6 +128,8 @@ export * from "./EnableTopicRuleCommand";
|
|
|
125
128
|
export * from "./GetBehaviorModelTrainingSummariesCommand";
|
|
126
129
|
export * from "./GetBucketsAggregationCommand";
|
|
127
130
|
export * from "./GetCardinalityCommand";
|
|
131
|
+
export * from "./GetCommandCommand";
|
|
132
|
+
export * from "./GetCommandExecutionCommand";
|
|
128
133
|
export * from "./GetEffectivePoliciesCommand";
|
|
129
134
|
export * from "./GetIndexingConfigurationCommand";
|
|
130
135
|
export * from "./GetJobDocumentCommand";
|
|
@@ -154,6 +159,8 @@ export * from "./ListCACertificatesCommand";
|
|
|
154
159
|
export * from "./ListCertificateProvidersCommand";
|
|
155
160
|
export * from "./ListCertificatesByCACommand";
|
|
156
161
|
export * from "./ListCertificatesCommand";
|
|
162
|
+
export * from "./ListCommandExecutionsCommand";
|
|
163
|
+
export * from "./ListCommandsCommand";
|
|
157
164
|
export * from "./ListCustomMetricsCommand";
|
|
158
165
|
export * from "./ListDetectMitigationActionsExecutionsCommand";
|
|
159
166
|
export * from "./ListDetectMitigationActionsTasksCommand";
|
|
@@ -236,6 +243,7 @@ export * from "./UpdateBillingGroupCommand";
|
|
|
236
243
|
export * from "./UpdateCACertificateCommand";
|
|
237
244
|
export * from "./UpdateCertificateCommand";
|
|
238
245
|
export * from "./UpdateCertificateProviderCommand";
|
|
246
|
+
export * from "./UpdateCommandCommand";
|
|
239
247
|
export * from "./UpdateCustomMetricCommand";
|
|
240
248
|
export * from "./UpdateDimensionCommand";
|
|
241
249
|
export * from "./UpdateDomainConfigurationCommand";
|
|
@@ -385,6 +385,10 @@ export class ResourceAlreadyExistsException extends __BaseException {
|
|
|
385
385
|
export const CertificateProviderOperation = {
|
|
386
386
|
CreateCertificateFromCsr: "CreateCertificateFromCsr",
|
|
387
387
|
};
|
|
388
|
+
export const CommandNamespace = {
|
|
389
|
+
AWSIoT: "AWS-IoT",
|
|
390
|
+
AWSIoTFleetWise: "AWS-IoT-FleetWise",
|
|
391
|
+
};
|
|
388
392
|
export const CustomMetricType = {
|
|
389
393
|
IP_ADDRESS_LIST: "ip-address-list",
|
|
390
394
|
NUMBER: "number",
|
|
@@ -126,6 +126,14 @@ export const ModelStatus = {
|
|
|
126
126
|
EXPIRED: "EXPIRED",
|
|
127
127
|
PENDING_BUILD: "PENDING_BUILD",
|
|
128
128
|
};
|
|
129
|
+
export const CommandExecutionStatus = {
|
|
130
|
+
CREATED: "CREATED",
|
|
131
|
+
FAILED: "FAILED",
|
|
132
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
133
|
+
REJECTED: "REJECTED",
|
|
134
|
+
SUCCEEDED: "SUCCEEDED",
|
|
135
|
+
TIMED_OUT: "TIMED_OUT",
|
|
136
|
+
};
|
|
129
137
|
export const FieldType = {
|
|
130
138
|
BOOLEAN: "Boolean",
|
|
131
139
|
NUMBER: "Number",
|
|
@@ -173,6 +181,10 @@ export const BehaviorCriteriaType = {
|
|
|
173
181
|
STATIC: "STATIC",
|
|
174
182
|
STATISTICAL: "STATISTICAL",
|
|
175
183
|
};
|
|
184
|
+
export const SortOrder = {
|
|
185
|
+
Ascending: "ASCENDING",
|
|
186
|
+
Descending: "DESCENDING",
|
|
187
|
+
};
|
|
176
188
|
export const DetectMitigationActionExecutionStatus = {
|
|
177
189
|
FAILED: "FAILED",
|
|
178
190
|
IN_PROGRESS: "IN_PROGRESS",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCommandExecutionsCommand, } from "../commands/ListCommandExecutionsCommand";
|
|
3
|
+
import { IoTClient } from "../IoTClient";
|
|
4
|
+
export const paginateListCommandExecutions = createPaginator(IoTClient, ListCommandExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCommandsCommand, } from "../commands/ListCommandsCommand";
|
|
3
|
+
import { IoTClient } from "../IoTClient";
|
|
4
|
+
export const paginateListCommands = createPaginator(IoTClient, ListCommandsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -12,6 +12,8 @@ export * from "./ListBillingGroupsPaginator";
|
|
|
12
12
|
export * from "./ListCACertificatesPaginator";
|
|
13
13
|
export * from "./ListCertificatesByCAPaginator";
|
|
14
14
|
export * from "./ListCertificatesPaginator";
|
|
15
|
+
export * from "./ListCommandExecutionsPaginator";
|
|
16
|
+
export * from "./ListCommandsPaginator";
|
|
15
17
|
export * from "./ListCustomMetricsPaginator";
|
|
16
18
|
export * from "./ListDetectMitigationActionsExecutionsPaginator";
|
|
17
19
|
export * from "./ListDetectMitigationActionsTasksPaginator";
|