@aws-sdk/client-lambda 3.199.0 → 3.201.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 +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +2 -3
- package/dist-cjs/protocols/Aws_restJson1.js +70 -74
- package/dist-cjs/runtimeConfig.browser.js +16 -16
- package/dist-cjs/runtimeConfig.js +20 -19
- package/dist-cjs/runtimeConfig.native.js +1 -2
- package/dist-cjs/runtimeConfig.shared.js +8 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-lambda
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-lambda
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
var _a, _b;
|
|
6
5
|
return {
|
|
7
6
|
...options,
|
|
8
|
-
useDualstackEndpoint:
|
|
9
|
-
useFipsEndpoint:
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
10
9
|
defaultSigningName: "lambda",
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -12,7 +12,7 @@ const serializeAws_restJson1AddLayerVersionPermissionCommand = async (input, con
|
|
|
12
12
|
const headers = {
|
|
13
13
|
"content-type": "application/json",
|
|
14
14
|
};
|
|
15
|
-
let resolvedPath = `${
|
|
15
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
16
16
|
"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy";
|
|
17
17
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
18
18
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
@@ -43,7 +43,7 @@ const serializeAws_restJson1AddPermissionCommand = async (input, context) => {
|
|
|
43
43
|
const headers = {
|
|
44
44
|
"content-type": "application/json",
|
|
45
45
|
};
|
|
46
|
-
let resolvedPath = `${
|
|
46
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
47
47
|
"/2015-03-31/functions/{FunctionName}/policy";
|
|
48
48
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
49
49
|
const query = map({
|
|
@@ -78,7 +78,7 @@ const serializeAws_restJson1CreateAliasCommand = async (input, context) => {
|
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/json",
|
|
80
80
|
};
|
|
81
|
-
let resolvedPath = `${
|
|
81
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
82
82
|
"/2015-03-31/functions/{FunctionName}/aliases";
|
|
83
83
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
84
84
|
let body;
|
|
@@ -106,7 +106,7 @@ const serializeAws_restJson1CreateCodeSigningConfigCommand = async (input, conte
|
|
|
106
106
|
const headers = {
|
|
107
107
|
"content-type": "application/json",
|
|
108
108
|
};
|
|
109
|
-
const resolvedPath = `${
|
|
109
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs";
|
|
110
110
|
let body;
|
|
111
111
|
body = JSON.stringify({
|
|
112
112
|
...(input.AllowedPublishers != null && {
|
|
@@ -133,7 +133,7 @@ const serializeAws_restJson1CreateEventSourceMappingCommand = async (input, cont
|
|
|
133
133
|
const headers = {
|
|
134
134
|
"content-type": "application/json",
|
|
135
135
|
};
|
|
136
|
-
const resolvedPath = `${
|
|
136
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings";
|
|
137
137
|
let body;
|
|
138
138
|
body = JSON.stringify({
|
|
139
139
|
...(input.AmazonManagedKafkaEventSourceConfig != null && {
|
|
@@ -192,7 +192,7 @@ const serializeAws_restJson1CreateFunctionCommand = async (input, context) => {
|
|
|
192
192
|
const headers = {
|
|
193
193
|
"content-type": "application/json",
|
|
194
194
|
};
|
|
195
|
-
const resolvedPath = `${
|
|
195
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions";
|
|
196
196
|
let body;
|
|
197
197
|
body = JSON.stringify({
|
|
198
198
|
...(input.Architectures != null && {
|
|
@@ -244,7 +244,7 @@ const serializeAws_restJson1CreateFunctionUrlConfigCommand = async (input, conte
|
|
|
244
244
|
const headers = {
|
|
245
245
|
"content-type": "application/json",
|
|
246
246
|
};
|
|
247
|
-
let resolvedPath = `${
|
|
247
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url";
|
|
248
248
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
249
249
|
const query = map({
|
|
250
250
|
Qualifier: [, input.Qualifier],
|
|
@@ -269,7 +269,7 @@ exports.serializeAws_restJson1CreateFunctionUrlConfigCommand = serializeAws_rest
|
|
|
269
269
|
const serializeAws_restJson1DeleteAliasCommand = async (input, context) => {
|
|
270
270
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
271
271
|
const headers = {};
|
|
272
|
-
let resolvedPath = `${
|
|
272
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
273
273
|
"/2015-03-31/functions/{FunctionName}/aliases/{Name}";
|
|
274
274
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
275
275
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -288,7 +288,7 @@ exports.serializeAws_restJson1DeleteAliasCommand = serializeAws_restJson1DeleteA
|
|
|
288
288
|
const serializeAws_restJson1DeleteCodeSigningConfigCommand = async (input, context) => {
|
|
289
289
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
290
290
|
const headers = {};
|
|
291
|
-
let resolvedPath = `${
|
|
291
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
292
292
|
"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}";
|
|
293
293
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
294
294
|
let body;
|
|
@@ -306,7 +306,7 @@ exports.serializeAws_restJson1DeleteCodeSigningConfigCommand = serializeAws_rest
|
|
|
306
306
|
const serializeAws_restJson1DeleteEventSourceMappingCommand = async (input, context) => {
|
|
307
307
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
308
308
|
const headers = {};
|
|
309
|
-
let resolvedPath = `${
|
|
309
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}";
|
|
310
310
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
|
|
311
311
|
let body;
|
|
312
312
|
return new protocol_http_1.HttpRequest({
|
|
@@ -323,7 +323,7 @@ exports.serializeAws_restJson1DeleteEventSourceMappingCommand = serializeAws_res
|
|
|
323
323
|
const serializeAws_restJson1DeleteFunctionCommand = async (input, context) => {
|
|
324
324
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
325
325
|
const headers = {};
|
|
326
|
-
let resolvedPath = `${
|
|
326
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}";
|
|
327
327
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
328
328
|
const query = map({
|
|
329
329
|
Qualifier: [, input.Qualifier],
|
|
@@ -344,7 +344,7 @@ exports.serializeAws_restJson1DeleteFunctionCommand = serializeAws_restJson1Dele
|
|
|
344
344
|
const serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
345
345
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
346
346
|
const headers = {};
|
|
347
|
-
let resolvedPath = `${
|
|
347
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
348
348
|
"/2020-06-30/functions/{FunctionName}/code-signing-config";
|
|
349
349
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
350
350
|
let body;
|
|
@@ -362,7 +362,7 @@ exports.serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand = serialize
|
|
|
362
362
|
const serializeAws_restJson1DeleteFunctionConcurrencyCommand = async (input, context) => {
|
|
363
363
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
364
364
|
const headers = {};
|
|
365
|
-
let resolvedPath = `${
|
|
365
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
366
366
|
"/2017-10-31/functions/{FunctionName}/concurrency";
|
|
367
367
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
368
368
|
let body;
|
|
@@ -380,7 +380,7 @@ exports.serializeAws_restJson1DeleteFunctionConcurrencyCommand = serializeAws_re
|
|
|
380
380
|
const serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
381
381
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
382
382
|
const headers = {};
|
|
383
|
-
let resolvedPath = `${
|
|
383
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
384
384
|
"/2019-09-25/functions/{FunctionName}/event-invoke-config";
|
|
385
385
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
386
386
|
const query = map({
|
|
@@ -402,7 +402,7 @@ exports.serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand = serialize
|
|
|
402
402
|
const serializeAws_restJson1DeleteFunctionUrlConfigCommand = async (input, context) => {
|
|
403
403
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
404
404
|
const headers = {};
|
|
405
|
-
let resolvedPath = `${
|
|
405
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url";
|
|
406
406
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
407
407
|
const query = map({
|
|
408
408
|
Qualifier: [, input.Qualifier],
|
|
@@ -423,7 +423,7 @@ exports.serializeAws_restJson1DeleteFunctionUrlConfigCommand = serializeAws_rest
|
|
|
423
423
|
const serializeAws_restJson1DeleteLayerVersionCommand = async (input, context) => {
|
|
424
424
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
425
425
|
const headers = {};
|
|
426
|
-
let resolvedPath = `${
|
|
426
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
427
427
|
"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}";
|
|
428
428
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
429
429
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
@@ -442,7 +442,7 @@ exports.serializeAws_restJson1DeleteLayerVersionCommand = serializeAws_restJson1
|
|
|
442
442
|
const serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
443
443
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
444
444
|
const headers = {};
|
|
445
|
-
let resolvedPath = `${
|
|
445
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
446
446
|
"/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
|
|
447
447
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
448
448
|
const query = map({
|
|
@@ -466,7 +466,7 @@ const serializeAws_restJson1GetAccountSettingsCommand = async (input, context) =
|
|
|
466
466
|
const headers = {
|
|
467
467
|
"content-type": "application/json",
|
|
468
468
|
};
|
|
469
|
-
const resolvedPath = `${
|
|
469
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2016-08-19/account-settings";
|
|
470
470
|
let body;
|
|
471
471
|
body = "";
|
|
472
472
|
return new protocol_http_1.HttpRequest({
|
|
@@ -483,7 +483,7 @@ exports.serializeAws_restJson1GetAccountSettingsCommand = serializeAws_restJson1
|
|
|
483
483
|
const serializeAws_restJson1GetAliasCommand = async (input, context) => {
|
|
484
484
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
485
485
|
const headers = {};
|
|
486
|
-
let resolvedPath = `${
|
|
486
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
487
487
|
"/2015-03-31/functions/{FunctionName}/aliases/{Name}";
|
|
488
488
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
489
489
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -502,7 +502,7 @@ exports.serializeAws_restJson1GetAliasCommand = serializeAws_restJson1GetAliasCo
|
|
|
502
502
|
const serializeAws_restJson1GetCodeSigningConfigCommand = async (input, context) => {
|
|
503
503
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
504
504
|
const headers = {};
|
|
505
|
-
let resolvedPath = `${
|
|
505
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
506
506
|
"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}";
|
|
507
507
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
508
508
|
let body;
|
|
@@ -520,7 +520,7 @@ exports.serializeAws_restJson1GetCodeSigningConfigCommand = serializeAws_restJso
|
|
|
520
520
|
const serializeAws_restJson1GetEventSourceMappingCommand = async (input, context) => {
|
|
521
521
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
522
522
|
const headers = {};
|
|
523
|
-
let resolvedPath = `${
|
|
523
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}";
|
|
524
524
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
|
|
525
525
|
let body;
|
|
526
526
|
return new protocol_http_1.HttpRequest({
|
|
@@ -537,7 +537,7 @@ exports.serializeAws_restJson1GetEventSourceMappingCommand = serializeAws_restJs
|
|
|
537
537
|
const serializeAws_restJson1GetFunctionCommand = async (input, context) => {
|
|
538
538
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
539
539
|
const headers = {};
|
|
540
|
-
let resolvedPath = `${
|
|
540
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}";
|
|
541
541
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
542
542
|
const query = map({
|
|
543
543
|
Qualifier: [, input.Qualifier],
|
|
@@ -558,7 +558,7 @@ exports.serializeAws_restJson1GetFunctionCommand = serializeAws_restJson1GetFunc
|
|
|
558
558
|
const serializeAws_restJson1GetFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
559
559
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
560
560
|
const headers = {};
|
|
561
|
-
let resolvedPath = `${
|
|
561
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
562
562
|
"/2020-06-30/functions/{FunctionName}/code-signing-config";
|
|
563
563
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
564
564
|
let body;
|
|
@@ -576,7 +576,7 @@ exports.serializeAws_restJson1GetFunctionCodeSigningConfigCommand = serializeAws
|
|
|
576
576
|
const serializeAws_restJson1GetFunctionConcurrencyCommand = async (input, context) => {
|
|
577
577
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
578
578
|
const headers = {};
|
|
579
|
-
let resolvedPath = `${
|
|
579
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
580
580
|
"/2019-09-30/functions/{FunctionName}/concurrency";
|
|
581
581
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
582
582
|
let body;
|
|
@@ -594,7 +594,7 @@ exports.serializeAws_restJson1GetFunctionConcurrencyCommand = serializeAws_restJ
|
|
|
594
594
|
const serializeAws_restJson1GetFunctionConfigurationCommand = async (input, context) => {
|
|
595
595
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
596
596
|
const headers = {};
|
|
597
|
-
let resolvedPath = `${
|
|
597
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
598
598
|
"/2015-03-31/functions/{FunctionName}/configuration";
|
|
599
599
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
600
600
|
const query = map({
|
|
@@ -616,7 +616,7 @@ exports.serializeAws_restJson1GetFunctionConfigurationCommand = serializeAws_res
|
|
|
616
616
|
const serializeAws_restJson1GetFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
617
617
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
618
618
|
const headers = {};
|
|
619
|
-
let resolvedPath = `${
|
|
619
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
620
620
|
"/2019-09-25/functions/{FunctionName}/event-invoke-config";
|
|
621
621
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
622
622
|
const query = map({
|
|
@@ -638,7 +638,7 @@ exports.serializeAws_restJson1GetFunctionEventInvokeConfigCommand = serializeAws
|
|
|
638
638
|
const serializeAws_restJson1GetFunctionUrlConfigCommand = async (input, context) => {
|
|
639
639
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
640
640
|
const headers = {};
|
|
641
|
-
let resolvedPath = `${
|
|
641
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url";
|
|
642
642
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
643
643
|
const query = map({
|
|
644
644
|
Qualifier: [, input.Qualifier],
|
|
@@ -659,7 +659,7 @@ exports.serializeAws_restJson1GetFunctionUrlConfigCommand = serializeAws_restJso
|
|
|
659
659
|
const serializeAws_restJson1GetLayerVersionCommand = async (input, context) => {
|
|
660
660
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
661
661
|
const headers = {};
|
|
662
|
-
let resolvedPath = `${
|
|
662
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
663
663
|
"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}";
|
|
664
664
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
665
665
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
@@ -678,7 +678,7 @@ exports.serializeAws_restJson1GetLayerVersionCommand = serializeAws_restJson1Get
|
|
|
678
678
|
const serializeAws_restJson1GetLayerVersionByArnCommand = async (input, context) => {
|
|
679
679
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
680
680
|
const headers = {};
|
|
681
|
-
const resolvedPath = `${
|
|
681
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers";
|
|
682
682
|
const query = map({
|
|
683
683
|
find: [, "LayerVersion"],
|
|
684
684
|
Arn: [, input.Arn],
|
|
@@ -699,7 +699,7 @@ exports.serializeAws_restJson1GetLayerVersionByArnCommand = serializeAws_restJso
|
|
|
699
699
|
const serializeAws_restJson1GetLayerVersionPolicyCommand = async (input, context) => {
|
|
700
700
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
701
701
|
const headers = {};
|
|
702
|
-
let resolvedPath = `${
|
|
702
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
703
703
|
"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy";
|
|
704
704
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
705
705
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
@@ -718,7 +718,7 @@ exports.serializeAws_restJson1GetLayerVersionPolicyCommand = serializeAws_restJs
|
|
|
718
718
|
const serializeAws_restJson1GetPolicyCommand = async (input, context) => {
|
|
719
719
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
720
720
|
const headers = {};
|
|
721
|
-
let resolvedPath = `${
|
|
721
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
722
722
|
"/2015-03-31/functions/{FunctionName}/policy";
|
|
723
723
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
724
724
|
const query = map({
|
|
@@ -740,7 +740,7 @@ exports.serializeAws_restJson1GetPolicyCommand = serializeAws_restJson1GetPolicy
|
|
|
740
740
|
const serializeAws_restJson1GetProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
741
741
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
742
742
|
const headers = {};
|
|
743
|
-
let resolvedPath = `${
|
|
743
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
744
744
|
"/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
|
|
745
745
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
746
746
|
const query = map({
|
|
@@ -767,7 +767,7 @@ const serializeAws_restJson1InvokeCommand = async (input, context) => {
|
|
|
767
767
|
"x-amz-log-type": input.LogType,
|
|
768
768
|
"x-amz-client-context": input.ClientContext,
|
|
769
769
|
});
|
|
770
|
-
let resolvedPath = `${
|
|
770
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
771
771
|
"/2015-03-31/functions/{FunctionName}/invocations";
|
|
772
772
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
773
773
|
const query = map({
|
|
@@ -794,7 +794,7 @@ const serializeAws_restJson1InvokeAsyncCommand = async (input, context) => {
|
|
|
794
794
|
const headers = {
|
|
795
795
|
"content-type": "application/octet-stream",
|
|
796
796
|
};
|
|
797
|
-
let resolvedPath = `${
|
|
797
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
798
798
|
"/2014-11-13/functions/{FunctionName}/invoke-async";
|
|
799
799
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
800
800
|
let body;
|
|
@@ -815,7 +815,7 @@ exports.serializeAws_restJson1InvokeAsyncCommand = serializeAws_restJson1InvokeA
|
|
|
815
815
|
const serializeAws_restJson1ListAliasesCommand = async (input, context) => {
|
|
816
816
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
817
817
|
const headers = {};
|
|
818
|
-
let resolvedPath = `${
|
|
818
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
819
819
|
"/2015-03-31/functions/{FunctionName}/aliases";
|
|
820
820
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
821
821
|
const query = map({
|
|
@@ -839,7 +839,7 @@ exports.serializeAws_restJson1ListAliasesCommand = serializeAws_restJson1ListAli
|
|
|
839
839
|
const serializeAws_restJson1ListCodeSigningConfigsCommand = async (input, context) => {
|
|
840
840
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
841
841
|
const headers = {};
|
|
842
|
-
const resolvedPath = `${
|
|
842
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs";
|
|
843
843
|
const query = map({
|
|
844
844
|
Marker: [, input.Marker],
|
|
845
845
|
MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
@@ -860,7 +860,7 @@ exports.serializeAws_restJson1ListCodeSigningConfigsCommand = serializeAws_restJ
|
|
|
860
860
|
const serializeAws_restJson1ListEventSourceMappingsCommand = async (input, context) => {
|
|
861
861
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
862
862
|
const headers = {};
|
|
863
|
-
const resolvedPath = `${
|
|
863
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings";
|
|
864
864
|
const query = map({
|
|
865
865
|
EventSourceArn: [, input.EventSourceArn],
|
|
866
866
|
FunctionName: [, input.FunctionName],
|
|
@@ -883,7 +883,7 @@ exports.serializeAws_restJson1ListEventSourceMappingsCommand = serializeAws_rest
|
|
|
883
883
|
const serializeAws_restJson1ListFunctionEventInvokeConfigsCommand = async (input, context) => {
|
|
884
884
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
885
885
|
const headers = {};
|
|
886
|
-
let resolvedPath = `${
|
|
886
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
887
887
|
"/2019-09-25/functions/{FunctionName}/event-invoke-config/list";
|
|
888
888
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
889
889
|
const query = map({
|
|
@@ -906,7 +906,7 @@ exports.serializeAws_restJson1ListFunctionEventInvokeConfigsCommand = serializeA
|
|
|
906
906
|
const serializeAws_restJson1ListFunctionsCommand = async (input, context) => {
|
|
907
907
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
908
908
|
const headers = {};
|
|
909
|
-
const resolvedPath = `${
|
|
909
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions";
|
|
910
910
|
const query = map({
|
|
911
911
|
MasterRegion: [, input.MasterRegion],
|
|
912
912
|
FunctionVersion: [, input.FunctionVersion],
|
|
@@ -929,7 +929,7 @@ exports.serializeAws_restJson1ListFunctionsCommand = serializeAws_restJson1ListF
|
|
|
929
929
|
const serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = async (input, context) => {
|
|
930
930
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
931
931
|
const headers = {};
|
|
932
|
-
let resolvedPath = `${
|
|
932
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
933
933
|
"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions";
|
|
934
934
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
935
935
|
const query = map({
|
|
@@ -952,7 +952,7 @@ exports.serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand = serializ
|
|
|
952
952
|
const serializeAws_restJson1ListFunctionUrlConfigsCommand = async (input, context) => {
|
|
953
953
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
954
954
|
const headers = {};
|
|
955
|
-
let resolvedPath = `${
|
|
955
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/urls";
|
|
956
956
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
957
957
|
const query = map({
|
|
958
958
|
Marker: [, input.Marker],
|
|
@@ -974,7 +974,7 @@ exports.serializeAws_restJson1ListFunctionUrlConfigsCommand = serializeAws_restJ
|
|
|
974
974
|
const serializeAws_restJson1ListLayersCommand = async (input, context) => {
|
|
975
975
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
976
976
|
const headers = {};
|
|
977
|
-
const resolvedPath = `${
|
|
977
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers";
|
|
978
978
|
const query = map({
|
|
979
979
|
CompatibleRuntime: [, input.CompatibleRuntime],
|
|
980
980
|
Marker: [, input.Marker],
|
|
@@ -997,7 +997,7 @@ exports.serializeAws_restJson1ListLayersCommand = serializeAws_restJson1ListLaye
|
|
|
997
997
|
const serializeAws_restJson1ListLayerVersionsCommand = async (input, context) => {
|
|
998
998
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
999
999
|
const headers = {};
|
|
1000
|
-
let resolvedPath = `${
|
|
1000
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions";
|
|
1001
1001
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1002
1002
|
const query = map({
|
|
1003
1003
|
CompatibleRuntime: [, input.CompatibleRuntime],
|
|
@@ -1021,7 +1021,7 @@ exports.serializeAws_restJson1ListLayerVersionsCommand = serializeAws_restJson1L
|
|
|
1021
1021
|
const serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = async (input, context) => {
|
|
1022
1022
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1023
1023
|
const headers = {};
|
|
1024
|
-
let resolvedPath = `${
|
|
1024
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1025
1025
|
"/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
|
|
1026
1026
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1027
1027
|
const query = map({
|
|
@@ -1045,7 +1045,7 @@ exports.serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand = seriali
|
|
|
1045
1045
|
const serializeAws_restJson1ListTagsCommand = async (input, context) => {
|
|
1046
1046
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1047
1047
|
const headers = {};
|
|
1048
|
-
let resolvedPath = `${
|
|
1048
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}";
|
|
1049
1049
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
|
|
1050
1050
|
let body;
|
|
1051
1051
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1062,7 +1062,7 @@ exports.serializeAws_restJson1ListTagsCommand = serializeAws_restJson1ListTagsCo
|
|
|
1062
1062
|
const serializeAws_restJson1ListVersionsByFunctionCommand = async (input, context) => {
|
|
1063
1063
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1064
1064
|
const headers = {};
|
|
1065
|
-
let resolvedPath = `${
|
|
1065
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1066
1066
|
"/2015-03-31/functions/{FunctionName}/versions";
|
|
1067
1067
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1068
1068
|
const query = map({
|
|
@@ -1087,7 +1087,7 @@ const serializeAws_restJson1PublishLayerVersionCommand = async (input, context)
|
|
|
1087
1087
|
const headers = {
|
|
1088
1088
|
"content-type": "application/json",
|
|
1089
1089
|
};
|
|
1090
|
-
let resolvedPath = `${
|
|
1090
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions";
|
|
1091
1091
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1092
1092
|
let body;
|
|
1093
1093
|
body = JSON.stringify({
|
|
@@ -1117,7 +1117,7 @@ const serializeAws_restJson1PublishVersionCommand = async (input, context) => {
|
|
|
1117
1117
|
const headers = {
|
|
1118
1118
|
"content-type": "application/json",
|
|
1119
1119
|
};
|
|
1120
|
-
let resolvedPath = `${
|
|
1120
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1121
1121
|
"/2015-03-31/functions/{FunctionName}/versions";
|
|
1122
1122
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1123
1123
|
let body;
|
|
@@ -1142,7 +1142,7 @@ const serializeAws_restJson1PutFunctionCodeSigningConfigCommand = async (input,
|
|
|
1142
1142
|
const headers = {
|
|
1143
1143
|
"content-type": "application/json",
|
|
1144
1144
|
};
|
|
1145
|
-
let resolvedPath = `${
|
|
1145
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1146
1146
|
"/2020-06-30/functions/{FunctionName}/code-signing-config";
|
|
1147
1147
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1148
1148
|
let body;
|
|
@@ -1165,7 +1165,7 @@ const serializeAws_restJson1PutFunctionConcurrencyCommand = async (input, contex
|
|
|
1165
1165
|
const headers = {
|
|
1166
1166
|
"content-type": "application/json",
|
|
1167
1167
|
};
|
|
1168
|
-
let resolvedPath = `${
|
|
1168
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1169
1169
|
"/2017-10-31/functions/{FunctionName}/concurrency";
|
|
1170
1170
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1171
1171
|
let body;
|
|
@@ -1190,7 +1190,7 @@ const serializeAws_restJson1PutFunctionEventInvokeConfigCommand = async (input,
|
|
|
1190
1190
|
const headers = {
|
|
1191
1191
|
"content-type": "application/json",
|
|
1192
1192
|
};
|
|
1193
|
-
let resolvedPath = `${
|
|
1193
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1194
1194
|
"/2019-09-25/functions/{FunctionName}/event-invoke-config";
|
|
1195
1195
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1196
1196
|
const query = map({
|
|
@@ -1221,7 +1221,7 @@ const serializeAws_restJson1PutProvisionedConcurrencyConfigCommand = async (inpu
|
|
|
1221
1221
|
const headers = {
|
|
1222
1222
|
"content-type": "application/json",
|
|
1223
1223
|
};
|
|
1224
|
-
let resolvedPath = `${
|
|
1224
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1225
1225
|
"/2019-09-30/functions/{FunctionName}/provisioned-concurrency";
|
|
1226
1226
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1227
1227
|
const query = map({
|
|
@@ -1248,7 +1248,7 @@ exports.serializeAws_restJson1PutProvisionedConcurrencyConfigCommand = serialize
|
|
|
1248
1248
|
const serializeAws_restJson1RemoveLayerVersionPermissionCommand = async (input, context) => {
|
|
1249
1249
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1250
1250
|
const headers = {};
|
|
1251
|
-
let resolvedPath = `${
|
|
1251
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1252
1252
|
"/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}";
|
|
1253
1253
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1254
1254
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
@@ -1272,7 +1272,7 @@ exports.serializeAws_restJson1RemoveLayerVersionPermissionCommand = serializeAws
|
|
|
1272
1272
|
const serializeAws_restJson1RemovePermissionCommand = async (input, context) => {
|
|
1273
1273
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1274
1274
|
const headers = {};
|
|
1275
|
-
let resolvedPath = `${
|
|
1275
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1276
1276
|
"/2015-03-31/functions/{FunctionName}/policy/{StatementId}";
|
|
1277
1277
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1278
1278
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
|
|
@@ -1298,7 +1298,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1298
1298
|
const headers = {
|
|
1299
1299
|
"content-type": "application/json",
|
|
1300
1300
|
};
|
|
1301
|
-
let resolvedPath = `${
|
|
1301
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}";
|
|
1302
1302
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
|
|
1303
1303
|
let body;
|
|
1304
1304
|
body = JSON.stringify({
|
|
@@ -1318,7 +1318,7 @@ exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagReso
|
|
|
1318
1318
|
const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
1319
1319
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1320
1320
|
const headers = {};
|
|
1321
|
-
let resolvedPath = `${
|
|
1321
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}";
|
|
1322
1322
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false);
|
|
1323
1323
|
const query = map({
|
|
1324
1324
|
tagKeys: [() => input.TagKeys !== void 0, () => (input.TagKeys || []).map((_entry) => _entry)],
|
|
@@ -1341,7 +1341,7 @@ const serializeAws_restJson1UpdateAliasCommand = async (input, context) => {
|
|
|
1341
1341
|
const headers = {
|
|
1342
1342
|
"content-type": "application/json",
|
|
1343
1343
|
};
|
|
1344
|
-
let resolvedPath = `${
|
|
1344
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1345
1345
|
"/2015-03-31/functions/{FunctionName}/aliases/{Name}";
|
|
1346
1346
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1347
1347
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
@@ -1370,7 +1370,7 @@ const serializeAws_restJson1UpdateCodeSigningConfigCommand = async (input, conte
|
|
|
1370
1370
|
const headers = {
|
|
1371
1371
|
"content-type": "application/json",
|
|
1372
1372
|
};
|
|
1373
|
-
let resolvedPath = `${
|
|
1373
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1374
1374
|
"/2020-04-22/code-signing-configs/{CodeSigningConfigArn}";
|
|
1375
1375
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
1376
1376
|
let body;
|
|
@@ -1399,7 +1399,7 @@ const serializeAws_restJson1UpdateEventSourceMappingCommand = async (input, cont
|
|
|
1399
1399
|
const headers = {
|
|
1400
1400
|
"content-type": "application/json",
|
|
1401
1401
|
};
|
|
1402
|
-
let resolvedPath = `${
|
|
1402
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}";
|
|
1403
1403
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false);
|
|
1404
1404
|
let body;
|
|
1405
1405
|
body = JSON.stringify({
|
|
@@ -1443,7 +1443,7 @@ const serializeAws_restJson1UpdateFunctionCodeCommand = async (input, context) =
|
|
|
1443
1443
|
const headers = {
|
|
1444
1444
|
"content-type": "application/json",
|
|
1445
1445
|
};
|
|
1446
|
-
let resolvedPath = `${
|
|
1446
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}/code";
|
|
1447
1447
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1448
1448
|
let body;
|
|
1449
1449
|
body = JSON.stringify({
|
|
@@ -1475,7 +1475,7 @@ const serializeAws_restJson1UpdateFunctionConfigurationCommand = async (input, c
|
|
|
1475
1475
|
const headers = {
|
|
1476
1476
|
"content-type": "application/json",
|
|
1477
1477
|
};
|
|
1478
|
-
let resolvedPath = `${
|
|
1478
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1479
1479
|
"/2015-03-31/functions/{FunctionName}/configuration";
|
|
1480
1480
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1481
1481
|
let body;
|
|
@@ -1521,7 +1521,7 @@ const serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand = async (inpu
|
|
|
1521
1521
|
const headers = {
|
|
1522
1522
|
"content-type": "application/json",
|
|
1523
1523
|
};
|
|
1524
|
-
let resolvedPath = `${
|
|
1524
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1525
1525
|
"/2019-09-25/functions/{FunctionName}/event-invoke-config";
|
|
1526
1526
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1527
1527
|
const query = map({
|
|
@@ -1552,7 +1552,7 @@ const serializeAws_restJson1UpdateFunctionUrlConfigCommand = async (input, conte
|
|
|
1552
1552
|
const headers = {
|
|
1553
1553
|
"content-type": "application/json",
|
|
1554
1554
|
};
|
|
1555
|
-
let resolvedPath = `${
|
|
1555
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url";
|
|
1556
1556
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1557
1557
|
const query = map({
|
|
1558
1558
|
Qualifier: [, input.Qualifier],
|
|
@@ -7032,15 +7032,12 @@ const deserializeAws_restJson1VpcConfigResponse = (output, context) => {
|
|
|
7032
7032
|
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
7033
7033
|
};
|
|
7034
7034
|
};
|
|
7035
|
-
const deserializeMetadata = (output) => {
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
7042
|
-
});
|
|
7043
|
-
};
|
|
7035
|
+
const deserializeMetadata = (output) => ({
|
|
7036
|
+
httpStatusCode: output.statusCode,
|
|
7037
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
7038
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
7039
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
7040
|
+
});
|
|
7044
7041
|
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
7045
7042
|
if (streamBody instanceof Uint8Array) {
|
|
7046
7043
|
return Promise.resolve(streamBody);
|
|
@@ -7060,9 +7057,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
|
|
|
7060
7057
|
return {};
|
|
7061
7058
|
});
|
|
7062
7059
|
const parseErrorBody = async (errorBody, context) => {
|
|
7063
|
-
var _a;
|
|
7064
7060
|
const value = await parseBody(errorBody, context);
|
|
7065
|
-
value.message =
|
|
7061
|
+
value.message = value.message ?? value.Message;
|
|
7066
7062
|
return value;
|
|
7067
7063
|
};
|
|
7068
7064
|
const loadRestJsonErrorCode = (output, data) => {
|
|
@@ -16,7 +16,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
|
16
16
|
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
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
19
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
20
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
21
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
@@ -25,21 +24,22 @@ const getRuntimeConfig = (config) => {
|
|
|
25
24
|
...config,
|
|
26
25
|
runtime: "browser",
|
|
27
26
|
defaultsMode,
|
|
28
|
-
base64Decoder:
|
|
29
|
-
base64Encoder:
|
|
30
|
-
bodyLengthChecker:
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
defaultUserAgentProvider:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
27
|
+
base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
|
|
28
|
+
base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
|
|
29
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
|
|
30
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
+
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
|
+
maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
+
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
|
+
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
|
+
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
38
|
+
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
41
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
42
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -19,7 +19,6 @@ 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 smithy_client_2 = require("@aws-sdk/smithy-client");
|
|
21
21
|
const getRuntimeConfig = (config) => {
|
|
22
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
23
22
|
(0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
24
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
25
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -29,24 +28,26 @@ const getRuntimeConfig = (config) => {
|
|
|
29
28
|
...config,
|
|
30
29
|
runtime: "node",
|
|
31
30
|
defaultsMode,
|
|
32
|
-
base64Decoder:
|
|
33
|
-
base64Encoder:
|
|
34
|
-
bodyLengthChecker:
|
|
35
|
-
credentialDefaultProvider:
|
|
36
|
-
defaultUserAgentProvider:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
|
|
32
|
+
base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
|
|
33
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
35
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
|
+
(0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
38
|
+
region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
39
|
+
requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: config?.retryMode ??
|
|
41
|
+
(0, node_config_provider_1.loadConfig)({
|
|
42
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
43
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
44
|
+
}),
|
|
45
|
+
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
46
|
+
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
49
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
50
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
50
51
|
};
|
|
51
52
|
};
|
|
52
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
|
-
var _a;
|
|
8
7
|
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
8
|
return {
|
|
10
9
|
...browserDefaults,
|
|
11
10
|
...config,
|
|
12
11
|
runtime: "react-native",
|
|
13
|
-
sha256:
|
|
12
|
+
sha256: config?.sha256 ?? sha256_js_1.Sha256,
|
|
14
13
|
};
|
|
15
14
|
};
|
|
16
15
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
5
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
|
-
const getRuntimeConfig = (config) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
|
|
15
|
-
});
|
|
16
|
-
};
|
|
6
|
+
const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2015-03-31",
|
|
8
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
9
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
10
|
+
logger: config?.logger ?? {},
|
|
11
|
+
serviceId: config?.serviceId ?? "Lambda",
|
|
12
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
13
|
+
});
|
|
17
14
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lambda",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.201.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",
|
|
@@ -19,45 +19,45 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.201.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.201.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.201.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.201.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.201.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.201.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.201.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.201.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.201.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.201.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.201.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.201.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.201.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.201.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.201.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.201.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.201.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.201.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.201.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.201.0",
|
|
42
|
+
"@aws-sdk/types": "3.201.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.201.0",
|
|
44
44
|
"@aws-sdk/util-base64-browser": "3.188.0",
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.201.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.201.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.201.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.201.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.201.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.201.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.201.0",
|
|
53
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
55
|
-
"@aws-sdk/util-waiter": "3.
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.201.0",
|
|
55
|
+
"@aws-sdk/util-waiter": "3.201.0",
|
|
56
56
|
"tslib": "^2.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@aws-sdk/service-client-documentation-generator": "3.188.0",
|
|
60
|
-
"@tsconfig/
|
|
60
|
+
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^12.7.5",
|
|
62
62
|
"concurrently": "7.0.0",
|
|
63
63
|
"downlevel-dts": "0.10.1",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
74
|
+
"node": ">=14.0.0"
|
|
75
75
|
},
|
|
76
76
|
"typesVersions": {
|
|
77
77
|
"<4.0": {
|