@aws-sdk/client-lambda 3.193.0 → 3.196.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/LambdaClient.js +11 -8
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +10 -0
- package/dist-cjs/commands/AddPermissionCommand.js +10 -0
- package/dist-cjs/commands/CreateAliasCommand.js +10 -0
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +10 -0
- package/dist-cjs/commands/CreateFunctionCommand.js +10 -0
- package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteAliasCommand.js +10 -0
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +10 -0
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +10 -0
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-cjs/commands/GetAccountSettingsCommand.js +10 -0
- package/dist-cjs/commands/GetAliasCommand.js +10 -0
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +10 -0
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +10 -0
- package/dist-cjs/commands/GetLayerVersionCommand.js +10 -0
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetPolicyCommand.js +10 -0
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-cjs/commands/InvokeAsyncCommand.js +10 -0
- package/dist-cjs/commands/InvokeCommand.js +10 -0
- package/dist-cjs/commands/ListAliasesCommand.js +10 -0
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/ListFunctionsCommand.js +10 -0
- package/dist-cjs/commands/ListLayerVersionsCommand.js +10 -0
- package/dist-cjs/commands/ListLayersCommand.js +10 -0
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsCommand.js +10 -0
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +10 -0
- package/dist-cjs/commands/PublishLayerVersionCommand.js +10 -0
- package/dist-cjs/commands/PublishVersionCommand.js +10 -0
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +10 -0
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +10 -0
- package/dist-cjs/commands/RemovePermissionCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAliasCommand.js +10 -0
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/LambdaClient.js +12 -9
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +10 -0
- package/dist-es/commands/AddPermissionCommand.js +10 -0
- package/dist-es/commands/CreateAliasCommand.js +10 -0
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/CreateEventSourceMappingCommand.js +10 -0
- package/dist-es/commands/CreateFunctionCommand.js +10 -0
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +10 -0
- package/dist-es/commands/DeleteAliasCommand.js +10 -0
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +10 -0
- package/dist-es/commands/DeleteLayerVersionCommand.js +10 -0
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +10 -0
- package/dist-es/commands/GetAliasCommand.js +10 -0
- package/dist-es/commands/GetCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/GetEventSourceMappingCommand.js +10 -0
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/GetFunctionCommand.js +10 -0
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +10 -0
- package/dist-es/commands/GetFunctionConfigurationCommand.js +10 -0
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +10 -0
- package/dist-es/commands/GetLayerVersionByArnCommand.js +10 -0
- package/dist-es/commands/GetLayerVersionCommand.js +10 -0
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +10 -0
- package/dist-es/commands/GetPolicyCommand.js +10 -0
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-es/commands/InvokeAsyncCommand.js +10 -0
- package/dist-es/commands/InvokeCommand.js +10 -0
- package/dist-es/commands/ListAliasesCommand.js +10 -0
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +10 -0
- package/dist-es/commands/ListEventSourceMappingsCommand.js +10 -0
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +10 -0
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +10 -0
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/ListFunctionsCommand.js +10 -0
- package/dist-es/commands/ListLayerVersionsCommand.js +10 -0
- package/dist-es/commands/ListLayersCommand.js +10 -0
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +10 -0
- package/dist-es/commands/ListTagsCommand.js +10 -0
- package/dist-es/commands/ListVersionsByFunctionCommand.js +10 -0
- package/dist-es/commands/PublishLayerVersionCommand.js +10 -0
- package/dist-es/commands/PublishVersionCommand.js +10 -0
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +10 -0
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +10 -0
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +10 -0
- package/dist-es/commands/RemovePermissionCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAliasCommand.js +10 -0
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +10 -0
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionCodeCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +10 -0
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/LambdaClient.d.ts +6 -9
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +2 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +2 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +2 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +2 -0
- package/dist-types/commands/GetAliasCommand.d.ts +2 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +2 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +2 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +2 -0
- package/dist-types/commands/InvokeCommand.d.ts +2 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +2 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListLayersCommand.d.ts +2 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsCommand.d.ts +2 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +2 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +2 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +2 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/LambdaClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -369
- package/dist-es/endpoints.js +0 -365
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"af-south-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "lambda.af-south-1.api.aws",
|
|
10
|
-
tags: ["dualstack"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"ap-east-1": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "lambda.ap-east-1.api.aws",
|
|
18
|
-
tags: ["dualstack"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"ap-northeast-1": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "lambda.ap-northeast-1.api.aws",
|
|
26
|
-
tags: ["dualstack"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"ap-northeast-2": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "lambda.ap-northeast-2.api.aws",
|
|
34
|
-
tags: ["dualstack"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
"ap-northeast-3": {
|
|
39
|
-
variants: [
|
|
40
|
-
{
|
|
41
|
-
hostname: "lambda.ap-northeast-3.api.aws",
|
|
42
|
-
tags: ["dualstack"],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
"ap-south-1": {
|
|
47
|
-
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "lambda.ap-south-1.api.aws",
|
|
50
|
-
tags: ["dualstack"],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
"ap-southeast-1": {
|
|
55
|
-
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "lambda.ap-southeast-1.api.aws",
|
|
58
|
-
tags: ["dualstack"],
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
"ap-southeast-2": {
|
|
63
|
-
variants: [
|
|
64
|
-
{
|
|
65
|
-
hostname: "lambda.ap-southeast-2.api.aws",
|
|
66
|
-
tags: ["dualstack"],
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
"ap-southeast-3": {
|
|
71
|
-
variants: [
|
|
72
|
-
{
|
|
73
|
-
hostname: "lambda.ap-southeast-3.api.aws",
|
|
74
|
-
tags: ["dualstack"],
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
"ca-central-1": {
|
|
79
|
-
variants: [
|
|
80
|
-
{
|
|
81
|
-
hostname: "lambda.ca-central-1.api.aws",
|
|
82
|
-
tags: ["dualstack"],
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
"cn-north-1": {
|
|
87
|
-
variants: [
|
|
88
|
-
{
|
|
89
|
-
hostname: "lambda.cn-north-1.api.amazonwebservices.com.cn",
|
|
90
|
-
tags: ["dualstack"],
|
|
91
|
-
},
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
"cn-northwest-1": {
|
|
95
|
-
variants: [
|
|
96
|
-
{
|
|
97
|
-
hostname: "lambda.cn-northwest-1.api.amazonwebservices.com.cn",
|
|
98
|
-
tags: ["dualstack"],
|
|
99
|
-
},
|
|
100
|
-
],
|
|
101
|
-
},
|
|
102
|
-
"eu-central-1": {
|
|
103
|
-
variants: [
|
|
104
|
-
{
|
|
105
|
-
hostname: "lambda.eu-central-1.api.aws",
|
|
106
|
-
tags: ["dualstack"],
|
|
107
|
-
},
|
|
108
|
-
],
|
|
109
|
-
},
|
|
110
|
-
"eu-north-1": {
|
|
111
|
-
variants: [
|
|
112
|
-
{
|
|
113
|
-
hostname: "lambda.eu-north-1.api.aws",
|
|
114
|
-
tags: ["dualstack"],
|
|
115
|
-
},
|
|
116
|
-
],
|
|
117
|
-
},
|
|
118
|
-
"eu-south-1": {
|
|
119
|
-
variants: [
|
|
120
|
-
{
|
|
121
|
-
hostname: "lambda.eu-south-1.api.aws",
|
|
122
|
-
tags: ["dualstack"],
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
},
|
|
126
|
-
"eu-west-1": {
|
|
127
|
-
variants: [
|
|
128
|
-
{
|
|
129
|
-
hostname: "lambda.eu-west-1.api.aws",
|
|
130
|
-
tags: ["dualstack"],
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
},
|
|
134
|
-
"eu-west-2": {
|
|
135
|
-
variants: [
|
|
136
|
-
{
|
|
137
|
-
hostname: "lambda.eu-west-2.api.aws",
|
|
138
|
-
tags: ["dualstack"],
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
"eu-west-3": {
|
|
143
|
-
variants: [
|
|
144
|
-
{
|
|
145
|
-
hostname: "lambda.eu-west-3.api.aws",
|
|
146
|
-
tags: ["dualstack"],
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
"me-south-1": {
|
|
151
|
-
variants: [
|
|
152
|
-
{
|
|
153
|
-
hostname: "lambda.me-south-1.api.aws",
|
|
154
|
-
tags: ["dualstack"],
|
|
155
|
-
},
|
|
156
|
-
],
|
|
157
|
-
},
|
|
158
|
-
"sa-east-1": {
|
|
159
|
-
variants: [
|
|
160
|
-
{
|
|
161
|
-
hostname: "lambda.sa-east-1.api.aws",
|
|
162
|
-
tags: ["dualstack"],
|
|
163
|
-
},
|
|
164
|
-
],
|
|
165
|
-
},
|
|
166
|
-
"us-east-1": {
|
|
167
|
-
variants: [
|
|
168
|
-
{
|
|
169
|
-
hostname: "lambda-fips.us-east-1.amazonaws.com",
|
|
170
|
-
tags: ["fips"],
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
hostname: "lambda.us-east-1.api.aws",
|
|
174
|
-
tags: ["dualstack"],
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
"us-east-2": {
|
|
179
|
-
variants: [
|
|
180
|
-
{
|
|
181
|
-
hostname: "lambda-fips.us-east-2.amazonaws.com",
|
|
182
|
-
tags: ["fips"],
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
hostname: "lambda.us-east-2.api.aws",
|
|
186
|
-
tags: ["dualstack"],
|
|
187
|
-
},
|
|
188
|
-
],
|
|
189
|
-
},
|
|
190
|
-
"us-gov-east-1": {
|
|
191
|
-
variants: [
|
|
192
|
-
{
|
|
193
|
-
hostname: "lambda-fips.us-gov-east-1.amazonaws.com",
|
|
194
|
-
tags: ["fips"],
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
hostname: "lambda.us-gov-east-1.api.aws",
|
|
198
|
-
tags: ["dualstack"],
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
},
|
|
202
|
-
"us-gov-west-1": {
|
|
203
|
-
variants: [
|
|
204
|
-
{
|
|
205
|
-
hostname: "lambda-fips.us-gov-west-1.amazonaws.com",
|
|
206
|
-
tags: ["fips"],
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
hostname: "lambda.us-gov-west-1.api.aws",
|
|
210
|
-
tags: ["dualstack"],
|
|
211
|
-
},
|
|
212
|
-
],
|
|
213
|
-
},
|
|
214
|
-
"us-west-1": {
|
|
215
|
-
variants: [
|
|
216
|
-
{
|
|
217
|
-
hostname: "lambda-fips.us-west-1.amazonaws.com",
|
|
218
|
-
tags: ["fips"],
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
hostname: "lambda.us-west-1.api.aws",
|
|
222
|
-
tags: ["dualstack"],
|
|
223
|
-
},
|
|
224
|
-
],
|
|
225
|
-
},
|
|
226
|
-
"us-west-2": {
|
|
227
|
-
variants: [
|
|
228
|
-
{
|
|
229
|
-
hostname: "lambda-fips.us-west-2.amazonaws.com",
|
|
230
|
-
tags: ["fips"],
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
hostname: "lambda.us-west-2.api.aws",
|
|
234
|
-
tags: ["dualstack"],
|
|
235
|
-
},
|
|
236
|
-
],
|
|
237
|
-
},
|
|
238
|
-
};
|
|
239
|
-
const partitionHash = {
|
|
240
|
-
aws: {
|
|
241
|
-
regions: [
|
|
242
|
-
"af-south-1",
|
|
243
|
-
"ap-east-1",
|
|
244
|
-
"ap-northeast-1",
|
|
245
|
-
"ap-northeast-2",
|
|
246
|
-
"ap-northeast-3",
|
|
247
|
-
"ap-south-1",
|
|
248
|
-
"ap-southeast-1",
|
|
249
|
-
"ap-southeast-2",
|
|
250
|
-
"ap-southeast-3",
|
|
251
|
-
"ca-central-1",
|
|
252
|
-
"eu-central-1",
|
|
253
|
-
"eu-north-1",
|
|
254
|
-
"eu-south-1",
|
|
255
|
-
"eu-west-1",
|
|
256
|
-
"eu-west-2",
|
|
257
|
-
"eu-west-3",
|
|
258
|
-
"fips-us-east-1",
|
|
259
|
-
"fips-us-east-2",
|
|
260
|
-
"fips-us-west-1",
|
|
261
|
-
"fips-us-west-2",
|
|
262
|
-
"me-central-1",
|
|
263
|
-
"me-south-1",
|
|
264
|
-
"sa-east-1",
|
|
265
|
-
"us-east-1",
|
|
266
|
-
"us-east-2",
|
|
267
|
-
"us-west-1",
|
|
268
|
-
"us-west-2",
|
|
269
|
-
],
|
|
270
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
271
|
-
variants: [
|
|
272
|
-
{
|
|
273
|
-
hostname: "lambda.{region}.amazonaws.com",
|
|
274
|
-
tags: [],
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
hostname: "lambda-fips.{region}.amazonaws.com",
|
|
278
|
-
tags: ["fips"],
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
hostname: "lambda-fips.{region}.api.aws",
|
|
282
|
-
tags: ["dualstack", "fips"],
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
hostname: "lambda.{region}.api.aws",
|
|
286
|
-
tags: ["dualstack"],
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
},
|
|
290
|
-
"aws-cn": {
|
|
291
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
292
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
293
|
-
variants: [
|
|
294
|
-
{
|
|
295
|
-
hostname: "lambda.{region}.amazonaws.com.cn",
|
|
296
|
-
tags: [],
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
hostname: "lambda-fips.{region}.amazonaws.com.cn",
|
|
300
|
-
tags: ["fips"],
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
hostname: "lambda-fips.{region}.api.amazonwebservices.com.cn",
|
|
304
|
-
tags: ["dualstack", "fips"],
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
hostname: "lambda.{region}.api.amazonwebservices.com.cn",
|
|
308
|
-
tags: ["dualstack"],
|
|
309
|
-
},
|
|
310
|
-
],
|
|
311
|
-
},
|
|
312
|
-
"aws-iso": {
|
|
313
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
314
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
315
|
-
variants: [
|
|
316
|
-
{
|
|
317
|
-
hostname: "lambda.{region}.c2s.ic.gov",
|
|
318
|
-
tags: [],
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
hostname: "lambda-fips.{region}.c2s.ic.gov",
|
|
322
|
-
tags: ["fips"],
|
|
323
|
-
},
|
|
324
|
-
],
|
|
325
|
-
},
|
|
326
|
-
"aws-iso-b": {
|
|
327
|
-
regions: ["us-isob-east-1"],
|
|
328
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
329
|
-
variants: [
|
|
330
|
-
{
|
|
331
|
-
hostname: "lambda.{region}.sc2s.sgov.gov",
|
|
332
|
-
tags: [],
|
|
333
|
-
},
|
|
334
|
-
{
|
|
335
|
-
hostname: "lambda-fips.{region}.sc2s.sgov.gov",
|
|
336
|
-
tags: ["fips"],
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
},
|
|
340
|
-
"aws-us-gov": {
|
|
341
|
-
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
342
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
343
|
-
variants: [
|
|
344
|
-
{
|
|
345
|
-
hostname: "lambda.{region}.amazonaws.com",
|
|
346
|
-
tags: [],
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
hostname: "lambda-fips.{region}.amazonaws.com",
|
|
350
|
-
tags: ["fips"],
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
hostname: "lambda-fips.{region}.api.aws",
|
|
354
|
-
tags: ["dualstack", "fips"],
|
|
355
|
-
},
|
|
356
|
-
{
|
|
357
|
-
hostname: "lambda.{region}.api.aws",
|
|
358
|
-
tags: ["dualstack"],
|
|
359
|
-
},
|
|
360
|
-
],
|
|
361
|
-
},
|
|
362
|
-
};
|
|
363
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
364
|
-
...options,
|
|
365
|
-
signingService: "lambda",
|
|
366
|
-
regionHash,
|
|
367
|
-
partitionHash,
|
|
368
|
-
});
|
|
369
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|