@cdk8s/awscdk-resolver 0.0.301 → 0.0.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +209 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +667 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +771 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +108 -53
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +136 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +74 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +183 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +164 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +68 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js +64 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeDeserializer.js +38 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/HttpInterceptingShapeSerializer.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/ToStringShapeSerializer.js +87 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/serde/determineTimestampFormat.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +49 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/deref.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/index.js +12 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/getSchemaSerdePlugin.js +23 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schema-middleware-types.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaDeserializationMiddleware.js +60 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +291 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/Schema.js +6 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +22 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/sentinels.js +16 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +53 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +4 -3
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schema-middleware-types.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +122 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +29 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/FromStringShapeDeserializer.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeDeserializer.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/HttpInterceptingShapeSerializer.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/ToStringShapeSerializer.d.ts +15 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/serde/determineTimestampFormat.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +55 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/deref.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/index.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/getSchemaSerdePlugin.d.ts +14 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schema-middleware-types.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaDeserializationMiddleware.d.ts +9 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/middleware/schemaSerializationMiddleware.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +38 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +25 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +125 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/OperationSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/Schema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +20 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +24 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/sentinels.d.ts +21 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +4 -3
- package/node_modules/@smithy/core/package.json +17 -7
- package/node_modules/@smithy/core/schema.d.ts +7 -0
- package/node_modules/@smithy/core/schema.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/dist-types/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/serializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/deserializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serdePlugin.d.ts +7 -1
- package/node_modules/@smithy/middleware-serde/dist-types/ts3.4/serializerMiddleware.d.ts +1 -0
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +10 -0
- package/node_modules/@smithy/smithy-client/dist-es/command.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/command.d.ts +7 -1
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/command.d.ts +5 -2
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +2 -4
- package/node_modules/@smithy/types/dist-types/ts3.4/command.d.ts +5 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +2 -4
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +6 -6
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/hash-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline hash-node",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"typedoc": "0.23.23"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@smithy/types": "^4.3.
|
34
|
+
"@smithy/types": "^4.3.1",
|
35
35
|
"@smithy/util-buffer-from": "^4.0.0",
|
36
36
|
"@smithy/util-utf8": "^4.0.0",
|
37
37
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/invalid-dependency",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline invalid-dependency",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^4.3.
|
26
|
+
"@smithy/types": "^4.3.1",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"typesVersions": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-content-length",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-content-length",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/protocol-http": "^5.1.
|
28
|
-
"@smithy/types": "^4.3.
|
27
|
+
"@smithy/protocol-http": "^5.1.2",
|
28
|
+
"@smithy/types": "^4.3.1",
|
29
29
|
"tslib": "^2.6.2"
|
30
30
|
},
|
31
31
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.9",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
@@ -24,13 +24,13 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-serde": "^4.0.
|
29
|
-
"@smithy/node-config-provider": "^4.1.
|
30
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
31
|
-
"@smithy/types": "^4.3.
|
32
|
-
"@smithy/url-parser": "^4.0.
|
33
|
-
"@smithy/util-middleware": "^4.0.
|
27
|
+
"@smithy/core": "^3.5.1",
|
28
|
+
"@smithy/middleware-serde": "^4.0.8",
|
29
|
+
"@smithy/node-config-provider": "^4.1.3",
|
30
|
+
"@smithy/shared-ini-file-loader": "^4.0.4",
|
31
|
+
"@smithy/types": "^4.3.1",
|
32
|
+
"@smithy/url-parser": "^4.0.4",
|
33
|
+
"@smithy/util-middleware": "^4.0.4",
|
34
34
|
"tslib": "^2.6.2"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.10",
|
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",
|
@@ -33,13 +33,13 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@smithy/node-config-provider": "^4.1.
|
37
|
-
"@smithy/protocol-http": "^5.1.
|
38
|
-
"@smithy/service-error-classification": "^4.0.
|
39
|
-
"@smithy/smithy-client": "^4.
|
40
|
-
"@smithy/types": "^4.3.
|
41
|
-
"@smithy/util-middleware": "^4.0.
|
42
|
-
"@smithy/util-retry": "^4.0.
|
36
|
+
"@smithy/node-config-provider": "^4.1.3",
|
37
|
+
"@smithy/protocol-http": "^5.1.2",
|
38
|
+
"@smithy/service-error-classification": "^4.0.5",
|
39
|
+
"@smithy/smithy-client": "^4.4.1",
|
40
|
+
"@smithy/types": "^4.3.1",
|
41
|
+
"@smithy/util-middleware": "^4.0.4",
|
42
|
+
"@smithy/util-retry": "^4.0.5",
|
43
43
|
"tslib": "^2.6.2",
|
44
44
|
"uuid": "^9.0.1"
|
45
45
|
},
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
5
|
*/
|
5
6
|
export declare const deserializerMiddleware: <Input extends object = any, Output extends object = any, CommandSerdeContext extends SerdeContext = any>(options: SerdeFunctions, deserializer: ResponseDeserializer<any, any, CommandSerdeContext>) => DeserializeMiddleware<Input, Output>;
|
@@ -1,5 +1,11 @@
|
|
1
1
|
import { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
|
+
*/
|
2
5
|
export declare const deserializerMiddlewareOption: DeserializeHandlerOptions;
|
6
|
+
/**
|
7
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
8
|
+
*/
|
3
9
|
export declare const serializerMiddlewareOption: SerializeHandlerOptions;
|
4
10
|
/**
|
5
11
|
* Modifies the EndpointBearer to make it compatible with Endpoints 2.0 change.
|
@@ -13,6 +19,6 @@ export type V1OrV2Endpoint = {
|
|
13
19
|
};
|
14
20
|
/**
|
15
21
|
* @internal
|
16
|
-
*
|
22
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
17
23
|
*/
|
18
24
|
export declare function getSerdePlugin<InputType extends object = any, CommandSerdeContext extends SerdeContext = any, OutputType extends MetadataBearer = any>(config: SerdeFunctions, serializer: RequestSerializer<any, CommandSerdeContext>, deserializer: ResponseDeserializer<OutputType, any, CommandSerdeContext>): Pluggable<InputType, OutputType>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
5
|
*/
|
5
6
|
export declare const serializerMiddleware: <Input extends object = any, Output extends object = any, CommandSerdeContext extends SerdeContext = any>(options: SerdeFunctions, serializer: RequestSerializer<any, CommandSerdeContext>) => SerializeMiddleware<Input, Output>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { DeserializeMiddleware, ResponseDeserializer, SerdeContext, SerdeFunctions } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
5
|
*/
|
5
6
|
export declare const deserializerMiddleware: <Input extends object = any, Output extends object = any, CommandSerdeContext extends SerdeContext = any>(options: SerdeFunctions, deserializer: ResponseDeserializer<any, any, CommandSerdeContext>) => DeserializeMiddleware<Input, Output>;
|
@@ -1,5 +1,11 @@
|
|
1
1
|
import { DeserializeHandlerOptions, Endpoint, MetadataBearer, Pluggable, Provider, RequestSerializer, ResponseDeserializer, SerdeContext, SerdeFunctions, SerializeHandlerOptions, UrlParser } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
|
+
*/
|
2
5
|
export declare const deserializerMiddlewareOption: DeserializeHandlerOptions;
|
6
|
+
/**
|
7
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
8
|
+
*/
|
3
9
|
export declare const serializerMiddlewareOption: SerializeHandlerOptions;
|
4
10
|
/**
|
5
11
|
* Modifies the EndpointBearer to make it compatible with Endpoints 2.0 change.
|
@@ -13,6 +19,6 @@ export type V1OrV2Endpoint = {
|
|
13
19
|
};
|
14
20
|
/**
|
15
21
|
* @internal
|
16
|
-
*
|
22
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
17
23
|
*/
|
18
24
|
export declare function getSerdePlugin<InputType extends object = any, CommandSerdeContext extends SerdeContext = any, OutputType extends MetadataBearer = any>(config: SerdeFunctions, serializer: RequestSerializer<any, CommandSerdeContext>, deserializer: ResponseDeserializer<OutputType, any, CommandSerdeContext>): Pluggable<InputType, OutputType>;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { RequestSerializer, SerdeContext, SerdeFunctions, SerializeMiddleware } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
|
+
* @deprecated will be replaced by schemaSerdePlugin from core/schema.
|
4
5
|
*/
|
5
6
|
export declare const serializerMiddleware: <Input extends object = any, Output extends object = any, CommandSerdeContext extends SerdeContext = any>(options: SerdeFunctions, serializer: RequestSerializer<any, CommandSerdeContext>) => SerializeMiddleware<Input, Output>;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-serde",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-serde",
|
@@ -25,8 +25,8 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/protocol-http": "^5.1.
|
29
|
-
"@smithy/types": "^4.3.
|
28
|
+
"@smithy/protocol-http": "^5.1.2",
|
29
|
+
"@smithy/types": "^4.3.1",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-stack",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"module": "./dist-es/index.js",
|
27
27
|
"types": "./dist-types/index.d.ts",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/types": "^4.3.
|
29
|
+
"@smithy/types": "^4.3.1",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.3",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
@@ -25,9 +25,9 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
-
"@smithy/property-provider": "^4.0.
|
29
|
-
"@smithy/shared-ini-file-loader": "^4.0.
|
30
|
-
"@smithy/types": "^4.3.
|
28
|
+
"@smithy/property-provider": "^4.0.4",
|
29
|
+
"@smithy/shared-ini-file-loader": "^4.0.4",
|
30
|
+
"@smithy/types": "^4.3.1",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-http-handler",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.6",
|
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'",
|
@@ -26,10 +26,10 @@
|
|
26
26
|
"module": "./dist-es/index.js",
|
27
27
|
"types": "./dist-types/index.d.ts",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/abort-controller": "^4.0.
|
30
|
-
"@smithy/protocol-http": "^5.1.
|
31
|
-
"@smithy/querystring-builder": "^4.0.
|
32
|
-
"@smithy/types": "^4.3.
|
29
|
+
"@smithy/abort-controller": "^4.0.4",
|
30
|
+
"@smithy/protocol-http": "^5.1.2",
|
31
|
+
"@smithy/querystring-builder": "^4.0.4",
|
32
|
+
"@smithy/types": "^4.3.1",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/property-provider",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline property-provider",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^4.3.
|
26
|
+
"@smithy/types": "^4.3.1",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/protocol-http",
|
3
|
-
"version": "5.1.
|
3
|
+
"version": "5.1.2",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline protocol-http",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/types": "^4.3.
|
27
|
+
"@smithy/types": "^4.3.1",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/querystring-builder",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-builder",
|
@@ -22,7 +22,7 @@
|
|
22
22
|
},
|
23
23
|
"license": "Apache-2.0",
|
24
24
|
"dependencies": {
|
25
|
-
"@smithy/types": "^4.3.
|
25
|
+
"@smithy/types": "^4.3.1",
|
26
26
|
"@smithy/util-uri-escape": "^4.0.0",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/querystring-parser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline querystring-parser",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/types": "^4.3.
|
26
|
+
"@smithy/types": "^4.3.1",
|
27
27
|
"tslib": "^2.6.2"
|
28
28
|
},
|
29
29
|
"engines": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/service-error-classification",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.5",
|
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 service-error-classification",
|
@@ -54,6 +54,6 @@
|
|
54
54
|
"directory": ".release/package"
|
55
55
|
},
|
56
56
|
"dependencies": {
|
57
|
-
"@smithy/types": "^4.3.
|
57
|
+
"@smithy/types": "^4.3.1"
|
58
58
|
}
|
59
59
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/signature-v4",
|
3
|
-
"version": "5.1.
|
3
|
+
"version": "5.1.2",
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,10 +26,10 @@
|
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
28
|
"@smithy/is-array-buffer": "^4.0.0",
|
29
|
-
"@smithy/protocol-http": "^5.1.
|
30
|
-
"@smithy/types": "^4.3.
|
29
|
+
"@smithy/protocol-http": "^5.1.2",
|
30
|
+
"@smithy/types": "^4.3.1",
|
31
31
|
"@smithy/util-hex-encoding": "^4.0.0",
|
32
|
-
"@smithy/util-middleware": "^4.0.
|
32
|
+
"@smithy/util-middleware": "^4.0.4",
|
33
33
|
"@smithy/util-uri-escape": "^4.0.0",
|
34
34
|
"@smithy/util-utf8": "^4.0.0",
|
35
35
|
"tslib": "^2.6.2"
|
@@ -243,6 +243,14 @@ var ClassBuilder = class {
|
|
243
243
|
this._deserializer = deserializer;
|
244
244
|
return this;
|
245
245
|
}
|
246
|
+
/**
|
247
|
+
* Sets input/output schema for the operation.
|
248
|
+
*/
|
249
|
+
sc(operation) {
|
250
|
+
this._operationSchema = operation;
|
251
|
+
this._smithyContext.operationSchema = operation;
|
252
|
+
return this;
|
253
|
+
}
|
246
254
|
/**
|
247
255
|
* @returns a Command class with the classBuilder properties.
|
248
256
|
*/
|
@@ -267,6 +275,7 @@ var ClassBuilder = class {
|
|
267
275
|
this.deserialize = closure._deserializer;
|
268
276
|
this.input = input ?? {};
|
269
277
|
closure._init(this);
|
278
|
+
this.schema = closure._operationSchema;
|
270
279
|
}
|
271
280
|
static {
|
272
281
|
__name(this, "CommandRef");
|
@@ -697,6 +706,7 @@ __reExport(src_exports, require("@smithy/core/serde"), module.exports);
|
|
697
706
|
_json,
|
698
707
|
LazyJsonString,
|
699
708
|
NumericValue,
|
709
|
+
copyDocumentWithTransform,
|
700
710
|
dateToUtcString,
|
701
711
|
expectBoolean,
|
702
712
|
expectByte,
|
@@ -84,6 +84,11 @@ class ClassBuilder {
|
|
84
84
|
this._deserializer = deserializer;
|
85
85
|
return this;
|
86
86
|
}
|
87
|
+
sc(operation) {
|
88
|
+
this._operationSchema = operation;
|
89
|
+
this._smithyContext.operationSchema = operation;
|
90
|
+
return this;
|
91
|
+
}
|
87
92
|
build() {
|
88
93
|
const closure = this;
|
89
94
|
let CommandRef;
|
@@ -97,6 +102,7 @@ class ClassBuilder {
|
|
97
102
|
this.deserialize = closure._deserializer;
|
98
103
|
this.input = input ?? {};
|
99
104
|
closure._init(this);
|
105
|
+
this.schema = closure._operationSchema;
|
100
106
|
}
|
101
107
|
resolveMiddleware(stack, configuration, options) {
|
102
108
|
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import type { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
2
|
-
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
2
|
+
import type { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
3
3
|
/**
|
4
4
|
* @public
|
5
5
|
*/
|
6
6
|
export declare abstract class Command<Input extends ClientInput, Output extends ClientOutput, ResolvedClientConfiguration, ClientInput extends object = any, ClientOutput extends MetadataBearer = any> implements ICommand<ClientInput, Input, ClientOutput, Output, ResolvedClientConfiguration> {
|
7
7
|
abstract input: Input;
|
8
8
|
readonly middlewareStack: IMiddlewareStack<Input, Output>;
|
9
|
+
readonly schema?: OperationSchema;
|
9
10
|
/**
|
10
11
|
* Factory for Command ClassBuilder.
|
11
12
|
* @internal
|
@@ -54,6 +55,7 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
54
55
|
private _outputFilterSensitiveLog;
|
55
56
|
private _serializer;
|
56
57
|
private _deserializer;
|
58
|
+
private _operationSchema?;
|
57
59
|
/**
|
58
60
|
* Optional init callback.
|
59
61
|
*/
|
@@ -90,6 +92,10 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
90
92
|
* Sets the deserializer.
|
91
93
|
*/
|
92
94
|
de(deserializer: (output: IHttpResponse, context?: SerdeContext | any) => Promise<O>): ClassBuilder<I, O, C, SI, SO>;
|
95
|
+
/**
|
96
|
+
* Sets input/output schema for the operation.
|
97
|
+
*/
|
98
|
+
sc(operation: OperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
93
99
|
/**
|
94
100
|
* @returns a Command class with the classBuilder properties.
|
95
101
|
*/
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
2
|
-
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
2
|
+
import { Command as ICommand, Handler, HandlerExecutionContext, HttpRequest as IHttpRequest, HttpResponse as IHttpResponse, Logger, MetadataBearer, MiddlewareStack as IMiddlewareStack, OperationSchema, OptionalParameter, Pluggable, RequestHandler, SerdeContext } from "@smithy/types";
|
3
3
|
/**
|
4
4
|
* @public
|
5
5
|
*/
|
6
6
|
export declare abstract class Command<Input extends ClientInput, Output extends ClientOutput, ResolvedClientConfiguration, ClientInput extends object = any, ClientOutput extends MetadataBearer = any> implements ICommand<ClientInput, Input, ClientOutput, Output, ResolvedClientConfiguration> {
|
7
7
|
abstract input: Input;
|
8
8
|
readonly middlewareStack: IMiddlewareStack<Input, Output>;
|
9
|
+
readonly schema?: OperationSchema;
|
9
10
|
/**
|
10
11
|
* Factory for Command ClassBuilder.
|
11
12
|
* @internal
|
@@ -54,6 +55,7 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
54
55
|
private _outputFilterSensitiveLog;
|
55
56
|
private _serializer;
|
56
57
|
private _deserializer;
|
58
|
+
private _operationSchema?;
|
57
59
|
/**
|
58
60
|
* Optional init callback.
|
59
61
|
*/
|
@@ -90,6 +92,10 @@ declare class ClassBuilder<I extends SI, O extends SO, C extends {
|
|
90
92
|
* Sets the deserializer.
|
91
93
|
*/
|
92
94
|
de(deserializer: (output: IHttpResponse, context?: SerdeContext | any) => Promise<O>): ClassBuilder<I, O, C, SI, SO>;
|
95
|
+
/**
|
96
|
+
* Sets input/output schema for the operation.
|
97
|
+
*/
|
98
|
+
sc(operation: OperationSchema): ClassBuilder<I, O, C, SI, SO>;
|
93
99
|
/**
|
94
100
|
* @returns a Command class with the classBuilder properties.
|
95
101
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.4.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
@@ -24,12 +24,12 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
29
|
-
"@smithy/middleware-stack": "^4.0.
|
30
|
-
"@smithy/protocol-http": "^5.1.
|
31
|
-
"@smithy/types": "^4.3.
|
32
|
-
"@smithy/util-stream": "^4.2.
|
27
|
+
"@smithy/core": "^3.5.1",
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.9",
|
29
|
+
"@smithy/middleware-stack": "^4.0.4",
|
30
|
+
"@smithy/protocol-http": "^5.1.2",
|
31
|
+
"@smithy/types": "^4.3.1",
|
32
|
+
"@smithy/util-stream": "^4.2.2",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"engines": {
|
@@ -1,13 +1,16 @@
|
|
1
1
|
import { Handler, MiddlewareStack } from "./middleware";
|
2
2
|
import { MetadataBearer } from "./response";
|
3
|
-
import { OperationSchema } from "./schema/schema";
|
4
3
|
/**
|
5
4
|
* @public
|
6
5
|
*/
|
7
6
|
export interface Command<ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration> extends CommandIO<InputType, OutputType> {
|
8
7
|
readonly input: InputType;
|
9
8
|
readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
|
10
|
-
|
9
|
+
/**
|
10
|
+
* This should be OperationSchema from @smithy/types, but would
|
11
|
+
* create problems with the client transform type adaptors.
|
12
|
+
*/
|
13
|
+
readonly schema?: any;
|
11
14
|
resolveMiddleware(stack: MiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedConfiguration, options: any): Handler<InputType, OutputType>;
|
12
15
|
}
|
13
16
|
/**
|
@@ -141,11 +141,9 @@ export interface OperationSchema extends TraitsSchema {
|
|
141
141
|
}
|
142
142
|
/**
|
143
143
|
* Normalization wrapper for various schema data objects.
|
144
|
-
* @
|
144
|
+
* @public
|
145
145
|
*/
|
146
|
-
export interface NormalizedSchema
|
147
|
-
name: string;
|
148
|
-
traits: SchemaTraits;
|
146
|
+
export interface NormalizedSchema {
|
149
147
|
getSchema(): Schema;
|
150
148
|
getName(): string | undefined;
|
151
149
|
isMemberSchema(): boolean;
|
@@ -1,13 +1,16 @@
|
|
1
1
|
import { Handler, MiddlewareStack } from "./middleware";
|
2
2
|
import { MetadataBearer } from "./response";
|
3
|
-
import { OperationSchema } from "./schema/schema";
|
4
3
|
/**
|
5
4
|
* @public
|
6
5
|
*/
|
7
6
|
export interface Command<ClientInput extends object, InputType extends ClientInput, ClientOutput extends MetadataBearer, OutputType extends ClientOutput, ResolvedConfiguration> extends CommandIO<InputType, OutputType> {
|
8
7
|
readonly input: InputType;
|
9
8
|
readonly middlewareStack: MiddlewareStack<InputType, OutputType>;
|
10
|
-
|
9
|
+
/**
|
10
|
+
* This should be OperationSchema from @smithy/types, but would
|
11
|
+
* create problems with the client transform type adaptors.
|
12
|
+
*/
|
13
|
+
readonly schema?: any;
|
11
14
|
resolveMiddleware(stack: MiddlewareStack<ClientInput, ClientOutput>, configuration: ResolvedConfiguration, options: any): Handler<InputType, OutputType>;
|
12
15
|
}
|
13
16
|
/**
|
@@ -156,11 +156,9 @@ export interface OperationSchema extends TraitsSchema {
|
|
156
156
|
}
|
157
157
|
/**
|
158
158
|
* Normalization wrapper for various schema data objects.
|
159
|
-
* @
|
159
|
+
* @public
|
160
160
|
*/
|
161
|
-
export interface NormalizedSchema
|
162
|
-
name: string;
|
163
|
-
traits: SchemaTraits;
|
161
|
+
export interface NormalizedSchema {
|
164
162
|
getSchema(): Schema;
|
165
163
|
getName(): string | undefined;
|
166
164
|
isMemberSchema(): boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.4",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline url-parser",
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/querystring-parser": "^4.0.
|
27
|
-
"@smithy/types": "^4.3.
|
26
|
+
"@smithy/querystring-parser": "^4.0.4",
|
27
|
+
"@smithy/types": "^4.3.1",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"typesVersions": {
|