@aws-sdk/client-lambda 3.36.1 → 3.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,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.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-lambda
20
+
21
+
22
+
23
+
24
+
25
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
26
+
27
+
28
+ ### Features
29
+
30
+ * **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))
31
+ * **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))
32
+
33
+
34
+
35
+
36
+
37
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
38
+
39
+
40
+ ### Features
41
+
42
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
43
+
44
+
45
+
46
+
47
+
6
48
  ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
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);
@@ -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
- "fips-us-east-1": {
7
- hostname: "lambda-fips.us-east-1.amazonaws.com",
8
- signingRegion: "us-east-1",
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
- "fips-us-east-2": {
11
- hostname: "lambda-fips.us-east-2.amazonaws.com",
12
- signingRegion: "us-east-2",
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
- "fips-us-gov-east-1": {
15
- hostname: "lambda-fips.us-gov-east-1.amazonaws.com",
16
- signingRegion: "us-gov-east-1",
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
- "fips-us-gov-west-1": {
19
- hostname: "lambda-fips.us-gov-west-1.amazonaws.com",
20
- signingRegion: "us-gov-west-1",
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
- "fips-us-west-1": {
23
- hostname: "lambda-fips.us-west-1.amazonaws.com",
24
- signingRegion: "us-west-1",
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
- "fips-us-west-2": {
27
- hostname: "lambda-fips.us-west-2.amazonaws.com",
28
- signingRegion: "us-west-2",
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,89 @@ const partitionHash = {
57
105
  "us-west-1",
58
106
  "us-west-2",
59
107
  ],
60
- hostname: "lambda.{region}.amazonaws.com",
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
- hostname: "lambda.{region}.amazonaws.com.cn",
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
- regions: ["us-iso-east-1"],
68
- hostname: "lambda.{region}.c2s.ic.gov",
151
+ regions: ["us-iso-east-1", "us-iso-west-1"],
152
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
153
+ variants: [
154
+ {
155
+ hostname: "lambda.{region}.c2s.ic.gov",
156
+ tags: [],
157
+ },
158
+ ],
69
159
  },
70
160
  "aws-iso-b": {
71
161
  regions: ["us-isob-east-1"],
72
- hostname: "lambda.{region}.sc2s.sgov.gov",
162
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
163
+ variants: [
164
+ {
165
+ hostname: "lambda.{region}.sc2s.sgov.gov",
166
+ tags: [],
167
+ },
168
+ ],
73
169
  },
74
170
  "aws-us-gov": {
75
171
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
76
- hostname: "lambda.{region}.amazonaws.com",
172
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
173
+ variants: [
174
+ {
175
+ hostname: "lambda.{region}.amazonaws.com",
176
+ tags: [],
177
+ },
178
+ {
179
+ hostname: "lambda-fips.{region}.amazonaws.com",
180
+ tags: ["fips"],
181
+ },
182
+ {
183
+ hostname: "lambda-fips.{region}.api.aws",
184
+ tags: ["dualstack", "fips"],
185
+ },
186
+ {
187
+ hostname: "lambda.{region}.api.aws",
188
+ tags: ["dualstack"],
189
+ },
190
+ ],
77
191
  },
78
192
  };
79
193
  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("./commands/AddLayerVersionPermissionCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AddPermissionCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateAliasCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateCodeSigningConfigCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateEventSourceMappingCommand"), exports);
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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_browser_1.fromUtf8,
34
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_browser_1.toUtf8,
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
- utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : util_utf8_node_1.fromUtf8,
39
- utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : util_utf8_node_1.toUtf8,
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";