@cdk8s/awscdk-resolver 0.0.305 → 0.0.307
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/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +66 -36
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +2 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +2 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +20 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QuerySerializerSettings.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +16 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +2 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +10 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +5 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +13 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +5 -3
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +9 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +9 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/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 +4 -4
@@ -159,12 +159,7 @@ export class HttpBindingProtocol extends HttpProtocol {
|
|
159
159
|
delete response.headers[header];
|
160
160
|
response.headers[header.toLowerCase()] = value;
|
161
161
|
}
|
162
|
-
const
|
163
|
-
.map((schema) => {
|
164
|
-
return schema.getMergedTraits().httpHeader;
|
165
|
-
})
|
166
|
-
.filter(Boolean));
|
167
|
-
const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, headerBindings, dataObject);
|
162
|
+
const nonHttpBindingMembers = await this.deserializeHttpMessage(ns, context, response, dataObject);
|
168
163
|
if (nonHttpBindingMembers.length) {
|
169
164
|
const bytes = await collectBody(response.body, context);
|
170
165
|
if (bytes.byteLength > 0) {
|
@@ -75,7 +75,14 @@ export class HttpProtocol {
|
|
75
75
|
cfId: output.headers["x-amz-cf-id"],
|
76
76
|
};
|
77
77
|
}
|
78
|
-
async deserializeHttpMessage(schema, context, response,
|
78
|
+
async deserializeHttpMessage(schema, context, response, arg4, arg5) {
|
79
|
+
let dataObject;
|
80
|
+
if (arg4 instanceof Set) {
|
81
|
+
dataObject = arg5;
|
82
|
+
}
|
83
|
+
else {
|
84
|
+
dataObject = arg4;
|
85
|
+
}
|
79
86
|
const deserializer = this.deserializer;
|
80
87
|
const ns = NormalizedSchema.of(schema);
|
81
88
|
const nonHttpBindingMembers = [];
|
@@ -147,7 +154,7 @@ export class HttpProtocol {
|
|
147
154
|
else if (memberTraits.httpPrefixHeaders !== undefined) {
|
148
155
|
dataObject[memberName] = {};
|
149
156
|
for (const [header, value] of Object.entries(response.headers)) {
|
150
|
-
if (
|
157
|
+
if (header.startsWith(memberTraits.httpPrefixHeaders)) {
|
151
158
|
dataObject[memberName][header.slice(memberTraits.httpPrefixHeaders.length)] = await deserializer.read([memberSchema.getValueSchema(), { httpHeader: header }], value);
|
152
159
|
}
|
153
160
|
}
|
@@ -23,7 +23,7 @@ export class TypeRegistry {
|
|
23
23
|
}
|
24
24
|
getBaseException() {
|
25
25
|
for (const [id, schema] of this.schemas.entries()) {
|
26
|
-
if (id.startsWith("
|
26
|
+
if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) {
|
27
27
|
return schema;
|
28
28
|
}
|
29
29
|
}
|
@@ -261,6 +261,9 @@ export class NormalizedSchema {
|
|
261
261
|
return {};
|
262
262
|
}
|
263
263
|
*structIterator() {
|
264
|
+
if (this.isUnitSchema()) {
|
265
|
+
return;
|
266
|
+
}
|
264
267
|
if (!this.isStructSchema()) {
|
265
268
|
throw new Error("@smithy/core/schema - cannot acquire structIterator on non-struct schema.");
|
266
269
|
}
|
@@ -25,5 +25,9 @@ export declare abstract class HttpProtocol implements ClientProtocol<IHttpReques
|
|
25
25
|
protected setHostPrefix<Input extends object>(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void;
|
26
26
|
protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
27
27
|
protected deserializeMetadata(output: IHttpResponse): ResponseMetadata;
|
28
|
+
/**
|
29
|
+
* @deprecated use signature without headerBindings.
|
30
|
+
*/
|
28
31
|
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
|
32
|
+
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
|
29
33
|
}
|
@@ -25,5 +25,9 @@ export declare abstract class HttpProtocol implements ClientProtocol<IHttpReques
|
|
25
25
|
protected setHostPrefix<Input extends object>(request: IHttpRequest, operationSchema: OperationSchema, input: Input): void;
|
26
26
|
protected abstract handleError(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any, metadata: ResponseMetadata): Promise<never>;
|
27
27
|
protected deserializeMetadata(output: IHttpResponse): ResponseMetadata;
|
28
|
+
/**
|
29
|
+
* @deprecated use signature without headerBindings.
|
30
|
+
*/
|
28
31
|
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, headerBindings: Set<string>, dataObject: any): Promise<string[]>;
|
32
|
+
protected deserializeHttpMessage(schema: Schema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse, dataObject: any): Promise<string[]>;
|
29
33
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.11",
|
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,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.5.
|
27
|
+
"@smithy/core": "^3.5.3",
|
28
28
|
"@smithy/middleware-serde": "^4.0.8",
|
29
29
|
"@smithy/node-config-provider": "^4.1.3",
|
30
30
|
"@smithy/shared-ini-file-loader": "^4.0.4",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.12",
|
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.1.3",
|
37
37
|
"@smithy/protocol-http": "^5.1.2",
|
38
38
|
"@smithy/service-error-classification": "^4.0.5",
|
39
|
-
"@smithy/smithy-client": "^4.4.
|
39
|
+
"@smithy/smithy-client": "^4.4.3",
|
40
40
|
"@smithy/types": "^4.3.1",
|
41
41
|
"@smithy/util-middleware": "^4.0.4",
|
42
42
|
"@smithy/util-retry": "^4.0.5",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "4.4.
|
3
|
+
"version": "4.4.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.5.
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
27
|
+
"@smithy/core": "^3.5.3",
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.11",
|
29
29
|
"@smithy/middleware-stack": "^4.0.4",
|
30
30
|
"@smithy/protocol-http": "^5.1.2",
|
31
31
|
"@smithy/types": "^4.3.1",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.19",
|
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.4",
|
27
|
-
"@smithy/smithy-client": "^4.4.
|
27
|
+
"@smithy/smithy-client": "^4.4.3",
|
28
28
|
"@smithy/types": "^4.3.1",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.19",
|
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",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@smithy/credential-provider-imds": "^4.0.6",
|
28
28
|
"@smithy/node-config-provider": "^4.1.3",
|
29
29
|
"@smithy/property-provider": "^4.0.4",
|
30
|
-
"@smithy/smithy-client": "^4.4.
|
30
|
+
"@smithy/smithy-client": "^4.4.3",
|
31
31
|
"@smithy/types": "^4.3.1",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
package/package.json
CHANGED
@@ -49,10 +49,10 @@
|
|
49
49
|
"@types/node": "16.18.78",
|
50
50
|
"@typescript-eslint/eslint-plugin": "^8",
|
51
51
|
"@typescript-eslint/parser": "^8",
|
52
|
-
"aws-cdk": "^2.
|
52
|
+
"aws-cdk": "^2.1018.0",
|
53
53
|
"aws-cdk-lib": "2.195.0",
|
54
54
|
"cdk8s": "2.68.91",
|
55
|
-
"cdk8s-cli": "^2.200.
|
55
|
+
"cdk8s-cli": "^2.200.91",
|
56
56
|
"commit-and-tag-version": "^12",
|
57
57
|
"constructs": "10.3.0",
|
58
58
|
"eslint": "^9",
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.825.0"
|
81
81
|
},
|
82
82
|
"bundledDependencies": [
|
83
83
|
"@aws-sdk/client-cloudformation"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"publishConfig": {
|
94
94
|
"access": "public"
|
95
95
|
},
|
96
|
-
"version": "0.0.
|
96
|
+
"version": "0.0.307",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|