@cdklabs/cdk-ecs-codedeploy 0.0.278 → 0.0.279
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/.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 +40 -40
- package/node_modules/@aws-sdk/client-sso/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +38 -38
- package/node_modules/@aws-sdk/client-sts/package.json +38 -38
- package/node_modules/@aws-sdk/core/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +8 -9
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +4 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +2 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +3 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +3 -4
- package/node_modules/@smithy/config-resolver/package.json +6 -7
- package/node_modules/@smithy/core/package.json +10 -10
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/ts3.4/remoteProvider/httpRequest.d.ts +1 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -8
- package/node_modules/@smithy/fetch-http-handler/README.md +7 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +11 -6
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +11 -6
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -25
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/package.json +2 -3
- package/node_modules/@smithy/is-array-buffer/package.json +2 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -9
- package/node_modules/@smithy/middleware-retry/package.json +10 -11
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-serde/package.json +4 -5
- package/node_modules/@smithy/middleware-stack/dist-cjs/index.js +7 -4
- package/node_modules/@smithy/middleware-stack/package.json +3 -4
- package/node_modules/@smithy/node-config-provider/dist-es/fromSharedConfigFiles.js +2 -1
- package/node_modules/@smithy/node-config-provider/package.json +6 -7
- package/node_modules/@smithy/node-http-handler/README.md +5 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +46 -15
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +39 -12
- package/node_modules/@smithy/node-http-handler/package.json +7 -8
- package/node_modules/@smithy/property-provider/package.json +3 -4
- package/node_modules/@smithy/protocol-http/package.json +3 -4
- package/node_modules/@smithy/querystring-builder/package.json +4 -5
- package/node_modules/@smithy/querystring-parser/package.json +3 -4
- package/node_modules/@smithy/service-error-classification/package.json +3 -4
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -5
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +8 -9
- package/node_modules/@smithy/types/dist-types/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +5 -5
- package/node_modules/@smithy/types/dist-types/ts3.4/client.d.ts +12 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +9 -1
- package/node_modules/@smithy/types/package.json +2 -3
- package/node_modules/@smithy/url-parser/package.json +3 -4
- package/node_modules/@smithy/util-base64/package.json +5 -6
- package/node_modules/@smithy/util-body-length-browser/package.json +1 -2
- package/node_modules/@smithy/util-body-length-node/package.json +3 -4
- package/node_modules/@smithy/util-buffer-from/package.json +4 -5
- package/node_modules/@smithy/util-config-provider/package.json +3 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -9
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateCondition.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateConditions.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateEndpointRule.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +5 -6
- package/node_modules/@smithy/util-hex-encoding/package.json +2 -3
- package/node_modules/@smithy/util-middleware/package.json +4 -5
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-retry/package.json +5 -6
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +8 -2
- package/node_modules/@smithy/util-stream/dist-types/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/sdk-stream-mixin.d.ts +1 -1
- package/node_modules/@smithy/util-stream/package.json +13 -29
- package/node_modules/@smithy/util-uri-escape/package.json +2 -3
- package/node_modules/@smithy/util-utf8/package.json +3 -4
- package/node_modules/@smithy/util-waiter/package.json +4 -5
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline protocol-http",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^
|
|
26
|
+
"@smithy/types": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=16.0.0"
|
|
31
31
|
},
|
|
32
32
|
"typesVersions": {
|
|
33
33
|
"<4.0": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"directory": "packages/protocol-http"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tsconfig/recommended": "1.0.1",
|
|
50
49
|
"concurrently": "7.0.0",
|
|
51
50
|
"downlevel-dts": "0.10.1",
|
|
52
51
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-builder",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^
|
|
26
|
-
"@smithy/util-uri-escape": "^
|
|
25
|
+
"@smithy/types": "^3.0.0",
|
|
26
|
+
"@smithy/util-uri-escape": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=16.0.0"
|
|
31
31
|
},
|
|
32
32
|
"typesVersions": {
|
|
33
33
|
"<4.0": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"directory": "packages/querystring-builder"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tsconfig/recommended": "1.0.1",
|
|
50
49
|
"concurrently": "7.0.0",
|
|
51
50
|
"downlevel-dts": "0.10.1",
|
|
52
51
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-parser",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/types": "^3.0.0",
|
|
26
26
|
"tslib": "^2.6.2"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">=16.0.0"
|
|
30
30
|
},
|
|
31
31
|
"typesVersions": {
|
|
32
32
|
"<4.0": {
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"directory": "packages/querystring-parser"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@tsconfig/recommended": "1.0.1",
|
|
49
48
|
"concurrently": "7.0.0",
|
|
50
49
|
"downlevel-dts": "0.10.1",
|
|
51
50
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline service-error-classification",
|
|
@@ -22,14 +22,13 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@tsconfig/recommended": "1.0.1",
|
|
26
25
|
"concurrently": "7.0.0",
|
|
27
26
|
"downlevel-dts": "0.10.1",
|
|
28
27
|
"rimraf": "3.0.2",
|
|
29
28
|
"typedoc": "0.23.23"
|
|
30
29
|
},
|
|
31
30
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
31
|
+
"node": ">=16.0.0"
|
|
33
32
|
},
|
|
34
33
|
"typesVersions": {
|
|
35
34
|
"<4.0": {
|
|
@@ -54,6 +53,6 @@
|
|
|
54
53
|
"directory": ".release/package"
|
|
55
54
|
},
|
|
56
55
|
"dependencies": {
|
|
57
|
-
"@smithy/types": "^
|
|
56
|
+
"@smithy/types": "^3.0.0"
|
|
58
57
|
}
|
|
59
58
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@smithy/types": "^
|
|
5
|
+
"@smithy/types": "^3.0.0",
|
|
6
6
|
"tslib": "^2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
|
-
"@
|
|
10
|
-
"@types/node": "^14.14.31",
|
|
9
|
+
"@types/node": "^16.18.96",
|
|
11
10
|
"concurrently": "7.0.0",
|
|
12
11
|
"downlevel-dts": "0.10.1",
|
|
13
12
|
"rimraf": "3.0.2",
|
|
@@ -45,7 +44,7 @@
|
|
|
45
44
|
"./dist-es/slurpFile": false
|
|
46
45
|
},
|
|
47
46
|
"engines": {
|
|
48
|
-
"node": ">=
|
|
47
|
+
"node": ">=16.0.0"
|
|
49
48
|
},
|
|
50
49
|
"typesVersions": {
|
|
51
50
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.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",
|
|
@@ -24,25 +24,24 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/is-array-buffer": "^
|
|
28
|
-
"@smithy/types": "^
|
|
29
|
-
"@smithy/util-hex-encoding": "^
|
|
30
|
-
"@smithy/util-middleware": "^
|
|
31
|
-
"@smithy/util-uri-escape": "^
|
|
32
|
-
"@smithy/util-utf8": "^
|
|
27
|
+
"@smithy/is-array-buffer": "^3.0.0",
|
|
28
|
+
"@smithy/types": "^3.0.0",
|
|
29
|
+
"@smithy/util-hex-encoding": "^3.0.0",
|
|
30
|
+
"@smithy/util-middleware": "^3.0.0",
|
|
31
|
+
"@smithy/util-uri-escape": "^3.0.0",
|
|
32
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
37
|
-
"@smithy/protocol-http": "^
|
|
38
|
-
"@tsconfig/recommended": "1.0.1",
|
|
37
|
+
"@smithy/protocol-http": "^4.0.0",
|
|
39
38
|
"concurrently": "7.0.0",
|
|
40
39
|
"downlevel-dts": "0.10.1",
|
|
41
40
|
"rimraf": "3.0.2",
|
|
42
41
|
"typedoc": "0.23.23"
|
|
43
42
|
},
|
|
44
43
|
"engines": {
|
|
45
|
-
"node": ">=
|
|
44
|
+
"node": ">=16.0.0"
|
|
46
45
|
},
|
|
47
46
|
"typesVersions": {
|
|
48
47
|
"<4.0": {
|
|
@@ -885,7 +885,7 @@ var loadConfigsForDefaultMode = /* @__PURE__ */ __name((mode) => {
|
|
|
885
885
|
// src/emitWarningIfUnsupportedVersion.ts
|
|
886
886
|
var warningEmitted = false;
|
|
887
887
|
var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => {
|
|
888
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) <
|
|
888
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
889
889
|
warningEmitted = true;
|
|
890
890
|
}
|
|
891
891
|
}, "emitWarningIfUnsupportedVersion");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
let warningEmitted = false;
|
|
2
2
|
export const emitWarningIfUnsupportedVersion = (version) => {
|
|
3
|
-
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) <
|
|
3
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
4
4
|
warningEmitted = true;
|
|
5
5
|
}
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -23,15 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/middleware-endpoint": "^
|
|
27
|
-
"@smithy/middleware-stack": "^
|
|
28
|
-
"@smithy/protocol-http": "^
|
|
29
|
-
"@smithy/types": "^
|
|
30
|
-
"@smithy/util-stream": "^
|
|
26
|
+
"@smithy/middleware-endpoint": "^3.0.0",
|
|
27
|
+
"@smithy/middleware-stack": "^3.0.0",
|
|
28
|
+
"@smithy/protocol-http": "^4.0.0",
|
|
29
|
+
"@smithy/types": "^3.0.0",
|
|
30
|
+
"@smithy/util-stream": "^3.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
34
|
-
"node": ">=
|
|
34
|
+
"node": ">=16.0.0"
|
|
35
35
|
},
|
|
36
36
|
"typesVersions": {
|
|
37
37
|
"<4.0": {
|
|
@@ -50,8 +50,7 @@
|
|
|
50
50
|
"directory": "packages/smithy-client"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@types/node": "^14.14.31",
|
|
53
|
+
"@types/node": "^16.18.96",
|
|
55
54
|
"concurrently": "7.0.0",
|
|
56
55
|
"downlevel-dts": "0.10.1",
|
|
57
56
|
"rimraf": "3.0.2",
|
|
@@ -31,6 +31,18 @@ export interface InvokeMethod<InputType extends object, OutputType extends Metad
|
|
|
31
31
|
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
32
32
|
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*
|
|
37
|
+
* Signature that appears on aggregated clients' methods when argument is optional.
|
|
38
|
+
*/
|
|
39
|
+
export interface InvokeMethodOptionalArgs<InputType extends object, OutputType extends MetadataBearer> {
|
|
40
|
+
(): Promise<OutputType>;
|
|
41
|
+
(input: InputType, options?: any): Promise<OutputType>;
|
|
42
|
+
(input: InputType, cb: (err: any, data?: OutputType) => void): void;
|
|
43
|
+
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
44
|
+
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
45
|
+
}
|
|
34
46
|
/**
|
|
35
47
|
* A general interface for service clients, idempotent to browser or node clients
|
|
36
48
|
* This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
|
|
@@ -34,7 +34,7 @@ export interface HttpResponse extends HttpMessage {
|
|
|
34
34
|
* @public
|
|
35
35
|
*
|
|
36
36
|
* Represents an HTTP message with headers and an optional static or streaming
|
|
37
|
-
* body.
|
|
37
|
+
* body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
|
|
38
38
|
*/
|
|
39
39
|
export interface HttpMessage {
|
|
40
40
|
headers: HeaderBag;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InvokeFunction, InvokeMethod } from "../client";
|
|
1
|
+
import type { InvokeFunction, InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*
|
|
@@ -46,8 +46,8 @@ export type RecursiveRequired<T> = T extends Function ? T : [T] extends [object]
|
|
|
46
46
|
*/
|
|
47
47
|
type NarrowClientIOTypes<ClientType extends object> = {
|
|
48
48
|
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
49
|
-
|
|
50
|
-
] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
|
|
49
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
50
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : ClientType[key];
|
|
51
51
|
};
|
|
52
52
|
/**
|
|
53
53
|
* @internal
|
|
@@ -56,7 +56,7 @@ type NarrowClientIOTypes<ClientType extends object> = {
|
|
|
56
56
|
*/
|
|
57
57
|
type UncheckedClientOutputTypes<ClientType extends object> = {
|
|
58
58
|
[key in keyof ClientType]: [ClientType[key]] extends [
|
|
59
|
-
|
|
60
|
-
] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
|
|
59
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
60
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : [ClientType[key]] extends [InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [ClientType[key]] extends [InvokeMethod<infer FunctionInputTypes, infer FunctionOutputTypes>] ? InvokeMethod<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : ClientType[key];
|
|
61
61
|
};
|
|
62
62
|
export {};
|
|
@@ -31,6 +31,18 @@ export interface InvokeMethod<InputType extends object, OutputType extends Metad
|
|
|
31
31
|
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
32
32
|
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
33
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*
|
|
37
|
+
* Signature that appears on aggregated clients' methods when argument is optional.
|
|
38
|
+
*/
|
|
39
|
+
export interface InvokeMethodOptionalArgs<InputType extends object, OutputType extends MetadataBearer> {
|
|
40
|
+
(): Promise<OutputType>;
|
|
41
|
+
(input: InputType, options?: any): Promise<OutputType>;
|
|
42
|
+
(input: InputType, cb: (err: any, data?: OutputType) => void): void;
|
|
43
|
+
(input: InputType, options: any, cb: (err: any, data?: OutputType) => void): void;
|
|
44
|
+
(input: InputType, options?: any, cb?: (err: any, data?: OutputType) => void): Promise<OutputType> | void;
|
|
45
|
+
}
|
|
34
46
|
/**
|
|
35
47
|
* A general interface for service clients, idempotent to browser or node clients
|
|
36
48
|
* This type corresponds to SmithyClient(https://github.com/aws/aws-sdk-js-v3/blob/main/packages/smithy-client/src/client.ts).
|
|
@@ -34,7 +34,7 @@ export interface HttpResponse extends HttpMessage {
|
|
|
34
34
|
* @public
|
|
35
35
|
*
|
|
36
36
|
* Represents an HTTP message with headers and an optional static or streaming
|
|
37
|
-
* body.
|
|
37
|
+
* body. body: ArrayBuffer | ArrayBufferView | string | Uint8Array | Readable | ReadableStream;
|
|
38
38
|
*/
|
|
39
39
|
export interface HttpMessage {
|
|
40
40
|
headers: HeaderBag;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InvokeFunction, InvokeMethod } from "../client";
|
|
1
|
+
import { InvokeFunction, InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*
|
|
@@ -55,6 +55,10 @@ export type RecursiveRequired<T> = T extends Function ? T : [
|
|
|
55
55
|
type NarrowClientIOTypes<ClientType extends object> = {
|
|
56
56
|
[key in keyof ClientType]: [
|
|
57
57
|
ClientType[key]
|
|
58
|
+
] extends [
|
|
59
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
60
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, NoUndefined<FunctionOutputTypes>> : [
|
|
61
|
+
ClientType[key]
|
|
58
62
|
] extends [
|
|
59
63
|
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
60
64
|
] ? InvokeFunction<NoUndefined<InputTypes>, NoUndefined<OutputTypes>, ConfigType> : [
|
|
@@ -71,6 +75,10 @@ type NarrowClientIOTypes<ClientType extends object> = {
|
|
|
71
75
|
type UncheckedClientOutputTypes<ClientType extends object> = {
|
|
72
76
|
[key in keyof ClientType]: [
|
|
73
77
|
ClientType[key]
|
|
78
|
+
] extends [
|
|
79
|
+
InvokeMethodOptionalArgs<infer FunctionInputTypes, infer FunctionOutputTypes>
|
|
80
|
+
] ? InvokeMethodOptionalArgs<NoUndefined<FunctionInputTypes>, RecursiveRequired<FunctionOutputTypes>> : [
|
|
81
|
+
ClientType[key]
|
|
74
82
|
] extends [
|
|
75
83
|
InvokeFunction<infer InputTypes, infer OutputTypes, infer ConfigType>
|
|
76
84
|
] ? InvokeFunction<NoUndefined<InputTypes>, RecursiveRequired<OutputTypes>, ConfigType> : [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline types",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
|
-
"node": ">=
|
|
30
|
+
"node": ">=16.0.0"
|
|
31
31
|
},
|
|
32
32
|
"typesVersions": {
|
|
33
33
|
"<=4.0": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"directory": "packages/types"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tsconfig/recommended": "1.0.1",
|
|
50
49
|
"concurrently": "7.0.0",
|
|
51
50
|
"downlevel-dts": "0.10.1",
|
|
52
51
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/querystring-parser": "^
|
|
26
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/querystring-parser": "^3.0.0",
|
|
26
|
+
"@smithy/types": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"typesVersions": {
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"directory": "packages/url-parser"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@tsconfig/recommended": "1.0.1",
|
|
47
46
|
"concurrently": "7.0.0",
|
|
48
47
|
"downlevel-dts": "0.10.1",
|
|
49
48
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-base64",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A Base64 <-> UInt8Array converter",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -22,13 +22,12 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/util-buffer-from": "^
|
|
26
|
-
"@smithy/util-utf8": "^
|
|
25
|
+
"@smithy/util-buffer-from": "^3.0.0",
|
|
26
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@types/node": "^14.14.31",
|
|
30
|
+
"@types/node": "^16.18.96",
|
|
32
31
|
"concurrently": "7.0.0",
|
|
33
32
|
"downlevel-dts": "0.10.1",
|
|
34
33
|
"rimraf": "3.0.2",
|
|
@@ -36,7 +35,7 @@
|
|
|
36
35
|
},
|
|
37
36
|
"types": "./dist-types/index.d.ts",
|
|
38
37
|
"engines": {
|
|
39
|
-
"node": ">=
|
|
38
|
+
"node": ">=16.0.0"
|
|
40
39
|
},
|
|
41
40
|
"typesVersions": {
|
|
42
41
|
"<4.0": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-browser",
|
|
3
3
|
"description": "Determines the length of a request body in browsers",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-browser",
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"directory": "packages/util-body-length-browser"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tsconfig/recommended": "1.0.1",
|
|
46
45
|
"concurrently": "7.0.0",
|
|
47
46
|
"downlevel-dts": "0.10.1",
|
|
48
47
|
"rimraf": "3.0.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-body-length-node",
|
|
3
3
|
"description": "Determines the length of a request body in node.js",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
7
7
|
"build:cjs": "node ../../scripts/inline util-body-length-node",
|
|
@@ -15,8 +15,7 @@
|
|
|
15
15
|
"test": "yarn g:jest"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@
|
|
19
|
-
"@types/node": "^14.14.31",
|
|
18
|
+
"@types/node": "^16.18.96",
|
|
20
19
|
"concurrently": "7.0.0",
|
|
21
20
|
"downlevel-dts": "0.10.1",
|
|
22
21
|
"rimraf": "3.0.2",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"tslib": "^2.6.2"
|
|
35
34
|
},
|
|
36
35
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
36
|
+
"node": ">=16.0.0"
|
|
38
37
|
},
|
|
39
38
|
"typesVersions": {
|
|
40
39
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-buffer-from",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-buffer-from",
|
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@smithy/is-array-buffer": "^
|
|
22
|
+
"@smithy/is-array-buffer": "^3.0.0",
|
|
23
23
|
"tslib": "^2.6.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@
|
|
27
|
-
"@types/node": "^14.14.31",
|
|
26
|
+
"@types/node": "^16.18.96",
|
|
28
27
|
"concurrently": "7.0.0",
|
|
29
28
|
"downlevel-dts": "0.10.1",
|
|
30
29
|
"rimraf": "3.0.2",
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
"module": "./dist-es/index.js",
|
|
35
34
|
"types": "./dist-types/index.d.ts",
|
|
36
35
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
36
|
+
"node": ">=16.0.0"
|
|
38
37
|
},
|
|
39
38
|
"typesVersions": {
|
|
40
39
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-config-provider",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Utilities package for configuration providers",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
@@ -27,15 +27,14 @@
|
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@types/node": "^14.14.31",
|
|
30
|
+
"@types/node": "^16.18.96",
|
|
32
31
|
"concurrently": "7.0.0",
|
|
33
32
|
"downlevel-dts": "0.10.1",
|
|
34
33
|
"rimraf": "3.0.2",
|
|
35
34
|
"typedoc": "0.23.23"
|
|
36
35
|
},
|
|
37
36
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
37
|
+
"node": ">=16.0.0"
|
|
39
38
|
},
|
|
40
39
|
"typesVersions": {
|
|
41
40
|
"<4.0": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -22,15 +22,14 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/property-provider": "^
|
|
26
|
-
"@smithy/smithy-client": "^
|
|
27
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/property-provider": "^3.0.0",
|
|
26
|
+
"@smithy/smithy-client": "^3.0.0",
|
|
27
|
+
"@smithy/types": "^3.0.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@
|
|
33
|
-
"@types/node": "^14.14.31",
|
|
32
|
+
"@types/node": "^16.18.96",
|
|
34
33
|
"concurrently": "7.0.0",
|
|
35
34
|
"downlevel-dts": "0.10.1",
|
|
36
35
|
"rimraf": "3.0.2",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -22,17 +22,16 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/config-resolver": "^
|
|
26
|
-
"@smithy/credential-provider-imds": "^
|
|
27
|
-
"@smithy/node-config-provider": "^
|
|
28
|
-
"@smithy/property-provider": "^
|
|
29
|
-
"@smithy/smithy-client": "^
|
|
30
|
-
"@smithy/types": "^
|
|
25
|
+
"@smithy/config-resolver": "^3.0.0",
|
|
26
|
+
"@smithy/credential-provider-imds": "^3.0.0",
|
|
27
|
+
"@smithy/node-config-provider": "^3.0.0",
|
|
28
|
+
"@smithy/property-provider": "^3.0.0",
|
|
29
|
+
"@smithy/smithy-client": "^3.0.0",
|
|
30
|
+
"@smithy/types": "^3.0.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@types/node": "^14.14.31",
|
|
34
|
+
"@types/node": "^16.18.96",
|
|
36
35
|
"concurrently": "7.0.0",
|
|
37
36
|
"downlevel-dts": "0.10.1",
|
|
38
37
|
"rimraf": "3.0.2",
|