@aws-sdk/client-lex-runtime-service 3.50.0 → 3.51.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
9
+
10
+
11
+
12
+
13
+
6
14
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/client-lex-runtime-service
@@ -0,0 +1,30 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
3
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
4
+ import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
5
+ import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
6
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
7
+ import { LexRuntimeServiceClient } from "./LexRuntimeServiceClient";
8
+
9
+ export declare class LexRuntimeService extends LexRuntimeServiceClient {
10
+
11
+ deleteSession(args: DeleteSessionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSessionCommandOutput>;
12
+ deleteSession(args: DeleteSessionCommandInput, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
13
+ deleteSession(args: DeleteSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSessionCommandOutput) => void): void;
14
+
15
+ getSession(args: GetSessionCommandInput, options?: __HttpHandlerOptions): Promise<GetSessionCommandOutput>;
16
+ getSession(args: GetSessionCommandInput, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
17
+ getSession(args: GetSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSessionCommandOutput) => void): void;
18
+
19
+ postContent(args: PostContentCommandInput, options?: __HttpHandlerOptions): Promise<PostContentCommandOutput>;
20
+ postContent(args: PostContentCommandInput, cb: (err: any, data?: PostContentCommandOutput) => void): void;
21
+ postContent(args: PostContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostContentCommandOutput) => void): void;
22
+
23
+ postText(args: PostTextCommandInput, options?: __HttpHandlerOptions): Promise<PostTextCommandOutput>;
24
+ postText(args: PostTextCommandInput, cb: (err: any, data?: PostTextCommandOutput) => void): void;
25
+ postText(args: PostTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostTextCommandOutput) => void): void;
26
+
27
+ putSession(args: PutSessionCommandInput, options?: __HttpHandlerOptions): Promise<PutSessionCommandOutput>;
28
+ putSession(args: PutSessionCommandInput, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
29
+ putSession(args: PutSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutSessionCommandOutput) => void): void;
30
+ }
@@ -0,0 +1,78 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
10
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
11
+ import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
12
+ import { PostTextCommandInput, PostTextCommandOutput } from "./commands/PostTextCommand";
13
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "./commands/PutSessionCommand";
14
+ export declare type ServiceInputTypes = DeleteSessionCommandInput | GetSessionCommandInput | PostContentCommandInput | PostTextCommandInput | PutSessionCommandInput;
15
+ export declare type ServiceOutputTypes = DeleteSessionCommandOutput | GetSessionCommandOutput | PostContentCommandOutput | PostTextCommandOutput | PutSessionCommandOutput;
16
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
17
+
18
+ requestHandler?: __HttpHandler;
19
+
20
+ sha256?: __HashConstructor;
21
+
22
+ urlParser?: __UrlParser;
23
+
24
+ bodyLengthChecker?: (body: any) => number | undefined;
25
+
26
+ streamCollector?: __StreamCollector;
27
+
28
+ base64Decoder?: __Decoder;
29
+
30
+ base64Encoder?: __Encoder;
31
+
32
+ utf8Decoder?: __Decoder;
33
+
34
+ utf8Encoder?: __Encoder;
35
+
36
+ runtime?: string;
37
+
38
+ disableHostPrefix?: boolean;
39
+
40
+ maxAttempts?: number | __Provider<number>;
41
+
42
+ retryMode?: string | __Provider<string>;
43
+
44
+ logger?: __Logger;
45
+
46
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
47
+
48
+ useFipsEndpoint?: boolean | __Provider<boolean>;
49
+
50
+ serviceId?: string;
51
+
52
+ region?: string | __Provider<string>;
53
+
54
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
55
+
56
+ regionInfoProvider?: RegionInfoProvider;
57
+
58
+ defaultUserAgentProvider?: Provider<__UserAgent>;
59
+
60
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
61
+ }
62
+ declare type LexRuntimeServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
63
+
64
+ export interface LexRuntimeServiceClientConfig extends LexRuntimeServiceClientConfigType {
65
+ }
66
+ declare type LexRuntimeServiceClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
67
+
68
+ export interface LexRuntimeServiceClientResolvedConfig extends LexRuntimeServiceClientResolvedConfigType {
69
+ }
70
+
71
+ export declare class LexRuntimeServiceClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LexRuntimeServiceClientResolvedConfig> {
72
+
73
+ readonly config: LexRuntimeServiceClientResolvedConfig;
74
+ constructor(configuration: LexRuntimeServiceClientConfig);
75
+
76
+ destroy(): void;
77
+ }
78
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
+ import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_0";
5
+ export interface DeleteSessionCommandInput extends DeleteSessionRequest {
6
+ }
7
+ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
+ readonly input: DeleteSessionCommandInput;
12
+ constructor(input: DeleteSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSessionCommandInput, DeleteSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
+ import { GetSessionRequest, GetSessionResponse } from "../models/models_0";
5
+ export interface GetSessionCommandInput extends GetSessionRequest {
6
+ }
7
+ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
+ readonly input: GetSessionCommandInput;
12
+ constructor(input: GetSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSessionCommandInput, GetSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,24 @@
1
+
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
5
+ import { PostContentRequest, PostContentResponse } from "../models/models_0";
6
+ declare type PostContentCommandInputType = Pick<PostContentRequest, Exclude<keyof PostContentRequest, "inputStream">> & {
7
+
8
+ inputStream: PostContentRequest["inputStream"] | string | Uint8Array | Buffer;
9
+ };
10
+
11
+ export interface PostContentCommandInput extends PostContentCommandInputType {
12
+ }
13
+ export interface PostContentCommandOutput extends PostContentResponse, __MetadataBearer {
14
+ }
15
+
16
+ export declare class PostContentCommand extends $Command<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig> {
17
+ readonly input: PostContentCommandInput;
18
+ constructor(input: PostContentCommandInput);
19
+
20
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostContentCommandInput, PostContentCommandOutput>;
21
+ private serialize;
22
+ private deserialize;
23
+ }
24
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
+ import { PostTextRequest, PostTextResponse } from "../models/models_0";
5
+ export interface PostTextCommandInput extends PostTextRequest {
6
+ }
7
+ export interface PostTextCommandOutput extends PostTextResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PostTextCommand extends $Command<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
+ readonly input: PostTextCommandInput;
12
+ constructor(input: PostTextCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PostTextCommandInput, PostTextCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LexRuntimeServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexRuntimeServiceClient";
4
+ import { PutSessionRequest, PutSessionResponse } from "../models/models_0";
5
+ export interface PutSessionCommandInput extends PutSessionRequest {
6
+ }
7
+ export interface PutSessionCommandOutput extends PutSessionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutSessionCommand extends $Command<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
11
+ readonly input: PutSessionCommandInput;
12
+ constructor(input: PutSessionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexRuntimeServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutSessionCommandInput, PutSessionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,5 @@
1
+ export * from "./DeleteSessionCommand";
2
+ export * from "./GetSessionCommand";
3
+ export * from "./PostContentCommand";
4
+ export * from "./PostTextCommand";
5
+ export * from "./PutSessionCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,4 @@
1
+ export * from "./LexRuntimeService";
2
+ export * from "./LexRuntimeServiceClient";
3
+ export * from "./commands";
4
+ export * from "./models";
@@ -0,0 +1 @@
1
+ export * from "./models_0";
@@ -0,0 +1,226 @@
1
+
2
+ import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
3
+ import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
4
+ import { Readable } from "stream";
5
+
6
+ export interface ActiveContextTimeToLive {
7
+
8
+ timeToLiveInSeconds?: number;
9
+
10
+ turnsToLive?: number;
11
+ }
12
+ export declare namespace ActiveContextTimeToLive {
13
+
14
+ const filterSensitiveLog: (obj: ActiveContextTimeToLive) => any;
15
+ }
16
+
17
+ export interface ActiveContext {
18
+
19
+ name: string | undefined;
20
+
21
+ timeToLive: ActiveContextTimeToLive | undefined;
22
+
23
+ parameters: {
24
+ [key: string]: string;
25
+ } | undefined;
26
+ }
27
+ export declare namespace ActiveContext {
28
+
29
+ const filterSensitiveLog: (obj: ActiveContext) => any;
30
+ }
31
+
32
+ export interface BadRequestException extends __SmithyException, $MetadataBearer {
33
+ name: "BadRequestException";
34
+ $fault: "client";
35
+ message?: string;
36
+ }
37
+
38
+ export interface ConflictException extends __SmithyException, $MetadataBearer {
39
+ name: "ConflictException";
40
+ $fault: "client";
41
+ message?: string;
42
+ }
43
+ export interface DeleteSessionRequest {
44
+
45
+ botName: string | undefined;
46
+
47
+ botAlias: string | undefined;
48
+
49
+ userId: string | undefined;
50
+ }
51
+ export declare namespace DeleteSessionRequest {
52
+
53
+ const filterSensitiveLog: (obj: DeleteSessionRequest) => any;
54
+ }
55
+ export interface DeleteSessionResponse {
56
+
57
+ botName?: string;
58
+
59
+ botAlias?: string;
60
+
61
+ userId?: string;
62
+
63
+ sessionId?: string;
64
+ }
65
+ export declare namespace DeleteSessionResponse {
66
+
67
+ const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
68
+ }
69
+
70
+ export interface InternalFailureException extends __SmithyException, $MetadataBearer {
71
+ name: "InternalFailureException";
72
+ $fault: "server";
73
+ message?: string;
74
+ }
75
+
76
+ export interface LimitExceededException extends __SmithyException, $MetadataBearer {
77
+ name: "LimitExceededException";
78
+ $fault: "client";
79
+ retryAfterSeconds?: string;
80
+ message?: string;
81
+ }
82
+
83
+ export interface NotFoundException extends __SmithyException, $MetadataBearer {
84
+ name: "NotFoundException";
85
+ $fault: "client";
86
+ message?: string;
87
+ }
88
+ export interface GetSessionRequest {
89
+
90
+ botName: string | undefined;
91
+
92
+ botAlias: string | undefined;
93
+
94
+ userId: string | undefined;
95
+
96
+ checkpointLabelFilter?: string;
97
+ }
98
+ export declare namespace GetSessionRequest {
99
+
100
+ const filterSensitiveLog: (obj: GetSessionRequest) => any;
101
+ }
102
+ export declare enum FulfillmentState {
103
+ FAILED = "Failed",
104
+ FULFILLED = "Fulfilled",
105
+ READY_FOR_FULFILLMENT = "ReadyForFulfillment"
106
+ }
107
+ export declare enum MessageFormatType {
108
+ COMPOSITE = "Composite",
109
+ CUSTOM_PAYLOAD = "CustomPayload",
110
+ PLAIN_TEXT = "PlainText",
111
+ SSML = "SSML"
112
+ }
113
+ export declare enum DialogActionType {
114
+ CLOSE = "Close",
115
+ CONFIRM_INTENT = "ConfirmIntent",
116
+ DELEGATE = "Delegate",
117
+ ELICIT_INTENT = "ElicitIntent",
118
+ ELICIT_SLOT = "ElicitSlot"
119
+ }
120
+
121
+ export interface DialogAction {
122
+
123
+ type: DialogActionType | string | undefined;
124
+
125
+ intentName?: string;
126
+
127
+ slots?: {
128
+ [key: string]: string;
129
+ };
130
+
131
+ slotToElicit?: string;
132
+
133
+ fulfillmentState?: FulfillmentState | string;
134
+
135
+ message?: string;
136
+
137
+ messageFormat?: MessageFormatType | string;
138
+ }
139
+ export declare namespace DialogAction {
140
+
141
+ const filterSensitiveLog: (obj: DialogAction) => any;
142
+ }
143
+ export declare enum ConfirmationStatus {
144
+ CONFIRMED = "Confirmed",
145
+ DENIED = "Denied",
146
+ NONE = "None"
147
+ }
148
+
149
+ export interface IntentSummary {
150
+
151
+ intentName?: string;
152
+
153
+ checkpointLabel?: string;
154
+
155
+ slots?: {
156
+ [key: string]: string;
157
+ };
158
+
159
+ confirmationStatus?: ConfirmationStatus | string;
160
+
161
+ dialogActionType: DialogActionType | string | undefined;
162
+
163
+ fulfillmentState?: FulfillmentState | string;
164
+
165
+ slotToElicit?: string;
166
+ }
167
+ export declare namespace IntentSummary {
168
+
169
+ const filterSensitiveLog: (obj: IntentSummary) => any;
170
+ }
171
+ export interface GetSessionResponse {
172
+
173
+ recentIntentSummaryView?: IntentSummary[];
174
+
175
+ sessionAttributes?: {
176
+ [key: string]: string;
177
+ };
178
+
179
+ sessionId?: string;
180
+
181
+ dialogAction?: DialogAction;
182
+
183
+ activeContexts?: ActiveContext[];
184
+ }
185
+ export declare namespace GetSessionResponse {
186
+
187
+ const filterSensitiveLog: (obj: GetSessionResponse) => any;
188
+ }
189
+
190
+ export interface BadGatewayException extends __SmithyException, $MetadataBearer {
191
+ name: "BadGatewayException";
192
+ $fault: "server";
193
+ Message?: string;
194
+ }
195
+
196
+ export interface DependencyFailedException extends __SmithyException, $MetadataBearer {
197
+ name: "DependencyFailedException";
198
+ $fault: "client";
199
+ Message?: string;
200
+ }
201
+
202
+ export interface LoopDetectedException extends __SmithyException, $MetadataBearer {
203
+ name: "LoopDetectedException";
204
+ $fault: "server";
205
+ Message?: string;
206
+ }
207
+
208
+ export interface NotAcceptableException extends __SmithyException, $MetadataBearer {
209
+ name: "NotAcceptableException";
210
+ $fault: "client";
211
+ message?: string;
212
+ }
213
+ export interface PostContentRequest {
214
+
215
+ botName: string | undefined;
216
+
217
+ botAlias: string | undefined;
218
+
219
+ userId: string | undefined;
220
+
221
+ sessionAttributes?: __LazyJsonString | string;
222
+
223
+ requestAttributes?: __LazyJsonString | string;
224
+
225
+ contentType: string | undefined;
226
+
@@ -0,0 +1,17 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "../commands/DeleteSessionCommand";
4
+ import { GetSessionCommandInput, GetSessionCommandOutput } from "../commands/GetSessionCommand";
5
+ import { PostContentCommandInput, PostContentCommandOutput } from "../commands/PostContentCommand";
6
+ import { PostTextCommandInput, PostTextCommandOutput } from "../commands/PostTextCommand";
7
+ import { PutSessionCommandInput, PutSessionCommandOutput } from "../commands/PutSessionCommand";
8
+ export declare const serializeAws_restJson1DeleteSessionCommand: (input: DeleteSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
+ export declare const serializeAws_restJson1GetSessionCommand: (input: GetSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
+ export declare const serializeAws_restJson1PostContentCommand: (input: PostContentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ export declare const serializeAws_restJson1PostTextCommand: (input: PostTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ export declare const serializeAws_restJson1PutSessionCommand: (input: PutSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ export declare const deserializeAws_restJson1DeleteSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSessionCommandOutput>;
14
+ export declare const deserializeAws_restJson1GetSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSessionCommandOutput>;
15
+ export declare const deserializeAws_restJson1PostContentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostContentCommandOutput>;
16
+ export declare const deserializeAws_restJson1PostTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PostTextCommandOutput>;
17
+ export declare const deserializeAws_restJson1PutSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutSessionCommandOutput>;
@@ -0,0 +1,38 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
+
4
+ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<any>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,38 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
+
4
+ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
5
+ runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
+ base64Decoder: import("@aws-sdk/types").Decoder;
8
+ base64Encoder: import("@aws-sdk/types").Encoder;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
13
+ region: string | import("@aws-sdk/types").Provider<string>;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
15
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
16
+ sha256: import("@aws-sdk/types").HashConstructor;
17
+ streamCollector: import("@aws-sdk/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ utf8Decoder: import("@aws-sdk/types").Decoder;
21
+ utf8Encoder: import("@aws-sdk/types").Encoder;
22
+ apiVersion: string;
23
+ urlParser: import("@aws-sdk/types").UrlParser;
24
+ disableHostPrefix: boolean;
25
+ logger: import("@aws-sdk/types").Logger;
26
+ serviceId: string;
27
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
28
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
+ tls?: boolean | undefined;
30
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
31
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
32
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
33
+ signingEscapePath?: boolean | undefined;
34
+ systemClockOffset?: number | undefined;
35
+ signingRegion?: string | undefined;
36
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
37
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
38
+ };
@@ -0,0 +1,37 @@
1
+ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
2
+
3
+ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
4
+ runtime: string;
5
+ sha256: import("@aws-sdk/types").HashConstructor;
6
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
+ apiVersion: string;
8
+ urlParser: import("@aws-sdk/types").UrlParser;
9
+ bodyLengthChecker: (body: any) => number | undefined;
10
+ streamCollector: import("@aws-sdk/types").StreamCollector;
11
+ base64Decoder: import("@aws-sdk/types").Decoder;
12
+ base64Encoder: import("@aws-sdk/types").Encoder;
13
+ utf8Decoder: import("@aws-sdk/types").Decoder;
14
+ utf8Encoder: import("@aws-sdk/types").Encoder;
15
+ disableHostPrefix: boolean;
16
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
17
+ retryMode: string | import("@aws-sdk/types").Provider<string>;
18
+ logger: import("@aws-sdk/types").Logger;
19
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
+ serviceId: string;
22
+ region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
23
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
27
+ endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
+ tls?: boolean | undefined;
29
+ retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
30
+ credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
31
+ signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
32
+ signingEscapePath?: boolean | undefined;
33
+ systemClockOffset?: number | undefined;
34
+ signingRegion?: string | undefined;
35
+ signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { Logger as __Logger } from "@aws-sdk/types";
2
+ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient";
3
+
4
+ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) => {
5
+ apiVersion: string;
6
+ disableHostPrefix: boolean;
7
+ logger: __Logger;
8
+ regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
9
+ serviceId: string;
10
+ urlParser: import("@aws-sdk/types").UrlParser;
11
+ };
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.50.0",
4
+ "version": "3.51.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",
@@ -20,21 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.50.0",
24
- "@aws-sdk/config-resolver": "3.50.0",
25
- "@aws-sdk/credential-provider-node": "3.50.0",
23
+ "@aws-sdk/client-sts": "3.51.0",
24
+ "@aws-sdk/config-resolver": "3.51.0",
25
+ "@aws-sdk/credential-provider-node": "3.51.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.50.0",
27
27
  "@aws-sdk/hash-node": "3.50.0",
28
28
  "@aws-sdk/invalid-dependency": "3.50.0",
29
29
  "@aws-sdk/middleware-content-length": "3.50.0",
30
30
  "@aws-sdk/middleware-host-header": "3.50.0",
31
31
  "@aws-sdk/middleware-logger": "3.50.0",
32
- "@aws-sdk/middleware-retry": "3.50.0",
32
+ "@aws-sdk/middleware-retry": "3.51.0",
33
33
  "@aws-sdk/middleware-serde": "3.50.0",
34
34
  "@aws-sdk/middleware-signing": "3.50.0",
35
35
  "@aws-sdk/middleware-stack": "3.50.0",
36
36
  "@aws-sdk/middleware-user-agent": "3.50.0",
37
- "@aws-sdk/node-config-provider": "3.50.0",
37
+ "@aws-sdk/node-config-provider": "3.51.0",
38
38
  "@aws-sdk/node-http-handler": "3.50.0",
39
39
  "@aws-sdk/protocol-http": "3.50.0",
40
40
  "@aws-sdk/smithy-client": "3.50.0",
@@ -45,9 +45,9 @@
45
45
  "@aws-sdk/util-body-length-browser": "3.49.0",
46
46
  "@aws-sdk/util-body-length-node": "3.49.0",
47
47
  "@aws-sdk/util-defaults-mode-browser": "3.50.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.50.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.51.0",
49
49
  "@aws-sdk/util-user-agent-browser": "3.50.0",
50
- "@aws-sdk/util-user-agent-node": "3.50.0",
50
+ "@aws-sdk/util-user-agent-node": "3.51.0",
51
51
  "@aws-sdk/util-utf8-browser": "3.49.0",
52
52
  "@aws-sdk/util-utf8-node": "3.49.0",
53
53
  "tslib": "^2.3.0"