@cdklabs/cdk-ecs-codedeploy 0.0.178 → 0.0.180
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/abort-controller/package.json +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/package.json +29 -29
- package/node_modules/@aws-sdk/client-sso/package.json +25 -25
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +25 -25
- package/node_modules/@aws-sdk/client-sts/package.json +28 -28
- package/node_modules/@aws-sdk/config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-imds/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/eventstream-codec/package.json +2 -2
- package/node_modules/@aws-sdk/fetch-http-handler/dist-cjs/fetch-http-handler.js +16 -6
- package/node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js +15 -6
- package/node_modules/@aws-sdk/fetch-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/hash-node/package.json +2 -2
- package/node_modules/@aws-sdk/invalid-dependency/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-content-length/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-retry/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-serde/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-signing/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-stack/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/node-config-provider/package.json +4 -4
- package/node_modules/@aws-sdk/node-http-handler/dist-cjs/node-http-handler.js +17 -1
- package/node_modules/@aws-sdk/node-http-handler/dist-cjs/node-http2-handler.js +18 -5
- package/node_modules/@aws-sdk/node-http-handler/dist-es/node-http-handler.js +16 -1
- package/node_modules/@aws-sdk/node-http-handler/dist-es/node-http2-handler.js +16 -3
- package/node_modules/@aws-sdk/node-http-handler/package.json +5 -5
- package/node_modules/@aws-sdk/property-provider/package.json +2 -2
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpRequest.js +3 -0
- package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpResponse.js +1 -0
- package/node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js +3 -0
- package/node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js +1 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/httpRequest.d.ts +6 -3
- package/node_modules/@aws-sdk/protocol-http/dist-types/httpResponse.d.ts +2 -0
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpRequest.d.ts +6 -3
- package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpResponse.d.ts +2 -0
- package/node_modules/@aws-sdk/protocol-http/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-builder/package.json +2 -2
- package/node_modules/@aws-sdk/querystring-parser/package.json +2 -2
- package/node_modules/@aws-sdk/service-error-classification/package.json +2 -2
- package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4/package.json +5 -5
- package/node_modules/@aws-sdk/smithy-client/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-cjs/uri.js +2 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/uri.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +3 -1
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/http.d.ts +3 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/uri.d.ts +11 -0
- package/node_modules/@aws-sdk/types/dist-types/uri.d.ts +17 -0
- package/node_modules/@aws-sdk/types/package.json +1 -1
- package/node_modules/@aws-sdk/url-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-middleware/package.json +2 -2
- package/node_modules/@aws-sdk/util-retry/package.json +3 -3
- 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/@aws-sdk/util-waiter/package.json +3 -3
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.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",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/property-provider": "3.
|
|
28
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
28
|
+
"@aws-sdk/shared-ini-file-loader": "3.347.0",
|
|
29
|
+
"@aws-sdk/types": "3.347.0",
|
|
30
30
|
"tslib": "^2.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.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",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/client-sso": "3.
|
|
28
|
-
"@aws-sdk/property-provider": "3.
|
|
29
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/client-sso": "3.347.0",
|
|
28
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
29
|
+
"@aws-sdk/shared-ini-file-loader": "3.347.0",
|
|
30
|
+
"@aws-sdk/token-providers": "3.347.0",
|
|
31
|
+
"@aws-sdk/types": "3.347.0",
|
|
32
32
|
"tslib": "^2.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.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",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@aws-sdk/property-provider": "3.
|
|
36
|
-
"@aws-sdk/types": "3.
|
|
35
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
36
|
+
"@aws-sdk/types": "3.347.0",
|
|
37
37
|
"tslib": "^2.5.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/eventstream-codec",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/crc32": "3.0.0",
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.347.0",
|
|
25
25
|
"@aws-sdk/util-hex-encoding": "3.310.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
@@ -17,6 +17,7 @@ class FetchHttpHandler {
|
|
|
17
17
|
destroy() {
|
|
18
18
|
}
|
|
19
19
|
async handle(request, { abortSignal } = {}) {
|
|
20
|
+
var _a, _b;
|
|
20
21
|
if (!this.config) {
|
|
21
22
|
this.config = await this.configProvider;
|
|
22
23
|
}
|
|
@@ -27,14 +28,21 @@ class FetchHttpHandler {
|
|
|
27
28
|
return Promise.reject(abortError);
|
|
28
29
|
}
|
|
29
30
|
let path = request.path;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
const queryString = (0, querystring_builder_1.buildQueryString)(request.query || {});
|
|
32
|
+
if (queryString) {
|
|
33
|
+
path += `?${queryString}`;
|
|
34
|
+
}
|
|
35
|
+
if (request.fragment) {
|
|
36
|
+
path += `#${request.fragment}`;
|
|
37
|
+
}
|
|
38
|
+
let auth = "";
|
|
39
|
+
if (request.username != null || request.password != null) {
|
|
40
|
+
const username = (_a = request.username) !== null && _a !== void 0 ? _a : "";
|
|
41
|
+
const password = (_b = request.password) !== null && _b !== void 0 ? _b : "";
|
|
42
|
+
auth = `${username}:${password}@`;
|
|
35
43
|
}
|
|
36
44
|
const { port, method } = request;
|
|
37
|
-
const url = `${request.protocol}//${request.hostname}${port ? `:${port}` : ""}${path}`;
|
|
45
|
+
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
|
38
46
|
const body = method === "GET" || method === "HEAD" ? undefined : request.body;
|
|
39
47
|
const requestOptions = {
|
|
40
48
|
body,
|
|
@@ -57,6 +65,7 @@ class FetchHttpHandler {
|
|
|
57
65
|
return response.blob().then((body) => ({
|
|
58
66
|
response: new protocol_http_1.HttpResponse({
|
|
59
67
|
headers: transformedHeaders,
|
|
68
|
+
reason: response.statusText,
|
|
60
69
|
statusCode: response.status,
|
|
61
70
|
body,
|
|
62
71
|
}),
|
|
@@ -65,6 +74,7 @@ class FetchHttpHandler {
|
|
|
65
74
|
return {
|
|
66
75
|
response: new protocol_http_1.HttpResponse({
|
|
67
76
|
headers: transformedHeaders,
|
|
77
|
+
reason: response.statusText,
|
|
68
78
|
statusCode: response.status,
|
|
69
79
|
body: response.body,
|
|
70
80
|
}),
|
|
@@ -24,14 +24,21 @@ export class FetchHttpHandler {
|
|
|
24
24
|
return Promise.reject(abortError);
|
|
25
25
|
}
|
|
26
26
|
let path = request.path;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
const queryString = buildQueryString(request.query || {});
|
|
28
|
+
if (queryString) {
|
|
29
|
+
path += `?${queryString}`;
|
|
30
|
+
}
|
|
31
|
+
if (request.fragment) {
|
|
32
|
+
path += `#${request.fragment}`;
|
|
33
|
+
}
|
|
34
|
+
let auth = "";
|
|
35
|
+
if (request.username != null || request.password != null) {
|
|
36
|
+
const username = request.username ?? "";
|
|
37
|
+
const password = request.password ?? "";
|
|
38
|
+
auth = `${username}:${password}@`;
|
|
32
39
|
}
|
|
33
40
|
const { port, method } = request;
|
|
34
|
-
const url = `${request.protocol}//${request.hostname}${port ? `:${port}` : ""}${path}`;
|
|
41
|
+
const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`;
|
|
35
42
|
const body = method === "GET" || method === "HEAD" ? undefined : request.body;
|
|
36
43
|
const requestOptions = {
|
|
37
44
|
body,
|
|
@@ -54,6 +61,7 @@ export class FetchHttpHandler {
|
|
|
54
61
|
return response.blob().then((body) => ({
|
|
55
62
|
response: new HttpResponse({
|
|
56
63
|
headers: transformedHeaders,
|
|
64
|
+
reason: response.statusText,
|
|
57
65
|
statusCode: response.status,
|
|
58
66
|
body,
|
|
59
67
|
}),
|
|
@@ -62,6 +70,7 @@ export class FetchHttpHandler {
|
|
|
62
70
|
return {
|
|
63
71
|
response: new HttpResponse({
|
|
64
72
|
headers: transformedHeaders,
|
|
73
|
+
reason: response.statusText,
|
|
65
74
|
statusCode: response.status,
|
|
66
75
|
body: response.body,
|
|
67
76
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/fetch-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/protocol-http": "3.
|
|
26
|
-
"@aws-sdk/querystring-builder": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
26
|
+
"@aws-sdk/querystring-builder": "3.347.0",
|
|
27
|
+
"@aws-sdk/types": "3.347.0",
|
|
28
28
|
"@aws-sdk/util-base64": "3.310.0",
|
|
29
29
|
"tslib": "^2.5.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@aws-sdk/abort-controller": "3.
|
|
32
|
+
"@aws-sdk/abort-controller": "3.347.0",
|
|
33
33
|
"@tsconfig/recommended": "1.0.1",
|
|
34
34
|
"concurrently": "7.0.0",
|
|
35
35
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/hash-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typescript": "~4.9.5"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
33
|
+
"@aws-sdk/types": "3.347.0",
|
|
34
34
|
"@aws-sdk/util-buffer-from": "3.310.0",
|
|
35
35
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
36
36
|
"tslib": "^2.5.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/invalid-dependency",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.347.0",
|
|
24
24
|
"tslib": "^2.5.0"
|
|
25
25
|
},
|
|
26
26
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-content-length",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-serde": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@aws-sdk/url-parser": "3.
|
|
27
|
-
"@aws-sdk/util-middleware": "3.
|
|
24
|
+
"@aws-sdk/middleware-serde": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
|
+
"@aws-sdk/url-parser": "3.347.0",
|
|
27
|
+
"@aws-sdk/util-middleware": "3.347.0",
|
|
28
28
|
"tslib": "^2.5.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-host-header",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-logger",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-recursion-detection",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/protocol-http": "3.
|
|
26
|
-
"@aws-sdk/service-error-classification": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@aws-sdk/util-middleware": "3.
|
|
29
|
-
"@aws-sdk/util-retry": "3.
|
|
25
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
26
|
+
"@aws-sdk/service-error-classification": "3.347.0",
|
|
27
|
+
"@aws-sdk/types": "3.347.0",
|
|
28
|
+
"@aws-sdk/util-middleware": "3.347.0",
|
|
29
|
+
"@aws-sdk/util-retry": "3.347.0",
|
|
30
30
|
"tslib": "^2.5.0",
|
|
31
31
|
"uuid": "^8.3.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@aws-sdk/node-config-provider": "3.
|
|
34
|
+
"@aws-sdk/node-config-provider": "3.347.0",
|
|
35
35
|
"@tsconfig/recommended": "1.0.1",
|
|
36
36
|
"@types/uuid": "^8.3.0",
|
|
37
37
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-sts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-signing": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-signing": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-serde",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.347.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-signing",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/property-provider": "3.
|
|
25
|
-
"@aws-sdk/protocol-http": "3.
|
|
26
|
-
"@aws-sdk/signature-v4": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@aws-sdk/util-middleware": "3.
|
|
24
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
25
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
26
|
+
"@aws-sdk/signature-v4": "3.347.0",
|
|
27
|
+
"@aws-sdk/types": "3.347.0",
|
|
28
|
+
"@aws-sdk/util-middleware": "3.347.0",
|
|
29
29
|
"tslib": "^2.5.0"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-stack",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
30
|
+
"@aws-sdk/types": "3.347.0",
|
|
31
31
|
"@tsconfig/recommended": "1.0.1",
|
|
32
32
|
"concurrently": "7.0.0",
|
|
33
33
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/protocol-http": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@aws-sdk/util-endpoints": "3.
|
|
24
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
25
|
+
"@aws-sdk/types": "3.347.0",
|
|
26
|
+
"@aws-sdk/util-endpoints": "3.347.0",
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-config-provider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"module": "./dist-es/index.js",
|
|
23
23
|
"types": "./dist-types/index.d.ts",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/property-provider": "3.
|
|
26
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
25
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
26
|
+
"@aws-sdk/shared-ini-file-loader": "3.347.0",
|
|
27
|
+
"@aws-sdk/types": "3.347.0",
|
|
28
28
|
"tslib": "^2.5.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -49,6 +49,7 @@ class NodeHttpHandler {
|
|
|
49
49
|
this.config = await this.configProvider;
|
|
50
50
|
}
|
|
51
51
|
return new Promise((_resolve, _reject) => {
|
|
52
|
+
var _a, _b;
|
|
52
53
|
let writeRequestBodyPromise = undefined;
|
|
53
54
|
const resolve = async (arg) => {
|
|
54
55
|
await writeRequestBodyPromise;
|
|
@@ -69,18 +70,33 @@ class NodeHttpHandler {
|
|
|
69
70
|
}
|
|
70
71
|
const isSSL = request.protocol === "https:";
|
|
71
72
|
const queryString = (0, querystring_builder_1.buildQueryString)(request.query || {});
|
|
73
|
+
let auth = undefined;
|
|
74
|
+
if (request.username != null || request.password != null) {
|
|
75
|
+
const username = (_a = request.username) !== null && _a !== void 0 ? _a : "";
|
|
76
|
+
const password = (_b = request.password) !== null && _b !== void 0 ? _b : "";
|
|
77
|
+
auth = `${username}:${password}`;
|
|
78
|
+
}
|
|
79
|
+
let path = request.path;
|
|
80
|
+
if (queryString) {
|
|
81
|
+
path += `?${queryString}`;
|
|
82
|
+
}
|
|
83
|
+
if (request.fragment) {
|
|
84
|
+
path += `#${request.fragment}`;
|
|
85
|
+
}
|
|
72
86
|
const nodeHttpsOptions = {
|
|
73
87
|
headers: request.headers,
|
|
74
88
|
host: request.hostname,
|
|
75
89
|
method: request.method,
|
|
76
|
-
path
|
|
90
|
+
path,
|
|
77
91
|
port: request.port,
|
|
78
92
|
agent: isSSL ? this.config.httpsAgent : this.config.httpAgent,
|
|
93
|
+
auth,
|
|
79
94
|
};
|
|
80
95
|
const requestFunc = isSSL ? https_1.request : http_1.request;
|
|
81
96
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
82
97
|
const httpResponse = new protocol_http_1.HttpResponse({
|
|
83
98
|
statusCode: res.statusCode || -1,
|
|
99
|
+
reason: res.statusMessage,
|
|
84
100
|
headers: (0, get_transformed_headers_1.getTransformedHeaders)(res.headers),
|
|
85
101
|
body: res,
|
|
86
102
|
});
|
|
@@ -37,7 +37,7 @@ class NodeHttp2Handler {
|
|
|
37
37
|
}
|
|
38
38
|
const { requestTimeout, disableConcurrentStreams } = this.config;
|
|
39
39
|
return new Promise((_resolve, _reject) => {
|
|
40
|
-
var _a;
|
|
40
|
+
var _a, _b, _c;
|
|
41
41
|
let fulfilled = false;
|
|
42
42
|
let writeRequestBodyPromise = undefined;
|
|
43
43
|
const resolve = async (arg) => {
|
|
@@ -55,11 +55,17 @@ class NodeHttp2Handler {
|
|
|
55
55
|
reject(abortError);
|
|
56
56
|
return;
|
|
57
57
|
}
|
|
58
|
-
const { hostname, method, port, protocol,
|
|
59
|
-
|
|
58
|
+
const { hostname, method, port, protocol, query } = request;
|
|
59
|
+
let auth = "";
|
|
60
|
+
if (request.username != null || request.password != null) {
|
|
61
|
+
const username = (_a = request.username) !== null && _a !== void 0 ? _a : "";
|
|
62
|
+
const password = (_b = request.password) !== null && _b !== void 0 ? _b : "";
|
|
63
|
+
auth = `${username}:${password}@`;
|
|
64
|
+
}
|
|
65
|
+
const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`;
|
|
60
66
|
const requestContext = { destination: new URL(authority) };
|
|
61
67
|
const session = this.connectionManager.lease(requestContext, {
|
|
62
|
-
requestTimeout: (
|
|
68
|
+
requestTimeout: (_c = this.config) === null || _c === void 0 ? void 0 : _c.sessionTimeout,
|
|
63
69
|
disableConcurrentStreams: disableConcurrentStreams || false,
|
|
64
70
|
});
|
|
65
71
|
const rejectWithDestroy = (err) => {
|
|
@@ -70,9 +76,16 @@ class NodeHttp2Handler {
|
|
|
70
76
|
reject(err);
|
|
71
77
|
};
|
|
72
78
|
const queryString = (0, querystring_builder_1.buildQueryString)(query || {});
|
|
79
|
+
let path = request.path;
|
|
80
|
+
if (queryString) {
|
|
81
|
+
path += `?${queryString}`;
|
|
82
|
+
}
|
|
83
|
+
if (request.fragment) {
|
|
84
|
+
path += `#${request.fragment}`;
|
|
85
|
+
}
|
|
73
86
|
const req = session.request({
|
|
74
87
|
...request.headers,
|
|
75
|
-
[http2_1.constants.HTTP2_HEADER_PATH]:
|
|
88
|
+
[http2_1.constants.HTTP2_HEADER_PATH]: path,
|
|
76
89
|
[http2_1.constants.HTTP2_HEADER_METHOD]: method,
|
|
77
90
|
});
|
|
78
91
|
session.ref();
|
|
@@ -65,18 +65,33 @@ export class NodeHttpHandler {
|
|
|
65
65
|
}
|
|
66
66
|
const isSSL = request.protocol === "https:";
|
|
67
67
|
const queryString = buildQueryString(request.query || {});
|
|
68
|
+
let auth = undefined;
|
|
69
|
+
if (request.username != null || request.password != null) {
|
|
70
|
+
const username = request.username ?? "";
|
|
71
|
+
const password = request.password ?? "";
|
|
72
|
+
auth = `${username}:${password}`;
|
|
73
|
+
}
|
|
74
|
+
let path = request.path;
|
|
75
|
+
if (queryString) {
|
|
76
|
+
path += `?${queryString}`;
|
|
77
|
+
}
|
|
78
|
+
if (request.fragment) {
|
|
79
|
+
path += `#${request.fragment}`;
|
|
80
|
+
}
|
|
68
81
|
const nodeHttpsOptions = {
|
|
69
82
|
headers: request.headers,
|
|
70
83
|
host: request.hostname,
|
|
71
84
|
method: request.method,
|
|
72
|
-
path
|
|
85
|
+
path,
|
|
73
86
|
port: request.port,
|
|
74
87
|
agent: isSSL ? this.config.httpsAgent : this.config.httpAgent,
|
|
88
|
+
auth,
|
|
75
89
|
};
|
|
76
90
|
const requestFunc = isSSL ? hsRequest : hRequest;
|
|
77
91
|
const req = requestFunc(nodeHttpsOptions, (res) => {
|
|
78
92
|
const httpResponse = new HttpResponse({
|
|
79
93
|
statusCode: res.statusCode || -1,
|
|
94
|
+
reason: res.statusMessage,
|
|
80
95
|
headers: getTransformedHeaders(res.headers),
|
|
81
96
|
body: res,
|
|
82
97
|
});
|