@cdk8s/awscdk-resolver 0.0.429 → 0.0.430
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/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-login/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +3 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -13
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +3 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +2 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +5 -5
- package/node_modules/@smithy/core/package.json +10 -8
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +11 -3
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +10 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/client.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.16",
|
|
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 middleware-retry",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"license": "Apache-2.0",
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@smithy/node-config-provider": "^4.3.
|
|
38
|
-
"@smithy/protocol-http": "^5.3.
|
|
39
|
-
"@smithy/service-error-classification": "^4.2.
|
|
40
|
-
"@smithy/smithy-client": "^4.
|
|
41
|
-
"@smithy/types": "^4.
|
|
42
|
-
"@smithy/util-middleware": "^4.2.
|
|
43
|
-
"@smithy/util-retry": "^4.2.
|
|
37
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
38
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
39
|
+
"@smithy/service-error-classification": "^4.2.6",
|
|
40
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
41
|
+
"@smithy/types": "^4.10.0",
|
|
42
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
43
|
+
"@smithy/util-retry": "^4.2.6",
|
|
44
44
|
"@smithy/uuid": "^1.1.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.7",
|
|
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 middleware-serde",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/protocol-http": "^5.3.
|
|
30
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
30
|
+
"@smithy/types": "^4.10.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-stack",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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 && yarn build:types:downlevel'",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/types": "^4.
|
|
30
|
+
"@smithy/types": "^4.10.0",
|
|
31
31
|
"tslib": "^2.6.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-config-provider",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
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 && yarn build:types:downlevel'",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"module": "./dist-es/index.js",
|
|
27
27
|
"types": "./dist-types/index.d.ts",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@smithy/property-provider": "^4.2.
|
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.4.
|
|
31
|
-
"@smithy/types": "^4.
|
|
29
|
+
"@smithy/property-provider": "^4.2.6",
|
|
30
|
+
"@smithy/shared-ini-file-loader": "^4.4.1",
|
|
31
|
+
"@smithy/types": "^4.10.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.6",
|
|
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 && yarn build:types:downlevel'",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/abort-controller": "^4.2.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/querystring-builder": "^4.2.
|
|
33
|
-
"@smithy/types": "^4.
|
|
30
|
+
"@smithy/abort-controller": "^4.2.6",
|
|
31
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
32
|
+
"@smithy/querystring-builder": "^4.2.6",
|
|
33
|
+
"@smithy/types": "^4.10.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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 property-provider",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/types": "^4.10.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.6",
|
|
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",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/types": "^4.
|
|
28
|
+
"@smithy/types": "^4.10.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"sideEffects": false,
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@smithy/types": "^4.10.0",
|
|
27
27
|
"@smithy/util-uri-escape": "^4.2.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/types": "^4.10.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"directory": ".release/package"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@smithy/types": "^4.
|
|
58
|
+
"@smithy/types": "^4.10.0"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.6",
|
|
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",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"sideEffects": false,
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@smithy/is-array-buffer": "^4.2.0",
|
|
30
|
-
"@smithy/protocol-http": "^5.3.
|
|
31
|
-
"@smithy/types": "^4.
|
|
30
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
31
|
+
"@smithy/types": "^4.10.0",
|
|
32
32
|
"@smithy/util-hex-encoding": "^4.2.0",
|
|
33
|
-
"@smithy/util-middleware": "^4.2.
|
|
33
|
+
"@smithy/util-middleware": "^4.2.6",
|
|
34
34
|
"@smithy/util-uri-escape": "^4.2.0",
|
|
35
35
|
"@smithy/util-utf8": "^4.2.0",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
@@ -13,6 +13,12 @@ class Client {
|
|
|
13
13
|
handlers;
|
|
14
14
|
constructor(config) {
|
|
15
15
|
this.config = config;
|
|
16
|
+
const { protocol, protocolSettings } = config;
|
|
17
|
+
if (protocolSettings) {
|
|
18
|
+
if (typeof protocol === "function") {
|
|
19
|
+
config.protocol = new protocol(protocolSettings);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
16
22
|
}
|
|
17
23
|
send(command, optionsOrCb, cb) {
|
|
18
24
|
const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
|
|
@@ -6,6 +6,12 @@ export class Client {
|
|
|
6
6
|
handlers;
|
|
7
7
|
constructor(config) {
|
|
8
8
|
this.config = config;
|
|
9
|
+
const { protocol, protocolSettings } = config;
|
|
10
|
+
if (protocolSettings) {
|
|
11
|
+
if (typeof protocol === "function") {
|
|
12
|
+
config.protocol = new protocol(protocolSettings);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
9
15
|
}
|
|
10
16
|
send(command, optionsOrCb, cb) {
|
|
11
17
|
const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import type { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
|
1
|
+
import type { $ClientProtocol, $ClientProtocolCtor, Client as IClient, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface SmithyConfiguration<HandlerOptions> {
|
|
6
|
-
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
9
|
-
* not planned to be used by customer code.
|
|
10
|
-
* @internal
|
|
7
|
+
* @public
|
|
11
8
|
*/
|
|
12
|
-
|
|
9
|
+
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
|
13
10
|
/**
|
|
14
11
|
* @public
|
|
15
12
|
*
|
|
@@ -26,14 +23,43 @@ export interface SmithyConfiguration<HandlerOptions> {
|
|
|
26
23
|
* and not needing middleware modifications between requests.
|
|
27
24
|
*/
|
|
28
25
|
cacheMiddleware?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* A client request/response protocol or constructor of one.
|
|
28
|
+
* A protocol in this context is not e.g. https.
|
|
29
|
+
* It is the combined implementation of how to (de)serialize and create
|
|
30
|
+
* the messages (e.g. http requests/responses) that are being exchanged.
|
|
31
|
+
*
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
protocol?: ClientProtocol<any, any> | $ClientProtocol<any, any> | ClientProtocolCtor<any, any> | $ClientProtocolCtor<any, any>;
|
|
35
|
+
/**
|
|
36
|
+
* These are automatically generated and will be passed to the
|
|
37
|
+
* config.protocol if given as a constructor.
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
protocolSettings?: {
|
|
41
|
+
defaultNamespace?: string;
|
|
42
|
+
[setting: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The API version set internally by the SDK, and is
|
|
46
|
+
* not planned to be used by customer code.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
readonly apiVersion: string;
|
|
29
50
|
}
|
|
30
51
|
/**
|
|
31
52
|
* @internal
|
|
32
53
|
*/
|
|
33
54
|
export type SmithyResolvedConfiguration<HandlerOptions> = {
|
|
34
55
|
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
|
35
|
-
readonly apiVersion: string;
|
|
36
56
|
cacheMiddleware?: boolean;
|
|
57
|
+
protocol?: ClientProtocol<any, any> | $ClientProtocol<any, any>;
|
|
58
|
+
protocolSettings?: {
|
|
59
|
+
defaultNamespace?: string;
|
|
60
|
+
[setting: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
readonly apiVersion: string;
|
|
37
63
|
};
|
|
38
64
|
/**
|
|
39
65
|
* @public
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { Client as IClient, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
|
1
|
+
import { $ClientProtocol, $ClientProtocolCtor, Client as IClient, ClientProtocol, ClientProtocolCtor, Command, FetchHttpHandlerOptions, MetadataBearer, MiddlewareStack, NodeHttpHandlerOptions, RequestHandler } from "@smithy/types";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
5
5
|
export interface SmithyConfiguration<HandlerOptions> {
|
|
6
|
-
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
|
7
6
|
/**
|
|
8
|
-
*
|
|
9
|
-
* not planned to be used by customer code.
|
|
10
|
-
* @internal
|
|
7
|
+
* @public
|
|
11
8
|
*/
|
|
12
|
-
|
|
9
|
+
requestHandler: RequestHandler<any, any, HandlerOptions> | NodeHttpHandlerOptions | FetchHttpHandlerOptions | Record<string, unknown>;
|
|
13
10
|
/**
|
|
14
11
|
* @public
|
|
15
12
|
*
|
|
@@ -26,14 +23,43 @@ export interface SmithyConfiguration<HandlerOptions> {
|
|
|
26
23
|
* and not needing middleware modifications between requests.
|
|
27
24
|
*/
|
|
28
25
|
cacheMiddleware?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* A client request/response protocol or constructor of one.
|
|
28
|
+
* A protocol in this context is not e.g. https.
|
|
29
|
+
* It is the combined implementation of how to (de)serialize and create
|
|
30
|
+
* the messages (e.g. http requests/responses) that are being exchanged.
|
|
31
|
+
*
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
protocol?: ClientProtocol<any, any> | $ClientProtocol<any, any> | ClientProtocolCtor<any, any> | $ClientProtocolCtor<any, any>;
|
|
35
|
+
/**
|
|
36
|
+
* These are automatically generated and will be passed to the
|
|
37
|
+
* config.protocol if given as a constructor.
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
protocolSettings?: {
|
|
41
|
+
defaultNamespace?: string;
|
|
42
|
+
[setting: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The API version set internally by the SDK, and is
|
|
46
|
+
* not planned to be used by customer code.
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
readonly apiVersion: string;
|
|
29
50
|
}
|
|
30
51
|
/**
|
|
31
52
|
* @internal
|
|
32
53
|
*/
|
|
33
54
|
export type SmithyResolvedConfiguration<HandlerOptions> = {
|
|
34
55
|
requestHandler: RequestHandler<any, any, HandlerOptions>;
|
|
35
|
-
readonly apiVersion: string;
|
|
36
56
|
cacheMiddleware?: boolean;
|
|
57
|
+
protocol?: ClientProtocol<any, any> | $ClientProtocol<any, any>;
|
|
58
|
+
protocolSettings?: {
|
|
59
|
+
defaultNamespace?: string;
|
|
60
|
+
[setting: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
readonly apiVersion: string;
|
|
37
63
|
};
|
|
38
64
|
/**
|
|
39
65
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.1",
|
|
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",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"sideEffects": false,
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@smithy/core": "^3.
|
|
29
|
-
"@smithy/middleware-endpoint": "^4.
|
|
30
|
-
"@smithy/middleware-stack": "^4.2.
|
|
31
|
-
"@smithy/protocol-http": "^5.3.
|
|
32
|
-
"@smithy/types": "^4.
|
|
33
|
-
"@smithy/util-stream": "^4.5.
|
|
28
|
+
"@smithy/core": "^3.19.0",
|
|
29
|
+
"@smithy/middleware-endpoint": "^4.4.0",
|
|
30
|
+
"@smithy/middleware-stack": "^4.2.6",
|
|
31
|
+
"@smithy/protocol-http": "^5.3.6",
|
|
32
|
+
"@smithy/types": "^4.10.0",
|
|
33
|
+
"@smithy/util-stream": "^4.5.7",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|
|
@@ -134,3 +134,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
|
|
|
134
134
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
135
135
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
136
136
|
}
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* @deprecated use $ClientProtocolCtor.
|
|
140
|
+
*/
|
|
141
|
+
export interface ClientProtocolCtor<Request, Response> {
|
|
142
|
+
new (args: any): ClientProtocol<Request, Response>;
|
|
143
|
+
}
|
|
@@ -219,6 +219,12 @@ export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeCon
|
|
|
219
219
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
220
220
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
221
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
*/
|
|
225
|
+
export interface $ClientProtocolCtor<Request, Response> {
|
|
226
|
+
new (args: any): $ClientProtocol<Request, Response>;
|
|
227
|
+
}
|
|
222
228
|
/**
|
|
223
229
|
* Allows a protocol, codec, or serde utility to accept the serdeContext
|
|
224
230
|
* from a client configuration or request/response handlerExecutionContext.
|
|
@@ -140,3 +140,10 @@ export interface ClientProtocol<Request, Response> extends ConfigurableSerdeCont
|
|
|
140
140
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
141
141
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
142
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @deprecated use $ClientProtocolCtor.
|
|
146
|
+
*/
|
|
147
|
+
export interface ClientProtocolCtor<Request, Response> {
|
|
148
|
+
new (args: any): ClientProtocol<Request, Response>;
|
|
149
|
+
}
|
|
@@ -234,6 +234,12 @@ export interface $ClientProtocol<Request, Response> extends ConfigurableSerdeCon
|
|
|
234
234
|
updateServiceEndpoint(request: Request, endpoint: EndpointV2): Request;
|
|
235
235
|
deserializeResponse<Output extends MetadataBearer>(operationSchema: $OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: Response): Promise<Output>;
|
|
236
236
|
}
|
|
237
|
+
/**
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export interface $ClientProtocolCtor<Request, Response> {
|
|
241
|
+
new (args: any): $ClientProtocol<Request, Response>;
|
|
242
|
+
}
|
|
237
243
|
/**
|
|
238
244
|
* Allows a protocol, codec, or serde utility to accept the serdeContext
|
|
239
245
|
* from a client configuration or request/response handlerExecutionContext.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/url-parser",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/querystring-parser": "^4.2.
|
|
28
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/querystring-parser": "^4.2.6",
|
|
28
|
+
"@smithy/types": "^4.10.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"typesVersions": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.15",
|
|
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",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/property-provider": "^4.2.
|
|
28
|
-
"@smithy/smithy-client": "^4.
|
|
29
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/property-provider": "^4.2.6",
|
|
28
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
29
|
+
"@smithy/types": "^4.10.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.18",
|
|
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",
|
|
@@ -24,12 +24,12 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/config-resolver": "^4.4.
|
|
28
|
-
"@smithy/credential-provider-imds": "^4.2.
|
|
29
|
-
"@smithy/node-config-provider": "^4.3.
|
|
30
|
-
"@smithy/property-provider": "^4.2.
|
|
31
|
-
"@smithy/smithy-client": "^4.
|
|
32
|
-
"@smithy/types": "^4.
|
|
27
|
+
"@smithy/config-resolver": "^4.4.4",
|
|
28
|
+
"@smithy/credential-provider-imds": "^4.2.6",
|
|
29
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
30
|
+
"@smithy/property-provider": "^4.2.6",
|
|
31
|
+
"@smithy/smithy-client": "^4.10.1",
|
|
32
|
+
"@smithy/types": "^4.10.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-endpoints",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@smithy/node-config-provider": "^4.3.
|
|
33
|
-
"@smithy/types": "^4.
|
|
32
|
+
"@smithy/node-config-provider": "^4.3.6",
|
|
33
|
+
"@smithy/types": "^4.10.0",
|
|
34
34
|
"tslib": "^2.6.2"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-middleware",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/types": "^4.
|
|
31
|
+
"@smithy/types": "^4.10.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
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",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@smithy/service-error-classification": "^4.2.
|
|
35
|
-
"@smithy/types": "^4.
|
|
34
|
+
"@smithy/service-error-classification": "^4.2.6",
|
|
35
|
+
"@smithy/types": "^4.10.0",
|
|
36
36
|
"tslib": "^2.6.2"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-stream",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.7",
|
|
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-stream",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
33
|
-
"@smithy/node-http-handler": "^4.4.
|
|
34
|
-
"@smithy/types": "^4.
|
|
32
|
+
"@smithy/fetch-http-handler": "^5.3.7",
|
|
33
|
+
"@smithy/node-http-handler": "^4.4.6",
|
|
34
|
+
"@smithy/types": "^4.10.0",
|
|
35
35
|
"@smithy/util-base64": "^4.3.0",
|
|
36
36
|
"@smithy/util-buffer-from": "^4.2.0",
|
|
37
37
|
"@smithy/util-hex-encoding": "^4.2.0",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-waiter",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.6",
|
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@smithy/abort-controller": "^4.2.
|
|
7
|
-
"@smithy/types": "^4.
|
|
6
|
+
"@smithy/abort-controller": "^4.2.6",
|
|
7
|
+
"@smithy/types": "^4.10.0",
|
|
8
8
|
"tslib": "^2.6.2"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|