@cdklabs/cdk-ecs-codedeploy 0.0.179 → 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
|
@@ -51,8 +51,14 @@ export class NodeHttp2Handler {
|
|
|
51
51
|
reject(abortError);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
const { hostname, method, port, protocol,
|
|
55
|
-
|
|
54
|
+
const { hostname, method, port, protocol, query } = request;
|
|
55
|
+
let auth = "";
|
|
56
|
+
if (request.username != null || request.password != null) {
|
|
57
|
+
const username = request.username ?? "";
|
|
58
|
+
const password = request.password ?? "";
|
|
59
|
+
auth = `${username}:${password}@`;
|
|
60
|
+
}
|
|
61
|
+
const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`;
|
|
56
62
|
const requestContext = { destination: new URL(authority) };
|
|
57
63
|
const session = this.connectionManager.lease(requestContext, {
|
|
58
64
|
requestTimeout: this.config?.sessionTimeout,
|
|
@@ -66,9 +72,16 @@ export class NodeHttp2Handler {
|
|
|
66
72
|
reject(err);
|
|
67
73
|
};
|
|
68
74
|
const queryString = buildQueryString(query || {});
|
|
75
|
+
let path = request.path;
|
|
76
|
+
if (queryString) {
|
|
77
|
+
path += `?${queryString}`;
|
|
78
|
+
}
|
|
79
|
+
if (request.fragment) {
|
|
80
|
+
path += `#${request.fragment}`;
|
|
81
|
+
}
|
|
69
82
|
const req = session.request({
|
|
70
83
|
...request.headers,
|
|
71
|
-
[constants.HTTP2_HEADER_PATH]:
|
|
84
|
+
[constants.HTTP2_HEADER_PATH]: path,
|
|
72
85
|
[constants.HTTP2_HEADER_METHOD]: method,
|
|
73
86
|
});
|
|
74
87
|
session.ref();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/node-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'",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"module": "./dist-es/index.js",
|
|
24
24
|
"types": "./dist-types/index.d.ts",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/abort-controller": "3.
|
|
27
|
-
"@aws-sdk/protocol-http": "3.
|
|
28
|
-
"@aws-sdk/querystring-builder": "3.
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
26
|
+
"@aws-sdk/abort-controller": "3.347.0",
|
|
27
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
28
|
+
"@aws-sdk/querystring-builder": "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/property-provider",
|
|
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
|
"engines": {
|
|
@@ -15,6 +15,9 @@ class HttpRequest {
|
|
|
15
15
|
: options.protocol
|
|
16
16
|
: "https:";
|
|
17
17
|
this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/";
|
|
18
|
+
this.username = options.username;
|
|
19
|
+
this.password = options.password;
|
|
20
|
+
this.fragment = options.fragment;
|
|
18
21
|
}
|
|
19
22
|
static isInstance(request) {
|
|
20
23
|
if (!request)
|
|
@@ -12,6 +12,9 @@ export class HttpRequest {
|
|
|
12
12
|
: options.protocol
|
|
13
13
|
: "https:";
|
|
14
14
|
this.path = options.path ? (options.path.charAt(0) !== "/" ? `/${options.path}` : options.path) : "/";
|
|
15
|
+
this.username = options.username;
|
|
16
|
+
this.password = options.password;
|
|
17
|
+
this.fragment = options.fragment;
|
|
15
18
|
}
|
|
16
19
|
static isInstance(request) {
|
|
17
20
|
if (!request)
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type HttpRequestOptions = Partial<HttpMessage> & Partial<
|
|
1
|
+
import { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@aws-sdk/types";
|
|
2
|
+
type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & {
|
|
3
3
|
method?: string;
|
|
4
4
|
};
|
|
5
5
|
export interface HttpRequest extends IHttpRequest {
|
|
6
6
|
}
|
|
7
|
-
export declare class HttpRequest implements HttpMessage,
|
|
7
|
+
export declare class HttpRequest implements HttpMessage, URI {
|
|
8
8
|
method: string;
|
|
9
9
|
protocol: string;
|
|
10
10
|
hostname: string;
|
|
@@ -12,6 +12,9 @@ export declare class HttpRequest implements HttpMessage, Endpoint {
|
|
|
12
12
|
path: string;
|
|
13
13
|
query: QueryParameterBag;
|
|
14
14
|
headers: HeaderBag;
|
|
15
|
+
username?: string;
|
|
16
|
+
password?: string;
|
|
17
|
+
fragment?: string;
|
|
15
18
|
body?: any;
|
|
16
19
|
constructor(options: HttpRequestOptions);
|
|
17
20
|
static isInstance(request: unknown): request is HttpRequest;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@aws-sdk/types";
|
|
2
2
|
type HttpResponseOptions = Partial<HttpMessage> & {
|
|
3
3
|
statusCode: number;
|
|
4
|
+
reason?: string;
|
|
4
5
|
};
|
|
5
6
|
export interface HttpResponse extends IHttpResponse {
|
|
6
7
|
}
|
|
7
8
|
export declare class HttpResponse {
|
|
8
9
|
statusCode: number;
|
|
10
|
+
reason?: string;
|
|
9
11
|
headers: HeaderBag;
|
|
10
12
|
body?: any;
|
|
11
13
|
constructor(options: HttpResponseOptions);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Endpoint,
|
|
3
2
|
HeaderBag,
|
|
4
3
|
HttpMessage,
|
|
5
4
|
HttpRequest as IHttpRequest,
|
|
6
5
|
QueryParameterBag,
|
|
6
|
+
URI,
|
|
7
7
|
} from "@aws-sdk/types";
|
|
8
8
|
type HttpRequestOptions = Partial<HttpMessage> &
|
|
9
|
-
Partial<
|
|
9
|
+
Partial<URI> & {
|
|
10
10
|
method?: string;
|
|
11
11
|
};
|
|
12
12
|
export interface HttpRequest extends IHttpRequest {}
|
|
13
|
-
export declare class HttpRequest implements HttpMessage,
|
|
13
|
+
export declare class HttpRequest implements HttpMessage, URI {
|
|
14
14
|
method: string;
|
|
15
15
|
protocol: string;
|
|
16
16
|
hostname: string;
|
|
@@ -18,6 +18,9 @@ export declare class HttpRequest implements HttpMessage, Endpoint {
|
|
|
18
18
|
path: string;
|
|
19
19
|
query: QueryParameterBag;
|
|
20
20
|
headers: HeaderBag;
|
|
21
|
+
username?: string;
|
|
22
|
+
password?: string;
|
|
23
|
+
fragment?: string;
|
|
21
24
|
body?: any;
|
|
22
25
|
constructor(options: HttpRequestOptions);
|
|
23
26
|
static isInstance(request: unknown): request is HttpRequest;
|
|
@@ -5,10 +5,12 @@ import {
|
|
|
5
5
|
} from "@aws-sdk/types";
|
|
6
6
|
type HttpResponseOptions = Partial<HttpMessage> & {
|
|
7
7
|
statusCode: number;
|
|
8
|
+
reason?: string;
|
|
8
9
|
};
|
|
9
10
|
export interface HttpResponse extends IHttpResponse {}
|
|
10
11
|
export declare class HttpResponse {
|
|
11
12
|
statusCode: number;
|
|
13
|
+
reason?: string;
|
|
12
14
|
headers: HeaderBag;
|
|
13
15
|
body?: any;
|
|
14
16
|
constructor(options: HttpResponseOptions);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/protocol-http",
|
|
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/querystring-builder",
|
|
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
|
"@aws-sdk/util-uri-escape": "3.310.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/querystring-parser",
|
|
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
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/service-error-classification",
|
|
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
|
"devDependencies": {
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/types": "3.347.0",
|
|
24
24
|
"@tsconfig/recommended": "1.0.1",
|
|
25
25
|
"concurrently": "7.0.0",
|
|
26
26
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/signature-v4",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,18 +22,18 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/eventstream-codec": "3.
|
|
25
|
+
"@aws-sdk/eventstream-codec": "3.347.0",
|
|
26
26
|
"@aws-sdk/is-array-buffer": "3.310.0",
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
27
|
+
"@aws-sdk/types": "3.347.0",
|
|
28
28
|
"@aws-sdk/util-hex-encoding": "3.310.0",
|
|
29
|
-
"@aws-sdk/util-middleware": "3.
|
|
29
|
+
"@aws-sdk/util-middleware": "3.347.0",
|
|
30
30
|
"@aws-sdk/util-uri-escape": "3.310.0",
|
|
31
31
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
32
32
|
"tslib": "^2.5.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
36
|
-
"@aws-sdk/protocol-http": "3.
|
|
36
|
+
"@aws-sdk/protocol-http": "3.347.0",
|
|
37
37
|
"@tsconfig/recommended": "1.0.1",
|
|
38
38
|
"concurrently": "7.0.0",
|
|
39
39
|
"downlevel-dts": "0.10.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/smithy-client",
|
|
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-stack": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/middleware-stack": "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/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
30
|
-
"@aws-sdk/property-provider": "3.
|
|
31
|
-
"@aws-sdk/shared-ini-file-loader": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/client-sso-oidc": "3.347.0",
|
|
30
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
31
|
+
"@aws-sdk/shared-ini-file-loader": "3.347.0",
|
|
32
|
+
"@aws-sdk/types": "3.347.0",
|
|
33
33
|
"tslib": "^2.5.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -28,5 +28,6 @@ tslib_1.__exportStar(require("./signature"), exports);
|
|
|
28
28
|
tslib_1.__exportStar(require("./stream"), exports);
|
|
29
29
|
tslib_1.__exportStar(require("./token"), exports);
|
|
30
30
|
tslib_1.__exportStar(require("./transfer"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./uri"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./util"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./waiter"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbortSignal } from "./abort";
|
|
2
|
+
import { URI } from "./uri";
|
|
2
3
|
/**
|
|
3
4
|
* @public
|
|
4
5
|
*
|
|
@@ -80,7 +81,7 @@ export interface Endpoint {
|
|
|
80
81
|
* Interface an HTTP request class. Contains
|
|
81
82
|
* addressing information in addition to standard message properties.
|
|
82
83
|
*/
|
|
83
|
-
export interface HttpRequest extends HttpMessage,
|
|
84
|
+
export interface HttpRequest extends HttpMessage, URI {
|
|
84
85
|
method: string;
|
|
85
86
|
}
|
|
86
87
|
/**
|
|
@@ -91,6 +92,7 @@ export interface HttpRequest extends HttpMessage, Endpoint {
|
|
|
91
92
|
*/
|
|
92
93
|
export interface HttpResponse extends HttpMessage {
|
|
93
94
|
statusCode: number;
|
|
95
|
+
reason?: string;
|
|
94
96
|
}
|
|
95
97
|
/**
|
|
96
98
|
* @public
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AbortSignal } from "./abort";
|
|
2
|
+
import { URI } from "./uri";
|
|
2
3
|
export interface Headers extends Map<string, string> {
|
|
3
4
|
withHeader(headerName: string, headerValue: string): Headers;
|
|
4
5
|
withoutHeader(headerName: string): Headers;
|
|
@@ -16,11 +17,12 @@ export interface Endpoint {
|
|
|
16
17
|
path: string;
|
|
17
18
|
query?: QueryParameterBag;
|
|
18
19
|
}
|
|
19
|
-
export interface HttpRequest extends HttpMessage,
|
|
20
|
+
export interface HttpRequest extends HttpMessage, URI {
|
|
20
21
|
method: string;
|
|
21
22
|
}
|
|
22
23
|
export interface HttpResponse extends HttpMessage {
|
|
23
24
|
statusCode: number;
|
|
25
|
+
reason?: string;
|
|
24
26
|
}
|
|
25
27
|
export interface ResolvedHttpResponse extends HttpResponse {
|
|
26
28
|
body: string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QueryParameterBag } from "./http";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*
|
|
5
|
+
* Represents the components parts of a Uniform Resource Identifier used to
|
|
6
|
+
* construct the target location of a Request.
|
|
7
|
+
*/
|
|
8
|
+
export type URI = {
|
|
9
|
+
protocol: string;
|
|
10
|
+
hostname: string;
|
|
11
|
+
port?: number;
|
|
12
|
+
path: string;
|
|
13
|
+
query?: QueryParameterBag;
|
|
14
|
+
username?: string;
|
|
15
|
+
password?: string;
|
|
16
|
+
fragment?: string;
|
|
17
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/url-parser",
|
|
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,8 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/querystring-parser": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/querystring-parser": "3.347.0",
|
|
24
|
+
"@aws-sdk/types": "3.347.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-browser",
|
|
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",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/property-provider": "3.
|
|
23
|
-
"@aws-sdk/types": "3.
|
|
22
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
23
|
+
"@aws-sdk/types": "3.347.0",
|
|
24
24
|
"bowser": "^2.11.0",
|
|
25
25
|
"tslib": "^2.5.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@aws-sdk/smithy-client": "3.
|
|
28
|
+
"@aws-sdk/smithy-client": "3.347.0",
|
|
29
29
|
"@tsconfig/recommended": "1.0.1",
|
|
30
30
|
"@types/node": "^14.14.31",
|
|
31
31
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-defaults-mode-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",
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-imds": "3.
|
|
24
|
-
"@aws-sdk/node-config-provider": "3.
|
|
25
|
-
"@aws-sdk/property-provider": "3.
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
22
|
+
"@aws-sdk/config-resolver": "3.347.0",
|
|
23
|
+
"@aws-sdk/credential-provider-imds": "3.347.0",
|
|
24
|
+
"@aws-sdk/node-config-provider": "3.347.0",
|
|
25
|
+
"@aws-sdk/property-provider": "3.347.0",
|
|
26
|
+
"@aws-sdk/types": "3.347.0",
|
|
27
27
|
"tslib": "^2.5.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/smithy-client": "3.
|
|
30
|
+
"@aws-sdk/smithy-client": "3.347.0",
|
|
31
31
|
"@tsconfig/recommended": "1.0.1",
|
|
32
32
|
"@types/node": "^14.14.31",
|
|
33
33
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -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.347.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-middleware",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -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
|
"@types/node": "^14.14.31",
|
|
33
33
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-retry",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.347.0",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/service-error-classification": "3.
|
|
28
|
+
"@aws-sdk/service-error-classification": "3.347.0",
|
|
29
29
|
"tslib": "^2.5.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
32
|
+
"@aws-sdk/types": "3.347.0",
|
|
33
33
|
"@tsconfig/recommended": "1.0.1",
|
|
34
34
|
"@types/node": "^14.14.31",
|
|
35
35
|
"concurrently": "7.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
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
|
"react-native": "dist-es/index.native.js",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
24
|
+
"@aws-sdk/types": "3.347.0",
|
|
25
25
|
"bowser": "^2.11.0",
|
|
26
26
|
"tslib": "^2.5.0"
|
|
27
27
|
},
|