@aws-sdk/client-iot 3.81.0 → 3.87.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 CHANGED
@@ -3,6 +3,34 @@
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.87.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.86.0...v3.87.0) (2022-05-09)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iot
9
+
10
+
11
+
12
+
13
+
14
+ # [3.85.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.84.0...v3.85.0) (2022-05-05)
15
+
16
+
17
+ ### Features
18
+
19
+ * **client-iot:** AWS IoT Jobs now allows you to create up to 100,000 active continuous and snapshot jobs by using concurrency control. ([6506e14](https://github.com/aws/aws-sdk-js-v3/commit/6506e14ba608ae3ee0a892b7d494250f92bbf3fc))
20
+ * **codegen:** add codegen indicator comment to all generated files ([#3592](https://github.com/aws/aws-sdk-js-v3/issues/3592)) ([567a530](https://github.com/aws/aws-sdk-js-v3/commit/567a5304232fcc1f9db3fd3df545054de8336b4b))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.82.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.81.0...v3.82.0) (2022-05-02)
27
+
28
+ **Note:** Version bump only for package @aws-sdk/client-iot
29
+
30
+
31
+
32
+
33
+
6
34
  # [3.81.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.80.0...v3.81.0) (2022-04-29)
7
35
 
8
36
  **Note:** Version bump only for package @aws-sdk/client-iot
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ <!-- generated file, do not edit directly -->
2
+
1
3
  # @aws-sdk/client-iot
2
4
 
3
5
  [![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-iot/latest.svg)](https://www.npmjs.com/package/@aws-sdk/client-iot)
@@ -7558,6 +7558,9 @@ const deserializeAws_restJson1CancelJobCommandError = async (output, context) =>
7558
7558
  case "InvalidRequestException":
7559
7559
  case "com.amazonaws.iot#InvalidRequestException":
7560
7560
  throw await deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context);
7561
+ case "LimitExceededException":
7562
+ case "com.amazonaws.iot#LimitExceededException":
7563
+ throw await deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context);
7561
7564
  case "ResourceNotFoundException":
7562
7565
  case "com.amazonaws.iot#ResourceNotFoundException":
7563
7566
  throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
@@ -22900,6 +22903,7 @@ const deserializeAws_restJson1Job = (output, context) => {
22900
22903
  ? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
22901
22904
  : undefined,
22902
22905
  forceCanceled: (0, smithy_client_1.expectBoolean)(output.forceCanceled),
22906
+ isConcurrent: (0, smithy_client_1.expectBoolean)(output.isConcurrent),
22903
22907
  jobArn: (0, smithy_client_1.expectString)(output.jobArn),
22904
22908
  jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
22905
22909
  ? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
@@ -23052,6 +23056,7 @@ const deserializeAws_restJson1JobSummary = (output, context) => {
23052
23056
  createdAt: output.createdAt !== undefined && output.createdAt !== null
23053
23057
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
23054
23058
  : undefined,
23059
+ isConcurrent: (0, smithy_client_1.expectBoolean)(output.isConcurrent),
23055
23060
  jobArn: (0, smithy_client_1.expectString)(output.jobArn),
23056
23061
  jobId: (0, smithy_client_1.expectString)(output.jobId),
23057
23062
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
@@ -8262,23 +8262,27 @@ var deserializeAws_restJson1CancelJobCommandError = function (output, context) {
8262
8262
  switch (_b) {
8263
8263
  case "InvalidRequestException": return [3, 2];
8264
8264
  case "com.amazonaws.iot#InvalidRequestException": return [3, 2];
8265
- case "ResourceNotFoundException": return [3, 4];
8266
- case "com.amazonaws.iot#ResourceNotFoundException": return [3, 4];
8267
- case "ServiceUnavailableException": return [3, 6];
8268
- case "com.amazonaws.iot#ServiceUnavailableException": return [3, 6];
8269
- case "ThrottlingException": return [3, 8];
8270
- case "com.amazonaws.iot#ThrottlingException": return [3, 8];
8265
+ case "LimitExceededException": return [3, 4];
8266
+ case "com.amazonaws.iot#LimitExceededException": return [3, 4];
8267
+ case "ResourceNotFoundException": return [3, 6];
8268
+ case "com.amazonaws.iot#ResourceNotFoundException": return [3, 6];
8269
+ case "ServiceUnavailableException": return [3, 8];
8270
+ case "com.amazonaws.iot#ServiceUnavailableException": return [3, 8];
8271
+ case "ThrottlingException": return [3, 10];
8272
+ case "com.amazonaws.iot#ThrottlingException": return [3, 10];
8271
8273
  }
8272
- return [3, 10];
8274
+ return [3, 12];
8273
8275
  case 2: return [4, deserializeAws_restJson1InvalidRequestExceptionResponse(parsedOutput, context)];
8274
8276
  case 3: throw _d.sent();
8275
- case 4: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
8277
+ case 4: return [4, deserializeAws_restJson1LimitExceededExceptionResponse(parsedOutput, context)];
8276
8278
  case 5: throw _d.sent();
8277
- case 6: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
8279
+ case 6: return [4, deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context)];
8278
8280
  case 7: throw _d.sent();
8279
- case 8: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
8281
+ case 8: return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
8280
8282
  case 9: throw _d.sent();
8281
- case 10:
8283
+ case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
8284
+ case 11: throw _d.sent();
8285
+ case 12:
8282
8286
  parsedBody = parsedOutput.body;
8283
8287
  response = new __BaseException({
8284
8288
  name: parsedBody.code || parsedBody.Code || errorCode,
@@ -28215,6 +28219,7 @@ var deserializeAws_restJson1Job = function (output, context) {
28215
28219
  ? deserializeAws_restJson1ParameterMap(output.documentParameters, context)
28216
28220
  : undefined,
28217
28221
  forceCanceled: __expectBoolean(output.forceCanceled),
28222
+ isConcurrent: __expectBoolean(output.isConcurrent),
28218
28223
  jobArn: __expectString(output.jobArn),
28219
28224
  jobExecutionsRetryConfig: output.jobExecutionsRetryConfig !== undefined && output.jobExecutionsRetryConfig !== null
28220
28225
  ? deserializeAws_restJson1JobExecutionsRetryConfig(output.jobExecutionsRetryConfig, context)
@@ -28367,6 +28372,7 @@ var deserializeAws_restJson1JobSummary = function (output, context) {
28367
28372
  createdAt: output.createdAt !== undefined && output.createdAt !== null
28368
28373
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
28369
28374
  : undefined,
28375
+ isConcurrent: __expectBoolean(output.isConcurrent),
28370
28376
  jobArn: __expectString(output.jobArn),
28371
28377
  jobId: __expectString(output.jobId),
28372
28378
  lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
@@ -1713,6 +1713,7 @@ export interface Job {
1713
1713
  documentParameters?: {
1714
1714
  [key: string]: string;
1715
1715
  };
1716
+ isConcurrent?: boolean;
1716
1717
  }
1717
1718
  export declare namespace Job {
1718
1719
  /**
@@ -5310,6 +5311,7 @@ export interface JobSummary {
5310
5311
  * <p>The time, in seconds since the epoch, when the job completed.</p>
5311
5312
  */
5312
5313
  completedAt?: Date;
5314
+ isConcurrent?: boolean;
5313
5315
  }
5314
5316
  export declare namespace JobSummary {
5315
5317
  /**
@@ -941,6 +941,7 @@ export interface Job {
941
941
  documentParameters?: {
942
942
  [key: string]: string;
943
943
  };
944
+ isConcurrent?: boolean;
944
945
  }
945
946
  export declare namespace Job {
946
947
 
@@ -2886,6 +2887,7 @@ export interface JobSummary {
2886
2887
  lastUpdatedAt?: Date;
2887
2888
 
2888
2889
  completedAt?: Date;
2890
+ isConcurrent?: boolean;
2889
2891
  }
2890
2892
  export declare namespace JobSummary {
2891
2893
 
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.81.0",
4
+ "version": "3.87.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",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.81.0",
21
+ "@aws-sdk/client-sts": "3.87.0",
22
22
  "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.81.0",
23
+ "@aws-sdk/credential-provider-node": "3.87.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.78.0",
25
25
  "@aws-sdk/hash-node": "3.78.0",
26
26
  "@aws-sdk/invalid-dependency": "3.78.0",
@@ -33,17 +33,17 @@
33
33
  "@aws-sdk/middleware-stack": "3.78.0",
34
34
  "@aws-sdk/middleware-user-agent": "3.78.0",
35
35
  "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.78.0",
36
+ "@aws-sdk/node-http-handler": "3.82.0",
37
37
  "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.78.0",
38
+ "@aws-sdk/smithy-client": "3.85.0",
39
39
  "@aws-sdk/types": "3.78.0",
40
40
  "@aws-sdk/url-parser": "3.78.0",
41
41
  "@aws-sdk/util-base64-browser": "3.58.0",
42
42
  "@aws-sdk/util-base64-node": "3.55.0",
43
43
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
44
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.78.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.81.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.85.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.85.0",
47
47
  "@aws-sdk/util-user-agent-browser": "3.78.0",
48
48
  "@aws-sdk/util-user-agent-node": "3.80.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.55.0",