@aws-sdk/client-lex-runtime-v2 3.775.0 → 3.782.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.
@@ -91,6 +91,7 @@ declare const DeleteSessionCommand_base: {
91
91
  * @throws {@link LexRuntimeV2ServiceException}
92
92
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
93
93
  *
94
+ *
94
95
  * @public
95
96
  */
96
97
  export declare class DeleteSessionCommand extends DeleteSessionCommand_base {
@@ -209,6 +209,7 @@ declare const GetSessionCommand_base: {
209
209
  * @throws {@link LexRuntimeV2ServiceException}
210
210
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
211
211
  *
212
+ *
212
213
  * @public
213
214
  */
214
215
  export declare class GetSessionCommand extends GetSessionCommand_base {
@@ -155,6 +155,11 @@ declare const PutSessionCommand_base: {
155
155
  * };
156
156
  * const command = new PutSessionCommand(input);
157
157
  * const response = await client.send(command);
158
+ * // consume or destroy the stream to free the socket.
159
+ * const bytes = await response.audioStream.transformToByteArray();
160
+ * // const str = await response.audioStream.transformToString();
161
+ * // response.audioStream.destroy(); // only applicable to Node.js Readable streams.
162
+ *
158
163
  * // { // PutSessionResponse
159
164
  * // contentType: "STRING_VALUE",
160
165
  * // messages: "STRING_VALUE",
@@ -199,6 +204,7 @@ declare const PutSessionCommand_base: {
199
204
  * @throws {@link LexRuntimeV2ServiceException}
200
205
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
201
206
  *
207
+ *
202
208
  * @public
203
209
  */
204
210
  export declare class PutSessionCommand extends PutSessionCommand_base {
@@ -340,6 +340,7 @@ declare const RecognizeTextCommand_base: {
340
340
  * @throws {@link LexRuntimeV2ServiceException}
341
341
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
342
342
  *
343
+ *
343
344
  * @public
344
345
  */
345
346
  export declare class RecognizeTextCommand extends RecognizeTextCommand_base {
@@ -111,6 +111,11 @@ declare const RecognizeUtteranceCommand_base: {
111
111
  * };
112
112
  * const command = new RecognizeUtteranceCommand(input);
113
113
  * const response = await client.send(command);
114
+ * // consume or destroy the stream to free the socket.
115
+ * const bytes = await response.audioStream.transformToByteArray();
116
+ * // const str = await response.audioStream.transformToString();
117
+ * // response.audioStream.destroy(); // only applicable to Node.js Readable streams.
118
+ *
114
119
  * // { // RecognizeUtteranceResponse
115
120
  * // inputMode: "STRING_VALUE",
116
121
  * // contentType: "STRING_VALUE",
@@ -159,6 +164,7 @@ declare const RecognizeUtteranceCommand_base: {
159
164
  * @throws {@link LexRuntimeV2ServiceException}
160
165
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
161
166
  *
167
+ *
162
168
  * @public
163
169
  */
164
170
  export declare class RecognizeUtteranceCommand extends RecognizeUtteranceCommand_base {
@@ -456,6 +456,7 @@ declare const StartConversationCommand_base: {
456
456
  * @throws {@link LexRuntimeV2ServiceException}
457
457
  * <p>Base exception class for all service exceptions from LexRuntimeV2 service.</p>
458
458
  *
459
+ *
459
460
  * @public
460
461
  */
461
462
  export declare class StartConversationCommand extends StartConversationCommand_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-runtime-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Runtime V2 Client for Node.js, Browser and React Native",
4
- "version": "3.775.0",
4
+ "version": "3.782.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-lex-runtime-v2",
@@ -21,18 +21,18 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.782.0",
25
25
  "@aws-sdk/eventstream-handler-node": "3.775.0",
26
26
  "@aws-sdk/middleware-eventstream": "3.775.0",
27
27
  "@aws-sdk/middleware-host-header": "3.775.0",
28
28
  "@aws-sdk/middleware-logger": "3.775.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
30
- "@aws-sdk/middleware-user-agent": "3.775.0",
30
+ "@aws-sdk/middleware-user-agent": "3.782.0",
31
31
  "@aws-sdk/region-config-resolver": "3.775.0",
32
32
  "@aws-sdk/types": "3.775.0",
33
- "@aws-sdk/util-endpoints": "3.775.0",
33
+ "@aws-sdk/util-endpoints": "3.782.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.775.0",
35
- "@aws-sdk/util-user-agent-node": "3.775.0",
35
+ "@aws-sdk/util-user-agent-node": "3.782.0",
36
36
  "@smithy/config-resolver": "^4.1.0",
37
37
  "@smithy/core": "^3.2.0",
38
38
  "@smithy/eventstream-serde-browser": "^4.0.2",