@cdklabs/cdk-ecs-codedeploy 0.0.370 → 0.0.372
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/client-codedeploy/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +2 -101
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +2 -140
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +2 -101
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +6 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +2 -140
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/defaultStsRoleAssumers.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +17 -4
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +7 -2
- 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/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +10 -2
- package/node_modules/@smithy/middleware-serde/dist-es/deserializerMiddleware.js +12 -2
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +3 -3
|
@@ -1,142 +1,4 @@
|
|
|
1
1
|
const F = "required", G = "type", H = "fn", I = "argv", J = "ref";
|
|
2
|
-
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, default: false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], assign: "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = {
|
|
3
|
-
|
|
4
|
-
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: g }] },
|
|
5
|
-
headers: {},
|
|
6
|
-
}, v = {}, w = { conditions: [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
7
|
-
const _data = {
|
|
8
|
-
version: "1.0",
|
|
9
|
-
parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n },
|
|
10
|
-
rules: [
|
|
11
|
-
{
|
|
12
|
-
conditions: [
|
|
13
|
-
{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] },
|
|
14
|
-
{ [H]: "not", [I]: C },
|
|
15
|
-
p,
|
|
16
|
-
r,
|
|
17
|
-
{ [H]: c, [I]: [s, a] },
|
|
18
|
-
{ [H]: c, [I]: [t, a] },
|
|
19
|
-
],
|
|
20
|
-
rules: [
|
|
21
|
-
{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h },
|
|
22
|
-
{ conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h },
|
|
23
|
-
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h },
|
|
24
|
-
{ conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h },
|
|
25
|
-
w,
|
|
26
|
-
{ conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h },
|
|
27
|
-
{ conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h },
|
|
28
|
-
{ conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h },
|
|
29
|
-
{ conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h },
|
|
30
|
-
{ conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h },
|
|
31
|
-
{ conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h },
|
|
32
|
-
{ conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h },
|
|
33
|
-
{ conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h },
|
|
34
|
-
{ conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h },
|
|
35
|
-
{ conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h },
|
|
36
|
-
{ conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h },
|
|
37
|
-
{
|
|
38
|
-
endpoint: {
|
|
39
|
-
url: i,
|
|
40
|
-
properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] },
|
|
41
|
-
headers: v,
|
|
42
|
-
},
|
|
43
|
-
[G]: h,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
[G]: j,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
conditions: C,
|
|
50
|
-
rules: [
|
|
51
|
-
{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k },
|
|
52
|
-
{ conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k },
|
|
53
|
-
{ endpoint: { url: o, properties: v, headers: v }, [G]: h },
|
|
54
|
-
],
|
|
55
|
-
[G]: j,
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
conditions: [p],
|
|
59
|
-
rules: [
|
|
60
|
-
{
|
|
61
|
-
conditions: [r],
|
|
62
|
-
rules: [
|
|
63
|
-
{
|
|
64
|
-
conditions: [x, y],
|
|
65
|
-
rules: [
|
|
66
|
-
{
|
|
67
|
-
conditions: [{ [H]: c, [I]: [b, z] }, B],
|
|
68
|
-
rules: [
|
|
69
|
-
{
|
|
70
|
-
endpoint: {
|
|
71
|
-
url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
72
|
-
properties: v,
|
|
73
|
-
headers: v,
|
|
74
|
-
},
|
|
75
|
-
[G]: h,
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
[G]: j,
|
|
79
|
-
},
|
|
80
|
-
{ error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k },
|
|
81
|
-
],
|
|
82
|
-
[G]: j,
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
conditions: D,
|
|
86
|
-
rules: [
|
|
87
|
-
{
|
|
88
|
-
conditions: [{ [H]: c, [I]: [z, b] }],
|
|
89
|
-
rules: [
|
|
90
|
-
{
|
|
91
|
-
conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }],
|
|
92
|
-
endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v },
|
|
93
|
-
[G]: h,
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
endpoint: {
|
|
97
|
-
url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
98
|
-
properties: v,
|
|
99
|
-
headers: v,
|
|
100
|
-
},
|
|
101
|
-
[G]: h,
|
|
102
|
-
},
|
|
103
|
-
],
|
|
104
|
-
[G]: j,
|
|
105
|
-
},
|
|
106
|
-
{ error: "FIPS is enabled but this partition does not support FIPS", [G]: k },
|
|
107
|
-
],
|
|
108
|
-
[G]: j,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
conditions: E,
|
|
112
|
-
rules: [
|
|
113
|
-
{
|
|
114
|
-
conditions: [B],
|
|
115
|
-
rules: [
|
|
116
|
-
{
|
|
117
|
-
endpoint: {
|
|
118
|
-
url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
119
|
-
properties: v,
|
|
120
|
-
headers: v,
|
|
121
|
-
},
|
|
122
|
-
[G]: h,
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
[G]: j,
|
|
126
|
-
},
|
|
127
|
-
{ error: "DualStack is enabled but this partition does not support DualStack", [G]: k },
|
|
128
|
-
],
|
|
129
|
-
[G]: j,
|
|
130
|
-
},
|
|
131
|
-
w,
|
|
132
|
-
{ endpoint: { url: i, properties: v, headers: v }, [G]: h },
|
|
133
|
-
],
|
|
134
|
-
[G]: j,
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
[G]: j,
|
|
138
|
-
},
|
|
139
|
-
{ error: "Invalid Configuration: Missing Region", [G]: k },
|
|
140
|
-
],
|
|
141
|
-
};
|
|
2
|
+
const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] };
|
|
142
4
|
export const ruleSet = _data;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export type RoleAssumer = (sourceCreds: AwsCredentialIdentity, params: AssumeRol
|
|
|
18
18
|
* The default role assumer that used by credential providers when sts:AssumeRole API is needed.
|
|
19
19
|
* @internal
|
|
20
20
|
*/
|
|
21
|
-
export declare const getDefaultRoleAssumer: (stsOptions: STSRoleAssumerOptions,
|
|
21
|
+
export declare const getDefaultRoleAssumer: (stsOptions: STSRoleAssumerOptions, STSClient: new (options: STSClientConfig) => STSClient) => RoleAssumer;
|
|
22
22
|
/**
|
|
23
23
|
* @internal
|
|
24
24
|
*/
|
|
@@ -27,7 +27,7 @@ export type RoleAssumerWithWebIdentity = (params: AssumeRoleWithWebIdentityComma
|
|
|
27
27
|
* The default role assumer that used by credential providers when sts:AssumeRoleWithWebIdentity API is needed.
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
|
-
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: STSRoleAssumerOptions,
|
|
30
|
+
export declare const getDefaultRoleAssumerWithWebIdentity: (stsOptions: STSRoleAssumerOptions, STSClient: new (options: STSClientConfig) => STSClient) => RoleAssumerWithWebIdentity;
|
|
31
31
|
/**
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
@@ -16,14 +16,14 @@ export type RoleAssumer = (
|
|
|
16
16
|
) => Promise<AwsCredentialIdentity>;
|
|
17
17
|
export declare const getDefaultRoleAssumer: (
|
|
18
18
|
stsOptions: STSRoleAssumerOptions,
|
|
19
|
-
|
|
19
|
+
STSClient: new (options: STSClientConfig) => STSClient
|
|
20
20
|
) => RoleAssumer;
|
|
21
21
|
export type RoleAssumerWithWebIdentity = (
|
|
22
22
|
params: AssumeRoleWithWebIdentityCommandInput
|
|
23
23
|
) => Promise<AwsCredentialIdentity>;
|
|
24
24
|
export declare const getDefaultRoleAssumerWithWebIdentity: (
|
|
25
25
|
stsOptions: STSRoleAssumerOptions,
|
|
26
|
-
|
|
26
|
+
STSClient: new (options: STSClientConfig) => STSClient
|
|
27
27
|
) => RoleAssumerWithWebIdentity;
|
|
28
28
|
export type DefaultCredentialProvider = (
|
|
29
29
|
input: any
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,40 +28,40 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
37
|
-
"@aws-sdk/types": "3.
|
|
38
|
-
"@aws-sdk/util-endpoints": "3.
|
|
39
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
41
|
-
"@smithy/config-resolver": "^4.0.
|
|
42
|
-
"@smithy/core": "^3.
|
|
43
|
-
"@smithy/fetch-http-handler": "^5.0.
|
|
44
|
-
"@smithy/hash-node": "^4.0.
|
|
45
|
-
"@smithy/invalid-dependency": "^4.0.
|
|
46
|
-
"@smithy/middleware-content-length": "^4.0.
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
48
|
-
"@smithy/middleware-retry": "^4.0.
|
|
49
|
-
"@smithy/middleware-serde": "^4.0.
|
|
50
|
-
"@smithy/middleware-stack": "^4.0.
|
|
51
|
-
"@smithy/node-config-provider": "^4.0.
|
|
52
|
-
"@smithy/node-http-handler": "^4.0.
|
|
53
|
-
"@smithy/protocol-http": "^5.0.
|
|
54
|
-
"@smithy/smithy-client": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
56
|
-
"@smithy/url-parser": "^4.0.
|
|
31
|
+
"@aws-sdk/core": "3.734.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.734.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.734.0",
|
|
36
|
+
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
37
|
+
"@aws-sdk/types": "3.734.0",
|
|
38
|
+
"@aws-sdk/util-endpoints": "3.734.0",
|
|
39
|
+
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.734.0",
|
|
41
|
+
"@smithy/config-resolver": "^4.0.1",
|
|
42
|
+
"@smithy/core": "^3.1.1",
|
|
43
|
+
"@smithy/fetch-http-handler": "^5.0.1",
|
|
44
|
+
"@smithy/hash-node": "^4.0.1",
|
|
45
|
+
"@smithy/invalid-dependency": "^4.0.1",
|
|
46
|
+
"@smithy/middleware-content-length": "^4.0.1",
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.0.2",
|
|
48
|
+
"@smithy/middleware-retry": "^4.0.3",
|
|
49
|
+
"@smithy/middleware-serde": "^4.0.1",
|
|
50
|
+
"@smithy/middleware-stack": "^4.0.1",
|
|
51
|
+
"@smithy/node-config-provider": "^4.0.1",
|
|
52
|
+
"@smithy/node-http-handler": "^4.0.2",
|
|
53
|
+
"@smithy/protocol-http": "^5.0.1",
|
|
54
|
+
"@smithy/smithy-client": "^4.1.2",
|
|
55
|
+
"@smithy/types": "^4.1.0",
|
|
56
|
+
"@smithy/url-parser": "^4.0.1",
|
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
62
|
-
"@smithy/util-endpoints": "^3.0.
|
|
63
|
-
"@smithy/util-middleware": "^4.0.
|
|
64
|
-
"@smithy/util-retry": "^4.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.3",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.3",
|
|
62
|
+
"@smithy/util-endpoints": "^3.0.1",
|
|
63
|
+
"@smithy/util-middleware": "^4.0.1",
|
|
64
|
+
"@smithy/util-retry": "^4.0.1",
|
|
65
65
|
"@smithy/util-utf8": "^4.0.0",
|
|
66
66
|
"tslib": "^2.6.2"
|
|
67
67
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/region-config-resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline region-config-resolver",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
|
27
|
-
"@smithy/types": "^4.
|
|
25
|
+
"@aws-sdk/types": "3.734.0",
|
|
26
|
+
"@smithy/node-config-provider": "^4.0.1",
|
|
27
|
+
"@smithy/types": "^4.1.0",
|
|
28
28
|
"@smithy/util-config-provider": "^4.0.0",
|
|
29
|
-
"@smithy/util-middleware": "^4.0.
|
|
29
|
+
"@smithy/util-middleware": "^4.0.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/token-providers",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"description": "A collection of token providers",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@smithy/property-provider": "^4.0.
|
|
33
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
|
34
|
-
"@smithy/types": "^4.
|
|
30
|
+
"@aws-sdk/nested-clients": "3.734.0",
|
|
31
|
+
"@aws-sdk/types": "3.734.0",
|
|
32
|
+
"@smithy/property-provider": "^4.0.1",
|
|
33
|
+
"@smithy/shared-ini-file-loader": "^4.0.1",
|
|
34
|
+
"@smithy/types": "^4.1.0",
|
|
35
35
|
"tslib": "^2.6.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -1,18 +1,31 @@
|
|
|
1
|
-
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Logger, RequestHandler } from "@smithy/types";
|
|
2
2
|
import type { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
3
3
|
export { AwsCredentialIdentity, AwsCredentialIdentityProvider, IdentityProvider } from "@smithy/types";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export interface AwsIdentityProperties {
|
|
8
|
+
/**
|
|
9
|
+
* These are resolved client config values, and may be async providers.
|
|
10
|
+
*/
|
|
8
11
|
callerClientConfig?: {
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
/**
|
|
13
|
+
* It is likely a programming error if you use
|
|
14
|
+
* the caller client config credentials in a credential provider, since
|
|
15
|
+
* it will recurse.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated do not use.
|
|
18
|
+
*/
|
|
19
|
+
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
11
20
|
/**
|
|
12
21
|
* @internal
|
|
13
|
-
* @deprecated
|
|
22
|
+
* @deprecated minimize use.
|
|
14
23
|
*/
|
|
15
24
|
credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider;
|
|
25
|
+
logger?: Logger;
|
|
26
|
+
profile?: string;
|
|
27
|
+
region(): Promise<string>;
|
|
28
|
+
requestHandler?: RequestHandler<any, any>;
|
|
16
29
|
};
|
|
17
30
|
}
|
|
18
31
|
/**
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AwsCredentialIdentity,
|
|
3
3
|
AwsCredentialIdentityProvider,
|
|
4
|
+
Logger,
|
|
5
|
+
RequestHandler,
|
|
4
6
|
} from "@smithy/types";
|
|
5
7
|
import { AwsSdkCredentialsFeatures } from "../feature-ids";
|
|
6
8
|
export {
|
|
@@ -10,9 +12,12 @@ export {
|
|
|
10
12
|
} from "@smithy/types";
|
|
11
13
|
export interface AwsIdentityProperties {
|
|
12
14
|
callerClientConfig?: {
|
|
13
|
-
|
|
14
|
-
profile?: string;
|
|
15
|
+
credentials?: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
15
16
|
credentialDefaultProvider?: (input?: any) => AwsCredentialIdentityProvider;
|
|
17
|
+
logger?: Logger;
|
|
18
|
+
profile?: string;
|
|
19
|
+
region(): Promise<string>;
|
|
20
|
+
requestHandler?: RequestHandler<any, any>;
|
|
16
21
|
};
|
|
17
22
|
}
|
|
18
23
|
export type RuntimeConfigIdentityProvider<T> = (
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/types",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"main": "./dist-cjs/index.js",
|
|
5
5
|
"module": "./dist-es/index.js",
|
|
6
6
|
"types": "./dist-types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"directory": "packages/types"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@smithy/types": "^4.
|
|
44
|
+
"@smithy/types": "^4.1.0",
|
|
45
45
|
"tslib": "^2.6.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-endpoints",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"description": "Utilities to help with endpoint resolution",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@aws-sdk/types": "3.
|
|
28
|
-
"@smithy/types": "^4.
|
|
29
|
-
"@smithy/util-endpoints": "^3.0.
|
|
27
|
+
"@aws-sdk/types": "3.734.0",
|
|
28
|
+
"@smithy/types": "^4.1.0",
|
|
29
|
+
"@smithy/util-endpoints": "^3.0.1",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-browser",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"react-native": "dist-es/index.native.js",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/types": "3.
|
|
27
|
-
"@smithy/types": "^4.
|
|
26
|
+
"@aws-sdk/types": "3.734.0",
|
|
27
|
+
"@smithy/types": "^4.1.0",
|
|
28
28
|
"bowser": "^2.11.0",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.734.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
-
"@aws-sdk/types": "3.
|
|
26
|
-
"@smithy/node-config-provider": "^4.0.
|
|
27
|
-
"@smithy/types": "^4.
|
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.734.0",
|
|
25
|
+
"@aws-sdk/types": "3.734.0",
|
|
26
|
+
"@smithy/node-config-provider": "^4.0.1",
|
|
27
|
+
"@smithy/types": "^4.1.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/core",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline core",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"license": "Apache-2.0",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@smithy/middleware-serde": "^4.0.
|
|
57
|
+
"@smithy/middleware-serde": "^4.0.2",
|
|
58
58
|
"@smithy/protocol-http": "^5.0.1",
|
|
59
59
|
"@smithy/types": "^4.1.0",
|
|
60
60
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
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-endpoint",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^3.1.
|
|
28
|
-
"@smithy/middleware-serde": "^4.0.
|
|
27
|
+
"@smithy/core": "^3.1.2",
|
|
28
|
+
"@smithy/middleware-serde": "^4.0.2",
|
|
29
29
|
"@smithy/node-config-provider": "^4.0.1",
|
|
30
30
|
"@smithy/shared-ini-file-loader": "^4.0.1",
|
|
31
31
|
"@smithy/types": "^4.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-retry",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@smithy/node-config-provider": "^4.0.1",
|
|
37
37
|
"@smithy/protocol-http": "^5.0.1",
|
|
38
38
|
"@smithy/service-error-classification": "^4.0.1",
|
|
39
|
-
"@smithy/smithy-client": "^4.1.
|
|
39
|
+
"@smithy/smithy-client": "^4.1.3",
|
|
40
40
|
"@smithy/types": "^4.1.0",
|
|
41
41
|
"@smithy/util-middleware": "^4.0.1",
|
|
42
42
|
"@smithy/util-retry": "^4.0.1",
|
|
@@ -29,7 +29,7 @@ __export(src_exports, {
|
|
|
29
29
|
module.exports = __toCommonJS(src_exports);
|
|
30
30
|
|
|
31
31
|
// src/deserializerMiddleware.ts
|
|
32
|
-
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next) => async (args) => {
|
|
32
|
+
var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next, context) => async (args) => {
|
|
33
33
|
const { response } = await next(args);
|
|
34
34
|
try {
|
|
35
35
|
const parsed = await deserializer(response, options);
|
|
@@ -43,7 +43,15 @@ var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (
|
|
|
43
43
|
});
|
|
44
44
|
if (!("$metadata" in error)) {
|
|
45
45
|
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
46
|
-
|
|
46
|
+
try {
|
|
47
|
+
error.message += "\n " + hint;
|
|
48
|
+
} catch (e) {
|
|
49
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
50
|
+
console.warn(hint);
|
|
51
|
+
} else {
|
|
52
|
+
context.logger?.warn?.(hint);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
47
55
|
if (typeof error.$responseBodyText !== "undefined") {
|
|
48
56
|
if (error.$response) {
|
|
49
57
|
error.$response.body = error.$responseBodyText;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const deserializerMiddleware = (options, deserializer) => (next) => async (args) => {
|
|
1
|
+
export const deserializerMiddleware = (options, deserializer) => (next, context) => async (args) => {
|
|
2
2
|
const { response } = await next(args);
|
|
3
3
|
try {
|
|
4
4
|
const parsed = await deserializer(response, options);
|
|
@@ -13,7 +13,17 @@ export const deserializerMiddleware = (options, deserializer) => (next) => async
|
|
|
13
13
|
});
|
|
14
14
|
if (!("$metadata" in error)) {
|
|
15
15
|
const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;
|
|
16
|
-
|
|
16
|
+
try {
|
|
17
|
+
error.message += "\n " + hint;
|
|
18
|
+
}
|
|
19
|
+
catch (e) {
|
|
20
|
+
if (!context.logger || context.logger?.constructor?.name === "NoOpLogger") {
|
|
21
|
+
console.warn(hint);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
context.logger?.warn?.(hint);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
17
27
|
if (typeof error.$responseBodyText !== "undefined") {
|
|
18
28
|
if (error.$response) {
|
|
19
29
|
error.$response.body = error.$responseBodyText;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/middleware-serde",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
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",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
14
14
|
"test": "yarn g:vitest run",
|
|
15
15
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
|
16
16
|
"test:watch": "yarn g:vitest watch",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
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",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^3.1.
|
|
28
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
27
|
+
"@smithy/core": "^3.1.2",
|
|
28
|
+
"@smithy/middleware-endpoint": "^4.0.3",
|
|
29
29
|
"@smithy/middleware-stack": "^4.0.1",
|
|
30
30
|
"@smithy/protocol-http": "^5.0.1",
|
|
31
31
|
"@smithy/types": "^4.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
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,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@smithy/property-provider": "^4.0.1",
|
|
27
|
-
"@smithy/smithy-client": "^4.1.
|
|
27
|
+
"@smithy/smithy-client": "^4.1.3",
|
|
28
28
|
"@smithy/types": "^4.1.0",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|