@aws-sdk/client-lex-runtime-service 3.288.0 → 3.290.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/dist-types/commands/DeleteSessionCommand.d.ts +20 -0
- package/dist-types/commands/GetSessionCommand.d.ts +16 -0
- package/dist-types/commands/PostContentCommand.d.ts +56 -0
- package/dist-types/commands/PostTextCommand.d.ts +46 -0
- package/dist-types/commands/PutSessionCommand.d.ts +46 -0
- package/package.json +31 -31
|
@@ -30,6 +30,26 @@ export interface DeleteSessionCommandOutput extends DeleteSessionResponse, __Met
|
|
|
30
30
|
* @see {@link DeleteSessionCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link LexRuntimeServiceClientResolvedConfig | config} for LexRuntimeServiceClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link BadRequestException} (client fault)
|
|
34
|
+
* <p> Request validation failed, there is no usable message in the context,
|
|
35
|
+
* or the bot build failed, is still in progress, or contains unbuilt
|
|
36
|
+
* changes. </p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ConflictException} (client fault)
|
|
39
|
+
* <p> Two clients are using the same AWS account, Amazon Lex bot, and user
|
|
40
|
+
* ID. </p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
43
|
+
* <p>Internal service error. Retry the call.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
46
|
+
* <p>Exceeded a limit.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link NotFoundException} (client fault)
|
|
49
|
+
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
50
|
+
* to is not found.</p>
|
|
51
|
+
*
|
|
52
|
+
*
|
|
33
53
|
*/
|
|
34
54
|
export declare class DeleteSessionCommand extends $Command<DeleteSessionCommandInput, DeleteSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
|
|
35
55
|
readonly input: DeleteSessionCommandInput;
|
|
@@ -30,6 +30,22 @@ export interface GetSessionCommandOutput extends GetSessionResponse, __MetadataB
|
|
|
30
30
|
* @see {@link GetSessionCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link LexRuntimeServiceClientResolvedConfig | config} for LexRuntimeServiceClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link BadRequestException} (client fault)
|
|
34
|
+
* <p> Request validation failed, there is no usable message in the context,
|
|
35
|
+
* or the bot build failed, is still in progress, or contains unbuilt
|
|
36
|
+
* changes. </p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
39
|
+
* <p>Internal service error. Retry the call.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
42
|
+
* <p>Exceeded a limit.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link NotFoundException} (client fault)
|
|
45
|
+
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
46
|
+
* to is not found.</p>
|
|
47
|
+
*
|
|
48
|
+
*
|
|
33
49
|
*/
|
|
34
50
|
export declare class GetSessionCommand extends $Command<GetSessionCommandInput, GetSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
|
|
35
51
|
readonly input: GetSessionCommandInput;
|
|
@@ -115,6 +115,62 @@ export interface PostContentCommandOutput extends __WithSdkStreamMixin<PostConte
|
|
|
115
115
|
* @see {@link PostContentCommandOutput} for command's `response` shape.
|
|
116
116
|
* @see {@link LexRuntimeServiceClientResolvedConfig | config} for LexRuntimeServiceClient's `config` shape.
|
|
117
117
|
*
|
|
118
|
+
* @throws {@link BadGatewayException} (server fault)
|
|
119
|
+
* <p>Either the Amazon Lex bot is still building, or one of the dependent
|
|
120
|
+
* services (Amazon Polly, AWS Lambda) failed with an internal service
|
|
121
|
+
* error.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link BadRequestException} (client fault)
|
|
124
|
+
* <p> Request validation failed, there is no usable message in the context,
|
|
125
|
+
* or the bot build failed, is still in progress, or contains unbuilt
|
|
126
|
+
* changes. </p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ConflictException} (client fault)
|
|
129
|
+
* <p> Two clients are using the same AWS account, Amazon Lex bot, and user
|
|
130
|
+
* ID. </p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link DependencyFailedException} (client fault)
|
|
133
|
+
* <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an
|
|
134
|
+
* exception. For example, </p>
|
|
135
|
+
* <ul>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>If Amazon Lex does not have sufficient permissions to call a Lambda
|
|
138
|
+
* function.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>If a Lambda function takes longer than 30 seconds to
|
|
142
|
+
* execute.</p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>If a fulfillment Lambda function returns a <code>Delegate</code>
|
|
146
|
+
* dialog action without removing any slot values.</p>
|
|
147
|
+
* </li>
|
|
148
|
+
* </ul>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
151
|
+
* <p>Internal service error. Retry the call.</p>
|
|
152
|
+
*
|
|
153
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
154
|
+
* <p>Exceeded a limit.</p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link LoopDetectedException} (server fault)
|
|
157
|
+
* <p>This exception is not used.</p>
|
|
158
|
+
*
|
|
159
|
+
* @throws {@link NotAcceptableException} (client fault)
|
|
160
|
+
* <p>The accept header in the request does not have a valid value.</p>
|
|
161
|
+
*
|
|
162
|
+
* @throws {@link NotFoundException} (client fault)
|
|
163
|
+
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
164
|
+
* to is not found.</p>
|
|
165
|
+
*
|
|
166
|
+
* @throws {@link RequestTimeoutException} (client fault)
|
|
167
|
+
* <p>The input speech is too long.</p>
|
|
168
|
+
*
|
|
169
|
+
* @throws {@link UnsupportedMediaTypeException} (client fault)
|
|
170
|
+
* <p>The Content-Type header (<code>PostContent</code> API) has an invalid
|
|
171
|
+
* value. </p>
|
|
172
|
+
*
|
|
173
|
+
*
|
|
118
174
|
*/
|
|
119
175
|
export declare class PostContentCommand extends $Command<PostContentCommandInput, PostContentCommandOutput, LexRuntimeServiceClientResolvedConfig> {
|
|
120
176
|
readonly input: PostContentCommandInput;
|
|
@@ -104,6 +104,52 @@ export interface PostTextCommandOutput extends PostTextResponse, __MetadataBeare
|
|
|
104
104
|
* @see {@link PostTextCommandOutput} for command's `response` shape.
|
|
105
105
|
* @see {@link LexRuntimeServiceClientResolvedConfig | config} for LexRuntimeServiceClient's `config` shape.
|
|
106
106
|
*
|
|
107
|
+
* @throws {@link BadGatewayException} (server fault)
|
|
108
|
+
* <p>Either the Amazon Lex bot is still building, or one of the dependent
|
|
109
|
+
* services (Amazon Polly, AWS Lambda) failed with an internal service
|
|
110
|
+
* error.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link BadRequestException} (client fault)
|
|
113
|
+
* <p> Request validation failed, there is no usable message in the context,
|
|
114
|
+
* or the bot build failed, is still in progress, or contains unbuilt
|
|
115
|
+
* changes. </p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConflictException} (client fault)
|
|
118
|
+
* <p> Two clients are using the same AWS account, Amazon Lex bot, and user
|
|
119
|
+
* ID. </p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link DependencyFailedException} (client fault)
|
|
122
|
+
* <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an
|
|
123
|
+
* exception. For example, </p>
|
|
124
|
+
* <ul>
|
|
125
|
+
* <li>
|
|
126
|
+
* <p>If Amazon Lex does not have sufficient permissions to call a Lambda
|
|
127
|
+
* function.</p>
|
|
128
|
+
* </li>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>If a Lambda function takes longer than 30 seconds to
|
|
131
|
+
* execute.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>If a fulfillment Lambda function returns a <code>Delegate</code>
|
|
135
|
+
* dialog action without removing any slot values.</p>
|
|
136
|
+
* </li>
|
|
137
|
+
* </ul>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
140
|
+
* <p>Internal service error. Retry the call.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
143
|
+
* <p>Exceeded a limit.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link LoopDetectedException} (server fault)
|
|
146
|
+
* <p>This exception is not used.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link NotFoundException} (client fault)
|
|
149
|
+
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
150
|
+
* to is not found.</p>
|
|
151
|
+
*
|
|
152
|
+
*
|
|
107
153
|
*/
|
|
108
154
|
export declare class PostTextCommand extends $Command<PostTextCommandInput, PostTextCommandOutput, LexRuntimeServiceClientResolvedConfig> {
|
|
109
155
|
readonly input: PostTextCommandInput;
|
|
@@ -33,6 +33,52 @@ export interface PutSessionCommandOutput extends __WithSdkStreamMixin<PutSession
|
|
|
33
33
|
* @see {@link PutSessionCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link LexRuntimeServiceClientResolvedConfig | config} for LexRuntimeServiceClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link BadGatewayException} (server fault)
|
|
37
|
+
* <p>Either the Amazon Lex bot is still building, or one of the dependent
|
|
38
|
+
* services (Amazon Polly, AWS Lambda) failed with an internal service
|
|
39
|
+
* error.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link BadRequestException} (client fault)
|
|
42
|
+
* <p> Request validation failed, there is no usable message in the context,
|
|
43
|
+
* or the bot build failed, is still in progress, or contains unbuilt
|
|
44
|
+
* changes. </p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ConflictException} (client fault)
|
|
47
|
+
* <p> Two clients are using the same AWS account, Amazon Lex bot, and user
|
|
48
|
+
* ID. </p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link DependencyFailedException} (client fault)
|
|
51
|
+
* <p> One of the dependencies, such as AWS Lambda or Amazon Polly, threw an
|
|
52
|
+
* exception. For example, </p>
|
|
53
|
+
* <ul>
|
|
54
|
+
* <li>
|
|
55
|
+
* <p>If Amazon Lex does not have sufficient permissions to call a Lambda
|
|
56
|
+
* function.</p>
|
|
57
|
+
* </li>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>If a Lambda function takes longer than 30 seconds to
|
|
60
|
+
* execute.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>If a fulfillment Lambda function returns a <code>Delegate</code>
|
|
64
|
+
* dialog action without removing any slot values.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* </ul>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InternalFailureException} (server fault)
|
|
69
|
+
* <p>Internal service error. Retry the call.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
72
|
+
* <p>Exceeded a limit.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NotAcceptableException} (client fault)
|
|
75
|
+
* <p>The accept header in the request does not have a valid value.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link NotFoundException} (client fault)
|
|
78
|
+
* <p>The resource (such as the Amazon Lex bot or an alias) that is referred
|
|
79
|
+
* to is not found.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
36
82
|
*/
|
|
37
83
|
export declare class PutSessionCommand extends $Command<PutSessionCommandInput, PutSessionCommandOutput, LexRuntimeServiceClientResolvedConfig> {
|
|
38
84
|
readonly input: PutSessionCommandInput;
|
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.290.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,39 +22,39 @@
|
|
|
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.
|
|
26
|
-
"@aws-sdk/config-resolver": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
28
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
29
|
-
"@aws-sdk/hash-node": "3.
|
|
30
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
31
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
32
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
36
|
-
"@aws-sdk/middleware-retry": "3.
|
|
37
|
-
"@aws-sdk/middleware-serde": "3.
|
|
38
|
-
"@aws-sdk/middleware-signing": "3.
|
|
39
|
-
"@aws-sdk/middleware-stack": "3.
|
|
40
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
41
|
-
"@aws-sdk/node-config-provider": "3.
|
|
42
|
-
"@aws-sdk/node-http-handler": "3.
|
|
43
|
-
"@aws-sdk/protocol-http": "3.
|
|
44
|
-
"@aws-sdk/smithy-client": "3.
|
|
45
|
-
"@aws-sdk/types": "3.
|
|
46
|
-
"@aws-sdk/url-parser": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.290.0",
|
|
26
|
+
"@aws-sdk/config-resolver": "3.290.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.290.0",
|
|
28
|
+
"@aws-sdk/fetch-http-handler": "3.290.0",
|
|
29
|
+
"@aws-sdk/hash-node": "3.290.0",
|
|
30
|
+
"@aws-sdk/invalid-dependency": "3.290.0",
|
|
31
|
+
"@aws-sdk/middleware-content-length": "3.290.0",
|
|
32
|
+
"@aws-sdk/middleware-endpoint": "3.290.0",
|
|
33
|
+
"@aws-sdk/middleware-host-header": "3.290.0",
|
|
34
|
+
"@aws-sdk/middleware-logger": "3.290.0",
|
|
35
|
+
"@aws-sdk/middleware-recursion-detection": "3.290.0",
|
|
36
|
+
"@aws-sdk/middleware-retry": "3.290.0",
|
|
37
|
+
"@aws-sdk/middleware-serde": "3.290.0",
|
|
38
|
+
"@aws-sdk/middleware-signing": "3.290.0",
|
|
39
|
+
"@aws-sdk/middleware-stack": "3.290.0",
|
|
40
|
+
"@aws-sdk/middleware-user-agent": "3.290.0",
|
|
41
|
+
"@aws-sdk/node-config-provider": "3.290.0",
|
|
42
|
+
"@aws-sdk/node-http-handler": "3.290.0",
|
|
43
|
+
"@aws-sdk/protocol-http": "3.290.0",
|
|
44
|
+
"@aws-sdk/smithy-client": "3.290.0",
|
|
45
|
+
"@aws-sdk/types": "3.290.0",
|
|
46
|
+
"@aws-sdk/url-parser": "3.290.0",
|
|
47
47
|
"@aws-sdk/util-base64": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
49
49
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
51
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
52
|
-
"@aws-sdk/util-endpoints": "3.
|
|
53
|
-
"@aws-sdk/util-retry": "3.
|
|
54
|
-
"@aws-sdk/util-stream-browser": "3.
|
|
55
|
-
"@aws-sdk/util-stream-node": "3.
|
|
56
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
57
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-browser": "3.290.0",
|
|
51
|
+
"@aws-sdk/util-defaults-mode-node": "3.290.0",
|
|
52
|
+
"@aws-sdk/util-endpoints": "3.290.0",
|
|
53
|
+
"@aws-sdk/util-retry": "3.290.0",
|
|
54
|
+
"@aws-sdk/util-stream-browser": "3.290.0",
|
|
55
|
+
"@aws-sdk/util-stream-node": "3.290.0",
|
|
56
|
+
"@aws-sdk/util-user-agent-browser": "3.290.0",
|
|
57
|
+
"@aws-sdk/util-user-agent-node": "3.290.0",
|
|
58
58
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
59
59
|
"tslib": "^2.3.1"
|
|
60
60
|
},
|