@aws-sdk/client-lex-runtime-service 3.51.0 → 3.54.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LexRuntimeServiceServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +149 -1
- package/dist-cjs/protocols/Aws_restJson1.js +134 -349
- package/dist-es/index.js +1 -0
- package/dist-es/models/LexRuntimeServiceServiceException.js +12 -0
- package/dist-es/models/models_0.js +139 -2
- package/dist-es/protocols/Aws_restJson1.js +189 -381
- package/dist-types/LexRuntimeServiceClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LexRuntimeServiceServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +79 -43
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/LexRuntimeServiceClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/LexRuntimeServiceServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -35
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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
9
|
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
10
10
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
11
11
|
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
@@ -33,7 +33,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
33
33
|
* A function that can calculate the length of a request body.
|
|
34
34
|
* @internal
|
|
35
35
|
*/
|
|
36
|
-
bodyLengthChecker?:
|
|
36
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
37
37
|
/**
|
|
38
38
|
* A function that converts a stream into an array of bytes.
|
|
39
39
|
* @internal
|
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from LexRuntimeService service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class LexRuntimeServiceServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { Readable } from "stream";
|
|
4
|
+
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
5
5
|
/**
|
|
6
6
|
* <p>The length of time or number of turns that a context remains
|
|
7
7
|
* active.</p>
|
|
@@ -63,19 +63,25 @@ export declare namespace ActiveContext {
|
|
|
63
63
|
* or the bot build failed, is still in progress, or contains unbuilt
|
|
64
64
|
* changes. </p>
|
|
65
65
|
*/
|
|
66
|
-
export
|
|
67
|
-
name: "BadRequestException";
|
|
68
|
-
$fault: "client";
|
|
69
|
-
|
|
66
|
+
export declare class BadRequestException extends __BaseException {
|
|
67
|
+
readonly name: "BadRequestException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
70
73
|
}
|
|
71
74
|
/**
|
|
72
75
|
* <p> Two clients are using the same AWS account, Amazon Lex bot, and user
|
|
73
76
|
* ID. </p>
|
|
74
77
|
*/
|
|
75
|
-
export
|
|
76
|
-
name: "ConflictException";
|
|
77
|
-
$fault: "client";
|
|
78
|
-
|
|
78
|
+
export declare class ConflictException extends __BaseException {
|
|
79
|
+
readonly name: "ConflictException";
|
|
80
|
+
readonly $fault: "client";
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
79
85
|
}
|
|
80
86
|
export interface DeleteSessionRequest {
|
|
81
87
|
/**
|
|
@@ -124,28 +130,37 @@ export declare namespace DeleteSessionResponse {
|
|
|
124
130
|
/**
|
|
125
131
|
* <p>Internal service error. Retry the call.</p>
|
|
126
132
|
*/
|
|
127
|
-
export
|
|
128
|
-
name: "InternalFailureException";
|
|
129
|
-
$fault: "server";
|
|
130
|
-
|
|
133
|
+
export declare class InternalFailureException extends __BaseException {
|
|
134
|
+
readonly name: "InternalFailureException";
|
|
135
|
+
readonly $fault: "server";
|
|
136
|
+
/**
|
|
137
|
+
* @internal
|
|
138
|
+
*/
|
|
139
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
131
140
|
}
|
|
132
141
|
/**
|
|
133
142
|
* <p>Exceeded a limit.</p>
|
|
134
143
|
*/
|
|
135
|
-
export
|
|
136
|
-
name: "LimitExceededException";
|
|
137
|
-
$fault: "client";
|
|
144
|
+
export declare class LimitExceededException extends __BaseException {
|
|
145
|
+
readonly name: "LimitExceededException";
|
|
146
|
+
readonly $fault: "client";
|
|
138
147
|
retryAfterSeconds?: string;
|
|
139
|
-
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
140
152
|
}
|
|
141
153
|
/**
|
|
142
154
|
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
143
155
|
* to is not found.</p>
|
|
144
156
|
*/
|
|
145
|
-
export
|
|
146
|
-
name: "NotFoundException";
|
|
147
|
-
$fault: "client";
|
|
148
|
-
|
|
157
|
+
export declare class NotFoundException extends __BaseException {
|
|
158
|
+
readonly name: "NotFoundException";
|
|
159
|
+
readonly $fault: "client";
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
149
164
|
}
|
|
150
165
|
export interface GetSessionRequest {
|
|
151
166
|
/**
|
|
@@ -476,10 +491,14 @@ export declare namespace GetSessionResponse {
|
|
|
476
491
|
* services (Amazon Polly, AWS Lambda) failed with an internal service
|
|
477
492
|
* error.</p>
|
|
478
493
|
*/
|
|
479
|
-
export
|
|
480
|
-
name: "BadGatewayException";
|
|
481
|
-
$fault: "server";
|
|
494
|
+
export declare class BadGatewayException extends __BaseException {
|
|
495
|
+
readonly name: "BadGatewayException";
|
|
496
|
+
readonly $fault: "server";
|
|
482
497
|
Message?: string;
|
|
498
|
+
/**
|
|
499
|
+
* @internal
|
|
500
|
+
*/
|
|
501
|
+
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
483
502
|
}
|
|
484
503
|
/**
|
|
485
504
|
* <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an
|
|
@@ -499,26 +518,37 @@ export interface BadGatewayException extends __SmithyException, $MetadataBearer
|
|
|
499
518
|
* </li>
|
|
500
519
|
* </ul>
|
|
501
520
|
*/
|
|
502
|
-
export
|
|
503
|
-
name: "DependencyFailedException";
|
|
504
|
-
$fault: "client";
|
|
521
|
+
export declare class DependencyFailedException extends __BaseException {
|
|
522
|
+
readonly name: "DependencyFailedException";
|
|
523
|
+
readonly $fault: "client";
|
|
505
524
|
Message?: string;
|
|
525
|
+
/**
|
|
526
|
+
* @internal
|
|
527
|
+
*/
|
|
528
|
+
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
506
529
|
}
|
|
507
530
|
/**
|
|
508
531
|
* <p>This exception is not used.</p>
|
|
509
532
|
*/
|
|
510
|
-
export
|
|
511
|
-
name: "LoopDetectedException";
|
|
512
|
-
$fault: "server";
|
|
533
|
+
export declare class LoopDetectedException extends __BaseException {
|
|
534
|
+
readonly name: "LoopDetectedException";
|
|
535
|
+
readonly $fault: "server";
|
|
513
536
|
Message?: string;
|
|
537
|
+
/**
|
|
538
|
+
* @internal
|
|
539
|
+
*/
|
|
540
|
+
constructor(opts: __ExceptionOptionType<LoopDetectedException, __BaseException>);
|
|
514
541
|
}
|
|
515
542
|
/**
|
|
516
543
|
* <p>The accept header in the request does not have a valid value.</p>
|
|
517
544
|
*/
|
|
518
|
-
export
|
|
519
|
-
name: "NotAcceptableException";
|
|
520
|
-
$fault: "client";
|
|
521
|
-
|
|
545
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
546
|
+
readonly name: "NotAcceptableException";
|
|
547
|
+
readonly $fault: "client";
|
|
548
|
+
/**
|
|
549
|
+
* @internal
|
|
550
|
+
*/
|
|
551
|
+
constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>);
|
|
522
552
|
}
|
|
523
553
|
export interface PostContentRequest {
|
|
524
554
|
/**
|
|
@@ -959,19 +989,25 @@ export declare namespace PostContentResponse {
|
|
|
959
989
|
/**
|
|
960
990
|
* <p>The input speech is too long.</p>
|
|
961
991
|
*/
|
|
962
|
-
export
|
|
963
|
-
name: "RequestTimeoutException";
|
|
964
|
-
$fault: "client";
|
|
965
|
-
|
|
992
|
+
export declare class RequestTimeoutException extends __BaseException {
|
|
993
|
+
readonly name: "RequestTimeoutException";
|
|
994
|
+
readonly $fault: "client";
|
|
995
|
+
/**
|
|
996
|
+
* @internal
|
|
997
|
+
*/
|
|
998
|
+
constructor(opts: __ExceptionOptionType<RequestTimeoutException, __BaseException>);
|
|
966
999
|
}
|
|
967
1000
|
/**
|
|
968
1001
|
* <p>The Content-Type header (<code>PostContent</code> API) has an invalid
|
|
969
1002
|
* value. </p>
|
|
970
1003
|
*/
|
|
971
|
-
export
|
|
972
|
-
name: "UnsupportedMediaTypeException";
|
|
973
|
-
$fault: "client";
|
|
974
|
-
|
|
1004
|
+
export declare class UnsupportedMediaTypeException extends __BaseException {
|
|
1005
|
+
readonly name: "UnsupportedMediaTypeException";
|
|
1006
|
+
readonly $fault: "client";
|
|
1007
|
+
/**
|
|
1008
|
+
* @internal
|
|
1009
|
+
*/
|
|
1010
|
+
constructor(opts: __ExceptionOptionType<UnsupportedMediaTypeException, __BaseException>);
|
|
975
1011
|
}
|
|
976
1012
|
export interface PostTextRequest {
|
|
977
1013
|
/**
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
8
8
|
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;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
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";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, 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
9
|
import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./commands/DeleteSessionCommand";
|
|
10
10
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
11
11
|
import { PostContentCommandInput, PostContentCommandOutput } from "./commands/PostContentCommand";
|
|
@@ -21,7 +21,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
21
21
|
|
|
22
22
|
urlParser?: __UrlParser;
|
|
23
23
|
|
|
24
|
-
bodyLengthChecker?:
|
|
24
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
25
25
|
|
|
26
26
|
streamCollector?: __StreamCollector;
|
|
27
27
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class LexRuntimeServiceServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { Readable } from "stream";
|
|
4
|
+
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
5
5
|
|
|
6
6
|
export interface ActiveContextTimeToLive {
|
|
7
7
|
|
|
@@ -29,16 +29,18 @@ export declare namespace ActiveContext {
|
|
|
29
29
|
const filterSensitiveLog: (obj: ActiveContext) => any;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export
|
|
33
|
-
name: "BadRequestException";
|
|
34
|
-
$fault: "client";
|
|
35
|
-
|
|
32
|
+
export declare class BadRequestException extends __BaseException {
|
|
33
|
+
readonly name: "BadRequestException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
|
|
36
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
36
37
|
}
|
|
37
38
|
|
|
38
|
-
export
|
|
39
|
-
name: "ConflictException";
|
|
40
|
-
$fault: "client";
|
|
41
|
-
|
|
39
|
+
export declare class ConflictException extends __BaseException {
|
|
40
|
+
readonly name: "ConflictException";
|
|
41
|
+
readonly $fault: "client";
|
|
42
|
+
|
|
43
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
42
44
|
}
|
|
43
45
|
export interface DeleteSessionRequest {
|
|
44
46
|
|
|
@@ -67,23 +69,26 @@ export declare namespace DeleteSessionResponse {
|
|
|
67
69
|
const filterSensitiveLog: (obj: DeleteSessionResponse) => any;
|
|
68
70
|
}
|
|
69
71
|
|
|
70
|
-
export
|
|
71
|
-
name: "InternalFailureException";
|
|
72
|
-
$fault: "server";
|
|
73
|
-
|
|
72
|
+
export declare class InternalFailureException extends __BaseException {
|
|
73
|
+
readonly name: "InternalFailureException";
|
|
74
|
+
readonly $fault: "server";
|
|
75
|
+
|
|
76
|
+
constructor(opts: __ExceptionOptionType<InternalFailureException, __BaseException>);
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
export
|
|
77
|
-
name: "LimitExceededException";
|
|
78
|
-
$fault: "client";
|
|
79
|
+
export declare class LimitExceededException extends __BaseException {
|
|
80
|
+
readonly name: "LimitExceededException";
|
|
81
|
+
readonly $fault: "client";
|
|
79
82
|
retryAfterSeconds?: string;
|
|
80
|
-
|
|
83
|
+
|
|
84
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
81
85
|
}
|
|
82
86
|
|
|
83
|
-
export
|
|
84
|
-
name: "NotFoundException";
|
|
85
|
-
$fault: "client";
|
|
86
|
-
|
|
87
|
+
export declare class NotFoundException extends __BaseException {
|
|
88
|
+
readonly name: "NotFoundException";
|
|
89
|
+
readonly $fault: "client";
|
|
90
|
+
|
|
91
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
87
92
|
}
|
|
88
93
|
export interface GetSessionRequest {
|
|
89
94
|
|
|
@@ -187,28 +192,35 @@ export declare namespace GetSessionResponse {
|
|
|
187
192
|
const filterSensitiveLog: (obj: GetSessionResponse) => any;
|
|
188
193
|
}
|
|
189
194
|
|
|
190
|
-
export
|
|
191
|
-
name: "BadGatewayException";
|
|
192
|
-
$fault: "server";
|
|
195
|
+
export declare class BadGatewayException extends __BaseException {
|
|
196
|
+
readonly name: "BadGatewayException";
|
|
197
|
+
readonly $fault: "server";
|
|
193
198
|
Message?: string;
|
|
199
|
+
|
|
200
|
+
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
194
201
|
}
|
|
195
202
|
|
|
196
|
-
export
|
|
197
|
-
name: "DependencyFailedException";
|
|
198
|
-
$fault: "client";
|
|
203
|
+
export declare class DependencyFailedException extends __BaseException {
|
|
204
|
+
readonly name: "DependencyFailedException";
|
|
205
|
+
readonly $fault: "client";
|
|
199
206
|
Message?: string;
|
|
207
|
+
|
|
208
|
+
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
|
200
209
|
}
|
|
201
210
|
|
|
202
|
-
export
|
|
203
|
-
name: "LoopDetectedException";
|
|
204
|
-
$fault: "server";
|
|
211
|
+
export declare class LoopDetectedException extends __BaseException {
|
|
212
|
+
readonly name: "LoopDetectedException";
|
|
213
|
+
readonly $fault: "server";
|
|
205
214
|
Message?: string;
|
|
215
|
+
|
|
216
|
+
constructor(opts: __ExceptionOptionType<LoopDetectedException, __BaseException>);
|
|
206
217
|
}
|
|
207
218
|
|
|
208
|
-
export
|
|
209
|
-
name: "NotAcceptableException";
|
|
210
|
-
$fault: "client";
|
|
211
|
-
|
|
219
|
+
export declare class NotAcceptableException extends __BaseException {
|
|
220
|
+
readonly name: "NotAcceptableException";
|
|
221
|
+
readonly $fault: "client";
|
|
222
|
+
|
|
223
|
+
constructor(opts: __ExceptionOptionType<NotAcceptableException, __BaseException>);
|
|
212
224
|
}
|
|
213
225
|
export interface PostContentRequest {
|
|
214
226
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LexRuntimeServiceClientConfig) =
|
|
|
6
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
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
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.
|
|
4
|
+
"version": "3.54.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",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "rimraf ./dist-*",
|
|
12
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
13
13
|
"test": "yarn test:unit",
|
|
14
14
|
"test:unit": "ts-mocha test/**/*.spec.ts"
|
|
15
15
|
},
|
|
@@ -20,40 +20,40 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.54.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.54.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.54.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.54.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.54.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.54.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.54.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.54.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.54.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.54.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.54.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.54.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.54.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.54.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.54.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.54.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.54.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.54.0",
|
|
41
|
+
"@aws-sdk/types": "3.54.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.54.0",
|
|
43
|
+
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.52.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.54.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.54.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.54.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.54.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.54.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.54.0",
|
|
51
|
+
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
53
53
|
"tslib": "^2.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.52.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/chai": "^4.2.11",
|
|
59
59
|
"@types/mocha": "^8.0.4",
|