@cdk8s/awscdk-resolver 0.0.479 → 0.0.480

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.
Files changed (31) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/package.json +2 -2
  5. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +13 -10
  6. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -0
  7. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +24 -5
  8. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
  9. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +6 -1
  10. package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
  11. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  12. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  13. package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
  14. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
  15. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
  16. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
  17. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
  18. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
  19. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
  20. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
  21. package/node_modules/@smithy/core/package.json +2 -2
  22. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  23. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  24. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +9 -2
  25. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +9 -2
  26. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  27. package/node_modules/@smithy/smithy-client/package.json +4 -4
  28. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  29. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  30. package/node_modules/@smithy/util-stream/package.json +2 -2
  31. package/package.json +3 -3
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.986.0"
10
+ "@aws-sdk/client-cloudformation": "^3.987.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4082,6 +4082,6 @@
4082
4082
  "symbolId": "src/resolve:AwsCdkResolver"
4083
4083
  }
4084
4084
  },
4085
- "version": "0.0.479",
4086
- "fingerprint": "PcsmDJLhz1iuCn7z8PdWb0zyKFT6kZNtW4Esv2LYTSM="
4085
+ "version": "0.0.480",
4086
+ "fingerprint": "n69Akgd5l9G+Npjj5/9LaheB/Vm3Q8Sh8fXr+WfF1eM="
4087
4087
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.479" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.480" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic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IgZGlkbid0IGRlZmluZSBhbiBvdXRwdXQuXG4gICAgLy8gIDIuIE91dHB1dCB3YXMgZGVmaW5lZCBpbiBhIGRpZmZlcmVudCBzdGFjayB0aGFuIHRoZSB0b2tlbnMgY29tcHJpc2luZyBpdHMgdmFsdWUuXG4gICAgLy8gIDMuIE5vbmUgb2YgdGhlIHRva2VucyBjb21wcmlzaW5nIHRoZSB2YWx1ZSBhcmUgYSBSZWZlcmVuY2UuXG4gICAgdGhyb3cgbmV3IEVycm9yKGBVbmFibGUgdG8gZmluZCBvdXRwdXQgZGVmaW5lZCBmb3IgJHt2YWx1ZX0gKEluc3BlY3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.986.0",
3
+ "version": "3.987.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.986.0",
4
+ "version": "3.987.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/middleware-user-agent": "^3.972.7",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.986.0",
34
+ "@aws-sdk/util-endpoints": "3.987.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
36
  "@aws-sdk/util-user-agent-node": "^3.972.5",
37
37
  "@smithy/config-resolver": "^4.4.6",
@@ -990,8 +990,8 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
990
990
  codec = new CborCodec();
991
991
  serializer = this.codec.createSerializer();
992
992
  deserializer = this.codec.createDeserializer();
993
- constructor({ defaultNamespace }) {
994
- super({ defaultNamespace });
993
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
994
+ super({ defaultNamespace, errorTypeRegistries });
995
995
  }
996
996
  getShapeId() {
997
997
  return "smithy.protocols#rpcv2Cbor";
@@ -1035,15 +1035,17 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1035
1035
  }
1036
1036
  async handleError(operationSchema, context, response, dataObject, metadata) {
1037
1037
  const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
1038
- let namespace = this.options.defaultNamespace;
1039
- if (errorName.includes("#")) {
1040
- [namespace] = errorName.split("#");
1041
- }
1042
1038
  const errorMetadata = {
1043
1039
  $metadata: metadata,
1044
1040
  $fault: response.statusCode <= 500 ? "client" : "server",
1045
1041
  };
1046
- const registry = schema.TypeRegistry.for(namespace);
1042
+ let namespace = this.options.defaultNamespace;
1043
+ if (errorName.includes("#")) {
1044
+ [namespace] = errorName.split("#");
1045
+ }
1046
+ const registry = this.compositeErrorRegistry;
1047
+ const nsRegistry = schema.TypeRegistry.for(namespace);
1048
+ registry.copyFrom(nsRegistry);
1047
1049
  let errorSchema;
1048
1050
  try {
1049
1051
  errorSchema = registry.getSchema(errorName);
@@ -1052,10 +1054,11 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1052
1054
  if (dataObject.Message) {
1053
1055
  dataObject.message = dataObject.Message;
1054
1056
  }
1055
- const synthetic = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
1056
- const baseExceptionSchema = synthetic.getBaseException();
1057
+ const syntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
1058
+ registry.copyFrom(syntheticRegistry);
1059
+ const baseExceptionSchema = registry.getBaseException();
1057
1060
  if (baseExceptionSchema) {
1058
- const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema);
1061
+ const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
1059
1062
  throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
1060
1063
  }
1061
1064
  throw Object.assign(new Error(errorName), errorMetadata, dataObject);
@@ -33,9 +33,14 @@ class SerdeContext {
33
33
 
34
34
  class HttpProtocol extends SerdeContext {
35
35
  options;
36
+ compositeErrorRegistry;
36
37
  constructor(options) {
37
38
  super();
38
39
  this.options = options;
40
+ this.compositeErrorRegistry = schema.TypeRegistry.for(options.defaultNamespace);
41
+ for (const etr of options.errorTypeRegistries ?? []) {
42
+ this.compositeErrorRegistry.copyFrom(etr);
43
+ }
39
44
  }
40
45
  getRequestType() {
41
46
  return protocolHttp.HttpRequest;
@@ -566,10 +566,24 @@ class TypeRegistry {
566
566
  }
567
567
  return TypeRegistry.registries.get(namespace);
568
568
  }
569
+ copyFrom(other) {
570
+ const { schemas, exceptions } = this;
571
+ for (const [k, v] of other.schemas) {
572
+ if (!schemas.has(k)) {
573
+ schemas.set(k, v);
574
+ }
575
+ }
576
+ for (const [k, v] of other.exceptions) {
577
+ if (!exceptions.has(k)) {
578
+ exceptions.set(k, v);
579
+ }
580
+ }
581
+ }
569
582
  register(shapeId, schema) {
570
583
  const qualifiedName = this.normalizeShapeId(shapeId);
571
- const registry = TypeRegistry.for(qualifiedName.split("#")[0]);
572
- registry.schemas.set(qualifiedName, schema);
584
+ for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) {
585
+ r.schemas.set(qualifiedName, schema);
586
+ }
573
587
  }
574
588
  getSchema(shapeId) {
575
589
  const id = this.normalizeShapeId(shapeId);
@@ -580,12 +594,17 @@ class TypeRegistry {
580
594
  }
581
595
  registerError(es, ctor) {
582
596
  const $error = es;
583
- const registry = TypeRegistry.for($error[1]);
584
- registry.schemas.set($error[1] + "#" + $error[2], $error);
585
- registry.exceptions.set($error, ctor);
597
+ const ns = $error[1];
598
+ for (const r of [this, TypeRegistry.for(ns)]) {
599
+ r.schemas.set(ns + "#" + $error[2], $error);
600
+ r.exceptions.set($error, ctor);
601
+ }
586
602
  }
587
603
  getErrorCtor(es) {
588
604
  const $error = es;
605
+ if (this.exceptions.has($error)) {
606
+ return this.exceptions.get($error);
607
+ }
589
608
  const registry = TypeRegistry.for($error[1]);
590
609
  return registry.exceptions.get($error);
591
610
  }
@@ -1,5 +1,6 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
- import { deref, NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
2
+ import { TypeRegistry } from "@smithy/core/schema";
3
+ import { deref, NormalizedSchema } from "@smithy/core/schema";
3
4
  import { getSmithyContext } from "@smithy/util-middleware";
4
5
  import { CborCodec } from "./CborCodec";
5
6
  import { loadSmithyRpcV2CborErrorCode } from "./parseCborBody";
@@ -7,8 +8,8 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
7
8
  codec = new CborCodec();
8
9
  serializer = this.codec.createSerializer();
9
10
  deserializer = this.codec.createDeserializer();
10
- constructor({ defaultNamespace }) {
11
- super({ defaultNamespace });
11
+ constructor({ defaultNamespace, errorTypeRegistries, }) {
12
+ super({ defaultNamespace, errorTypeRegistries });
12
13
  }
13
14
  getShapeId() {
14
15
  return "smithy.protocols#rpcv2Cbor";
@@ -52,15 +53,17 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
52
53
  }
53
54
  async handleError(operationSchema, context, response, dataObject, metadata) {
54
55
  const errorName = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
55
- let namespace = this.options.defaultNamespace;
56
- if (errorName.includes("#")) {
57
- [namespace] = errorName.split("#");
58
- }
59
56
  const errorMetadata = {
60
57
  $metadata: metadata,
61
58
  $fault: response.statusCode <= 500 ? "client" : "server",
62
59
  };
63
- const registry = TypeRegistry.for(namespace);
60
+ let namespace = this.options.defaultNamespace;
61
+ if (errorName.includes("#")) {
62
+ [namespace] = errorName.split("#");
63
+ }
64
+ const registry = this.compositeErrorRegistry;
65
+ const nsRegistry = TypeRegistry.for(namespace);
66
+ registry.copyFrom(nsRegistry);
64
67
  let errorSchema;
65
68
  try {
66
69
  errorSchema = registry.getSchema(errorName);
@@ -69,10 +72,11 @@ export class SmithyRpcV2CborProtocol extends RpcProtocol {
69
72
  if (dataObject.Message) {
70
73
  dataObject.message = dataObject.Message;
71
74
  }
72
- const synthetic = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
73
- const baseExceptionSchema = synthetic.getBaseException();
75
+ const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
76
+ registry.copyFrom(syntheticRegistry);
77
+ const baseExceptionSchema = registry.getBaseException();
74
78
  if (baseExceptionSchema) {
75
- const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema);
79
+ const ErrorCtor = registry.getErrorCtor(baseExceptionSchema);
76
80
  throw Object.assign(new ErrorCtor({ name: errorName }), errorMetadata, dataObject);
77
81
  }
78
82
  throw Object.assign(new Error(errorName), errorMetadata, dataObject);
@@ -1,11 +1,16 @@
1
- import { NormalizedSchema, translateTraits } from "@smithy/core/schema";
1
+ import { NormalizedSchema, translateTraits, TypeRegistry } from "@smithy/core/schema";
2
2
  import { HttpRequest, HttpResponse } from "@smithy/protocol-http";
3
3
  import { SerdeContext } from "./SerdeContext";
4
4
  export class HttpProtocol extends SerdeContext {
5
5
  options;
6
+ compositeErrorRegistry;
6
7
  constructor(options) {
7
8
  super();
8
9
  this.options = options;
10
+ this.compositeErrorRegistry = TypeRegistry.for(options.defaultNamespace);
11
+ for (const etr of options.errorTypeRegistries ?? []) {
12
+ this.compositeErrorRegistry.copyFrom(etr);
13
+ }
9
14
  }
10
15
  getRequestType() {
11
16
  return HttpRequest;
@@ -14,10 +14,24 @@ export class TypeRegistry {
14
14
  }
15
15
  return TypeRegistry.registries.get(namespace);
16
16
  }
17
+ copyFrom(other) {
18
+ const { schemas, exceptions } = this;
19
+ for (const [k, v] of other.schemas) {
20
+ if (!schemas.has(k)) {
21
+ schemas.set(k, v);
22
+ }
23
+ }
24
+ for (const [k, v] of other.exceptions) {
25
+ if (!exceptions.has(k)) {
26
+ exceptions.set(k, v);
27
+ }
28
+ }
29
+ }
17
30
  register(shapeId, schema) {
18
31
  const qualifiedName = this.normalizeShapeId(shapeId);
19
- const registry = TypeRegistry.for(qualifiedName.split("#")[0]);
20
- registry.schemas.set(qualifiedName, schema);
32
+ for (const r of [this, TypeRegistry.for(qualifiedName.split("#")[0])]) {
33
+ r.schemas.set(qualifiedName, schema);
34
+ }
21
35
  }
22
36
  getSchema(shapeId) {
23
37
  const id = this.normalizeShapeId(shapeId);
@@ -28,12 +42,17 @@ export class TypeRegistry {
28
42
  }
29
43
  registerError(es, ctor) {
30
44
  const $error = es;
31
- const registry = TypeRegistry.for($error[1]);
32
- registry.schemas.set($error[1] + "#" + $error[2], $error);
33
- registry.exceptions.set($error, ctor);
45
+ const ns = $error[1];
46
+ for (const r of [this, TypeRegistry.for(ns)]) {
47
+ r.schemas.set(ns + "#" + $error[2], $error);
48
+ r.exceptions.set($error, ctor);
49
+ }
34
50
  }
35
51
  getErrorCtor(es) {
36
52
  const $error = es;
53
+ if (this.exceptions.has($error)) {
54
+ return this.exceptions.get($error);
55
+ }
37
56
  const registry = TypeRegistry.for($error[1]);
38
57
  return registry.exceptions.get($error);
39
58
  }
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
3
4
  import { CborCodec } from "./CborCodec";
4
5
  /**
@@ -7,11 +8,16 @@ import { CborCodec } from "./CborCodec";
7
8
  * @public
8
9
  */
9
10
  export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
11
+ /**
12
+ * @override
13
+ */
14
+ protected compositeErrorRegistry: TypeRegistry;
10
15
  private codec;
11
16
  protected serializer: import("./CborCodec").CborShapeSerializer;
12
17
  protected deserializer: import("./CborCodec").CborShapeDeserializer;
13
- constructor({ defaultNamespace }: {
18
+ constructor({ defaultNamespace, errorTypeRegistries, }: {
14
19
  defaultNamespace: string;
20
+ errorTypeRegistries?: TypeRegistry[];
15
21
  });
16
22
  getShapeId(): string;
17
23
  getPayloadCodec(): CborCodec;
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
1
+ import { type TypeRegistry, NormalizedSchema } from "@smithy/core/schema";
2
2
  import { HttpRequest } from "@smithy/protocol-http";
3
3
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types";
4
4
  import { HttpProtocol } from "./HttpProtocol";
@@ -9,6 +9,10 @@ import { HttpProtocol } from "./HttpProtocol";
9
9
  * @public
10
10
  */
11
11
  export declare abstract class HttpBindingProtocol extends HttpProtocol {
12
+ /**
13
+ * @override
14
+ */
15
+ protected compositeErrorRegistry: TypeRegistry;
12
16
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
13
17
  protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void;
14
18
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
@@ -1,5 +1,5 @@
1
1
  import type { EventStreamSerde } from "@smithy/core/event-streams";
2
- import { NormalizedSchema } from "@smithy/core/schema";
2
+ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
3
3
  import type { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
4
4
  import { SerdeContext } from "./SerdeContext";
5
5
  /**
@@ -10,11 +10,24 @@ import { SerdeContext } from "./SerdeContext";
10
10
  export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
11
11
  readonly options: {
12
12
  defaultNamespace: string;
13
+ errorTypeRegistries?: TypeRegistry[];
13
14
  };
15
+ /**
16
+ * An error registry having the namespace of the modeled service,
17
+ * but combining all error schemas found within the service closure.
18
+ *
19
+ * Used to look up error schema during deserialization.
20
+ */
21
+ protected compositeErrorRegistry: TypeRegistry;
14
22
  protected abstract serializer: ShapeSerializer<string | Uint8Array>;
15
23
  protected abstract deserializer: ShapeDeserializer<string | Uint8Array>;
24
+ /**
25
+ * @param options.defaultNamespace - used by various implementing classes.
26
+ * @param options.errorTypeRegistries - registry instances that contribute to error deserialization.
27
+ */
16
28
  protected constructor(options: {
17
29
  defaultNamespace: string;
30
+ errorTypeRegistries?: TypeRegistry[];
18
31
  });
19
32
  abstract getShapeId(): string;
20
33
  abstract getPayloadCodec(): Codec<any, any>;
@@ -1,3 +1,4 @@
1
+ import { type TypeRegistry } from "@smithy/core/schema";
1
2
  import type { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types";
2
3
  import { HttpProtocol } from "./HttpProtocol";
3
4
  /**
@@ -6,6 +7,10 @@ import { HttpProtocol } from "./HttpProtocol";
6
7
  * @public
7
8
  */
8
9
  export declare abstract class RpcProtocol extends HttpProtocol {
10
+ /**
11
+ * @override
12
+ */
13
+ protected compositeErrorRegistry: TypeRegistry;
9
14
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
10
15
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
11
16
  }
@@ -17,7 +17,14 @@ export declare class TypeRegistry {
17
17
  */
18
18
  static for(namespace: string): TypeRegistry;
19
19
  /**
20
- * Adds the given schema to a type registry with the same namespace.
20
+ * Copies entries from another instance without changing the namespace of self.
21
+ * The composition is additive but non-destructive and will not overwrite existing entries.
22
+ *
23
+ * @param other - another TypeRegistry.
24
+ */
25
+ copyFrom(other: TypeRegistry): void;
26
+ /**
27
+ * Adds the given schema to a type registry with the same namespace, and this registry.
21
28
  *
22
29
  * @param shapeId - to be registered.
23
30
  * @param schema - to be registered.
@@ -1,4 +1,5 @@
1
1
  import { RpcProtocol } from "@smithy/core/protocols";
2
+ import { TypeRegistry } from "@smithy/core/schema";
2
3
  import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, SerdeFunctions } from "@smithy/types";
3
4
  import { CborCodec } from "./CborCodec";
4
5
  /**
@@ -7,11 +8,16 @@ import { CborCodec } from "./CborCodec";
7
8
  * @public
8
9
  */
9
10
  export declare class SmithyRpcV2CborProtocol extends RpcProtocol {
11
+ /**
12
+ * @override
13
+ */
14
+ protected compositeErrorRegistry: TypeRegistry;
10
15
  private codec;
11
16
  protected serializer: import("./CborCodec").CborShapeSerializer;
12
17
  protected deserializer: import("./CborCodec").CborShapeDeserializer;
13
- constructor({ defaultNamespace }: {
18
+ constructor({ defaultNamespace, errorTypeRegistries, }: {
14
19
  defaultNamespace: string;
20
+ errorTypeRegistries?: TypeRegistry[];
15
21
  });
16
22
  getShapeId(): string;
17
23
  getPayloadCodec(): CborCodec;
@@ -1,4 +1,4 @@
1
- import { NormalizedSchema } from "@smithy/core/schema";
1
+ import { TypeRegistry, NormalizedSchema } from "@smithy/core/schema";
2
2
  import { HttpRequest } from "@smithy/protocol-http";
3
3
  import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, Schema, SerdeFunctions } from "@smithy/types";
4
4
  import { HttpProtocol } from "./HttpProtocol";
@@ -9,6 +9,10 @@ import { HttpProtocol } from "./HttpProtocol";
9
9
  * @public
10
10
  */
11
11
  export declare abstract class HttpBindingProtocol extends HttpProtocol {
12
+ /**
13
+ * @override
14
+ */
15
+ protected compositeErrorRegistry: TypeRegistry;
12
16
  serializeRequest<Input extends object>(operationSchema: OperationSchema, _input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
13
17
  protected serializeQuery(ns: NormalizedSchema, data: any, query: HttpRequest["query"]): void;
14
18
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
@@ -1,5 +1,5 @@
1
1
  import { EventStreamSerde } from "@smithy/core/event-streams";
2
- import { NormalizedSchema } from "@smithy/core/schema";
2
+ import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
3
3
  import { ClientProtocol, Codec, Endpoint, EndpointBearer, EndpointV2, EventStreamMarshaller, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, ResponseMetadata, Schema, SerdeFunctions, ShapeDeserializer, ShapeSerializer } from "@smithy/types";
4
4
  import { SerdeContext } from "./SerdeContext";
5
5
  /**
@@ -10,11 +10,24 @@ import { SerdeContext } from "./SerdeContext";
10
10
  export declare abstract class HttpProtocol extends SerdeContext implements ClientProtocol<IHttpRequest, IHttpResponse> {
11
11
  readonly options: {
12
12
  defaultNamespace: string;
13
+ errorTypeRegistries?: TypeRegistry[];
13
14
  };
15
+ /**
16
+ * An error registry having the namespace of the modeled service,
17
+ * but combining all error schemas found within the service closure.
18
+ *
19
+ * Used to look up error schema during deserialization.
20
+ */
21
+ protected compositeErrorRegistry: TypeRegistry;
14
22
  protected abstract serializer: ShapeSerializer<string | Uint8Array>;
15
23
  protected abstract deserializer: ShapeDeserializer<string | Uint8Array>;
24
+ /**
25
+ * @param options.defaultNamespace - used by various implementing classes.
26
+ * @param options.errorTypeRegistries - registry instances that contribute to error deserialization.
27
+ */
16
28
  protected constructor(options: {
17
29
  defaultNamespace: string;
30
+ errorTypeRegistries?: TypeRegistry[];
18
31
  });
19
32
  abstract getShapeId(): string;
20
33
  abstract getPayloadCodec(): Codec<any, any>;
@@ -1,3 +1,4 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import { EndpointBearer, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, MetadataBearer, OperationSchema, SerdeFunctions } from "@smithy/types";
2
3
  import { HttpProtocol } from "./HttpProtocol";
3
4
  /**
@@ -6,6 +7,10 @@ import { HttpProtocol } from "./HttpProtocol";
6
7
  * @public
7
8
  */
8
9
  export declare abstract class RpcProtocol extends HttpProtocol {
10
+ /**
11
+ * @override
12
+ */
13
+ protected compositeErrorRegistry: TypeRegistry;
9
14
  serializeRequest<Input extends object>(operationSchema: OperationSchema, input: Input, context: HandlerExecutionContext & SerdeFunctions & EndpointBearer): Promise<IHttpRequest>;
10
15
  deserializeResponse<Output extends MetadataBearer>(operationSchema: OperationSchema, context: HandlerExecutionContext & SerdeFunctions, response: IHttpResponse): Promise<Output>;
11
16
  }
@@ -17,7 +17,14 @@ export declare class TypeRegistry {
17
17
  */
18
18
  static for(namespace: string): TypeRegistry;
19
19
  /**
20
- * Adds the given schema to a type registry with the same namespace.
20
+ * Copies entries from another instance without changing the namespace of self.
21
+ * The composition is additive but non-destructive and will not overwrite existing entries.
22
+ *
23
+ * @param other - another TypeRegistry.
24
+ */
25
+ copyFrom(other: TypeRegistry): void;
26
+ /**
27
+ * Adds the given schema to a type registry with the same namespace, and this registry.
21
28
  *
22
29
  * @param shapeId - to be registered.
23
30
  * @param schema - to be registered.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.22.1",
3
+ "version": "3.23.0",
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",
@@ -85,7 +85,7 @@
85
85
  "@smithy/util-base64": "^4.3.0",
86
86
  "@smithy/util-body-length-browser": "^4.2.0",
87
87
  "@smithy/util-middleware": "^4.2.8",
88
- "@smithy/util-stream": "^4.5.11",
88
+ "@smithy/util-stream": "^4.5.12",
89
89
  "@smithy/util-utf8": "^4.2.0",
90
90
  "@smithy/uuid": "^1.1.0",
91
91
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "4.4.13",
3
+ "version": "4.4.14",
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",
@@ -25,7 +25,7 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.22.1",
28
+ "@smithy/core": "^3.23.0",
29
29
  "@smithy/middleware-serde": "^4.2.9",
30
30
  "@smithy/node-config-provider": "^4.3.8",
31
31
  "@smithy/shared-ini-file-loader": "^4.4.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "4.4.30",
3
+ "version": "4.4.31",
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",
@@ -37,7 +37,7 @@
37
37
  "@smithy/node-config-provider": "^4.3.8",
38
38
  "@smithy/protocol-http": "^5.3.8",
39
39
  "@smithy/service-error-classification": "^4.2.8",
40
- "@smithy/smithy-client": "^4.11.2",
40
+ "@smithy/smithy-client": "^4.11.3",
41
41
  "@smithy/types": "^4.12.0",
42
42
  "@smithy/util-middleware": "^4.2.8",
43
43
  "@smithy/util-retry": "^4.2.8",
@@ -162,8 +162,15 @@ function writeBody(httpRequest, body) {
162
162
  return;
163
163
  }
164
164
  if (body) {
165
- if (Buffer.isBuffer(body) || typeof body === "string") {
166
- httpRequest.end(body);
165
+ const isBuffer = Buffer.isBuffer(body);
166
+ const isString = typeof body === "string";
167
+ if (isBuffer || isString) {
168
+ if (isBuffer && body.byteLength === 0) {
169
+ httpRequest.end();
170
+ }
171
+ else {
172
+ httpRequest.end(body);
173
+ }
167
174
  return;
168
175
  }
169
176
  const uint8 = body;
@@ -37,8 +37,15 @@ function writeBody(httpRequest, body) {
37
37
  return;
38
38
  }
39
39
  if (body) {
40
- if (Buffer.isBuffer(body) || typeof body === "string") {
41
- httpRequest.end(body);
40
+ const isBuffer = Buffer.isBuffer(body);
41
+ const isString = typeof body === "string";
42
+ if (isBuffer || isString) {
43
+ if (isBuffer && body.byteLength === 0) {
44
+ httpRequest.end();
45
+ }
46
+ else {
47
+ httpRequest.end(body);
48
+ }
42
49
  return;
43
50
  }
44
51
  const uint8 = body;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-http-handler",
3
- "version": "4.4.9",
3
+ "version": "4.4.10",
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'",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/smithy-client",
3
- "version": "4.11.2",
3
+ "version": "4.11.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",
@@ -25,12 +25,12 @@
25
25
  "license": "Apache-2.0",
26
26
  "sideEffects": false,
27
27
  "dependencies": {
28
- "@smithy/core": "^3.22.1",
29
- "@smithy/middleware-endpoint": "^4.4.13",
28
+ "@smithy/core": "^3.23.0",
29
+ "@smithy/middleware-endpoint": "^4.4.14",
30
30
  "@smithy/middleware-stack": "^4.2.8",
31
31
  "@smithy/protocol-http": "^5.3.8",
32
32
  "@smithy/types": "^4.12.0",
33
- "@smithy/util-stream": "^4.5.11",
33
+ "@smithy/util-stream": "^4.5.12",
34
34
  "tslib": "^2.6.2"
35
35
  },
36
36
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-browser",
3
- "version": "4.3.29",
3
+ "version": "4.3.30",
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",
@@ -25,7 +25,7 @@
25
25
  "sideEffects": false,
26
26
  "dependencies": {
27
27
  "@smithy/property-provider": "^4.2.8",
28
- "@smithy/smithy-client": "^4.11.2",
28
+ "@smithy/smithy-client": "^4.11.3",
29
29
  "@smithy/types": "^4.12.0",
30
30
  "tslib": "^2.6.2"
31
31
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-defaults-mode-node",
3
- "version": "4.2.32",
3
+ "version": "4.2.33",
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",
@@ -28,7 +28,7 @@
28
28
  "@smithy/credential-provider-imds": "^4.2.8",
29
29
  "@smithy/node-config-provider": "^4.3.8",
30
30
  "@smithy/property-provider": "^4.2.8",
31
- "@smithy/smithy-client": "^4.11.2",
31
+ "@smithy/smithy-client": "^4.11.3",
32
32
  "@smithy/types": "^4.12.0",
33
33
  "tslib": "^2.6.2"
34
34
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/util-stream",
3
- "version": "4.5.11",
3
+ "version": "4.5.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 util-stream",
@@ -30,7 +30,7 @@
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
32
  "@smithy/fetch-http-handler": "^5.3.9",
33
- "@smithy/node-http-handler": "^4.4.9",
33
+ "@smithy/node-http-handler": "^4.4.10",
34
34
  "@smithy/types": "^4.12.0",
35
35
  "@smithy/util-base64": "^4.3.0",
36
36
  "@smithy/util-buffer-from": "^4.2.0",
package/package.json CHANGED
@@ -52,7 +52,7 @@
52
52
  "aws-cdk": "^2.1105.0",
53
53
  "aws-cdk-lib": "2.195.0",
54
54
  "cdk8s": "2.68.91",
55
- "cdk8s-cli": "^2.204.6",
55
+ "cdk8s-cli": "^2.204.7",
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.986.0"
80
+ "@aws-sdk/client-cloudformation": "^3.987.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.479",
96
+ "version": "0.0.480",
97
97
  "jest": {
98
98
  "coverageProvider": "v8",
99
99
  "testMatch": [