@aws-sdk/client-iot 3.42.0 → 3.46.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/CHANGELOG.md +51 -0
- package/dist-cjs/IoT.js +30 -0
- package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
- package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
- package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
- package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
- package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +3 -3
- package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
- package/dist-cjs/commands/ListThingsCommand.js +3 -3
- package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
- package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +21 -21
- package/dist-cjs/models/models_1.js +76 -78
- package/dist-cjs/models/models_2.js +75 -3
- package/dist-cjs/protocols/Aws_restJson1.js +406 -9
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/IoT.js +30 -0
- package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
- package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
- package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
- package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
- package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
- package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -1
- package/dist-es/commands/ListThingTypesCommand.js +1 -2
- package/dist-es/commands/ListThingsCommand.js +1 -1
- package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
- package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +14 -12
- package/dist-es/models/models_1.js +50 -48
- package/dist-es/models/models_2.js +48 -0
- package/dist-es/protocols/Aws_restJson1.js +431 -15
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/IoT.d.ts +24 -3
- package/dist-types/IoTClient.d.ts +4 -2
- package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +3 -2
- package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
- package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
- package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/commands/ListThingTypesCommand.d.ts +1 -2
- package/dist-types/commands/ListThingsCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -1
- package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +76 -42
- package/dist-types/models/models_1.d.ts +289 -290
- package/dist-types/models/models_2.d.ts +305 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/IoT.d.ts +10 -0
- package/dist-types/ts3.4/IoTClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -24
- package/dist-types/ts3.4/models/models_1.d.ts +145 -157
- package/dist-types/ts3.4/models/models_2.d.ts +164 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +36 -43
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,57 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
17
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
18
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
6
57
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
58
|
|
|
8
59
|
**Note:** Version bump only for package @aws-sdk/client-iot
|
package/dist-cjs/IoT.js
CHANGED
|
@@ -98,6 +98,7 @@ const DescribeIndexCommand_1 = require("./commands/DescribeIndexCommand");
|
|
|
98
98
|
const DescribeJobCommand_1 = require("./commands/DescribeJobCommand");
|
|
99
99
|
const DescribeJobExecutionCommand_1 = require("./commands/DescribeJobExecutionCommand");
|
|
100
100
|
const DescribeJobTemplateCommand_1 = require("./commands/DescribeJobTemplateCommand");
|
|
101
|
+
const DescribeManagedJobTemplateCommand_1 = require("./commands/DescribeManagedJobTemplateCommand");
|
|
101
102
|
const DescribeMitigationActionCommand_1 = require("./commands/DescribeMitigationActionCommand");
|
|
102
103
|
const DescribeProvisioningTemplateCommand_1 = require("./commands/DescribeProvisioningTemplateCommand");
|
|
103
104
|
const DescribeProvisioningTemplateVersionCommand_1 = require("./commands/DescribeProvisioningTemplateVersionCommand");
|
|
@@ -154,6 +155,7 @@ const ListJobExecutionsForJobCommand_1 = require("./commands/ListJobExecutionsFo
|
|
|
154
155
|
const ListJobExecutionsForThingCommand_1 = require("./commands/ListJobExecutionsForThingCommand");
|
|
155
156
|
const ListJobsCommand_1 = require("./commands/ListJobsCommand");
|
|
156
157
|
const ListJobTemplatesCommand_1 = require("./commands/ListJobTemplatesCommand");
|
|
158
|
+
const ListManagedJobTemplatesCommand_1 = require("./commands/ListManagedJobTemplatesCommand");
|
|
157
159
|
const ListMitigationActionsCommand_1 = require("./commands/ListMitigationActionsCommand");
|
|
158
160
|
const ListOTAUpdatesCommand_1 = require("./commands/ListOTAUpdatesCommand");
|
|
159
161
|
const ListOutgoingCertificatesCommand_1 = require("./commands/ListOutgoingCertificatesCommand");
|
|
@@ -1595,6 +1597,20 @@ class IoT extends IoTClient_1.IoTClient {
|
|
|
1595
1597
|
return this.send(command, optionsOrCb);
|
|
1596
1598
|
}
|
|
1597
1599
|
}
|
|
1600
|
+
describeManagedJobTemplate(args, optionsOrCb, cb) {
|
|
1601
|
+
const command = new DescribeManagedJobTemplateCommand_1.DescribeManagedJobTemplateCommand(args);
|
|
1602
|
+
if (typeof optionsOrCb === "function") {
|
|
1603
|
+
this.send(command, optionsOrCb);
|
|
1604
|
+
}
|
|
1605
|
+
else if (typeof cb === "function") {
|
|
1606
|
+
if (typeof optionsOrCb !== "object")
|
|
1607
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1608
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1609
|
+
}
|
|
1610
|
+
else {
|
|
1611
|
+
return this.send(command, optionsOrCb);
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1598
1614
|
describeMitigationAction(args, optionsOrCb, cb) {
|
|
1599
1615
|
const command = new DescribeMitigationActionCommand_1.DescribeMitigationActionCommand(args);
|
|
1600
1616
|
if (typeof optionsOrCb === "function") {
|
|
@@ -2379,6 +2395,20 @@ class IoT extends IoTClient_1.IoTClient {
|
|
|
2379
2395
|
return this.send(command, optionsOrCb);
|
|
2380
2396
|
}
|
|
2381
2397
|
}
|
|
2398
|
+
listManagedJobTemplates(args, optionsOrCb, cb) {
|
|
2399
|
+
const command = new ListManagedJobTemplatesCommand_1.ListManagedJobTemplatesCommand(args);
|
|
2400
|
+
if (typeof optionsOrCb === "function") {
|
|
2401
|
+
this.send(command, optionsOrCb);
|
|
2402
|
+
}
|
|
2403
|
+
else if (typeof cb === "function") {
|
|
2404
|
+
if (typeof optionsOrCb !== "object")
|
|
2405
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
2406
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
2407
|
+
}
|
|
2408
|
+
else {
|
|
2409
|
+
return this.send(command, optionsOrCb);
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2382
2412
|
listMitigationActions(args, optionsOrCb, cb) {
|
|
2383
2413
|
const command = new ListMitigationActionsCommand_1.ListMitigationActionsCommand(args);
|
|
2384
2414
|
if (typeof optionsOrCb === "function") {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteScheduledAuditCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class DeleteScheduledAuditCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class DeleteScheduledAuditCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteScheduledAuditRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.DeleteScheduledAuditResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DeleteSecurityProfileCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const models_0_1 = require("../models/models_0");
|
|
7
6
|
const models_1_1 = require("../models/models_1");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class DeleteSecurityProfileCommand extends smithy_client_1.Command {
|
|
@@ -21,7 +20,7 @@ class DeleteSecurityProfileCommand extends smithy_client_1.Command {
|
|
|
21
20
|
logger,
|
|
22
21
|
clientName,
|
|
23
22
|
commandName,
|
|
24
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DeleteSecurityProfileRequest.filterSensitiveLog,
|
|
25
24
|
outputFilterSensitiveLog: models_1_1.DeleteSecurityProfileResponse.filterSensitiveLog,
|
|
26
25
|
};
|
|
27
26
|
const { requestHandler } = configuration;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeManagedJobTemplateCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeManagedJobTemplateCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTClient";
|
|
18
|
+
const commandName = "DescribeManagedJobTemplateCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.DescribeManagedJobTemplateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.DescribeManagedJobTemplateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DescribeManagedJobTemplateCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeManagedJobTemplateCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeManagedJobTemplateCommand = DescribeManagedJobTemplateCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListManagedJobTemplatesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListManagedJobTemplatesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "IoTClient";
|
|
18
|
+
const commandName = "ListManagedJobTemplatesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.ListManagedJobTemplatesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.ListManagedJobTemplatesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListManagedJobTemplatesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListManagedJobTemplatesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListManagedJobTemplatesCommand = ListManagedJobTemplatesCommand;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingRegistrationTaskReportsCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class ListThingRegistrationTaskReportsCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListThingRegistrationTaskReportsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingRegistrationTaskReportsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.ListThingRegistrationTaskReportsResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingRegistrationTasksCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class ListThingRegistrationTasksCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListThingRegistrationTasksCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingRegistrationTasksRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.ListThingRegistrationTasksResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingTypesCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const models_1_1 = require("../models/models_1");
|
|
7
6
|
const models_2_1 = require("../models/models_2");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class ListThingTypesCommand extends smithy_client_1.Command {
|
|
@@ -21,7 +20,7 @@ class ListThingTypesCommand extends smithy_client_1.Command {
|
|
|
21
20
|
logger,
|
|
22
21
|
clientName,
|
|
23
22
|
commandName,
|
|
24
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingTypesRequest.filterSensitiveLog,
|
|
25
24
|
outputFilterSensitiveLog: models_2_1.ListThingTypesResponse.filterSensitiveLog,
|
|
26
25
|
};
|
|
27
26
|
const { requestHandler } = configuration;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingsCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class ListThingsCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListThingsCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.ListThingsResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingsInBillingGroupCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class ListThingsInBillingGroupCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListThingsInBillingGroupCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingsInBillingGroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.ListThingsInBillingGroupResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListThingsInThingGroupCommand = void 0;
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
-
const
|
|
6
|
+
const models_2_1 = require("../models/models_2");
|
|
7
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
8
|
class ListThingsInThingGroupCommand extends smithy_client_1.Command {
|
|
9
9
|
constructor(input) {
|
|
@@ -20,8 +20,8 @@ class ListThingsInThingGroupCommand extends smithy_client_1.Command {
|
|
|
20
20
|
logger,
|
|
21
21
|
clientName,
|
|
22
22
|
commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: models_2_1.ListThingsInThingGroupRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_2_1.ListThingsInThingGroupResponse.filterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
const { requestHandler } = configuration;
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -98,6 +98,7 @@ tslib_1.__exportStar(require("./DescribeIndexCommand"), exports);
|
|
|
98
98
|
tslib_1.__exportStar(require("./DescribeJobCommand"), exports);
|
|
99
99
|
tslib_1.__exportStar(require("./DescribeJobExecutionCommand"), exports);
|
|
100
100
|
tslib_1.__exportStar(require("./DescribeJobTemplateCommand"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./DescribeManagedJobTemplateCommand"), exports);
|
|
101
102
|
tslib_1.__exportStar(require("./DescribeMitigationActionCommand"), exports);
|
|
102
103
|
tslib_1.__exportStar(require("./DescribeProvisioningTemplateCommand"), exports);
|
|
103
104
|
tslib_1.__exportStar(require("./DescribeProvisioningTemplateVersionCommand"), exports);
|
|
@@ -154,6 +155,7 @@ tslib_1.__exportStar(require("./ListJobExecutionsForJobCommand"), exports);
|
|
|
154
155
|
tslib_1.__exportStar(require("./ListJobExecutionsForThingCommand"), exports);
|
|
155
156
|
tslib_1.__exportStar(require("./ListJobTemplatesCommand"), exports);
|
|
156
157
|
tslib_1.__exportStar(require("./ListJobsCommand"), exports);
|
|
158
|
+
tslib_1.__exportStar(require("./ListManagedJobTemplatesCommand"), exports);
|
|
157
159
|
tslib_1.__exportStar(require("./ListMitigationActionsCommand"), exports);
|
|
158
160
|
tslib_1.__exportStar(require("./ListOTAUpdatesCommand"), exports);
|
|
159
161
|
tslib_1.__exportStar(require("./ListOutgoingCertificatesCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ComparisonOperator = exports.ActionType = exports.Action = exports.TimestreamAction = exports.TimestreamTimestamp = exports.TimestreamDimension = exports.StepFunctionsAction = exports.SqsAction = exports.SnsAction = exports.MessageFormat = exports.SalesforceAction = exports.S3Action = exports.CannedAccessControlList = exports.RepublishAction = exports.OpenSearchAction = exports.LambdaAction = exports.KinesisAction = exports.KafkaAction = exports.IotSiteWiseAction = exports.PutAssetPropertyValueEntry = exports.AssetPropertyValue = exports.AssetPropertyVariant = exports.AssetPropertyTimestamp = exports.IotEventsAction = exports.IotAnalyticsAction = exports.HttpAction = exports.HttpActionHeader = exports.HttpAuthorization = exports.SigV4Authorization = exports.FirehoseAction = exports.ElasticsearchAction = exports.DynamoDBv2Action = exports.PutItemInput = exports.DynamoDBAction = exports.DynamoKeyType = exports.CloudwatchMetricAction = exports.CloudwatchLogsAction = exports.CloudwatchAlarmAction = exports.UnauthorizedException = exports.TransferAlreadyCompletedException = exports.ThrottlingException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InternalFailureException = exports.AcceptCertificateTransferRequest = exports.AbortConfig = exports.AbortCriteria = exports.JobExecutionFailureType = exports.AbortAction = void 0;
|
|
4
4
|
exports.TaskStatisticsForAuditCheck = exports.AuditMitigationActionsTaskMetadata = exports.AuditMitigationActionsTaskStatus = exports.AuditMitigationActionExecutionMetadata = exports.AuditMitigationActionsExecutionStatus = exports.AuditFrequency = exports.AuditFinding = exports.AuditFindingSeverity = exports.RelatedResource = exports.NonCompliantResource = exports.ResourceType = exports.ResourceIdentifier = exports.PolicyVersionIdentifier = exports.AuditCheckDetails = exports.AuditCheckRunStatus = exports.AuditCheckConfiguration = exports.AttributePayload = exports.AttachThingPrincipalResponse = exports.AttachThingPrincipalRequest = exports.VersionConflictException = exports.AttachSecurityProfileResponse = exports.AttachSecurityProfileRequest = exports.AttachPrincipalPolicyRequest = exports.AttachPolicyRequest = exports.LimitExceededException = exports.AssociateTargetsWithJobResponse = exports.AssociateTargetsWithJobRequest = exports.Allowed = exports.Policy = exports.AlertTargetType = exports.AlertTarget = exports.AggregationType = exports.AggregationTypeName = exports.AddThingToThingGroupResponse = exports.AddThingToThingGroupRequest = exports.AddThingToBillingGroupResponse = exports.AddThingToBillingGroupRequest = exports.AddThingsToThingGroupParams = exports.MetricToRetain = exports.ActiveViolation = exports.ViolationEventAdditionalInfo = exports.VerificationState = exports.Behavior = exports.MetricDimension = exports.DimensionValueOperator = exports.BehaviorCriteria = exports.MetricValue = exports.StatisticalThreshold = exports.MachineLearningDetectionConfig = exports.ConfidenceLevel = void 0;
|
|
5
5
|
exports.DimensionType = exports.CreateCustomMetricResponse = exports.CreateCustomMetricRequest = exports.CustomMetricType = exports.CreateCertificateFromCsrResponse = exports.CreateCertificateFromCsrRequest = exports.CreateBillingGroupResponse = exports.CreateBillingGroupRequest = exports.BillingGroupProperties = exports.CreateAuthorizerResponse = exports.CreateAuthorizerRequest = exports.Tag = exports.ResourceAlreadyExistsException = exports.CreateAuditSuppressionResponse = exports.CreateAuditSuppressionRequest = exports.InternalException = exports.ConflictingResourceUpdateException = exports.ConfirmTopicRuleDestinationResponse = exports.ConfirmTopicRuleDestinationRequest = exports.ClearDefaultAuthorizerResponse = exports.ClearDefaultAuthorizerRequest = exports.InvalidStateTransitionException = exports.CancelJobExecutionRequest = exports.CancelJobResponse = exports.CancelJobRequest = exports.CancelDetectMitigationActionsTaskResponse = exports.CancelDetectMitigationActionsTaskRequest = exports.CancelCertificateTransferRequest = exports.CancelAuditTaskResponse = exports.CancelAuditTaskRequest = exports.CancelAuditMitigationActionsTaskResponse = exports.CancelAuditMitigationActionsTaskRequest = exports.AutoRegistrationStatus = exports.AuthResult = exports.Denied = exports.ImplicitDeny = exports.ExplicitDeny = exports.AuthorizerSummary = exports.AuthorizerDescription = exports.AuthorizerStatus = exports.AuthorizerConfig = exports.AuthInfo = exports.AuthDecision = exports.AuditTaskMetadata = exports.AuditTaskType = exports.AuditTaskStatus = exports.AuditSuppression = exports.AuditNotificationType = exports.AuditNotificationTarget = exports.AuditMitigationActionsTaskTarget = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
6
|
+
exports.AwsJobExponentialRolloutRate = exports.AwsJobRateIncreaseCriteria = exports.AwsJobAbortConfig = exports.AwsJobAbortCriteria = exports.AwsJobAbortCriteriaFailureType = exports.AwsJobAbortCriteriaAbortAction = exports.CreateMitigationActionResponse = exports.CreateMitigationActionRequest = exports.MitigationActionParams = exports.UpdateDeviceCertificateParams = exports.DeviceCertificateUpdateAction = exports.UpdateCACertificateParams = exports.CACertificateUpdateAction = exports.ReplaceDefaultPolicyVersionParams = exports.PolicyTemplateName = exports.PublishFindingToSnsParams = exports.EnableIoTLoggingParams = exports.LogLevel = exports.CreateKeysAndCertificateResponse = exports.KeyPair = exports.CreateKeysAndCertificateRequest = exports.CreateJobTemplateResponse = exports.CreateJobTemplateRequest = exports.ConflictException = exports.CreateJobResponse = exports.CreateJobRequest = exports.TimeoutConfig = exports.TargetSelection = exports.PresignedUrlConfig = exports.JobExecutionsRolloutConfig = exports.ExponentialRolloutRate = exports.RateIncreaseCriteria = exports.JobExecutionsRetryConfig = exports.RetryCriteria = exports.RetryableFailureType = exports.InvalidAggregationException = exports.IndexNotReadyException = exports.CreateFleetMetricResponse = exports.CreateFleetMetricRequest = exports.FleetMetricUnit = exports.InvalidQueryException = exports.CreateDynamicThingGroupResponse = exports.CreateDynamicThingGroupRequest = exports.ThingGroupProperties = exports.CreateDomainConfigurationResponse = exports.CreateDomainConfigurationRequest = exports.ServiceType = exports.CertificateValidationException = exports.CreateDimensionResponse = exports.CreateDimensionRequest = void 0;
|
|
7
|
+
exports.TopicRulePayload = exports.CreateThingTypeResponse = exports.CreateThingTypeRequest = exports.ThingTypeProperties = exports.CreateThingGroupResponse = exports.CreateThingGroupRequest = exports.CreateThingResponse = exports.CreateThingRequest = exports.CreateStreamResponse = exports.CreateStreamRequest = exports.StreamFile = exports.CreateSecurityProfileResponse = exports.CreateSecurityProfileRequest = exports.CreateScheduledAuditResponse = exports.CreateScheduledAuditRequest = exports.DayOfWeek = exports.CreateRoleAliasResponse = exports.CreateRoleAliasRequest = exports.CreateProvisioningTemplateVersionResponse = exports.CreateProvisioningTemplateVersionRequest = exports.CreateProvisioningTemplateResponse = exports.CreateProvisioningTemplateRequest = exports.ProvisioningHook = exports.CreateProvisioningClaimResponse = exports.CreateProvisioningClaimRequest = exports.VersionsLimitExceededException = exports.CreatePolicyVersionResponse = exports.CreatePolicyVersionRequest = exports.MalformedPolicyException = exports.CreatePolicyResponse = exports.CreatePolicyRequest = exports.CreateOTAUpdateResponse = exports.OTAUpdateStatus = exports.CreateOTAUpdateRequest = exports.Protocol = exports.OTAUpdateFile = exports.FileLocation = exports._Stream = exports.S3Location = exports.CodeSigning = exports.StartSigningJobParameter = exports.SigningProfileParameter = exports.Destination = exports.S3Destination = exports.CustomCodeSigning = exports.CodeSigningSignature = exports.CodeSigningCertificateChain = exports.AwsJobTimeoutConfig = exports.AwsJobPresignedUrlConfig = exports.AwsJobExecutionsRolloutConfig = void 0;
|
|
8
|
+
exports.DeleteRoleAliasResponse = exports.DeleteRoleAliasRequest = exports.DeleteRegistrationCodeResponse = exports.DeleteRegistrationCodeRequest = exports.DeleteProvisioningTemplateVersionResponse = exports.DeleteProvisioningTemplateVersionRequest = exports.DeleteProvisioningTemplateResponse = exports.DeleteProvisioningTemplateRequest = exports.DeletePolicyVersionRequest = exports.DeletePolicyRequest = exports.DeleteOTAUpdateResponse = exports.DeleteOTAUpdateRequest = exports.DeleteMitigationActionResponse = exports.DeleteMitigationActionRequest = exports.DeleteJobTemplateRequest = exports.DeleteJobExecutionRequest = exports.DeleteJobRequest = exports.DeleteFleetMetricRequest = exports.DeleteDynamicThingGroupResponse = exports.DeleteDynamicThingGroupRequest = exports.DeleteDomainConfigurationResponse = exports.DeleteDomainConfigurationRequest = exports.DeleteDimensionResponse = exports.DeleteDimensionRequest = exports.DeleteCustomMetricResponse = exports.DeleteCustomMetricRequest = exports.DeleteCertificateRequest = exports.DeleteCACertificateResponse = exports.DeleteCACertificateRequest = exports.CertificateStateException = exports.DeleteBillingGroupResponse = exports.DeleteBillingGroupRequest = exports.DeleteConflictException = exports.DeleteAuthorizerResponse = exports.DeleteAuthorizerRequest = exports.DeleteAuditSuppressionResponse = exports.DeleteAuditSuppressionRequest = exports.DeleteAccountAuditConfigurationResponse = exports.DeleteAccountAuditConfigurationRequest = exports.CreateTopicRuleDestinationResponse = exports.TopicRuleDestination = exports.VpcDestinationProperties = exports.TopicRuleDestinationStatus = exports.HttpUrlDestinationProperties = exports.CreateTopicRuleDestinationRequest = exports.TopicRuleDestinationConfiguration = exports.VpcDestinationConfiguration = exports.HttpUrlDestinationConfiguration = exports.SqlParseException = exports.CreateTopicRuleRequest = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
var AbortAction;
|
|
11
11
|
(function (AbortAction) {
|
|
@@ -1062,6 +1062,24 @@ var InvalidAggregationException;
|
|
|
1062
1062
|
...obj,
|
|
1063
1063
|
});
|
|
1064
1064
|
})(InvalidAggregationException = exports.InvalidAggregationException || (exports.InvalidAggregationException = {}));
|
|
1065
|
+
var RetryableFailureType;
|
|
1066
|
+
(function (RetryableFailureType) {
|
|
1067
|
+
RetryableFailureType["ALL"] = "ALL";
|
|
1068
|
+
RetryableFailureType["FAILED"] = "FAILED";
|
|
1069
|
+
RetryableFailureType["TIMED_OUT"] = "TIMED_OUT";
|
|
1070
|
+
})(RetryableFailureType = exports.RetryableFailureType || (exports.RetryableFailureType = {}));
|
|
1071
|
+
var RetryCriteria;
|
|
1072
|
+
(function (RetryCriteria) {
|
|
1073
|
+
RetryCriteria.filterSensitiveLog = (obj) => ({
|
|
1074
|
+
...obj,
|
|
1075
|
+
});
|
|
1076
|
+
})(RetryCriteria = exports.RetryCriteria || (exports.RetryCriteria = {}));
|
|
1077
|
+
var JobExecutionsRetryConfig;
|
|
1078
|
+
(function (JobExecutionsRetryConfig) {
|
|
1079
|
+
JobExecutionsRetryConfig.filterSensitiveLog = (obj) => ({
|
|
1080
|
+
...obj,
|
|
1081
|
+
});
|
|
1082
|
+
})(JobExecutionsRetryConfig = exports.JobExecutionsRetryConfig || (exports.JobExecutionsRetryConfig = {}));
|
|
1065
1083
|
var RateIncreaseCriteria;
|
|
1066
1084
|
(function (RateIncreaseCriteria) {
|
|
1067
1085
|
RateIncreaseCriteria.filterSensitiveLog = (obj) => ({
|
|
@@ -1857,21 +1875,3 @@ var DeleteRoleAliasResponse;
|
|
|
1857
1875
|
...obj,
|
|
1858
1876
|
});
|
|
1859
1877
|
})(DeleteRoleAliasResponse = exports.DeleteRoleAliasResponse || (exports.DeleteRoleAliasResponse = {}));
|
|
1860
|
-
var DeleteScheduledAuditRequest;
|
|
1861
|
-
(function (DeleteScheduledAuditRequest) {
|
|
1862
|
-
DeleteScheduledAuditRequest.filterSensitiveLog = (obj) => ({
|
|
1863
|
-
...obj,
|
|
1864
|
-
});
|
|
1865
|
-
})(DeleteScheduledAuditRequest = exports.DeleteScheduledAuditRequest || (exports.DeleteScheduledAuditRequest = {}));
|
|
1866
|
-
var DeleteScheduledAuditResponse;
|
|
1867
|
-
(function (DeleteScheduledAuditResponse) {
|
|
1868
|
-
DeleteScheduledAuditResponse.filterSensitiveLog = (obj) => ({
|
|
1869
|
-
...obj,
|
|
1870
|
-
});
|
|
1871
|
-
})(DeleteScheduledAuditResponse = exports.DeleteScheduledAuditResponse || (exports.DeleteScheduledAuditResponse = {}));
|
|
1872
|
-
var DeleteSecurityProfileRequest;
|
|
1873
|
-
(function (DeleteSecurityProfileRequest) {
|
|
1874
|
-
DeleteSecurityProfileRequest.filterSensitiveLog = (obj) => ({
|
|
1875
|
-
...obj,
|
|
1876
|
-
});
|
|
1877
|
-
})(DeleteSecurityProfileRequest = exports.DeleteSecurityProfileRequest || (exports.DeleteSecurityProfileRequest = {}));
|