@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.
- package/.jsii +4 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +1466 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ConfigurableSerdeContext.js +6 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +13 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +14 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +89 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +123 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +105 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +106 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +46 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +18 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +134 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +143 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +131 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlCodec.js +20 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +154 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +279 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/simpleFormatXml.js +27 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ConfigurableSerdeContext.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +18 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonCodec.d.ts +19 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +29 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlCodec.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +20 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/simpleFormatXml.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ConfigurableSerdeContext.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +33 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +34 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonCodec.d.ts +16 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeDeserializer.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonShapeSerializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +3 -3
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +52 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +14 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +39 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlCodec.d.ts +17 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeDeserializer.d.ts +15 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts +21 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +5 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- 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 +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- 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/@aws-sdk/xml-builder/LICENSE +201 -0
- package/node_modules/@aws-sdk/xml-builder/README.md +10 -0
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +173 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlNode.js +88 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/XmlText.js +10 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +3 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +12 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/stringable.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +49 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +11 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/escape-attribute.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/escape-element.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +8 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/stringable.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlNode.d.ts +29 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/XmlText.d.ts +6 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-attribute.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/escape-element.d.ts +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/stringable.d.ts +3 -0
- package/node_modules/@aws-sdk/xml-builder/package.json +54 -0
- package/package.json +5 -5
@@ -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,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
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { HttpResponse,
|
1
|
+
import { HttpResponse, SerdeFunctions } from "@smithy/types";
|
2
2
|
export declare const parseJsonBody: (
|
3
3
|
streamBody: any,
|
4
|
-
context:
|
4
|
+
context: SerdeFunctions
|
5
5
|
) => any;
|
6
6
|
export declare const parseJsonErrorBody: (
|
7
7
|
errorBody: any,
|
8
|
-
context:
|
8
|
+
context: SerdeFunctions
|
9
9
|
) => Promise<any>;
|
10
10
|
export declare const loadRestJsonErrorCode: (
|
11
11
|
output: HttpResponse,
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts
ADDED
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts
ADDED
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/XmlShapeSerializer.d.ts
ADDED
@@ -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
|
+
}
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/simpleFormatXml.d.ts
ADDED
@@ -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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
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.
|
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.
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
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.
|
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.
|
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.
|
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.
|
29
|
-
"@aws-sdk/core": "3.
|
30
|
-
"@aws-sdk/token-providers": "3.
|
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.
|
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.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
31
|
-
"@aws-sdk/nested-clients": "3.
|
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.
|
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.
|
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",
|