@cdk8s/awscdk-resolver 0.0.303 → 0.0.305

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 (101) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  4. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1466 -14
  6. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
  7. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +13 -0
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +14 -0
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +14 -0
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +89 -0
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +123 -0
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +105 -0
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +106 -0
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +18 -0
  17. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
  18. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +134 -0
  19. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +143 -0
  20. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +131 -0
  21. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js +20 -0
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +154 -0
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +279 -0
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js +27 -0
  25. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
  26. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -2
  27. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +13 -0
  28. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +12 -0
  29. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +12 -0
  30. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +18 -0
  31. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +19 -0
  32. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
  33. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
  34. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
  35. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +21 -0
  36. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +15 -0
  37. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +3 -3
  38. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +6 -0
  39. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +29 -0
  40. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +14 -0
  41. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +21 -0
  42. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +14 -0
  43. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -0
  44. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
  45. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts +6 -0
  46. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -0
  47. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -2
  48. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +13 -0
  49. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -0
  50. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -0
  51. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +33 -0
  52. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +34 -0
  53. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
  54. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
  55. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
  56. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -0
  57. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -0
  58. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +3 -3
  59. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +2 -0
  60. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +52 -0
  61. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +14 -0
  62. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +39 -0
  63. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -0
  64. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -0
  65. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
  66. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -0
  67. package/node_modules/@aws-sdk/core/package.json +5 -1
  68. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  69. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  70. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  71. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  72. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  73. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  74. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  76. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  77. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  78. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  79. package/node_modules/@aws-sdk/xml-builder/LICENSE +201 -0
  80. package/node_modules/@aws-sdk/xml-builder/README.md +10 -0
  81. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +173 -0
  82. package/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js +88 -0
  83. package/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js +10 -0
  84. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +3 -0
  85. package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +12 -0
  86. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -0
  87. package/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js +1 -0
  88. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +49 -0
  89. package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +11 -0
  90. package/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts +6 -0
  91. package/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts +6 -0
  92. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +8 -0
  93. package/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts +6 -0
  94. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +29 -0
  95. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts +6 -0
  96. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts +1 -0
  97. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts +1 -0
  98. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -0
  99. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts +3 -0
  100. package/node_modules/@aws-sdk/xml-builder/package.json +54 -0
  101. package/package.json +5 -5
@@ -0,0 +1,5 @@
1
+ import { ConfigurableSerdeContext, SerdeFunctions } from "@smithy/types";
2
+ export declare class SerdeContextConfig implements ConfigurableSerdeContext {
3
+ protected serdeContext?: SerdeFunctions;
4
+ setSerdeContext(serdeContext: SerdeFunctions): void;
5
+ }
@@ -1,5 +1,5 @@
1
- import { SerdeContext } from "@smithy/types";
1
+ import { SerdeFunctions } from "@smithy/types";
2
2
  export declare const collectBodyString: (
3
3
  streamBody: any,
4
- context: SerdeContext
4
+ context: SerdeFunctions
5
5
  ) => Promise<string>;
@@ -1,4 +1,17 @@
1
1
  export * from "./coercing-serializers";
2
+ export * from "./json/AwsJson1_0Protocol";
3
+ export * from "./json/AwsJson1_1Protocol";
4
+ export * from "./json/AwsJsonRpcProtocol";
5
+ export * from "./json/AwsRestJsonProtocol";
6
+ export * from "./json/JsonCodec";
7
+ export * from "./json/JsonShapeDeserializer";
8
+ export * from "./json/JsonShapeSerializer";
2
9
  export * from "./json/awsExpectUnion";
3
10
  export * from "./json/parseJsonBody";
11
+ export * from "./query/AwsEc2QueryProtocol";
12
+ export * from "./query/AwsQueryProtocol";
13
+ export * from "./xml/AwsRestXmlProtocol";
14
+ export * from "./xml/XmlCodec";
15
+ export * from "./xml/XmlShapeDeserializer";
16
+ export * from "./xml/XmlShapeSerializer";
4
17
  export * from "./xml/parseXmlBody";
@@ -0,0 +1,6 @@
1
+ import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
+ export declare class AwsJson1_0Protocol extends AwsJsonRpcProtocol {
3
+ constructor({ defaultNamespace }: { defaultNamespace: string });
4
+ getShapeId(): string;
5
+ protected getJsonRpcVersion(): "1.0";
6
+ }
@@ -0,0 +1,6 @@
1
+ import { AwsJsonRpcProtocol } from "./AwsJsonRpcProtocol";
2
+ export declare class AwsJson1_1Protocol extends AwsJsonRpcProtocol {
3
+ constructor({ defaultNamespace }: { defaultNamespace: string });
4
+ getShapeId(): string;
5
+ protected getJsonRpcVersion(): "1.1";
6
+ }
@@ -0,0 +1,33 @@
1
+ import { RpcProtocol } from "@smithy/core/protocols";
2
+ import {
3
+ EndpointBearer,
4
+ HandlerExecutionContext,
5
+ HttpRequest,
6
+ HttpResponse,
7
+ OperationSchema,
8
+ ResponseMetadata,
9
+ SerdeFunctions,
10
+ ShapeDeserializer,
11
+ ShapeSerializer,
12
+ } from "@smithy/types";
13
+ import { JsonCodec } from "./JsonCodec";
14
+ export declare abstract class AwsJsonRpcProtocol extends RpcProtocol {
15
+ protected serializer: ShapeSerializer<string | Uint8Array>;
16
+ protected deserializer: ShapeDeserializer<string | Uint8Array>;
17
+ private codec;
18
+ protected constructor({ defaultNamespace }: { defaultNamespace: string });
19
+ serializeRequest<Input extends object>(
20
+ operationSchema: OperationSchema,
21
+ input: Input,
22
+ context: HandlerExecutionContext & SerdeFunctions & EndpointBearer
23
+ ): Promise<HttpRequest>;
24
+ getPayloadCodec(): JsonCodec;
25
+ protected abstract getJsonRpcVersion(): "1.1" | "1.0";
26
+ protected handleError(
27
+ operationSchema: OperationSchema,
28
+ context: HandlerExecutionContext & SerdeFunctions,
29
+ response: HttpResponse,
30
+ dataObject: any,
31
+ metadata: ResponseMetadata
32
+ ): Promise<never>;
33
+ }
@@ -0,0 +1,34 @@
1
+ import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import {
3
+ EndpointBearer,
4
+ HandlerExecutionContext,
5
+ HttpRequest,
6
+ HttpResponse,
7
+ OperationSchema,
8
+ ResponseMetadata,
9
+ SerdeFunctions,
10
+ ShapeDeserializer,
11
+ ShapeSerializer,
12
+ } from "@smithy/types";
13
+ import { JsonCodec } from "./JsonCodec";
14
+ export declare class AwsRestJsonProtocol extends HttpBindingProtocol {
15
+ protected serializer: ShapeSerializer<string | Uint8Array>;
16
+ protected deserializer: ShapeDeserializer<string | Uint8Array>;
17
+ private readonly codec;
18
+ constructor({ defaultNamespace }: { defaultNamespace: string });
19
+ getShapeId(): string;
20
+ getPayloadCodec(): JsonCodec;
21
+ setSerdeContext(serdeContext: SerdeFunctions): void;
22
+ serializeRequest<Input extends object>(
23
+ operationSchema: OperationSchema,
24
+ input: Input,
25
+ context: HandlerExecutionContext & SerdeFunctions & EndpointBearer
26
+ ): Promise<HttpRequest>;
27
+ protected handleError(
28
+ operationSchema: OperationSchema,
29
+ context: HandlerExecutionContext & SerdeFunctions,
30
+ response: HttpResponse,
31
+ dataObject: any,
32
+ metadata: ResponseMetadata
33
+ ): Promise<never>;
34
+ }
@@ -0,0 +1,16 @@
1
+ import { Codec, CodecSettings } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { JsonShapeDeserializer } from "./JsonShapeDeserializer";
4
+ import { JsonShapeSerializer } from "./JsonShapeSerializer";
5
+ export type JsonSettings = CodecSettings & {
6
+ jsonName: boolean;
7
+ };
8
+ export declare class JsonCodec
9
+ extends SerdeContextConfig
10
+ implements Codec<string, string>
11
+ {
12
+ settings: JsonSettings;
13
+ constructor(settings: JsonSettings);
14
+ createSerializer(): JsonShapeSerializer;
15
+ createDeserializer(): JsonShapeDeserializer;
16
+ }
@@ -0,0 +1,13 @@
1
+ import { DocumentType, Schema, ShapeDeserializer } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { JsonSettings } from "./JsonCodec";
4
+ export declare class JsonShapeDeserializer
5
+ extends SerdeContextConfig
6
+ implements ShapeDeserializer<string>
7
+ {
8
+ settings: JsonSettings;
9
+ constructor(settings: JsonSettings);
10
+ read(schema: Schema, data: string | Uint8Array | unknown): Promise<any>;
11
+ readObject(schema: Schema, data: DocumentType): any;
12
+ private _read;
13
+ }
@@ -0,0 +1,15 @@
1
+ import { Schema, ShapeSerializer } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { JsonSettings } from "./JsonCodec";
4
+ export declare class JsonShapeSerializer
5
+ extends SerdeContextConfig
6
+ implements ShapeSerializer<string>
7
+ {
8
+ settings: JsonSettings;
9
+ private buffer;
10
+ private rootSchema;
11
+ constructor(settings: JsonSettings);
12
+ write(schema: Schema, value: unknown): void;
13
+ flush(): string;
14
+ private _write;
15
+ }
@@ -0,0 +1,7 @@
1
+ export declare class JsonReplacer {
2
+ private readonly values;
3
+ private counter;
4
+ private stage;
5
+ createReplacer(): (key: string, value: unknown) => unknown;
6
+ replaceInJson(json: string): string;
7
+ }
@@ -0,0 +1,7 @@
1
+ export declare function jsonReviver(
2
+ key: string,
3
+ value: any,
4
+ context?: {
5
+ source?: string;
6
+ }
7
+ ): any;
@@ -1,11 +1,11 @@
1
- import { HttpResponse, SerdeContext } from "@smithy/types";
1
+ import { HttpResponse, SerdeFunctions } from "@smithy/types";
2
2
  export declare const parseJsonBody: (
3
3
  streamBody: any,
4
- context: SerdeContext
4
+ context: SerdeFunctions
5
5
  ) => any;
6
6
  export declare const parseJsonErrorBody: (
7
7
  errorBody: any,
8
- context: SerdeContext
8
+ context: SerdeFunctions
9
9
  ) => Promise<any>;
10
10
  export declare const loadRestJsonErrorCode: (
11
11
  output: HttpResponse,
@@ -0,0 +1,2 @@
1
+ import { AwsQueryProtocol } from "./AwsQueryProtocol";
2
+ export declare class AwsEc2QueryProtocol extends AwsQueryProtocol {}
@@ -0,0 +1,52 @@
1
+ import { RpcProtocol } from "@smithy/core/protocols";
2
+ import {
3
+ Codec,
4
+ EndpointBearer,
5
+ HandlerExecutionContext,
6
+ HttpRequest,
7
+ MetadataBearer,
8
+ OperationSchema,
9
+ ResponseMetadata,
10
+ SerdeFunctions,
11
+ } from "@smithy/types";
12
+ import { HttpResponse as IHttpResponse } from "@smithy/types/dist-types/http";
13
+ import { XmlShapeDeserializer } from "../xml/XmlShapeDeserializer";
14
+ import { QueryShapeSerializer } from "./QueryShapeSerializer";
15
+ export declare class AwsQueryProtocol extends RpcProtocol {
16
+ options: {
17
+ defaultNamespace: string;
18
+ xmlNamespace: string;
19
+ version: string;
20
+ };
21
+ protected serializer: QueryShapeSerializer;
22
+ protected deserializer: XmlShapeDeserializer;
23
+ constructor(options: {
24
+ defaultNamespace: string;
25
+ xmlNamespace: string;
26
+ version: string;
27
+ });
28
+ getShapeId(): string;
29
+ setSerdeContext(serdeContext: SerdeFunctions): void;
30
+ getPayloadCodec(): Codec<any, any>;
31
+ serializeRequest<Input extends object>(
32
+ operationSchema: OperationSchema,
33
+ input: Input,
34
+ context: HandlerExecutionContext & SerdeFunctions & EndpointBearer
35
+ ): Promise<HttpRequest>;
36
+ deserializeResponse<Output extends MetadataBearer>(
37
+ operationSchema: OperationSchema,
38
+ context: HandlerExecutionContext & SerdeFunctions,
39
+ response: IHttpResponse
40
+ ): Promise<Output>;
41
+ protected handleError(
42
+ operationSchema: OperationSchema,
43
+ context: HandlerExecutionContext & SerdeFunctions,
44
+ response: IHttpResponse,
45
+ dataObject: any,
46
+ metadata: ResponseMetadata
47
+ ): Promise<never>;
48
+ protected loadQueryErrorCode(
49
+ output: IHttpResponse,
50
+ data: any
51
+ ): string | undefined;
52
+ }
@@ -0,0 +1,14 @@
1
+ import { CodecSettings, Schema, ShapeSerializer } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ export declare class QueryShapeSerializer
4
+ extends SerdeContextConfig
5
+ implements ShapeSerializer<string | Uint8Array>
6
+ {
7
+ private settings;
8
+ private buffer;
9
+ constructor(settings: CodecSettings);
10
+ write(schema: Schema, value: unknown, prefix?: string): void;
11
+ flush(): string | Uint8Array;
12
+ protected writeKey(key: string): void;
13
+ protected writeValue(value: string): void;
14
+ }
@@ -0,0 +1,39 @@
1
+ import { HttpBindingProtocol } from "@smithy/core/protocols";
2
+ import { OperationSchema } from "@smithy/core/schema";
3
+ import {
4
+ EndpointBearer,
5
+ HandlerExecutionContext,
6
+ HttpRequest as IHttpRequest,
7
+ HttpResponse as IHttpResponse,
8
+ MetadataBearer,
9
+ ResponseMetadata,
10
+ SerdeFunctions,
11
+ ShapeDeserializer,
12
+ ShapeSerializer,
13
+ } from "@smithy/types";
14
+ import { XmlCodec } from "./XmlCodec";
15
+ export declare class AwsRestXmlProtocol extends HttpBindingProtocol {
16
+ private readonly codec;
17
+ protected serializer: ShapeSerializer<string | Uint8Array>;
18
+ protected deserializer: ShapeDeserializer<string | Uint8Array>;
19
+ constructor(options: { defaultNamespace: string; xmlNamespace: string });
20
+ getPayloadCodec(): XmlCodec;
21
+ getShapeId(): string;
22
+ serializeRequest<Input extends object>(
23
+ operationSchema: OperationSchema,
24
+ input: Input,
25
+ context: HandlerExecutionContext & SerdeFunctions & EndpointBearer
26
+ ): Promise<IHttpRequest>;
27
+ deserializeResponse<Output extends MetadataBearer>(
28
+ operationSchema: OperationSchema,
29
+ context: HandlerExecutionContext & SerdeFunctions,
30
+ response: IHttpResponse
31
+ ): Promise<Output>;
32
+ protected handleError(
33
+ operationSchema: OperationSchema,
34
+ context: HandlerExecutionContext & SerdeFunctions,
35
+ response: IHttpResponse,
36
+ dataObject: any,
37
+ metadata: ResponseMetadata
38
+ ): Promise<never>;
39
+ }
@@ -0,0 +1,17 @@
1
+ import { Codec, CodecSettings } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { XmlShapeDeserializer } from "./XmlShapeDeserializer";
4
+ import { XmlShapeSerializer } from "./XmlShapeSerializer";
5
+ export type XmlSettings = CodecSettings & {
6
+ xmlNamespace: string;
7
+ serviceNamespace: string;
8
+ };
9
+ export declare class XmlCodec
10
+ extends SerdeContextConfig
11
+ implements Codec<Uint8Array | string, Uint8Array | string>
12
+ {
13
+ readonly settings: XmlSettings;
14
+ constructor(settings: XmlSettings);
15
+ createSerializer(): XmlShapeSerializer;
16
+ createDeserializer(): XmlShapeDeserializer;
17
+ }
@@ -0,0 +1,15 @@
1
+ import { Schema, SerdeFunctions, ShapeDeserializer } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { XmlSettings } from "./XmlCodec";
4
+ export declare class XmlShapeDeserializer
5
+ extends SerdeContextConfig
6
+ implements ShapeDeserializer<Uint8Array | string>
7
+ {
8
+ readonly settings: XmlSettings;
9
+ private stringDeserializer;
10
+ constructor(settings: XmlSettings);
11
+ setSerdeContext(serdeContext: SerdeFunctions): void;
12
+ read(schema: Schema, bytes: Uint8Array | string, key?: string): any;
13
+ readSchema(_schema: Schema, value: any): any;
14
+ protected parseXml(xml: string): any;
15
+ }
@@ -0,0 +1,21 @@
1
+ import { Schema as ISchema, ShapeSerializer } from "@smithy/types";
2
+ import { SerdeContextConfig } from "../ConfigurableSerdeContext";
3
+ import { XmlSettings } from "./XmlCodec";
4
+ export declare class XmlShapeSerializer
5
+ extends SerdeContextConfig
6
+ implements ShapeSerializer<string | Uint8Array>
7
+ {
8
+ readonly settings: XmlSettings;
9
+ private stringBuffer?;
10
+ private byteBuffer?;
11
+ private buffer?;
12
+ constructor(settings: XmlSettings);
13
+ write(schema: ISchema, value: unknown): void;
14
+ flush(): string | Uint8Array;
15
+ private writeStruct;
16
+ private writeList;
17
+ private writeMap;
18
+ private writeSimple;
19
+ private writeSimpleInto;
20
+ private getXmlnsAttribute;
21
+ }
@@ -0,0 +1 @@
1
+ export declare function simpleFormatXml(xml: string): string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -82,6 +82,7 @@
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
84
  "@aws-sdk/types": "3.821.0",
85
+ "@aws-sdk/xml-builder": "3.821.0",
85
86
  "@smithy/core": "^3.5.1",
86
87
  "@smithy/node-config-provider": "^4.1.3",
87
88
  "@smithy/property-provider": "^4.0.4",
@@ -89,7 +90,10 @@
89
90
  "@smithy/signature-v4": "^5.1.2",
90
91
  "@smithy/smithy-client": "^4.4.1",
91
92
  "@smithy/types": "^4.3.1",
93
+ "@smithy/util-base64": "^4.0.0",
94
+ "@smithy/util-body-length-browser": "^4.0.0",
92
95
  "@smithy/util-middleware": "^4.0.4",
96
+ "@smithy/util-utf8": "^4.0.0",
93
97
  "fast-xml-parser": "4.4.1",
94
98
  "tslib": "^2.6.2"
95
99
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.821.0",
28
+ "@aws-sdk/core": "3.823.0",
29
29
  "@aws-sdk/types": "3.821.0",
30
30
  "@smithy/property-provider": "^4.0.4",
31
31
  "@smithy/types": "^4.3.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.821.0",
30
+ "@aws-sdk/core": "3.823.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@smithy/fetch-http-handler": "^5.0.4",
33
33
  "@smithy/node-http-handler": "^4.0.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.821.0",
31
- "@aws-sdk/credential-provider-env": "3.821.0",
32
- "@aws-sdk/credential-provider-http": "3.821.0",
33
- "@aws-sdk/credential-provider-process": "3.821.0",
34
- "@aws-sdk/credential-provider-sso": "3.821.0",
35
- "@aws-sdk/credential-provider-web-identity": "3.821.0",
36
- "@aws-sdk/nested-clients": "3.821.0",
30
+ "@aws-sdk/core": "3.823.0",
31
+ "@aws-sdk/credential-provider-env": "3.823.0",
32
+ "@aws-sdk/credential-provider-http": "3.823.0",
33
+ "@aws-sdk/credential-provider-process": "3.823.0",
34
+ "@aws-sdk/credential-provider-sso": "3.823.0",
35
+ "@aws-sdk/credential-provider-web-identity": "3.823.0",
36
+ "@aws-sdk/nested-clients": "3.823.0",
37
37
  "@aws-sdk/types": "3.821.0",
38
38
  "@smithy/credential-provider-imds": "^4.0.6",
39
39
  "@smithy/property-provider": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -29,12 +29,12 @@
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/credential-provider-env": "3.821.0",
33
- "@aws-sdk/credential-provider-http": "3.821.0",
34
- "@aws-sdk/credential-provider-ini": "3.821.0",
35
- "@aws-sdk/credential-provider-process": "3.821.0",
36
- "@aws-sdk/credential-provider-sso": "3.821.0",
37
- "@aws-sdk/credential-provider-web-identity": "3.821.0",
32
+ "@aws-sdk/credential-provider-env": "3.823.0",
33
+ "@aws-sdk/credential-provider-http": "3.823.0",
34
+ "@aws-sdk/credential-provider-ini": "3.823.0",
35
+ "@aws-sdk/credential-provider-process": "3.823.0",
36
+ "@aws-sdk/credential-provider-sso": "3.823.0",
37
+ "@aws-sdk/credential-provider-web-identity": "3.823.0",
38
38
  "@aws-sdk/types": "3.821.0",
39
39
  "@smithy/credential-provider-imds": "^4.0.6",
40
40
  "@smithy/property-provider": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/core": "3.821.0",
28
+ "@aws-sdk/core": "3.823.0",
29
29
  "@aws-sdk/types": "3.821.0",
30
30
  "@smithy/property-provider": "^4.0.4",
31
31
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/client-sso": "3.821.0",
29
- "@aws-sdk/core": "3.821.0",
30
- "@aws-sdk/token-providers": "3.821.0",
28
+ "@aws-sdk/client-sso": "3.823.0",
29
+ "@aws-sdk/core": "3.823.0",
30
+ "@aws-sdk/token-providers": "3.823.0",
31
31
  "@aws-sdk/types": "3.821.0",
32
32
  "@smithy/property-provider": "^4.0.4",
33
33
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "license": "Apache-2.0",
35
35
  "dependencies": {
36
- "@aws-sdk/core": "3.821.0",
37
- "@aws-sdk/nested-clients": "3.821.0",
36
+ "@aws-sdk/core": "3.823.0",
37
+ "@aws-sdk/nested-clients": "3.823.0",
38
38
  "@aws-sdk/types": "3.821.0",
39
39
  "@smithy/property-provider": "^4.0.4",
40
40
  "@smithy/types": "^4.3.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/middleware-user-agent",
3
- "version": "3.821.0",
3
+ "version": "3.823.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 middleware-user-agent",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/core": "3.821.0",
27
+ "@aws-sdk/core": "3.823.0",
28
28
  "@aws-sdk/types": "3.821.0",
29
29
  "@aws-sdk/util-endpoints": "3.821.0",
30
30
  "@smithy/core": "^3.5.1",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.821.0",
3
+ "version": "3.823.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,16 +28,16 @@
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.821.0",
31
+ "@aws-sdk/core": "3.823.0",
32
32
  "@aws-sdk/middleware-host-header": "3.821.0",
33
33
  "@aws-sdk/middleware-logger": "3.821.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
35
- "@aws-sdk/middleware-user-agent": "3.821.0",
35
+ "@aws-sdk/middleware-user-agent": "3.823.0",
36
36
  "@aws-sdk/region-config-resolver": "3.821.0",
37
37
  "@aws-sdk/types": "3.821.0",
38
38
  "@aws-sdk/util-endpoints": "3.821.0",
39
39
  "@aws-sdk/util-user-agent-browser": "3.821.0",
40
- "@aws-sdk/util-user-agent-node": "3.821.0",
40
+ "@aws-sdk/util-user-agent-node": "3.823.0",
41
41
  "@smithy/config-resolver": "^4.1.4",
42
42
  "@smithy/core": "^3.5.1",
43
43
  "@smithy/fetch-http-handler": "^5.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.821.0",
3
+ "version": "3.823.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/core": "3.821.0",
31
- "@aws-sdk/nested-clients": "3.821.0",
30
+ "@aws-sdk/core": "3.823.0",
31
+ "@aws-sdk/nested-clients": "3.823.0",
32
32
  "@aws-sdk/types": "3.821.0",
33
33
  "@smithy/property-provider": "^4.0.4",
34
34
  "@smithy/shared-ini-file-loader": "^4.0.4",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.821.0",
3
+ "version": "3.823.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,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/middleware-user-agent": "3.821.0",
24
+ "@aws-sdk/middleware-user-agent": "3.823.0",
25
25
  "@aws-sdk/types": "3.821.0",
26
26
  "@smithy/node-config-provider": "^4.1.3",
27
27
  "@smithy/types": "^4.3.1",