@cdklabs/cdk-ecs-codedeploy 0.0.417 → 0.0.419
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 +4 -4
- package/.jsii.tabl.json +1 -1
- 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/package.json +20 -20
- package/node_modules/@aws-sdk/client-sso/package.json +19 -19
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +8 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +7 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-http/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-host-header/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/package.json +19 -19
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +4 -4
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +3 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +20 -20
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +80 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +20 -20
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +6 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-stream/package.json +3 -3
- package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
- package/node_modules/fast-xml-parser/README.md +39 -52
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -20
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +11 -0
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +2 -1
- package/node_modules/strnum/strnum.js +53 -35
- package/node_modules/strnum/strnum.test.js +9 -1
- package/node_modules/strnum/test.js +9 -0
- package/package.json +6 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -81,20 +81,20 @@
|
|
|
81
81
|
},
|
|
82
82
|
"license": "Apache-2.0",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-sdk/types": "3.
|
|
84
|
+
"@aws-sdk/types": "3.840.0",
|
|
85
85
|
"@aws-sdk/xml-builder": "3.821.0",
|
|
86
|
-
"@smithy/core": "^3.
|
|
86
|
+
"@smithy/core": "^3.7.0",
|
|
87
87
|
"@smithy/node-config-provider": "^4.1.3",
|
|
88
88
|
"@smithy/property-provider": "^4.0.4",
|
|
89
89
|
"@smithy/protocol-http": "^5.1.2",
|
|
90
90
|
"@smithy/signature-v4": "^5.1.2",
|
|
91
|
-
"@smithy/smithy-client": "^4.4.
|
|
91
|
+
"@smithy/smithy-client": "^4.4.7",
|
|
92
92
|
"@smithy/types": "^4.3.1",
|
|
93
93
|
"@smithy/util-base64": "^4.0.0",
|
|
94
94
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
95
95
|
"@smithy/util-middleware": "^4.0.4",
|
|
96
96
|
"@smithy/util-utf8": "^4.0.0",
|
|
97
|
-
"fast-xml-parser": "
|
|
97
|
+
"fast-xml-parser": "5.2.5",
|
|
98
98
|
"tslib": "^2.6.2"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/core": "3.846.0",
|
|
29
|
+
"@aws-sdk/types": "3.840.0",
|
|
30
30
|
"@smithy/property-provider": "^4.0.4",
|
|
31
31
|
"@smithy/types": "^4.3.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@smithy/fetch-http-handler": "^5.0
|
|
33
|
-
"@smithy/node-http-handler": "^4.0
|
|
30
|
+
"@aws-sdk/core": "3.846.0",
|
|
31
|
+
"@aws-sdk/types": "3.840.0",
|
|
32
|
+
"@smithy/fetch-http-handler": "^5.1.0",
|
|
33
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
34
34
|
"@smithy/property-provider": "^4.0.4",
|
|
35
35
|
"@smithy/protocol-http": "^5.1.2",
|
|
36
|
-
"@smithy/smithy-client": "^4.4.
|
|
36
|
+
"@smithy/smithy-client": "^4.4.7",
|
|
37
37
|
"@smithy/types": "^4.3.1",
|
|
38
|
-
"@smithy/util-stream": "^4.2.
|
|
38
|
+
"@smithy/util-stream": "^4.2.3",
|
|
39
39
|
"tslib": "^2.6.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.846.0",
|
|
31
|
+
"@aws-sdk/credential-provider-env": "3.846.0",
|
|
32
|
+
"@aws-sdk/credential-provider-http": "3.846.0",
|
|
33
|
+
"@aws-sdk/credential-provider-process": "3.846.0",
|
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.846.0",
|
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.846.0",
|
|
36
|
+
"@aws-sdk/nested-clients": "3.846.0",
|
|
37
|
+
"@aws-sdk/types": "3.840.0",
|
|
38
38
|
"@smithy/credential-provider-imds": "^4.0.6",
|
|
39
39
|
"@smithy/property-provider": "^4.0.4",
|
|
40
40
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "Apache-2.0",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
32
|
+
"@aws-sdk/credential-provider-env": "3.846.0",
|
|
33
|
+
"@aws-sdk/credential-provider-http": "3.846.0",
|
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.846.0",
|
|
35
|
+
"@aws-sdk/credential-provider-process": "3.846.0",
|
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.846.0",
|
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.846.0",
|
|
38
|
+
"@aws-sdk/types": "3.840.0",
|
|
39
39
|
"@smithy/credential-provider-imds": "^4.0.6",
|
|
40
40
|
"@smithy/property-provider": "^4.0.4",
|
|
41
41
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/core": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/core": "3.846.0",
|
|
29
|
+
"@aws-sdk/types": "3.840.0",
|
|
30
30
|
"@smithy/property-provider": "^4.0.4",
|
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
32
32
|
"@smithy/types": "^4.3.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/client-sso": "3.
|
|
29
|
-
"@aws-sdk/core": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
28
|
+
"@aws-sdk/client-sso": "3.846.0",
|
|
29
|
+
"@aws-sdk/core": "3.846.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.846.0",
|
|
31
|
+
"@aws-sdk/types": "3.840.0",
|
|
32
32
|
"@smithy/property-provider": "^4.0.4",
|
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
34
34
|
"@smithy/types": "^4.3.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@aws-sdk/core": "3.
|
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
|
38
|
-
"@aws-sdk/types": "3.
|
|
36
|
+
"@aws-sdk/core": "3.846.0",
|
|
37
|
+
"@aws-sdk/nested-clients": "3.846.0",
|
|
38
|
+
"@aws-sdk/types": "3.840.0",
|
|
39
39
|
"@smithy/property-provider": "^4.0.4",
|
|
40
40
|
"@smithy/types": "^4.3.1",
|
|
41
41
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.840.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 middleware-host-header",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.840.0",
|
|
28
28
|
"@smithy/protocol-http": "^5.1.2",
|
|
29
29
|
"@smithy/types": "^4.3.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.840.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 middleware-logger",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"module": "./dist-es/index.js",
|
|
25
25
|
"types": "./dist-types/index.d.ts",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.840.0",
|
|
28
28
|
"@smithy/types": "^4.3.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.840.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 middleware-recursion-detection",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/types": "3.840.0",
|
|
27
27
|
"@smithy/protocol-http": "^5.1.2",
|
|
28
28
|
"@smithy/types": "^4.3.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.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 middleware-user-agent",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/types": "3.
|
|
29
|
-
"@aws-sdk/util-endpoints": "3.
|
|
30
|
-
"@smithy/core": "^3.
|
|
27
|
+
"@aws-sdk/core": "3.846.0",
|
|
28
|
+
"@aws-sdk/types": "3.840.0",
|
|
29
|
+
"@aws-sdk/util-endpoints": "3.845.0",
|
|
30
|
+
"@smithy/core": "^3.7.0",
|
|
31
31
|
"@smithy/protocol-http": "^5.1.2",
|
|
32
32
|
"@smithy/types": "^4.3.1",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.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,37 +28,37 @@
|
|
|
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.
|
|
31
|
+
"@aws-sdk/core": "3.846.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.840.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.840.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.840.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.846.0",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "3.840.0",
|
|
37
|
+
"@aws-sdk/types": "3.840.0",
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.845.0",
|
|
39
|
+
"@aws-sdk/util-user-agent-browser": "3.840.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.846.0",
|
|
41
41
|
"@smithy/config-resolver": "^4.1.4",
|
|
42
|
-
"@smithy/core": "^3.
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.0
|
|
42
|
+
"@smithy/core": "^3.7.0",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.1.0",
|
|
44
44
|
"@smithy/hash-node": "^4.0.4",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.0.4",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.0.4",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.15",
|
|
48
|
+
"@smithy/middleware-retry": "^4.1.16",
|
|
49
49
|
"@smithy/middleware-serde": "^4.0.8",
|
|
50
50
|
"@smithy/middleware-stack": "^4.0.4",
|
|
51
51
|
"@smithy/node-config-provider": "^4.1.3",
|
|
52
|
-
"@smithy/node-http-handler": "^4.0
|
|
52
|
+
"@smithy/node-http-handler": "^4.1.0",
|
|
53
53
|
"@smithy/protocol-http": "^5.1.2",
|
|
54
|
-
"@smithy/smithy-client": "^4.4.
|
|
54
|
+
"@smithy/smithy-client": "^4.4.7",
|
|
55
55
|
"@smithy/types": "^4.3.1",
|
|
56
56
|
"@smithy/url-parser": "^4.0.4",
|
|
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.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.23",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.23",
|
|
62
62
|
"@smithy/util-endpoints": "^3.0.6",
|
|
63
63
|
"@smithy/util-middleware": "^4.0.4",
|
|
64
64
|
"@smithy/util-retry": "^4.0.6",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.840.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,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.840.0",
|
|
26
26
|
"@smithy/node-config-provider": "^4.1.3",
|
|
27
27
|
"@smithy/types": "^4.3.1",
|
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
|
@@ -39,18 +39,21 @@ __export(index_exports, {
|
|
|
39
39
|
module.exports = __toCommonJS(index_exports);
|
|
40
40
|
|
|
41
41
|
// src/fromEnvSigningName.ts
|
|
42
|
-
var
|
|
42
|
+
var import_client = require("@aws-sdk/core/client");
|
|
43
|
+
var import_httpAuthSchemes = require("@aws-sdk/core/httpAuthSchemes");
|
|
43
44
|
var import_property_provider = require("@smithy/property-provider");
|
|
44
45
|
var fromEnvSigningName = /* @__PURE__ */ __name(({ logger, signingName } = {}) => async () => {
|
|
45
46
|
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
|
46
47
|
if (!signingName) {
|
|
47
48
|
throw new import_property_provider.TokenProviderError("Please pass 'signingName' to compute environment variable key", { logger });
|
|
48
49
|
}
|
|
49
|
-
const bearerTokenKey = (0,
|
|
50
|
+
const bearerTokenKey = (0, import_httpAuthSchemes.getBearerTokenEnvKey)(signingName);
|
|
50
51
|
if (!(bearerTokenKey in process.env)) {
|
|
51
52
|
throw new import_property_provider.TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
+
const token = { token: process.env[bearerTokenKey] };
|
|
55
|
+
(0, import_client.setTokenFeature)(token, "BEARER_SERVICE_ENV_VARS", "3");
|
|
56
|
+
return token;
|
|
54
57
|
}, "fromEnvSigningName");
|
|
55
58
|
|
|
56
59
|
// src/fromSso.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { setTokenFeature } from "@aws-sdk/core/client";
|
|
2
|
+
import { getBearerTokenEnvKey } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
3
|
import { TokenProviderError } from "@smithy/property-provider";
|
|
3
4
|
export const fromEnvSigningName = ({ logger, signingName } = {}) => async () => {
|
|
4
5
|
logger?.debug?.("@aws-sdk/token-providers - fromEnvSigningName");
|
|
@@ -9,5 +10,7 @@ export const fromEnvSigningName = ({ logger, signingName } = {}) => async () =>
|
|
|
9
10
|
if (!(bearerTokenKey in process.env)) {
|
|
10
11
|
throw new TokenProviderError(`Token not present in '${bearerTokenKey}' environment variable`, { logger });
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
+
const token = { token: process.env[bearerTokenKey] };
|
|
14
|
+
setTokenFeature(token, "BEARER_SERVICE_ENV_VARS", "3");
|
|
15
|
+
return token;
|
|
13
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.846.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/core": "3.
|
|
31
|
-
"@aws-sdk/nested-clients": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/core": "3.846.0",
|
|
31
|
+
"@aws-sdk/nested-clients": "3.846.0",
|
|
32
|
+
"@aws-sdk/types": "3.840.0",
|
|
33
33
|
"@smithy/property-provider": "^4.0.4",
|
|
34
34
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
|
35
35
|
"@smithy/types": "^4.3.1",
|
|
@@ -28,7 +28,7 @@ export type AwsSdkFeatures = Partial<{
|
|
|
28
28
|
FLEXIBLE_CHECKSUMS_RES_WHEN_SUPPORTED: "b";
|
|
29
29
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
|
30
30
|
DDB_MAPPER: "d";
|
|
31
|
-
}> & AwsSdkCredentialsFeatures;
|
|
31
|
+
}> & AwsSdkCredentialsFeatures & AwsSdkTokenFeatures;
|
|
32
32
|
/**
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
@@ -57,3 +57,9 @@ export type AwsSdkCredentialsFeatures = Partial<{
|
|
|
57
57
|
CREDENTIALS_HTTP: "z";
|
|
58
58
|
CREDENTIALS_IMDS: "0";
|
|
59
59
|
}>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
export type AwsSdkTokenFeatures = Partial<{
|
|
64
|
+
BEARER_SERVICE_ENV_VARS: "3";
|
|
65
|
+
}>;
|
|
@@ -1 +1,11 @@
|
|
|
1
|
+
import type { TokenIdentity } from "@smithy/types";
|
|
2
|
+
import type { AwsSdkTokenFeatures } from "../feature-ids";
|
|
1
3
|
export { TokenIdentity, TokenIdentityProvider } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* TokenIdentity with source attribution metadata.
|
|
8
|
+
*/
|
|
9
|
+
export type AttributedTokenIdentity = TokenIdentity & {
|
|
10
|
+
$source?: AwsSdkTokenFeatures;
|
|
11
|
+
};
|
|
@@ -26,7 +26,8 @@ export type AwsSdkFeatures = Partial<{
|
|
|
26
26
|
FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED: "c";
|
|
27
27
|
DDB_MAPPER: "d";
|
|
28
28
|
}> &
|
|
29
|
-
AwsSdkCredentialsFeatures
|
|
29
|
+
AwsSdkCredentialsFeatures &
|
|
30
|
+
AwsSdkTokenFeatures;
|
|
30
31
|
export type AwsSdkCredentialsFeatures = Partial<{
|
|
31
32
|
RESOLVED_ACCOUNT_ID: "T";
|
|
32
33
|
CREDENTIALS_CODE: "e";
|
|
@@ -52,3 +53,6 @@ export type AwsSdkCredentialsFeatures = Partial<{
|
|
|
52
53
|
CREDENTIALS_HTTP: "z";
|
|
53
54
|
CREDENTIALS_IMDS: "0";
|
|
54
55
|
}>;
|
|
56
|
+
export type AwsSdkTokenFeatures = Partial<{
|
|
57
|
+
BEARER_SERVICE_ENV_VARS: "3";
|
|
58
|
+
}>;
|
|
@@ -46,8 +46,10 @@ __export(index_exports, {
|
|
|
46
46
|
getUserAgentPrefix: () => getUserAgentPrefix,
|
|
47
47
|
isIpAddress: () => import_util_endpoints.isIpAddress,
|
|
48
48
|
partition: () => partition,
|
|
49
|
+
resolveDefaultAwsRegionalEndpointsConfig: () => resolveDefaultAwsRegionalEndpointsConfig,
|
|
49
50
|
resolveEndpoint: () => import_util_endpoints.resolveEndpoint,
|
|
50
51
|
setPartitionInfo: () => setPartitionInfo,
|
|
52
|
+
toEndpointV1: () => toEndpointV1,
|
|
51
53
|
useDefaultPartitionInfo: () => useDefaultPartitionInfo
|
|
52
54
|
});
|
|
53
55
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -418,6 +420,32 @@ var awsEndpointFunctions = {
|
|
|
418
420
|
};
|
|
419
421
|
import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
420
422
|
|
|
423
|
+
// src/resolveDefaultAwsRegionalEndpointsConfig.ts
|
|
424
|
+
var import_url_parser = require("@smithy/url-parser");
|
|
425
|
+
var resolveDefaultAwsRegionalEndpointsConfig = /* @__PURE__ */ __name((input) => {
|
|
426
|
+
if (typeof input.endpointProvider !== "function") {
|
|
427
|
+
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
428
|
+
}
|
|
429
|
+
const { endpoint } = input;
|
|
430
|
+
if (endpoint === void 0) {
|
|
431
|
+
input.endpoint = async () => {
|
|
432
|
+
return toEndpointV1(
|
|
433
|
+
input.endpointProvider(
|
|
434
|
+
{
|
|
435
|
+
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
436
|
+
UseDualStack: typeof input.useDualstackEndpoint === "function" ? await input.useDualstackEndpoint() : input.useDualstackEndpoint,
|
|
437
|
+
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
438
|
+
Endpoint: void 0
|
|
439
|
+
},
|
|
440
|
+
{ logger: input.logger }
|
|
441
|
+
)
|
|
442
|
+
);
|
|
443
|
+
};
|
|
444
|
+
}
|
|
445
|
+
return input;
|
|
446
|
+
}, "resolveDefaultAwsRegionalEndpointsConfig");
|
|
447
|
+
var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => (0, import_url_parser.parseUrl)(endpoint.url), "toEndpointV1");
|
|
448
|
+
|
|
421
449
|
// src/resolveEndpoint.ts
|
|
422
450
|
|
|
423
451
|
|
|
@@ -447,6 +475,8 @@ import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions;
|
|
|
447
475
|
useDefaultPartitionInfo,
|
|
448
476
|
getUserAgentPrefix,
|
|
449
477
|
isIpAddress,
|
|
478
|
+
resolveDefaultAwsRegionalEndpointsConfig,
|
|
479
|
+
toEndpointV1,
|
|
450
480
|
resolveEndpoint,
|
|
451
481
|
EndpointError
|
|
452
482
|
});
|
package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
2
|
+
export const resolveDefaultAwsRegionalEndpointsConfig = (input) => {
|
|
3
|
+
if (typeof input.endpointProvider !== "function") {
|
|
4
|
+
throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.");
|
|
5
|
+
}
|
|
6
|
+
const { endpoint } = input;
|
|
7
|
+
if (endpoint === undefined) {
|
|
8
|
+
input.endpoint = async () => {
|
|
9
|
+
return toEndpointV1(input.endpointProvider({
|
|
10
|
+
Region: typeof input.region === "function" ? await input.region() : input.region,
|
|
11
|
+
UseDualStack: typeof input.useDualstackEndpoint === "function"
|
|
12
|
+
? await input.useDualstackEndpoint()
|
|
13
|
+
: input.useDualstackEndpoint,
|
|
14
|
+
UseFIPS: typeof input.useFipsEndpoint === "function" ? await input.useFipsEndpoint() : input.useFipsEndpoint,
|
|
15
|
+
Endpoint: undefined,
|
|
16
|
+
}, { logger: input.logger }));
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
return input;
|
|
20
|
+
};
|
|
21
|
+
export const toEndpointV1 = (endpoint) => parseUrl(endpoint.url);
|