@aws-sdk/client-lex-runtime-service 3.477.0 → 3.481.0

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.
@@ -1,48 +1,25 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_PutSessionCommand, se_PutSessionCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class PutSessionCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, PutSessionCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "LexRuntimeServiceClient";
27
- const commandName = "PutSessionCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: PutSessionRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: PutSessionResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "AWSDeepSenseRunTimeService",
36
- operation: "PutSession",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_PutSessionCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_PutSessionCommand(output, context);
47
- }
8
+ export class PutSessionCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AWSDeepSenseRunTimeService", "PutSession", {})
20
+ .n("LexRuntimeServiceClient", "PutSessionCommand")
21
+ .f(PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog)
22
+ .ser(se_PutSessionCommand)
23
+ .de(de_PutSessionCommand)
24
+ .build() {
48
25
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "lex",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
4
  import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
21
20
  */
22
21
  export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteSessionCommand_base: {
24
+ new (input: DeleteSessionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes session information for a specified bot, alias, and user ID.
@@ -76,23 +79,5 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
76
79
  * <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
77
80
  *
78
81
  */
79
- export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
80
- readonly input: DeleteSessionCommandInput;
81
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
- /**
83
- * @public
84
- */
85
- constructor(input: DeleteSessionCommandInput);
86
- /**
87
- * @internal
88
- */
89
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
90
- /**
91
- * @internal
92
- */
93
- private serialize;
94
- /**
95
- * @internal
96
- */
97
- private deserialize;
82
+ export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
98
83
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
4
  import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface GetSessionCommandInput extends GetSessionRequest {
21
20
  */
22
21
  export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
23
22
  }
23
+ declare const GetSessionCommand_base: {
24
+ new (input: GetSessionCommandInput): import("@smithy/smithy-client").CommandImpl<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Returns session information for a specified bot, alias, and user
@@ -107,23 +110,5 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
107
110
  * <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
108
111
  *
109
112
  */
110
- export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
111
- readonly input: GetSessionCommandInput;
112
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
113
- /**
114
- * @public
115
- */
116
- constructor(input: GetSessionCommandInput);
117
- /**
118
- * @internal
119
- */
120
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
121
- /**
122
- * @internal
123
- */
124
- private serialize;
125
- /**
126
- * @internal
127
- */
128
- private deserialize;
113
+ export declare class GetSessionCommand extends GetSessionCommand_base {
129
114
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes, StreamingBlobPayloadOutputTypes } from "@smithy/types";
4
3
  import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
4
  import { PostContentRequest, PostContentResponse } from "../models/models_0";
6
5
  /**
@@ -23,6 +22,10 @@ export interface PostContentCommandInput extends Omit<PostContentRequest, "input
23
22
  export interface PostContentCommandOutput extends Omit<PostContentResponse, "audioStream">, __MetadataBearer {
24
23
  audioStream?: StreamingBlobPayloadOutputTypes;
25
24
  }
25
+ declare const PostContentCommand_base: {
26
+ new (input: PostContentCommandInput): import("@smithy/smithy-client").CommandImpl<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
26
29
  /**
27
30
  * @public
28
31
  * <p> Sends user input (text or speech) to Amazon Lex. Clients use this API to
@@ -209,23 +212,5 @@ export interface PostContentCommandOutput extends Omit<PostContentResponse, "aud
209
212
  * <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
210
213
  *
211
214
  */
212
- export declare class PostContentCommand extends $Command<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig> {
213
- readonly input: PostContentCommandInput;
214
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
215
- /**
216
- * @public
217
- */
218
- constructor(input: PostContentCommandInput);
219
- /**
220
- * @internal
221
- */
222
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostContentCommandInput, PostContentCommandOutput>;
223
- /**
224
- * @internal
225
- */
226
- private serialize;
227
- /**
228
- * @internal
229
- */
230
- private deserialize;
215
+ export declare class PostContentCommand extends PostContentCommand_base {
231
216
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
4
  import { PostTextRequest, PostTextResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface PostTextCommandInput extends PostTextRequest {
21
20
  */
22
21
  export interface PostTextCommandOutput extends PostTextResponse, __MetadataBearer {
23
22
  }
23
+ declare const PostTextCommand_base: {
24
+ new (input: PostTextCommandInput): import("@smithy/smithy-client").CommandImpl<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Sends user input to Amazon Lex. Client applications can use this API to
@@ -252,23 +255,5 @@ export interface PostTextCommandOutput extends PostTextResponse, __MetadataBeare
252
255
  * <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
253
256
  *
254
257
  */
255
- export declare class PostTextCommand extends $Command<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig> {
256
- readonly input: PostTextCommandInput;
257
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
258
- /**
259
- * @public
260
- */
261
- constructor(input: PostTextCommandInput);
262
- /**
263
- * @internal
264
- */
265
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostTextCommandInput, PostTextCommandOutput>;
266
- /**
267
- * @internal
268
- */
269
- private serialize;
270
- /**
271
- * @internal
272
- */
273
- private deserialize;
258
+ export declare class PostTextCommand extends PostTextCommand_base {
274
259
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadOutputTypes } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadOutputTypes } from "@smithy/types";
4
3
  import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
4
  import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
6
5
  /**
@@ -22,6 +21,10 @@ export interface PutSessionCommandInput extends PutSessionRequest {
22
21
  export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audioStream">, __MetadataBearer {
23
22
  audioStream?: StreamingBlobPayloadOutputTypes;
24
23
  }
24
+ declare const PutSessionCommand_base: {
25
+ new (input: PutSessionCommandInput): import("@smithy/smithy-client").CommandImpl<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
+ };
25
28
  /**
26
29
  * @public
27
30
  * <p>Creates a new session or modifies an existing session with an Amazon Lex
@@ -152,23 +155,5 @@ export interface PutSessionCommandOutput extends Omit<PutSessionResponse, "audio
152
155
  * <p>Base exception class for all service exceptions from LexRuntimeService service.</p>
153
156
  *
154
157
  */
155
- export declare class PutSessionCommand extends $Command<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
156
- readonly input: PutSessionCommandInput;
157
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
158
- /**
159
- * @public
160
- */
161
- constructor(input: PutSessionCommandInput);
162
- /**
163
- * @internal
164
- */
165
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSessionCommandInput, PutSessionCommandOutput>;
166
- /**
167
- * @internal
168
- */
169
- private serialize;
170
- /**
171
- * @internal
172
- */
173
- private deserialize;
158
+ export declare class PutSessionCommand extends PutSessionCommand_base {
174
159
  }
@@ -14,6 +14,24 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
14
14
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
15
  defaultSigningName: string;
16
16
  };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
17
35
  export interface EndpointParameters extends __EndpointParameters {
18
36
  Region?: string;
19
37
  UseDualStack?: boolean;
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  LexRuntimeServiceClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -20,19 +14,16 @@ export interface DeleteSessionCommandInput extends DeleteSessionRequest {}
20
14
  export interface DeleteSessionCommandOutput
21
15
  extends DeleteSessionResponse,
22
16
  __MetadataBearer {}
23
- export declare class DeleteSessionCommand extends $Command<
24
- DeleteSessionCommandInput,
25
- DeleteSessionCommandOutput,
26
- LexRuntimeServiceClientResolvedConfig
27
- > {
28
- readonly input: DeleteSessionCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: DeleteSessionCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: LexRuntimeServiceClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const DeleteSessionCommand_base: {
18
+ new (
19
+ input: DeleteSessionCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ DeleteSessionCommandInput,
22
+ DeleteSessionCommandOutput,
23
+ LexRuntimeServiceClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class DeleteSessionCommand extends DeleteSessionCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  LexRuntimeServiceClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface GetSessionCommandInput extends GetSessionRequest {}
17
11
  export interface GetSessionCommandOutput
18
12
  extends GetSessionResponse,
19
13
  __MetadataBearer {}
20
- export declare class GetSessionCommand extends $Command<
21
- GetSessionCommandInput,
22
- GetSessionCommandOutput,
23
- LexRuntimeServiceClientResolvedConfig
24
- > {
25
- readonly input: GetSessionCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: GetSessionCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LexRuntimeServiceClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const GetSessionCommand_base: {
15
+ new (
16
+ input: GetSessionCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ GetSessionCommandInput,
19
+ GetSessionCommandOutput,
20
+ LexRuntimeServiceClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class GetSessionCommand extends GetSessionCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadInputTypes,
9
5
  StreamingBlobPayloadOutputTypes,
10
6
  } from "@smithy/types";
@@ -30,19 +26,16 @@ export interface PostContentCommandOutput
30
26
  __MetadataBearer {
31
27
  audioStream?: StreamingBlobPayloadOutputTypes;
32
28
  }
33
- export declare class PostContentCommand extends $Command<
34
- PostContentCommandInput,
35
- PostContentCommandOutput,
36
- LexRuntimeServiceClientResolvedConfig
37
- > {
38
- readonly input: PostContentCommandInput;
39
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
- constructor(input: PostContentCommandInput);
41
- resolveMiddleware(
42
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
43
- configuration: LexRuntimeServiceClientResolvedConfig,
44
- options?: __HttpHandlerOptions
45
- ): Handler<PostContentCommandInput, PostContentCommandOutput>;
46
- private serialize;
47
- private deserialize;
48
- }
29
+ declare const PostContentCommand_base: {
30
+ new (
31
+ input: PostContentCommandInput
32
+ ): import("@smithy/smithy-client").CommandImpl<
33
+ PostContentCommandInput,
34
+ PostContentCommandOutput,
35
+ LexRuntimeServiceClientResolvedConfig,
36
+ ServiceInputTypes,
37
+ ServiceOutputTypes
38
+ >;
39
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
40
+ };
41
+ export declare class PostContentCommand extends PostContentCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  LexRuntimeServiceClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface PostTextCommandInput extends PostTextRequest {}
17
11
  export interface PostTextCommandOutput
18
12
  extends PostTextResponse,
19
13
  __MetadataBearer {}
20
- export declare class PostTextCommand extends $Command<
21
- PostTextCommandInput,
22
- PostTextCommandOutput,
23
- LexRuntimeServiceClientResolvedConfig
24
- > {
25
- readonly input: PostTextCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: PostTextCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: LexRuntimeServiceClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<PostTextCommandInput, PostTextCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const PostTextCommand_base: {
15
+ new (
16
+ input: PostTextCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ PostTextCommandInput,
19
+ PostTextCommandOutput,
20
+ LexRuntimeServiceClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class PostTextCommand extends PostTextCommand_base {}
@@ -1,10 +1,6 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
2
  import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
3
  MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
4
  StreamingBlobPayloadOutputTypes,
9
5
  } from "@smithy/types";
10
6
  import {
@@ -23,19 +19,16 @@ export interface PutSessionCommandOutput
23
19
  __MetadataBearer {
24
20
  audioStream?: StreamingBlobPayloadOutputTypes;
25
21
  }
26
- export declare class PutSessionCommand extends $Command<
27
- PutSessionCommandInput,
28
- PutSessionCommandOutput,
29
- LexRuntimeServiceClientResolvedConfig
30
- > {
31
- readonly input: PutSessionCommandInput;
32
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
33
- constructor(input: PutSessionCommandInput);
34
- resolveMiddleware(
35
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
36
- configuration: LexRuntimeServiceClientResolvedConfig,
37
- options?: __HttpHandlerOptions
38
- ): Handler<PutSessionCommandInput, PutSessionCommandOutput>;
39
- private serialize;
40
- private deserialize;
41
- }
22
+ declare const PutSessionCommand_base: {
23
+ new (
24
+ input: PutSessionCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ PutSessionCommandInput,
27
+ PutSessionCommandOutput,
28
+ LexRuntimeServiceClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
33
+ };
34
+ export declare class PutSessionCommand extends PutSessionCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-service",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime Service Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -22,40 +22,40 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "3.0.0",
24
24
  "@aws-crypto/sha256-js": "3.0.0",
25
- "@aws-sdk/client-sts": "3.477.0",
26
- "@aws-sdk/core": "3.477.0",
27
- "@aws-sdk/credential-provider-node": "3.477.0",
25
+ "@aws-sdk/client-sts": "3.481.0",
26
+ "@aws-sdk/core": "3.481.0",
27
+ "@aws-sdk/credential-provider-node": "3.481.0",
28
28
  "@aws-sdk/middleware-host-header": "3.468.0",
29
29
  "@aws-sdk/middleware-logger": "3.468.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
31
31
  "@aws-sdk/middleware-signing": "3.468.0",
32
- "@aws-sdk/middleware-user-agent": "3.470.0",
32
+ "@aws-sdk/middleware-user-agent": "3.478.0",
33
33
  "@aws-sdk/region-config-resolver": "3.470.0",
34
34
  "@aws-sdk/types": "3.468.0",
35
- "@aws-sdk/util-endpoints": "3.470.0",
35
+ "@aws-sdk/util-endpoints": "3.478.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.468.0",
37
37
  "@aws-sdk/util-user-agent-node": "3.470.0",
38
38
  "@smithy/config-resolver": "^2.0.21",
39
- "@smithy/core": "^1.2.0",
39
+ "@smithy/core": "^1.2.1",
40
40
  "@smithy/fetch-http-handler": "^2.3.1",
41
41
  "@smithy/hash-node": "^2.0.17",
42
42
  "@smithy/invalid-dependency": "^2.0.15",
43
43
  "@smithy/middleware-content-length": "^2.0.17",
44
44
  "@smithy/middleware-endpoint": "^2.2.3",
45
- "@smithy/middleware-retry": "^2.0.24",
45
+ "@smithy/middleware-retry": "^2.0.25",
46
46
  "@smithy/middleware-serde": "^2.0.15",
47
47
  "@smithy/middleware-stack": "^2.0.9",
48
48
  "@smithy/node-config-provider": "^2.1.8",
49
49
  "@smithy/node-http-handler": "^2.2.1",
50
50
  "@smithy/protocol-http": "^3.0.11",
51
- "@smithy/smithy-client": "^2.1.18",
51
+ "@smithy/smithy-client": "^2.2.0",
52
52
  "@smithy/types": "^2.7.0",
53
53
  "@smithy/url-parser": "^2.0.15",
54
54
  "@smithy/util-base64": "^2.0.1",
55
55
  "@smithy/util-body-length-browser": "^2.0.1",
56
56
  "@smithy/util-body-length-node": "^2.1.0",
57
- "@smithy/util-defaults-mode-browser": "^2.0.22",
58
- "@smithy/util-defaults-mode-node": "^2.0.29",
57
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
58
+ "@smithy/util-defaults-mode-node": "^2.0.30",
59
59
  "@smithy/util-endpoints": "^1.0.7",
60
60
  "@smithy/util-retry": "^2.0.8",
61
61
  "@smithy/util-stream": "^2.0.23",