@aws-sdk/client-lambda 3.37.0 → 3.41.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 +42 -0
- package/dist-cjs/commands/index.js +61 -0
- package/dist-cjs/endpoints.js +145 -23
- package/dist-cjs/index.js +5 -74
- package/dist-cjs/pagination/index.js +14 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +6 -0
- package/dist-es/commands/index.js +58 -0
- package/dist-es/endpoints.js +145 -23
- package/dist-es/index.js +5 -74
- package/dist-es/pagination/index.js +11 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +3 -0
- package/dist-types/LambdaClient.d.ts +8 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +1 -1
- package/dist-types/commands/GetAliasCommand.d.ts +1 -1
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/dist-types/commands/InvokeCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListLayersCommand.d.ts +1 -1
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +1 -1
- package/dist-types/commands/PublishVersionCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +1 -1
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +1 -1
- package/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +58 -0
- package/dist-types/index.d.ts +5 -74
- package/dist-types/pagination/index.d.ts +11 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +58 -0
- package/dist-types/ts3.4/index.d.ts +5 -74
- package/dist-types/ts3.4/pagination/index.d.ts +11 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
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.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-lambda
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
42
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AddLayerVersionPermissionCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AddPermissionCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CreateAliasCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CreateCodeSigningConfigCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateEventSourceMappingCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./DeleteAliasCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./DeleteCodeSigningConfigCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./DeleteEventSourceMappingCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteFunctionCodeSigningConfigCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteFunctionConcurrencyCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteFunctionEventInvokeConfigCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DeleteLayerVersionCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteProvisionedConcurrencyConfigCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./GetAliasCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./GetCodeSigningConfigCommand"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./GetEventSourceMappingCommand"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./GetFunctionCodeSigningConfigCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./GetFunctionCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./GetFunctionConcurrencyCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./GetFunctionConfigurationCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./GetFunctionEventInvokeConfigCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./GetLayerVersionByArnCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./GetLayerVersionCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetLayerVersionPolicyCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetPolicyCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./GetProvisionedConcurrencyConfigCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./InvokeAsyncCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./InvokeCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./ListAliasesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListCodeSigningConfigsCommand"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./ListEventSourceMappingsCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./ListLayerVersionsCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./ListLayersCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./ListTagsCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./ListVersionsByFunctionCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./PublishLayerVersionCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./PublishVersionCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./PutFunctionCodeSigningConfigCommand"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./PutFunctionConcurrencyCommand"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./PutFunctionEventInvokeConfigCommand"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./PutProvisionedConcurrencyConfigCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./RemoveLayerVersionPermissionCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./RemovePermissionCommand"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./UpdateAliasCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./UpdateCodeSigningConfigCommand"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./UpdateEventSourceMappingCommand"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./UpdateFunctionCodeCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./UpdateFunctionConfigurationCommand"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./UpdateFunctionEventInvokeConfigCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,29 +3,77 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "lambda.us-east-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "lambda-fips.us-east-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
"us-east-2": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "lambda.us-east-2.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "lambda-fips.us-east-2.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
13
29
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
"us-gov-east-1": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "lambda.us-gov-east-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "lambda-fips.us-gov-east-1.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
17
41
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
42
|
+
"us-gov-west-1": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "lambda.us-gov-west-1.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "lambda-fips.us-gov-west-1.amazonaws.com",
|
|
50
|
+
tags: ["fips"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
21
53
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
54
|
+
"us-west-1": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "lambda.us-west-1.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "lambda-fips.us-west-1.amazonaws.com",
|
|
62
|
+
tags: ["fips"],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
25
65
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
66
|
+
"us-west-2": {
|
|
67
|
+
variants: [
|
|
68
|
+
{
|
|
69
|
+
hostname: "lambda.us-west-2.amazonaws.com",
|
|
70
|
+
tags: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
hostname: "lambda-fips.us-west-2.amazonaws.com",
|
|
74
|
+
tags: ["fips"],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
29
77
|
},
|
|
30
78
|
};
|
|
31
79
|
const partitionHash = {
|
|
@@ -57,23 +105,97 @@ const partitionHash = {
|
|
|
57
105
|
"us-west-1",
|
|
58
106
|
"us-west-2",
|
|
59
107
|
],
|
|
60
|
-
|
|
108
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
109
|
+
variants: [
|
|
110
|
+
{
|
|
111
|
+
hostname: "lambda.{region}.amazonaws.com",
|
|
112
|
+
tags: [],
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
hostname: "lambda-fips.{region}.amazonaws.com",
|
|
116
|
+
tags: ["fips"],
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
hostname: "lambda-fips.{region}.api.aws",
|
|
120
|
+
tags: ["dualstack", "fips"],
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
hostname: "lambda.{region}.api.aws",
|
|
124
|
+
tags: ["dualstack"],
|
|
125
|
+
},
|
|
126
|
+
],
|
|
61
127
|
},
|
|
62
128
|
"aws-cn": {
|
|
63
129
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
64
|
-
|
|
130
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
131
|
+
variants: [
|
|
132
|
+
{
|
|
133
|
+
hostname: "lambda.{region}.amazonaws.com.cn",
|
|
134
|
+
tags: [],
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
hostname: "lambda-fips.{region}.amazonaws.com.cn",
|
|
138
|
+
tags: ["fips"],
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
hostname: "lambda-fips.{region}.api.amazonwebservices.com.cn",
|
|
142
|
+
tags: ["dualstack", "fips"],
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
hostname: "lambda.{region}.api.amazonwebservices.com.cn",
|
|
146
|
+
tags: ["dualstack"],
|
|
147
|
+
},
|
|
148
|
+
],
|
|
65
149
|
},
|
|
66
150
|
"aws-iso": {
|
|
67
151
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
68
|
-
|
|
152
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
153
|
+
variants: [
|
|
154
|
+
{
|
|
155
|
+
hostname: "lambda.{region}.c2s.ic.gov",
|
|
156
|
+
tags: [],
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
hostname: "lambda-fips.{region}.c2s.ic.gov",
|
|
160
|
+
tags: ["fips"],
|
|
161
|
+
},
|
|
162
|
+
],
|
|
69
163
|
},
|
|
70
164
|
"aws-iso-b": {
|
|
71
165
|
regions: ["us-isob-east-1"],
|
|
72
|
-
|
|
166
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
167
|
+
variants: [
|
|
168
|
+
{
|
|
169
|
+
hostname: "lambda.{region}.sc2s.sgov.gov",
|
|
170
|
+
tags: [],
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
hostname: "lambda-fips.{region}.sc2s.sgov.gov",
|
|
174
|
+
tags: ["fips"],
|
|
175
|
+
},
|
|
176
|
+
],
|
|
73
177
|
},
|
|
74
178
|
"aws-us-gov": {
|
|
75
179
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
76
|
-
|
|
180
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
181
|
+
variants: [
|
|
182
|
+
{
|
|
183
|
+
hostname: "lambda.{region}.amazonaws.com",
|
|
184
|
+
tags: [],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
hostname: "lambda-fips.{region}.amazonaws.com",
|
|
188
|
+
tags: ["fips"],
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
hostname: "lambda-fips.{region}.api.aws",
|
|
192
|
+
tags: ["dualstack", "fips"],
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
hostname: "lambda.{region}.api.aws",
|
|
196
|
+
tags: ["dualstack"],
|
|
197
|
+
},
|
|
198
|
+
],
|
|
77
199
|
},
|
|
78
200
|
};
|
|
79
201
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,78 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./LambdaClient"), exports);
|
|
5
4
|
tslib_1.__exportStar(require("./Lambda"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
11
|
-
tslib_1.__exportStar(require("./commands/CreateFunctionCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./commands/DeleteAliasCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./commands/DeleteCodeSigningConfigCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./commands/DeleteEventSourceMappingCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionCodeSigningConfigCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionConcurrencyCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./commands/DeleteFunctionEventInvokeConfigCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./commands/DeleteLayerVersionCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./commands/DeleteProvisionedConcurrencyConfigCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./commands/GetAccountSettingsCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./commands/GetAliasCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./commands/GetCodeSigningConfigCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./commands/GetEventSourceMappingCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./commands/GetFunctionCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./waiters/waitForFunctionExists"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./commands/GetFunctionCodeSigningConfigCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./commands/GetFunctionConcurrencyCommand"), exports);
|
|
29
|
-
tslib_1.__exportStar(require("./commands/GetFunctionConfigurationCommand"), exports);
|
|
30
|
-
tslib_1.__exportStar(require("./waiters/waitForFunctionActive"), exports);
|
|
31
|
-
tslib_1.__exportStar(require("./waiters/waitForFunctionUpdated"), exports);
|
|
32
|
-
tslib_1.__exportStar(require("./commands/GetFunctionEventInvokeConfigCommand"), exports);
|
|
33
|
-
tslib_1.__exportStar(require("./commands/GetLayerVersionCommand"), exports);
|
|
34
|
-
tslib_1.__exportStar(require("./commands/GetLayerVersionByArnCommand"), exports);
|
|
35
|
-
tslib_1.__exportStar(require("./commands/GetLayerVersionPolicyCommand"), exports);
|
|
36
|
-
tslib_1.__exportStar(require("./commands/GetPolicyCommand"), exports);
|
|
37
|
-
tslib_1.__exportStar(require("./commands/GetProvisionedConcurrencyConfigCommand"), exports);
|
|
38
|
-
tslib_1.__exportStar(require("./commands/InvokeCommand"), exports);
|
|
39
|
-
tslib_1.__exportStar(require("./commands/InvokeAsyncCommand"), exports);
|
|
40
|
-
tslib_1.__exportStar(require("./commands/ListAliasesCommand"), exports);
|
|
41
|
-
tslib_1.__exportStar(require("./pagination/ListAliasesPaginator"), exports);
|
|
42
|
-
tslib_1.__exportStar(require("./commands/ListCodeSigningConfigsCommand"), exports);
|
|
43
|
-
tslib_1.__exportStar(require("./pagination/ListCodeSigningConfigsPaginator"), exports);
|
|
44
|
-
tslib_1.__exportStar(require("./commands/ListEventSourceMappingsCommand"), exports);
|
|
45
|
-
tslib_1.__exportStar(require("./pagination/ListEventSourceMappingsPaginator"), exports);
|
|
46
|
-
tslib_1.__exportStar(require("./commands/ListFunctionEventInvokeConfigsCommand"), exports);
|
|
47
|
-
tslib_1.__exportStar(require("./pagination/ListFunctionEventInvokeConfigsPaginator"), exports);
|
|
48
|
-
tslib_1.__exportStar(require("./commands/ListFunctionsCommand"), exports);
|
|
49
|
-
tslib_1.__exportStar(require("./pagination/ListFunctionsPaginator"), exports);
|
|
50
|
-
tslib_1.__exportStar(require("./commands/ListFunctionsByCodeSigningConfigCommand"), exports);
|
|
51
|
-
tslib_1.__exportStar(require("./pagination/ListFunctionsByCodeSigningConfigPaginator"), exports);
|
|
52
|
-
tslib_1.__exportStar(require("./commands/ListLayersCommand"), exports);
|
|
53
|
-
tslib_1.__exportStar(require("./pagination/ListLayersPaginator"), exports);
|
|
54
|
-
tslib_1.__exportStar(require("./commands/ListLayerVersionsCommand"), exports);
|
|
55
|
-
tslib_1.__exportStar(require("./pagination/ListLayerVersionsPaginator"), exports);
|
|
56
|
-
tslib_1.__exportStar(require("./commands/ListProvisionedConcurrencyConfigsCommand"), exports);
|
|
57
|
-
tslib_1.__exportStar(require("./pagination/ListProvisionedConcurrencyConfigsPaginator"), exports);
|
|
58
|
-
tslib_1.__exportStar(require("./commands/ListTagsCommand"), exports);
|
|
59
|
-
tslib_1.__exportStar(require("./commands/ListVersionsByFunctionCommand"), exports);
|
|
60
|
-
tslib_1.__exportStar(require("./pagination/ListVersionsByFunctionPaginator"), exports);
|
|
61
|
-
tslib_1.__exportStar(require("./commands/PublishLayerVersionCommand"), exports);
|
|
62
|
-
tslib_1.__exportStar(require("./commands/PublishVersionCommand"), exports);
|
|
63
|
-
tslib_1.__exportStar(require("./commands/PutFunctionCodeSigningConfigCommand"), exports);
|
|
64
|
-
tslib_1.__exportStar(require("./commands/PutFunctionConcurrencyCommand"), exports);
|
|
65
|
-
tslib_1.__exportStar(require("./commands/PutFunctionEventInvokeConfigCommand"), exports);
|
|
66
|
-
tslib_1.__exportStar(require("./commands/PutProvisionedConcurrencyConfigCommand"), exports);
|
|
67
|
-
tslib_1.__exportStar(require("./commands/RemoveLayerVersionPermissionCommand"), exports);
|
|
68
|
-
tslib_1.__exportStar(require("./commands/RemovePermissionCommand"), exports);
|
|
69
|
-
tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
|
|
70
|
-
tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
|
|
71
|
-
tslib_1.__exportStar(require("./commands/UpdateAliasCommand"), exports);
|
|
72
|
-
tslib_1.__exportStar(require("./commands/UpdateCodeSigningConfigCommand"), exports);
|
|
73
|
-
tslib_1.__exportStar(require("./commands/UpdateEventSourceMappingCommand"), exports);
|
|
74
|
-
tslib_1.__exportStar(require("./commands/UpdateFunctionCodeCommand"), exports);
|
|
75
|
-
tslib_1.__exportStar(require("./commands/UpdateFunctionConfigurationCommand"), exports);
|
|
76
|
-
tslib_1.__exportStar(require("./commands/UpdateFunctionEventInvokeConfigCommand"), exports);
|
|
77
|
-
tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
|
|
78
|
-
tslib_1.__exportStar(require("./models/index"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./LambdaClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./waiters"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListCodeSigningConfigsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListEventSourceMappingsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListFunctionsPaginator"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./ListLayerVersionsPaginator"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListLayersPaginator"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsPaginator"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListVersionsByFunctionPaginator"), exports);
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
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),
|
|
39
|
+
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),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./waitForFunctionActive"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./waitForFunctionExists"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./waitForFunctionUpdated"), exports);
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export * from "./AddLayerVersionPermissionCommand";
|
|
2
|
+
export * from "./AddPermissionCommand";
|
|
3
|
+
export * from "./CreateAliasCommand";
|
|
4
|
+
export * from "./CreateCodeSigningConfigCommand";
|
|
5
|
+
export * from "./CreateEventSourceMappingCommand";
|
|
6
|
+
export * from "./CreateFunctionCommand";
|
|
7
|
+
export * from "./DeleteAliasCommand";
|
|
8
|
+
export * from "./DeleteCodeSigningConfigCommand";
|
|
9
|
+
export * from "./DeleteEventSourceMappingCommand";
|
|
10
|
+
export * from "./DeleteFunctionCodeSigningConfigCommand";
|
|
11
|
+
export * from "./DeleteFunctionCommand";
|
|
12
|
+
export * from "./DeleteFunctionConcurrencyCommand";
|
|
13
|
+
export * from "./DeleteFunctionEventInvokeConfigCommand";
|
|
14
|
+
export * from "./DeleteLayerVersionCommand";
|
|
15
|
+
export * from "./DeleteProvisionedConcurrencyConfigCommand";
|
|
16
|
+
export * from "./GetAccountSettingsCommand";
|
|
17
|
+
export * from "./GetAliasCommand";
|
|
18
|
+
export * from "./GetCodeSigningConfigCommand";
|
|
19
|
+
export * from "./GetEventSourceMappingCommand";
|
|
20
|
+
export * from "./GetFunctionCodeSigningConfigCommand";
|
|
21
|
+
export * from "./GetFunctionCommand";
|
|
22
|
+
export * from "./GetFunctionConcurrencyCommand";
|
|
23
|
+
export * from "./GetFunctionConfigurationCommand";
|
|
24
|
+
export * from "./GetFunctionEventInvokeConfigCommand";
|
|
25
|
+
export * from "./GetLayerVersionByArnCommand";
|
|
26
|
+
export * from "./GetLayerVersionCommand";
|
|
27
|
+
export * from "./GetLayerVersionPolicyCommand";
|
|
28
|
+
export * from "./GetPolicyCommand";
|
|
29
|
+
export * from "./GetProvisionedConcurrencyConfigCommand";
|
|
30
|
+
export * from "./InvokeAsyncCommand";
|
|
31
|
+
export * from "./InvokeCommand";
|
|
32
|
+
export * from "./ListAliasesCommand";
|
|
33
|
+
export * from "./ListCodeSigningConfigsCommand";
|
|
34
|
+
export * from "./ListEventSourceMappingsCommand";
|
|
35
|
+
export * from "./ListFunctionEventInvokeConfigsCommand";
|
|
36
|
+
export * from "./ListFunctionsByCodeSigningConfigCommand";
|
|
37
|
+
export * from "./ListFunctionsCommand";
|
|
38
|
+
export * from "./ListLayerVersionsCommand";
|
|
39
|
+
export * from "./ListLayersCommand";
|
|
40
|
+
export * from "./ListProvisionedConcurrencyConfigsCommand";
|
|
41
|
+
export * from "./ListTagsCommand";
|
|
42
|
+
export * from "./ListVersionsByFunctionCommand";
|
|
43
|
+
export * from "./PublishLayerVersionCommand";
|
|
44
|
+
export * from "./PublishVersionCommand";
|
|
45
|
+
export * from "./PutFunctionCodeSigningConfigCommand";
|
|
46
|
+
export * from "./PutFunctionConcurrencyCommand";
|
|
47
|
+
export * from "./PutFunctionEventInvokeConfigCommand";
|
|
48
|
+
export * from "./PutProvisionedConcurrencyConfigCommand";
|
|
49
|
+
export * from "./RemoveLayerVersionPermissionCommand";
|
|
50
|
+
export * from "./RemovePermissionCommand";
|
|
51
|
+
export * from "./TagResourceCommand";
|
|
52
|
+
export * from "./UntagResourceCommand";
|
|
53
|
+
export * from "./UpdateAliasCommand";
|
|
54
|
+
export * from "./UpdateCodeSigningConfigCommand";
|
|
55
|
+
export * from "./UpdateEventSourceMappingCommand";
|
|
56
|
+
export * from "./UpdateFunctionCodeCommand";
|
|
57
|
+
export * from "./UpdateFunctionConfigurationCommand";
|
|
58
|
+
export * from "./UpdateFunctionEventInvokeConfigCommand";
|