@cdklabs/cdk-ecs-codedeploy 0.0.386 → 0.0.388
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/.jsii +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeployClient.js +2 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +4 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +79 -30
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +20 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +34 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/package.json +4 -4
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.777.0",
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -28,40 +28,40 @@
|
|
28
28
|
"dependencies": {
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
31
|
-
"@aws-sdk/core": "3.
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
37
|
-
"@aws-sdk/types": "3.
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
41
|
-
"@smithy/config-resolver": "^4.0
|
42
|
-
"@smithy/core": "^3.
|
43
|
-
"@smithy/fetch-http-handler": "^5.0.
|
44
|
-
"@smithy/hash-node": "^4.0.
|
45
|
-
"@smithy/invalid-dependency": "^4.0.
|
46
|
-
"@smithy/middleware-content-length": "^4.0.
|
47
|
-
"@smithy/middleware-endpoint": "^4.0
|
48
|
-
"@smithy/middleware-retry": "^4.0
|
49
|
-
"@smithy/middleware-serde": "^4.0.
|
50
|
-
"@smithy/middleware-stack": "^4.0.
|
51
|
-
"@smithy/node-config-provider": "^4.0.
|
52
|
-
"@smithy/node-http-handler": "^4.0.
|
53
|
-
"@smithy/protocol-http": "^5.0
|
54
|
-
"@smithy/smithy-client": "^4.
|
55
|
-
"@smithy/types": "^4.
|
56
|
-
"@smithy/url-parser": "^4.0.
|
31
|
+
"@aws-sdk/core": "3.775.0",
|
32
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
33
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
36
|
+
"@aws-sdk/region-config-resolver": "3.775.0",
|
37
|
+
"@aws-sdk/types": "3.775.0",
|
38
|
+
"@aws-sdk/util-endpoints": "3.775.0",
|
39
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
41
|
+
"@smithy/config-resolver": "^4.1.0",
|
42
|
+
"@smithy/core": "^3.2.0",
|
43
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
44
|
+
"@smithy/hash-node": "^4.0.2",
|
45
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
46
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
48
|
+
"@smithy/middleware-retry": "^4.1.0",
|
49
|
+
"@smithy/middleware-serde": "^4.0.3",
|
50
|
+
"@smithy/middleware-stack": "^4.0.2",
|
51
|
+
"@smithy/node-config-provider": "^4.0.2",
|
52
|
+
"@smithy/node-http-handler": "^4.0.4",
|
53
|
+
"@smithy/protocol-http": "^5.1.0",
|
54
|
+
"@smithy/smithy-client": "^4.2.0",
|
55
|
+
"@smithy/types": "^4.2.0",
|
56
|
+
"@smithy/url-parser": "^4.0.2",
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
62
|
-
"@smithy/util-endpoints": "^3.0.
|
63
|
-
"@smithy/util-middleware": "^4.0.
|
64
|
-
"@smithy/util-retry": "^4.0.
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
62
|
+
"@smithy/util-endpoints": "^3.0.2",
|
63
|
+
"@smithy/util-middleware": "^4.0.2",
|
64
|
+
"@smithy/util-retry": "^4.0.2",
|
65
65
|
"@smithy/util-utf8": "^4.0.0",
|
66
66
|
"tslib": "^2.6.2"
|
67
67
|
},
|
@@ -98,18 +98,18 @@
|
|
98
98
|
},
|
99
99
|
"exports": {
|
100
100
|
"./sso-oidc": {
|
101
|
+
"types": "./dist-types/submodules/sso-oidc/index.d.ts",
|
101
102
|
"module": "./dist-es/submodules/sso-oidc/index.js",
|
102
103
|
"node": "./dist-cjs/submodules/sso-oidc/index.js",
|
103
104
|
"import": "./dist-es/submodules/sso-oidc/index.js",
|
104
|
-
"require": "./dist-cjs/submodules/sso-oidc/index.js"
|
105
|
-
"types": "./dist-types/submodules/sso-oidc/index.d.ts"
|
105
|
+
"require": "./dist-cjs/submodules/sso-oidc/index.js"
|
106
106
|
},
|
107
107
|
"./sts": {
|
108
|
+
"types": "./dist-types/submodules/sts/index.d.ts",
|
108
109
|
"module": "./dist-es/submodules/sts/index.js",
|
109
110
|
"node": "./dist-cjs/submodules/sts/index.js",
|
110
111
|
"import": "./dist-es/submodules/sts/index.js",
|
111
|
-
"require": "./dist-cjs/submodules/sts/index.js"
|
112
|
-
"types": "./dist-types/submodules/sts/index.d.ts"
|
112
|
+
"require": "./dist-cjs/submodules/sts/index.js"
|
113
113
|
}
|
114
114
|
}
|
115
115
|
}
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS,
|
25
25
|
NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS,
|
26
26
|
REGION_ENV_NAME: () => REGION_ENV_NAME,
|
@@ -29,26 +29,16 @@ __export(src_exports, {
|
|
29
29
|
resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration,
|
30
30
|
resolveRegionConfig: () => resolveRegionConfig
|
31
31
|
});
|
32
|
-
module.exports = __toCommonJS(
|
32
|
+
module.exports = __toCommonJS(index_exports);
|
33
33
|
|
34
34
|
// src/extensions/index.ts
|
35
35
|
var getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
36
|
-
let runtimeConfigRegion = /* @__PURE__ */ __name(async () => {
|
37
|
-
if (runtimeConfig.region === void 0) {
|
38
|
-
throw new Error("Region is missing from runtimeConfig");
|
39
|
-
}
|
40
|
-
const region = runtimeConfig.region;
|
41
|
-
if (typeof region === "string") {
|
42
|
-
return region;
|
43
|
-
}
|
44
|
-
return region();
|
45
|
-
}, "runtimeConfigRegion");
|
46
36
|
return {
|
47
37
|
setRegion(region) {
|
48
|
-
|
38
|
+
runtimeConfig.region = region;
|
49
39
|
},
|
50
40
|
region() {
|
51
|
-
return
|
41
|
+
return runtimeConfig.region;
|
52
42
|
}
|
53
43
|
};
|
54
44
|
}, "getAwsRegionExtensionConfiguration");
|
@@ -62,11 +52,11 @@ var resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionEx
|
|
62
52
|
var REGION_ENV_NAME = "AWS_REGION";
|
63
53
|
var REGION_INI_NAME = "region";
|
64
54
|
var NODE_REGION_CONFIG_OPTIONS = {
|
65
|
-
environmentVariableSelector: (env) => env[REGION_ENV_NAME],
|
66
|
-
configFileSelector: (profile) => profile[REGION_INI_NAME],
|
67
|
-
default: () => {
|
55
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env) => env[REGION_ENV_NAME], "environmentVariableSelector"),
|
56
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => profile[REGION_INI_NAME], "configFileSelector"),
|
57
|
+
default: /* @__PURE__ */ __name(() => {
|
68
58
|
throw new Error("Region is missing");
|
69
|
-
}
|
59
|
+
}, "default")
|
70
60
|
};
|
71
61
|
var NODE_REGION_CONFIG_FILE_OPTIONS = {
|
72
62
|
preferredFile: "credentials"
|
@@ -84,23 +74,22 @@ var resolveRegionConfig = /* @__PURE__ */ __name((input) => {
|
|
84
74
|
if (!region) {
|
85
75
|
throw new Error("Region is missing");
|
86
76
|
}
|
87
|
-
return {
|
88
|
-
|
89
|
-
region: async () => {
|
77
|
+
return Object.assign(input, {
|
78
|
+
region: /* @__PURE__ */ __name(async () => {
|
90
79
|
if (typeof region === "string") {
|
91
80
|
return getRealRegion(region);
|
92
81
|
}
|
93
82
|
const providedRegion = await region();
|
94
83
|
return getRealRegion(providedRegion);
|
95
|
-
},
|
96
|
-
useFipsEndpoint: async () => {
|
84
|
+
}, "region"),
|
85
|
+
useFipsEndpoint: /* @__PURE__ */ __name(async () => {
|
97
86
|
const providedRegion = typeof region === "string" ? region : await region();
|
98
87
|
if (isFipsRegion(providedRegion)) {
|
99
88
|
return true;
|
100
89
|
}
|
101
90
|
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
102
|
-
}
|
103
|
-
};
|
91
|
+
}, "useFipsEndpoint")
|
92
|
+
});
|
104
93
|
}, "resolveRegionConfig");
|
105
94
|
// Annotate the CommonJS export names for ESM import in node:
|
106
95
|
|
@@ -1,20 +1,10 @@
|
|
1
1
|
export const getAwsRegionExtensionConfiguration = (runtimeConfig) => {
|
2
|
-
let runtimeConfigRegion = async () => {
|
3
|
-
if (runtimeConfig.region === undefined) {
|
4
|
-
throw new Error("Region is missing from runtimeConfig");
|
5
|
-
}
|
6
|
-
const region = runtimeConfig.region;
|
7
|
-
if (typeof region === "string") {
|
8
|
-
return region;
|
9
|
-
}
|
10
|
-
return region();
|
11
|
-
};
|
12
2
|
return {
|
13
3
|
setRegion(region) {
|
14
|
-
|
4
|
+
runtimeConfig.region = region;
|
15
5
|
},
|
16
6
|
region() {
|
17
|
-
return
|
7
|
+
return runtimeConfig.region;
|
18
8
|
},
|
19
9
|
};
|
20
10
|
};
|
package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js
CHANGED
@@ -5,8 +5,7 @@ export const resolveRegionConfig = (input) => {
|
|
5
5
|
if (!region) {
|
6
6
|
throw new Error("Region is missing");
|
7
7
|
}
|
8
|
-
return {
|
9
|
-
...input,
|
8
|
+
return Object.assign(input, {
|
10
9
|
region: async () => {
|
11
10
|
if (typeof region === "string") {
|
12
11
|
return getRealRegion(region);
|
@@ -21,5 +20,5 @@ export const resolveRegionConfig = (input) => {
|
|
21
20
|
}
|
22
21
|
return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint();
|
23
22
|
},
|
24
|
-
};
|
23
|
+
});
|
25
24
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
@@ -22,11 +22,11 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@aws-sdk/types": "3.
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
25
|
+
"@aws-sdk/types": "3.775.0",
|
26
|
+
"@smithy/node-config-provider": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
29
|
-
"@smithy/util-middleware": "^4.0.
|
29
|
+
"@smithy/util-middleware": "^4.0.2",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.777.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,11 +27,11 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
31
|
-
"@aws-sdk/types": "3.
|
32
|
-
"@smithy/property-provider": "^4.0.
|
33
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
34
|
-
"@smithy/types": "^4.
|
30
|
+
"@aws-sdk/nested-clients": "3.777.0",
|
31
|
+
"@aws-sdk/types": "3.775.0",
|
32
|
+
"@smithy/property-provider": "^4.0.2",
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.2",
|
34
|
+
"@smithy/types": "^4.2.0",
|
35
35
|
"tslib": "^2.6.2"
|
36
36
|
},
|
37
37
|
"devDependencies": {
|
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
|
20
20
|
// src/index.ts
|
21
|
-
var
|
22
|
-
__export(
|
21
|
+
var index_exports = {};
|
22
|
+
__export(index_exports, {
|
23
23
|
AbortController: () => import_types.AbortController,
|
24
24
|
AbortHandler: () => import_types.AbortHandler,
|
25
25
|
AbortSignal: () => import_types.AbortSignal,
|
@@ -191,7 +191,7 @@ __export(src_exports, {
|
|
191
191
|
WithSdkStreamMixin: () => import_types.WithSdkStreamMixin,
|
192
192
|
randomValues: () => import_types.randomValues
|
193
193
|
});
|
194
|
-
module.exports = __toCommonJS(
|
194
|
+
module.exports = __toCommonJS(index_exports);
|
195
195
|
|
196
196
|
// src/abort.ts
|
197
197
|
var import_types = require("@smithy/types");
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/**
|
2
|
+
* Resolves a function that accepts both the object argument fields of F1 and F2.
|
3
|
+
* The function returns an intersection of what F1 and F2 return.
|
4
|
+
*
|
5
|
+
* @public
|
6
|
+
*/
|
7
|
+
export type MergeFunctions<F1, F2> = F1 extends (arg: infer A1) => infer R1 ? F2 extends (arg: infer A2) => infer R2 ? R1 extends Promise<unknown> ? (arg?: A1 & A2) => Promise<Awaited<R1> & Awaited<R2>> : (arg?: A1 & A2) => R1 & R2 : never : never;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/types",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"main": "./dist-cjs/index.js",
|
5
5
|
"module": "./dist-es/index.js",
|
6
6
|
"types": "./dist-types/index.d.ts",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"directory": "packages/types"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@smithy/types": "^4.
|
44
|
+
"@smithy/types": "^4.2.0",
|
45
45
|
"tslib": "^2.6.2"
|
46
46
|
},
|
47
47
|
"devDependencies": {
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
20
20
|
|
21
21
|
// src/index.ts
|
22
|
-
var
|
23
|
-
__export(
|
22
|
+
var index_exports = {};
|
23
|
+
__export(index_exports, {
|
24
24
|
ConditionObject: () => import_util_endpoints.ConditionObject,
|
25
25
|
DeprecatedObject: () => import_util_endpoints.DeprecatedObject,
|
26
26
|
EndpointError: () => import_util_endpoints.EndpointError,
|
@@ -50,7 +50,7 @@ __export(src_exports, {
|
|
50
50
|
setPartitionInfo: () => setPartitionInfo,
|
51
51
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
52
52
|
});
|
53
|
-
module.exports = __toCommonJS(
|
53
|
+
module.exports = __toCommonJS(index_exports);
|
54
54
|
|
55
55
|
// src/aws.ts
|
56
56
|
|
@@ -91,11 +91,9 @@ var ARN_DELIMITER = ":";
|
|
91
91
|
var RESOURCE_DELIMITER = "/";
|
92
92
|
var parseArn = /* @__PURE__ */ __name((value) => {
|
93
93
|
const segments = value.split(ARN_DELIMITER);
|
94
|
-
if (segments.length < 6)
|
95
|
-
return null;
|
94
|
+
if (segments.length < 6) return null;
|
96
95
|
const [arn, partition2, service, region, accountId, ...resourcePath] = segments;
|
97
|
-
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "")
|
98
|
-
return null;
|
96
|
+
if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") return null;
|
99
97
|
const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();
|
100
98
|
return {
|
101
99
|
partition: partition2,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/types": "3.
|
28
|
-
"@smithy/types": "^4.
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
27
|
+
"@aws-sdk/types": "3.775.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
|
+
"@smithy/util-endpoints": "^3.0.2",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"react-native": "dist-es/index.native.js",
|
25
25
|
"dependencies": {
|
26
|
-
"@aws-sdk/types": "3.
|
27
|
-
"@smithy/types": "^4.
|
26
|
+
"@aws-sdk/types": "3.775.0",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"bowser": "^2.11.0",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.775.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
@@ -21,10 +21,10 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
25
|
-
"@aws-sdk/types": "3.
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
25
|
+
"@aws-sdk/types": "3.775.0",
|
26
|
+
"@smithy/node-config-provider": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
package/package.json
CHANGED
@@ -83,13 +83,13 @@
|
|
83
83
|
"aws-cdk-lib": "2.139.0",
|
84
84
|
"aws-sdk-client-mock": "^4.1.0",
|
85
85
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
86
|
-
"cdk-nag": "^2.35.
|
86
|
+
"cdk-nag": "^2.35.56",
|
87
87
|
"cdklabs-projen-project-types": "^0.1.204",
|
88
88
|
"commit-and-tag-version": "^12",
|
89
89
|
"constructs": "10.0.5",
|
90
90
|
"esbuild": "^0.25.1",
|
91
91
|
"eslint": "^8",
|
92
|
-
"eslint-import-resolver-typescript": "^3.
|
92
|
+
"eslint-import-resolver-typescript": "^3.10.0",
|
93
93
|
"eslint-plugin-import": "^2.31.0",
|
94
94
|
"jest": "^27",
|
95
95
|
"jest-junit": "^15",
|
@@ -109,7 +109,7 @@
|
|
109
109
|
"constructs": "^10.0.5"
|
110
110
|
},
|
111
111
|
"dependencies": {
|
112
|
-
"@aws-sdk/client-codedeploy": "^3.
|
112
|
+
"@aws-sdk/client-codedeploy": "^3.777.0",
|
113
113
|
"jmespath": "^0.16.0"
|
114
114
|
},
|
115
115
|
"bundledDependencies": [
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"publishConfig": {
|
128
128
|
"access": "public"
|
129
129
|
},
|
130
|
-
"version": "0.0.
|
130
|
+
"version": "0.0.388",
|
131
131
|
"jest": {
|
132
132
|
"coverageProvider": "v8",
|
133
133
|
"testMatch": [
|