@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.
Files changed (75) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/dist-cjs/IoT.js +30 -0
  3. package/dist-cjs/commands/DeleteScheduledAuditCommand.js +3 -3
  4. package/dist-cjs/commands/DeleteSecurityProfileCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeManagedJobTemplateCommand.js +36 -0
  6. package/dist-cjs/commands/ListManagedJobTemplatesCommand.js +36 -0
  7. package/dist-cjs/commands/ListThingRegistrationTaskReportsCommand.js +3 -3
  8. package/dist-cjs/commands/ListThingRegistrationTasksCommand.js +3 -3
  9. package/dist-cjs/commands/ListThingTypesCommand.js +1 -2
  10. package/dist-cjs/commands/ListThingsCommand.js +3 -3
  11. package/dist-cjs/commands/ListThingsInBillingGroupCommand.js +3 -3
  12. package/dist-cjs/commands/ListThingsInThingGroupCommand.js +3 -3
  13. package/dist-cjs/commands/index.js +2 -0
  14. package/dist-cjs/endpoints.js +1 -0
  15. package/dist-cjs/models/models_0.js +21 -21
  16. package/dist-cjs/models/models_1.js +76 -78
  17. package/dist-cjs/models/models_2.js +75 -3
  18. package/dist-cjs/protocols/Aws_restJson1.js +406 -9
  19. package/dist-cjs/runtimeConfig.js +0 -2
  20. package/dist-es/IoT.js +30 -0
  21. package/dist-es/commands/DeleteScheduledAuditCommand.js +1 -1
  22. package/dist-es/commands/DeleteSecurityProfileCommand.js +1 -2
  23. package/dist-es/commands/DescribeManagedJobTemplateCommand.js +39 -0
  24. package/dist-es/commands/ListManagedJobTemplatesCommand.js +39 -0
  25. package/dist-es/commands/ListThingRegistrationTaskReportsCommand.js +1 -1
  26. package/dist-es/commands/ListThingRegistrationTasksCommand.js +1 -1
  27. package/dist-es/commands/ListThingTypesCommand.js +1 -2
  28. package/dist-es/commands/ListThingsCommand.js +1 -1
  29. package/dist-es/commands/ListThingsInBillingGroupCommand.js +1 -1
  30. package/dist-es/commands/ListThingsInThingGroupCommand.js +1 -1
  31. package/dist-es/commands/index.js +2 -0
  32. package/dist-es/endpoints.js +1 -0
  33. package/dist-es/models/models_0.js +14 -12
  34. package/dist-es/models/models_1.js +50 -48
  35. package/dist-es/models/models_2.js +48 -0
  36. package/dist-es/protocols/Aws_restJson1.js +431 -15
  37. package/dist-es/runtimeConfig.js +0 -2
  38. package/dist-types/IoT.d.ts +24 -3
  39. package/dist-types/IoTClient.d.ts +4 -2
  40. package/dist-types/commands/CreateCertificateFromCsrCommand.d.ts +3 -2
  41. package/dist-types/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  43. package/dist-types/commands/DescribeManagedJobTemplateCommand.d.ts +35 -0
  44. package/dist-types/commands/ListManagedJobTemplatesCommand.d.ts +35 -0
  45. package/dist-types/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  47. package/dist-types/commands/ListThingTypesCommand.d.ts +1 -2
  48. package/dist-types/commands/ListThingsCommand.d.ts +1 -1
  49. package/dist-types/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  50. package/dist-types/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/RegisterCertificateWithoutCACommand.d.ts +4 -1
  52. package/dist-types/commands/RemoveThingFromBillingGroupCommand.d.ts +3 -0
  53. package/dist-types/commands/index.d.ts +2 -0
  54. package/dist-types/models/models_0.d.ts +76 -42
  55. package/dist-types/models/models_1.d.ts +289 -290
  56. package/dist-types/models/models_2.d.ts +305 -4
  57. package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
  58. package/dist-types/ts3.4/IoT.d.ts +10 -0
  59. package/dist-types/ts3.4/IoTClient.d.ts +4 -2
  60. package/dist-types/ts3.4/commands/DeleteScheduledAuditCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +1 -2
  62. package/dist-types/ts3.4/commands/DescribeManagedJobTemplateCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListManagedJobTemplatesCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListThingRegistrationTaskReportsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListThingRegistrationTasksCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListThingTypesCommand.d.ts +1 -2
  67. package/dist-types/ts3.4/commands/ListThingsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListThingsInBillingGroupCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListThingsInThingGroupCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  71. package/dist-types/ts3.4/models/models_0.d.ts +37 -24
  72. package/dist-types/ts3.4/models/models_1.d.ts +145 -157
  73. package/dist-types/ts3.4/models/models_2.d.ts +164 -2
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
  75. package/package.json +36 -43
@@ -97,6 +97,7 @@ import { DescribeIndexCommandInput, DescribeIndexCommandOutput } from "../comman
97
97
  import { DescribeJobCommandInput, DescribeJobCommandOutput } from "../commands/DescribeJobCommand";
98
98
  import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "../commands/DescribeJobExecutionCommand";
99
99
  import { DescribeJobTemplateCommandInput, DescribeJobTemplateCommandOutput } from "../commands/DescribeJobTemplateCommand";
100
+ import { DescribeManagedJobTemplateCommandInput, DescribeManagedJobTemplateCommandOutput } from "../commands/DescribeManagedJobTemplateCommand";
100
101
  import { DescribeMitigationActionCommandInput, DescribeMitigationActionCommandOutput } from "../commands/DescribeMitigationActionCommand";
101
102
  import { DescribeProvisioningTemplateCommandInput, DescribeProvisioningTemplateCommandOutput } from "../commands/DescribeProvisioningTemplateCommand";
102
103
  import { DescribeProvisioningTemplateVersionCommandInput, DescribeProvisioningTemplateVersionCommandOutput } from "../commands/DescribeProvisioningTemplateVersionCommand";
@@ -153,6 +154,7 @@ import { ListJobExecutionsForJobCommandInput, ListJobExecutionsForJobCommandOutp
153
154
  import { ListJobExecutionsForThingCommandInput, ListJobExecutionsForThingCommandOutput } from "../commands/ListJobExecutionsForThingCommand";
154
155
  import { ListJobsCommandInput, ListJobsCommandOutput } from "../commands/ListJobsCommand";
155
156
  import { ListJobTemplatesCommandInput, ListJobTemplatesCommandOutput } from "../commands/ListJobTemplatesCommand";
157
+ import { ListManagedJobTemplatesCommandInput, ListManagedJobTemplatesCommandOutput } from "../commands/ListManagedJobTemplatesCommand";
156
158
  import { ListMitigationActionsCommandInput, ListMitigationActionsCommandOutput } from "../commands/ListMitigationActionsCommand";
157
159
  import { ListOTAUpdatesCommandInput, ListOTAUpdatesCommandOutput } from "../commands/ListOTAUpdatesCommand";
158
160
  import { ListOutgoingCertificatesCommandInput, ListOutgoingCertificatesCommandOutput } from "../commands/ListOutgoingCertificatesCommand";
@@ -331,6 +333,7 @@ export declare const serializeAws_restJson1DescribeIndexCommand: (input: Describ
331
333
  export declare const serializeAws_restJson1DescribeJobCommand: (input: DescribeJobCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
332
334
  export declare const serializeAws_restJson1DescribeJobExecutionCommand: (input: DescribeJobExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
333
335
  export declare const serializeAws_restJson1DescribeJobTemplateCommand: (input: DescribeJobTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
336
+ export declare const serializeAws_restJson1DescribeManagedJobTemplateCommand: (input: DescribeManagedJobTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
334
337
  export declare const serializeAws_restJson1DescribeMitigationActionCommand: (input: DescribeMitigationActionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
335
338
  export declare const serializeAws_restJson1DescribeProvisioningTemplateCommand: (input: DescribeProvisioningTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
336
339
  export declare const serializeAws_restJson1DescribeProvisioningTemplateVersionCommand: (input: DescribeProvisioningTemplateVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -387,6 +390,7 @@ export declare const serializeAws_restJson1ListJobExecutionsForJobCommand: (inpu
387
390
  export declare const serializeAws_restJson1ListJobExecutionsForThingCommand: (input: ListJobExecutionsForThingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
388
391
  export declare const serializeAws_restJson1ListJobsCommand: (input: ListJobsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
389
392
  export declare const serializeAws_restJson1ListJobTemplatesCommand: (input: ListJobTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
393
+ export declare const serializeAws_restJson1ListManagedJobTemplatesCommand: (input: ListManagedJobTemplatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
390
394
  export declare const serializeAws_restJson1ListMitigationActionsCommand: (input: ListMitigationActionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
391
395
  export declare const serializeAws_restJson1ListOTAUpdatesCommand: (input: ListOTAUpdatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
392
396
  export declare const serializeAws_restJson1ListOutgoingCertificatesCommand: (input: ListOutgoingCertificatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -565,6 +569,7 @@ export declare const deserializeAws_restJson1DescribeIndexCommand: (output: __Ht
565
569
  export declare const deserializeAws_restJson1DescribeJobCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobCommandOutput>;
566
570
  export declare const deserializeAws_restJson1DescribeJobExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobExecutionCommandOutput>;
567
571
  export declare const deserializeAws_restJson1DescribeJobTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeJobTemplateCommandOutput>;
572
+ export declare const deserializeAws_restJson1DescribeManagedJobTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeManagedJobTemplateCommandOutput>;
568
573
  export declare const deserializeAws_restJson1DescribeMitigationActionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeMitigationActionCommandOutput>;
569
574
  export declare const deserializeAws_restJson1DescribeProvisioningTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProvisioningTemplateCommandOutput>;
570
575
  export declare const deserializeAws_restJson1DescribeProvisioningTemplateVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeProvisioningTemplateVersionCommandOutput>;
@@ -621,6 +626,7 @@ export declare const deserializeAws_restJson1ListJobExecutionsForJobCommand: (ou
621
626
  export declare const deserializeAws_restJson1ListJobExecutionsForThingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobExecutionsForThingCommandOutput>;
622
627
  export declare const deserializeAws_restJson1ListJobsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobsCommandOutput>;
623
628
  export declare const deserializeAws_restJson1ListJobTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListJobTemplatesCommandOutput>;
629
+ export declare const deserializeAws_restJson1ListManagedJobTemplatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListManagedJobTemplatesCommandOutput>;
624
630
  export declare const deserializeAws_restJson1ListMitigationActionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMitigationActionsCommandOutput>;
625
631
  export declare const deserializeAws_restJson1ListOTAUpdatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOTAUpdatesCommandOutput>;
626
632
  export declare const deserializeAws_restJson1ListOutgoingCertificatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutgoingCertificatesCommandOutput>;
package/package.json CHANGED
@@ -1,18 +1,17 @@
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.42.0",
4
+ "version": "3.46.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
12
  "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
13
+ "clean:dist": "rimraf ./dist-*",
14
+ "clean:docs": "rimraf ./docs"
16
15
  },
17
16
  "main": "./dist-cjs/index.js",
18
17
  "types": "./dist-types/index.d.ts",
@@ -21,50 +20,44 @@
21
20
  "dependencies": {
22
21
  "@aws-crypto/sha256-browser": "2.0.0",
23
22
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.42.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
23
+ "@aws-sdk/client-sts": "3.46.0",
24
+ "@aws-sdk/config-resolver": "3.46.0",
25
+ "@aws-sdk/credential-provider-node": "3.46.0",
26
+ "@aws-sdk/fetch-http-handler": "3.46.0",
27
+ "@aws-sdk/hash-node": "3.46.0",
28
+ "@aws-sdk/invalid-dependency": "3.46.0",
29
+ "@aws-sdk/middleware-content-length": "3.46.0",
30
+ "@aws-sdk/middleware-host-header": "3.46.0",
31
+ "@aws-sdk/middleware-logger": "3.46.0",
32
+ "@aws-sdk/middleware-retry": "3.46.0",
33
+ "@aws-sdk/middleware-serde": "3.46.0",
34
+ "@aws-sdk/middleware-signing": "3.46.0",
35
+ "@aws-sdk/middleware-stack": "3.46.0",
36
+ "@aws-sdk/middleware-user-agent": "3.46.0",
37
+ "@aws-sdk/node-config-provider": "3.46.0",
38
+ "@aws-sdk/node-http-handler": "3.46.0",
39
+ "@aws-sdk/protocol-http": "3.46.0",
40
+ "@aws-sdk/smithy-client": "3.46.0",
41
+ "@aws-sdk/types": "3.46.0",
42
+ "@aws-sdk/url-parser": "3.46.0",
43
+ "@aws-sdk/util-base64-browser": "3.46.0",
44
+ "@aws-sdk/util-base64-node": "3.46.0",
45
+ "@aws-sdk/util-body-length-browser": "3.46.0",
46
+ "@aws-sdk/util-body-length-node": "3.46.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.46.0",
48
+ "@aws-sdk/util-user-agent-node": "3.46.0",
49
+ "@aws-sdk/util-utf8-browser": "3.46.0",
50
+ "@aws-sdk/util-utf8-node": "3.46.0",
52
51
  "tslib": "^2.3.0",
53
52
  "uuid": "^8.3.2"
54
53
  },
55
54
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
55
+ "@aws-sdk/service-client-documentation-generator": "3.46.0",
57
56
  "@types/node": "^12.7.5",
58
- "@types/uuid": "^8.3.0",
59
- "downlevel-dts": "0.7.0",
60
- "jest": "^26.1.0",
61
- "rimraf": "^3.0.0",
62
- "ts-jest": "^26.4.1",
63
- "typedoc": "^0.19.2",
64
- "typescript": "~4.3.5"
57
+ "@types/uuid": "^8.3.0"
65
58
  },
66
59
  "engines": {
67
- "node": ">=10.0.0"
60
+ "node": ">=12.0.0"
68
61
  },
69
62
  "typesVersions": {
70
63
  "<4.0": {