@aws-sdk/client-iot-jobs-data-plane 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/IoTJobsDataPlaneClient.js +13 -13
- package/dist-cjs/commands/DescribeJobExecutionCommand.js +3 -3
- package/dist-cjs/commands/GetPendingJobExecutionsCommand.js +3 -3
- package/dist-cjs/commands/StartNextPendingJobExecutionCommand.js +3 -3
- package/dist-cjs/commands/UpdateJobExecutionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +48 -48
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/IoTJobsDataPlane.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +4 -4
- package/dist-types/IoTJobsDataPlaneClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-iot-jobs-data-plane
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
31
|
|
|
8
32
|
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class IoTJobsDataPlaneClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class DescribeJobExecutionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "IoTJobsDataPlaneClient";
|
|
@@ -27,10 +27,10 @@ class DescribeJobExecutionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1DescribeJobExecutionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeJobExecutionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1DescribeJobExecutionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeJobExecutionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeJobExecutionCommand = DescribeJobExecutionCommand;
|
|
@@ -11,7 +11,7 @@ class GetPendingJobExecutionsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "IoTJobsDataPlaneClient";
|
|
@@ -27,10 +27,10 @@ class GetPendingJobExecutionsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetPendingJobExecutionsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetPendingJobExecutionsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetPendingJobExecutionsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetPendingJobExecutionsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetPendingJobExecutionsCommand = GetPendingJobExecutionsCommand;
|
|
@@ -11,7 +11,7 @@ class StartNextPendingJobExecutionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "IoTJobsDataPlaneClient";
|
|
@@ -27,10 +27,10 @@ class StartNextPendingJobExecutionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1StartNextPendingJobExecutionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartNextPendingJobExecutionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1StartNextPendingJobExecutionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartNextPendingJobExecutionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartNextPendingJobExecutionCommand = StartNextPendingJobExecutionCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateJobExecutionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "IoTJobsDataPlaneClient";
|
|
@@ -27,10 +27,10 @@ class UpdateJobExecutionCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateJobExecutionCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateJobExecutionCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateJobExecutionCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateJobExecutionCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateJobExecutionCommand = UpdateJobExecutionCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -184,7 +184,7 @@ const partitionHash = {
|
|
|
184
184
|
],
|
|
185
185
|
},
|
|
186
186
|
};
|
|
187
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
187
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
188
188
|
...options,
|
|
189
189
|
signingService: "iot-jobs-data",
|
|
190
190
|
regionHash,
|
|
@@ -14,7 +14,7 @@ const serializeAws_restJson1DescribeJobExecutionCommand = async (input, context)
|
|
|
14
14
|
if (labelValue.length <= 0) {
|
|
15
15
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
16
16
|
}
|
|
17
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
17
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
18
18
|
}
|
|
19
19
|
else {
|
|
20
20
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -24,7 +24,7 @@ const serializeAws_restJson1DescribeJobExecutionCommand = async (input, context)
|
|
|
24
24
|
if (labelValue.length <= 0) {
|
|
25
25
|
throw new Error("Empty value provided for input HTTP label: thingName.");
|
|
26
26
|
}
|
|
27
|
-
resolvedPath = resolvedPath.replace("{thingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
27
|
+
resolvedPath = resolvedPath.replace("{thingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
28
28
|
}
|
|
29
29
|
else {
|
|
30
30
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
@@ -55,7 +55,7 @@ const serializeAws_restJson1GetPendingJobExecutionsCommand = async (input, conte
|
|
|
55
55
|
if (labelValue.length <= 0) {
|
|
56
56
|
throw new Error("Empty value provided for input HTTP label: thingName.");
|
|
57
57
|
}
|
|
58
|
-
resolvedPath = resolvedPath.replace("{thingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
58
|
+
resolvedPath = resolvedPath.replace("{thingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
61
61
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
@@ -83,7 +83,7 @@ const serializeAws_restJson1StartNextPendingJobExecutionCommand = async (input,
|
|
|
83
83
|
if (labelValue.length <= 0) {
|
|
84
84
|
throw new Error("Empty value provided for input HTTP label: thingName.");
|
|
85
85
|
}
|
|
86
|
-
resolvedPath = resolvedPath.replace("{thingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
86
|
+
resolvedPath = resolvedPath.replace("{thingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
@@ -119,7 +119,7 @@ const serializeAws_restJson1UpdateJobExecutionCommand = async (input, context) =
|
|
|
119
119
|
if (labelValue.length <= 0) {
|
|
120
120
|
throw new Error("Empty value provided for input HTTP label: jobId.");
|
|
121
121
|
}
|
|
122
|
-
resolvedPath = resolvedPath.replace("{jobId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
122
|
+
resolvedPath = resolvedPath.replace("{jobId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
123
123
|
}
|
|
124
124
|
else {
|
|
125
125
|
throw new Error("No value provided for input HTTP label: jobId.");
|
|
@@ -129,7 +129,7 @@ const serializeAws_restJson1UpdateJobExecutionCommand = async (input, context) =
|
|
|
129
129
|
if (labelValue.length <= 0) {
|
|
130
130
|
throw new Error("Empty value provided for input HTTP label: thingName.");
|
|
131
131
|
}
|
|
132
|
-
resolvedPath = resolvedPath.replace("{thingName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
132
|
+
resolvedPath = resolvedPath.replace("{thingName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
133
133
|
}
|
|
134
134
|
else {
|
|
135
135
|
throw new Error("No value provided for input HTTP label: thingName.");
|
|
@@ -171,7 +171,7 @@ const deserializeAws_restJson1DescribeJobExecutionCommand = async (output, conte
|
|
|
171
171
|
$metadata: deserializeMetadata(output),
|
|
172
172
|
execution: undefined,
|
|
173
173
|
};
|
|
174
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
174
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
175
175
|
if (data.execution !== undefined && data.execution !== null) {
|
|
176
176
|
contents.execution = deserializeAws_restJson1JobExecution(data.execution, context);
|
|
177
177
|
}
|
|
@@ -212,7 +212,7 @@ const deserializeAws_restJson1DescribeJobExecutionCommandError = async (output,
|
|
|
212
212
|
$fault: "client",
|
|
213
213
|
$metadata: deserializeMetadata(output),
|
|
214
214
|
});
|
|
215
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
215
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
218
|
const deserializeAws_restJson1GetPendingJobExecutionsCommand = async (output, context) => {
|
|
@@ -224,7 +224,7 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommand = async (output, co
|
|
|
224
224
|
inProgressJobs: undefined,
|
|
225
225
|
queuedJobs: undefined,
|
|
226
226
|
};
|
|
227
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
227
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
228
228
|
if (data.inProgressJobs !== undefined && data.inProgressJobs !== null) {
|
|
229
229
|
contents.inProgressJobs = deserializeAws_restJson1JobExecutionSummaryList(data.inProgressJobs, context);
|
|
230
230
|
}
|
|
@@ -265,7 +265,7 @@ const deserializeAws_restJson1GetPendingJobExecutionsCommandError = async (outpu
|
|
|
265
265
|
$fault: "client",
|
|
266
266
|
$metadata: deserializeMetadata(output),
|
|
267
267
|
});
|
|
268
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
268
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
269
269
|
}
|
|
270
270
|
};
|
|
271
271
|
const deserializeAws_restJson1StartNextPendingJobExecutionCommand = async (output, context) => {
|
|
@@ -276,7 +276,7 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommand = async (outpu
|
|
|
276
276
|
$metadata: deserializeMetadata(output),
|
|
277
277
|
execution: undefined,
|
|
278
278
|
};
|
|
279
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
279
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
280
280
|
if (data.execution !== undefined && data.execution !== null) {
|
|
281
281
|
contents.execution = deserializeAws_restJson1JobExecution(data.execution, context);
|
|
282
282
|
}
|
|
@@ -314,7 +314,7 @@ const deserializeAws_restJson1StartNextPendingJobExecutionCommandError = async (
|
|
|
314
314
|
$fault: "client",
|
|
315
315
|
$metadata: deserializeMetadata(output),
|
|
316
316
|
});
|
|
317
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
317
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
320
|
const deserializeAws_restJson1UpdateJobExecutionCommand = async (output, context) => {
|
|
@@ -326,12 +326,12 @@ const deserializeAws_restJson1UpdateJobExecutionCommand = async (output, context
|
|
|
326
326
|
executionState: undefined,
|
|
327
327
|
jobDocument: undefined,
|
|
328
328
|
};
|
|
329
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
329
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
330
330
|
if (data.executionState !== undefined && data.executionState !== null) {
|
|
331
331
|
contents.executionState = deserializeAws_restJson1JobExecutionState(data.executionState, context);
|
|
332
332
|
}
|
|
333
333
|
if (data.jobDocument !== undefined && data.jobDocument !== null) {
|
|
334
|
-
contents.jobDocument = smithy_client_1.expectString(data.jobDocument);
|
|
334
|
+
contents.jobDocument = (0, smithy_client_1.expectString)(data.jobDocument);
|
|
335
335
|
}
|
|
336
336
|
return Promise.resolve(contents);
|
|
337
337
|
};
|
|
@@ -370,86 +370,86 @@ const deserializeAws_restJson1UpdateJobExecutionCommandError = async (output, co
|
|
|
370
370
|
$fault: "client",
|
|
371
371
|
$metadata: deserializeMetadata(output),
|
|
372
372
|
});
|
|
373
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
373
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
374
374
|
}
|
|
375
375
|
};
|
|
376
376
|
const deserializeAws_restJson1CertificateValidationExceptionResponse = async (parsedOutput, context) => {
|
|
377
377
|
const contents = {};
|
|
378
378
|
const data = parsedOutput.body;
|
|
379
379
|
if (data.message !== undefined && data.message !== null) {
|
|
380
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
380
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
381
381
|
}
|
|
382
382
|
const exception = new models_0_1.CertificateValidationException({
|
|
383
383
|
$metadata: deserializeMetadata(parsedOutput),
|
|
384
384
|
...contents,
|
|
385
385
|
});
|
|
386
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
386
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
387
387
|
};
|
|
388
388
|
const deserializeAws_restJson1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
|
|
389
389
|
const contents = {};
|
|
390
390
|
const data = parsedOutput.body;
|
|
391
391
|
if (data.message !== undefined && data.message !== null) {
|
|
392
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
392
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
393
393
|
}
|
|
394
394
|
const exception = new models_0_1.InvalidRequestException({
|
|
395
395
|
$metadata: deserializeMetadata(parsedOutput),
|
|
396
396
|
...contents,
|
|
397
397
|
});
|
|
398
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
398
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
399
399
|
};
|
|
400
400
|
const deserializeAws_restJson1InvalidStateTransitionExceptionResponse = async (parsedOutput, context) => {
|
|
401
401
|
const contents = {};
|
|
402
402
|
const data = parsedOutput.body;
|
|
403
403
|
if (data.message !== undefined && data.message !== null) {
|
|
404
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
404
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
405
405
|
}
|
|
406
406
|
const exception = new models_0_1.InvalidStateTransitionException({
|
|
407
407
|
$metadata: deserializeMetadata(parsedOutput),
|
|
408
408
|
...contents,
|
|
409
409
|
});
|
|
410
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
410
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
411
411
|
};
|
|
412
412
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
413
413
|
const contents = {};
|
|
414
414
|
const data = parsedOutput.body;
|
|
415
415
|
if (data.message !== undefined && data.message !== null) {
|
|
416
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
416
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
417
417
|
}
|
|
418
418
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
419
419
|
$metadata: deserializeMetadata(parsedOutput),
|
|
420
420
|
...contents,
|
|
421
421
|
});
|
|
422
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
422
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
423
423
|
};
|
|
424
424
|
const deserializeAws_restJson1ServiceUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
425
425
|
const contents = {};
|
|
426
426
|
const data = parsedOutput.body;
|
|
427
427
|
if (data.message !== undefined && data.message !== null) {
|
|
428
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
428
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
429
429
|
}
|
|
430
430
|
const exception = new models_0_1.ServiceUnavailableException({
|
|
431
431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
432
432
|
...contents,
|
|
433
433
|
});
|
|
434
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
434
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
435
435
|
};
|
|
436
436
|
const deserializeAws_restJson1TerminalStateExceptionResponse = async (parsedOutput, context) => {
|
|
437
437
|
const contents = {};
|
|
438
438
|
const data = parsedOutput.body;
|
|
439
439
|
if (data.message !== undefined && data.message !== null) {
|
|
440
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
440
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
441
441
|
}
|
|
442
442
|
const exception = new models_0_1.TerminalStateException({
|
|
443
443
|
$metadata: deserializeMetadata(parsedOutput),
|
|
444
444
|
...contents,
|
|
445
445
|
});
|
|
446
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
446
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
447
447
|
};
|
|
448
448
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
449
449
|
const contents = {};
|
|
450
450
|
const data = parsedOutput.body;
|
|
451
451
|
if (data.message !== undefined && data.message !== null) {
|
|
452
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
452
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
453
453
|
}
|
|
454
454
|
if (data.payload !== undefined && data.payload !== null) {
|
|
455
455
|
contents.payload = context.base64Decoder(data.payload);
|
|
@@ -458,7 +458,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
|
|
|
458
458
|
$metadata: deserializeMetadata(parsedOutput),
|
|
459
459
|
...contents,
|
|
460
460
|
});
|
|
461
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
461
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
462
462
|
};
|
|
463
463
|
const serializeAws_restJson1DetailsMap = (input, context) => {
|
|
464
464
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
@@ -478,44 +478,44 @@ const deserializeAws_restJson1DetailsMap = (output, context) => {
|
|
|
478
478
|
}
|
|
479
479
|
return {
|
|
480
480
|
...acc,
|
|
481
|
-
[key]: smithy_client_1.expectString(value),
|
|
481
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
482
482
|
};
|
|
483
483
|
}, {});
|
|
484
484
|
};
|
|
485
485
|
const deserializeAws_restJson1JobExecution = (output, context) => {
|
|
486
486
|
return {
|
|
487
|
-
approximateSecondsBeforeTimedOut: smithy_client_1.expectLong(output.approximateSecondsBeforeTimedOut),
|
|
488
|
-
executionNumber: smithy_client_1.expectLong(output.executionNumber),
|
|
489
|
-
jobDocument: smithy_client_1.expectString(output.jobDocument),
|
|
490
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
491
|
-
lastUpdatedAt: smithy_client_1.expectLong(output.lastUpdatedAt),
|
|
492
|
-
queuedAt: smithy_client_1.expectLong(output.queuedAt),
|
|
493
|
-
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
494
|
-
status: smithy_client_1.expectString(output.status),
|
|
487
|
+
approximateSecondsBeforeTimedOut: (0, smithy_client_1.expectLong)(output.approximateSecondsBeforeTimedOut),
|
|
488
|
+
executionNumber: (0, smithy_client_1.expectLong)(output.executionNumber),
|
|
489
|
+
jobDocument: (0, smithy_client_1.expectString)(output.jobDocument),
|
|
490
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
491
|
+
lastUpdatedAt: (0, smithy_client_1.expectLong)(output.lastUpdatedAt),
|
|
492
|
+
queuedAt: (0, smithy_client_1.expectLong)(output.queuedAt),
|
|
493
|
+
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
494
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
495
495
|
statusDetails: output.statusDetails !== undefined && output.statusDetails !== null
|
|
496
496
|
? deserializeAws_restJson1DetailsMap(output.statusDetails, context)
|
|
497
497
|
: undefined,
|
|
498
|
-
thingName: smithy_client_1.expectString(output.thingName),
|
|
499
|
-
versionNumber: smithy_client_1.expectLong(output.versionNumber),
|
|
498
|
+
thingName: (0, smithy_client_1.expectString)(output.thingName),
|
|
499
|
+
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
500
500
|
};
|
|
501
501
|
};
|
|
502
502
|
const deserializeAws_restJson1JobExecutionState = (output, context) => {
|
|
503
503
|
return {
|
|
504
|
-
status: smithy_client_1.expectString(output.status),
|
|
504
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
505
505
|
statusDetails: output.statusDetails !== undefined && output.statusDetails !== null
|
|
506
506
|
? deserializeAws_restJson1DetailsMap(output.statusDetails, context)
|
|
507
507
|
: undefined,
|
|
508
|
-
versionNumber: smithy_client_1.expectLong(output.versionNumber),
|
|
508
|
+
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
509
509
|
};
|
|
510
510
|
};
|
|
511
511
|
const deserializeAws_restJson1JobExecutionSummary = (output, context) => {
|
|
512
512
|
return {
|
|
513
|
-
executionNumber: smithy_client_1.expectLong(output.executionNumber),
|
|
514
|
-
jobId: smithy_client_1.expectString(output.jobId),
|
|
515
|
-
lastUpdatedAt: smithy_client_1.expectLong(output.lastUpdatedAt),
|
|
516
|
-
queuedAt: smithy_client_1.expectLong(output.queuedAt),
|
|
517
|
-
startedAt: smithy_client_1.expectLong(output.startedAt),
|
|
518
|
-
versionNumber: smithy_client_1.expectLong(output.versionNumber),
|
|
513
|
+
executionNumber: (0, smithy_client_1.expectLong)(output.executionNumber),
|
|
514
|
+
jobId: (0, smithy_client_1.expectString)(output.jobId),
|
|
515
|
+
lastUpdatedAt: (0, smithy_client_1.expectLong)(output.lastUpdatedAt),
|
|
516
|
+
queuedAt: (0, smithy_client_1.expectLong)(output.queuedAt),
|
|
517
|
+
startedAt: (0, smithy_client_1.expectLong)(output.startedAt),
|
|
518
|
+
versionNumber: (0, smithy_client_1.expectLong)(output.versionNumber),
|
|
519
519
|
};
|
|
520
520
|
};
|
|
521
521
|
const deserializeAws_restJson1JobExecutionSummaryList = (output, context) => {
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -16,7 +16,7 @@ var IoTJobsDataPlane = (function (_super) {
|
|
|
16
16
|
}
|
|
17
17
|
else if (typeof cb === "function") {
|
|
18
18
|
if (typeof optionsOrCb !== "object")
|
|
19
|
-
throw new Error("Expect http options but get "
|
|
19
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
20
20
|
this.send(command, optionsOrCb || {}, cb);
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
@@ -30,7 +30,7 @@ var IoTJobsDataPlane = (function (_super) {
|
|
|
30
30
|
}
|
|
31
31
|
else if (typeof cb === "function") {
|
|
32
32
|
if (typeof optionsOrCb !== "object")
|
|
33
|
-
throw new Error("Expect http options but get "
|
|
33
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
34
34
|
this.send(command, optionsOrCb || {}, cb);
|
|
35
35
|
}
|
|
36
36
|
else {
|
|
@@ -44,7 +44,7 @@ var IoTJobsDataPlane = (function (_super) {
|
|
|
44
44
|
}
|
|
45
45
|
else if (typeof cb === "function") {
|
|
46
46
|
if (typeof optionsOrCb !== "object")
|
|
47
|
-
throw new Error("Expect http options but get "
|
|
47
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
48
48
|
this.send(command, optionsOrCb || {}, cb);
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
@@ -58,7 +58,7 @@ var IoTJobsDataPlane = (function (_super) {
|
|
|
58
58
|
}
|
|
59
59
|
else if (typeof cb === "function") {
|
|
60
60
|
if (typeof optionsOrCb !== "object")
|
|
61
|
-
throw new Error("Expect http options but get "
|
|
61
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
62
62
|
this.send(command, optionsOrCb || {}, cb);
|
|
63
63
|
}
|
|
64
64
|
else {
|
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1DescribeJobExecutionCommand = function (input,
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/things/{thingName}/jobs/{jobId}";
|
|
15
15
|
if (input.jobId !== undefined) {
|
|
16
16
|
labelValue = input.jobId;
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
@@ -54,7 +54,7 @@ export var serializeAws_restJson1GetPendingJobExecutionsCommand = function (inpu
|
|
|
54
54
|
case 1:
|
|
55
55
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
56
56
|
headers = {};
|
|
57
|
-
resolvedPath = ""
|
|
57
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/things/{thingName}/jobs";
|
|
58
58
|
if (input.thingName !== undefined) {
|
|
59
59
|
labelValue = input.thingName;
|
|
60
60
|
if (labelValue.length <= 0) {
|
|
@@ -87,7 +87,7 @@ export var serializeAws_restJson1StartNextPendingJobExecutionCommand = function
|
|
|
87
87
|
headers = {
|
|
88
88
|
"content-type": "application/json",
|
|
89
89
|
};
|
|
90
|
-
resolvedPath = ""
|
|
90
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/things/{thingName}/jobs/$next";
|
|
91
91
|
if (input.thingName !== undefined) {
|
|
92
92
|
labelValue = input.thingName;
|
|
93
93
|
if (labelValue.length <= 0) {
|
|
@@ -125,7 +125,7 @@ export var serializeAws_restJson1UpdateJobExecutionCommand = function (input, co
|
|
|
125
125
|
headers = {
|
|
126
126
|
"content-type": "application/json",
|
|
127
127
|
};
|
|
128
|
-
resolvedPath = ""
|
|
128
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/things/{thingName}/jobs/{jobId}";
|
|
129
129
|
if (input.jobId !== undefined) {
|
|
130
130
|
labelValue = input.jobId;
|
|
131
131
|
if (labelValue.length <= 0) {
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
10
10
|
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
|
|
11
11
|
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
|
|
@@ -32,7 +32,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
32
32
|
* A function that can calculate the length of a request body.
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
35
|
-
bodyLengthChecker?:
|
|
35
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
36
36
|
/**
|
|
37
37
|
* A function that converts a stream into an array of bytes.
|
|
38
38
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DescribeJobExecutionCommandInput, DescribeJobExecutionCommandOutput } from "./commands/DescribeJobExecutionCommand";
|
|
10
10
|
import { GetPendingJobExecutionsCommandInput, GetPendingJobExecutionsCommandOutput } from "./commands/GetPendingJobExecutionsCommand";
|
|
11
11
|
import { StartNextPendingJobExecutionCommandInput, StartNextPendingJobExecutionCommandOutput } from "./commands/StartNextPendingJobExecutionCommand";
|
|
@@ -20,7 +20,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
20
20
|
|
|
21
21
|
urlParser?: __UrlParser;
|
|
22
22
|
|
|
23
|
-
bodyLengthChecker?:
|
|
23
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
24
24
|
|
|
25
25
|
streamCollector?: __StreamCollector;
|
|
26
26
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: IoTJobsDataPlaneClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-jobs-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.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,47 +18,47 @@
|
|
|
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.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|