@cdklabs/cdk-ecs-codedeploy 0.0.410 → 0.0.412
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/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/client-codedeploy/package.json +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/client-sso/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +4 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- 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 +13 -3
- package/node_modules/@smithy/core/schema.d.ts +7 -0
- package/node_modules/@smithy/core/schema.js +6 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- 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 +1 -1
- 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 +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +4 -4
@@ -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.7",
|
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",
|
@@ -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.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
27
|
+
"@smithy/core": "^3.5.0",
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.8",
|
29
29
|
"@smithy/middleware-stack": "^4.0.3",
|
30
30
|
"@smithy/protocol-http": "^5.1.1",
|
31
31
|
"@smithy/types": "^4.3.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.16",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
26
|
"@smithy/property-provider": "^4.0.3",
|
27
|
-
"@smithy/smithy-client": "^4.
|
27
|
+
"@smithy/smithy-client": "^4.4.0",
|
28
28
|
"@smithy/types": "^4.3.0",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.16",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@smithy/credential-provider-imds": "^4.0.5",
|
28
28
|
"@smithy/node-config-provider": "^4.1.2",
|
29
29
|
"@smithy/property-provider": "^4.0.3",
|
30
|
-
"@smithy/smithy-client": "^4.
|
30
|
+
"@smithy/smithy-client": "^4.4.0",
|
31
31
|
"@smithy/types": "^4.3.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
package/package.json
CHANGED
@@ -83,11 +83,11 @@
|
|
83
83
|
"aws-cdk-lib": "2.139.0",
|
84
84
|
"aws-sdk-client-mock": "^4.1.0",
|
85
85
|
"aws-sdk-client-mock-jest": "^4.1.0",
|
86
|
-
"cdk-nag": "^2.
|
86
|
+
"cdk-nag": "^2.36.0",
|
87
87
|
"cdklabs-projen-project-types": "^0.1.204",
|
88
88
|
"commit-and-tag-version": "^12",
|
89
89
|
"constructs": "10.0.5",
|
90
|
-
"esbuild": "^0.25.
|
90
|
+
"esbuild": "^0.25.5",
|
91
91
|
"eslint": "^8",
|
92
92
|
"eslint-import-resolver-typescript": "^3.10.1",
|
93
93
|
"eslint-plugin-import": "^2.31.0",
|
@@ -109,7 +109,7 @@
|
|
109
109
|
"constructs": "^10.0.5"
|
110
110
|
},
|
111
111
|
"dependencies": {
|
112
|
-
"@aws-sdk/client-codedeploy": "^3.
|
112
|
+
"@aws-sdk/client-codedeploy": "^3.817.0",
|
113
113
|
"jmespath": "^0.16.0"
|
114
114
|
},
|
115
115
|
"bundledDependencies": [
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"publishConfig": {
|
128
128
|
"access": "public"
|
129
129
|
},
|
130
|
-
"version": "0.0.
|
130
|
+
"version": "0.0.412",
|
131
131
|
"jest": {
|
132
132
|
"coverageProvider": "v8",
|
133
133
|
"testMatch": [
|