@aws-sdk/client-iot 3.315.0 → 3.317.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/dist-cjs/IoT.js +242 -3332
- package/dist-cjs/endpoint/EndpointParameters.js +1 -1
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/pagination/ListManagedJobTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListRelatedResourcesForAuditFindingPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +5 -5
- package/dist-es/IoT.js +242 -3332
- package/dist-es/endpoint/EndpointParameters.js +1 -1
- package/dist-es/models/models_0.js +2 -0
- package/dist-es/pagination/ListManagedJobTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListRelatedResourcesForAuditFindingPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +5 -5
- package/dist-types/IoT.d.ts +260 -1078
- package/dist-types/commands/ListOTAUpdatesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -0
- package/dist-types/pagination/ListManagedJobTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListRelatedResourcesForAuditFindingPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/IoT.d.ts +2 -1
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/pagination/ListManagedJobTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRelatedResourcesForAuditFindingPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/package.json +6 -6
|
@@ -30,7 +30,7 @@ export interface ListOTAUpdatesCommandOutput extends ListOTAUpdatesResponse, __M
|
|
|
30
30
|
* const input = { // ListOTAUpdatesRequest
|
|
31
31
|
* maxResults: Number("int"),
|
|
32
32
|
* nextToken: "STRING_VALUE",
|
|
33
|
-
* otaUpdateStatus: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED",
|
|
33
|
+
* otaUpdateStatus: "CREATE_PENDING" || "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_FAILED",
|
|
34
34
|
* };
|
|
35
35
|
* const command = new ListOTAUpdatesCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
@@ -4511,6 +4511,8 @@ export declare const OTAUpdateStatus: {
|
|
|
4511
4511
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
4512
4512
|
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
4513
4513
|
readonly CREATE_PENDING: "CREATE_PENDING";
|
|
4514
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
4515
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
4514
4516
|
};
|
|
4515
4517
|
/**
|
|
4516
4518
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "../commands/ListManagedJobTemplatesCommand";
|
|
3
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListManagedJobTemplates(config: IoTPaginationConfiguration, input: ListManagedJobTemplatesCommandInput, ...additionalArguments: any): Paginator<ListManagedJobTemplatesCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListRelatedResourcesForAuditFindingCommandInput, ListRelatedResourcesForAuditFindingCommandOutput } from "../commands/ListRelatedResourcesForAuditFindingCommand";
|
|
3
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListRelatedResourcesForAuditFinding(config: IoTPaginationConfiguration, input: ListRelatedResourcesForAuditFindingCommandInput, ...additionalArguments: any): Paginator<ListRelatedResourcesForAuditFindingCommandOutput>;
|
|
@@ -23,6 +23,7 @@ export * from "./ListJobExecutionsForJobPaginator";
|
|
|
23
23
|
export * from "./ListJobExecutionsForThingPaginator";
|
|
24
24
|
export * from "./ListJobTemplatesPaginator";
|
|
25
25
|
export * from "./ListJobsPaginator";
|
|
26
|
+
export * from "./ListManagedJobTemplatesPaginator";
|
|
26
27
|
export * from "./ListMetricValuesPaginator";
|
|
27
28
|
export * from "./ListMitigationActionsPaginator";
|
|
28
29
|
export * from "./ListOTAUpdatesPaginator";
|
|
@@ -33,6 +34,7 @@ export * from "./ListPrincipalPoliciesPaginator";
|
|
|
33
34
|
export * from "./ListPrincipalThingsPaginator";
|
|
34
35
|
export * from "./ListProvisioningTemplateVersionsPaginator";
|
|
35
36
|
export * from "./ListProvisioningTemplatesPaginator";
|
|
37
|
+
export * from "./ListRelatedResourcesForAuditFindingPaginator";
|
|
36
38
|
export * from "./ListRoleAliasesPaginator";
|
|
37
39
|
export * from "./ListScheduledAuditsPaginator";
|
|
38
40
|
export * from "./ListSecurityProfilesForTargetPaginator";
|
|
@@ -952,7 +952,7 @@ import {
|
|
|
952
952
|
ValidateSecurityProfileBehaviorsCommandOutput,
|
|
953
953
|
} from "./commands/ValidateSecurityProfileBehaviorsCommand";
|
|
954
954
|
import { IoTClient } from "./IoTClient";
|
|
955
|
-
export
|
|
955
|
+
export interface IoT {
|
|
956
956
|
acceptCertificateTransfer(
|
|
957
957
|
args: AcceptCertificateTransferCommandInput,
|
|
958
958
|
options?: __HttpHandlerOptions
|
|
@@ -4114,3 +4114,4 @@ export declare class IoT extends IoTClient {
|
|
|
4114
4114
|
cb: (err: any, data?: ValidateSecurityProfileBehaviorsCommandOutput) => void
|
|
4115
4115
|
): void;
|
|
4116
4116
|
}
|
|
4117
|
+
export declare class IoT extends IoTClient implements IoT {}
|
|
@@ -1355,6 +1355,8 @@ export declare const OTAUpdateStatus: {
|
|
|
1355
1355
|
readonly CREATE_FAILED: "CREATE_FAILED";
|
|
1356
1356
|
readonly CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS";
|
|
1357
1357
|
readonly CREATE_PENDING: "CREATE_PENDING";
|
|
1358
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
1359
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
1358
1360
|
};
|
|
1359
1361
|
export type OTAUpdateStatus =
|
|
1360
1362
|
(typeof OTAUpdateStatus)[keyof typeof OTAUpdateStatus];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListManagedJobTemplatesCommandInput,
|
|
4
|
+
ListManagedJobTemplatesCommandOutput,
|
|
5
|
+
} from "../commands/ListManagedJobTemplatesCommand";
|
|
6
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListManagedJobTemplates(
|
|
8
|
+
config: IoTPaginationConfiguration,
|
|
9
|
+
input: ListManagedJobTemplatesCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListManagedJobTemplatesCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRelatedResourcesForAuditFindingCommandInput,
|
|
4
|
+
ListRelatedResourcesForAuditFindingCommandOutput,
|
|
5
|
+
} from "../commands/ListRelatedResourcesForAuditFindingCommand";
|
|
6
|
+
import { IoTPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListRelatedResourcesForAuditFinding(
|
|
8
|
+
config: IoTPaginationConfiguration,
|
|
9
|
+
input: ListRelatedResourcesForAuditFindingCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListRelatedResourcesForAuditFindingCommandOutput>;
|
|
@@ -23,6 +23,7 @@ export * from "./ListJobExecutionsForJobPaginator";
|
|
|
23
23
|
export * from "./ListJobExecutionsForThingPaginator";
|
|
24
24
|
export * from "./ListJobTemplatesPaginator";
|
|
25
25
|
export * from "./ListJobsPaginator";
|
|
26
|
+
export * from "./ListManagedJobTemplatesPaginator";
|
|
26
27
|
export * from "./ListMetricValuesPaginator";
|
|
27
28
|
export * from "./ListMitigationActionsPaginator";
|
|
28
29
|
export * from "./ListOTAUpdatesPaginator";
|
|
@@ -33,6 +34,7 @@ export * from "./ListPrincipalPoliciesPaginator";
|
|
|
33
34
|
export * from "./ListPrincipalThingsPaginator";
|
|
34
35
|
export * from "./ListProvisioningTemplateVersionsPaginator";
|
|
35
36
|
export * from "./ListProvisioningTemplatesPaginator";
|
|
37
|
+
export * from "./ListRelatedResourcesForAuditFindingPaginator";
|
|
36
38
|
export * from "./ListRoleAliasesPaginator";
|
|
37
39
|
export * from "./ListScheduledAuditsPaginator";
|
|
38
40
|
export * from "./ListSecurityProfilesForTargetPaginator";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.317.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|