@aws-sdk/client-lex-runtime-v2 3.428.0 → 3.430.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.
@@ -412,7 +412,7 @@ export interface SentimentResponse {
412
412
  * sentiment most likely expressed by the user based on the analysis by
413
413
  * Amazon Comprehend.</p>
414
414
  */
415
- sentiment?: SentimentType | string;
415
+ sentiment?: SentimentType;
416
416
  /**
417
417
  * @public
418
418
  * <p>The individual sentiment responses for the utterance.</p>
@@ -499,7 +499,7 @@ export interface Message {
499
499
  * @public
500
500
  * <p>Indicates the type of response.</p>
501
501
  */
502
- contentType: MessageContentType | string | undefined;
502
+ contentType: MessageContentType | undefined;
503
503
  /**
504
504
  * @public
505
505
  * <p>A card that is shown to the user by a messaging platform. You define
@@ -1033,7 +1033,7 @@ export interface PlaybackInterruptionEvent {
1033
1033
  * @public
1034
1034
  * <p>Indicates the type of user input that Amazon Lex V2 detected.</p>
1035
1035
  */
1036
- eventReason?: PlaybackInterruptionReason | string;
1036
+ eventReason?: PlaybackInterruptionReason;
1037
1037
  /**
1038
1038
  * @public
1039
1039
  * <p>The identifier of the event that contained the audio, DTMF, or text
@@ -1146,7 +1146,7 @@ export interface DialogAction {
1146
1146
  * </li>
1147
1147
  * </ul>
1148
1148
  */
1149
- type: DialogActionType | string | undefined;
1149
+ type: DialogActionType | undefined;
1150
1150
  /**
1151
1151
  * @public
1152
1152
  * <p>The name of the slot that should be elicited from the user.</p>
@@ -1169,7 +1169,7 @@ export interface DialogAction {
1169
1169
  * <p>For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/using-spelling.html">
1170
1170
  * Using spelling to enter slot values </a>.</p>
1171
1171
  */
1172
- slotElicitationStyle?: StyleType | string;
1172
+ slotElicitationStyle?: StyleType;
1173
1173
  /**
1174
1174
  * @public
1175
1175
  * <p>The name of the constituent sub slot of the composite slot
@@ -1241,7 +1241,7 @@ export interface Slot {
1241
1241
  * the value is <code>Scalar</code>, it indicates that the
1242
1242
  * <code>value</code> field contains a single value.</p>
1243
1243
  */
1244
- shape?: Shape | string;
1244
+ shape?: Shape;
1245
1245
  /**
1246
1246
  * @public
1247
1247
  * <p>A list of one or more values that the user provided for the slot.
@@ -1276,13 +1276,13 @@ export interface Intent {
1276
1276
  * @public
1277
1277
  * <p>Contains fulfillment information for the intent. </p>
1278
1278
  */
1279
- state?: IntentState | string;
1279
+ state?: IntentState;
1280
1280
  /**
1281
1281
  * @public
1282
1282
  * <p>Contains information about whether fulfillment of the intent has
1283
1283
  * been confirmed.</p>
1284
1284
  */
1285
- confirmationState?: ConfirmationState | string;
1285
+ confirmationState?: ConfirmationState;
1286
1286
  }
1287
1287
  /**
1288
1288
  * @public
@@ -1732,7 +1732,7 @@ export interface StartConversationRequest {
1732
1732
  * DTMF information. If the mode is <code>TEXT</code> you can only send
1733
1733
  * text.</p>
1734
1734
  */
1735
- conversationMode?: ConversationMode | string;
1735
+ conversationMode?: ConversationMode;
1736
1736
  /**
1737
1737
  * @public
1738
1738
  * <p>Represents the stream of events to Amazon Lex V2 from your application. The
@@ -1787,7 +1787,7 @@ export interface IntentResultEvent {
1787
1787
  * <p>Indicates whether the input to the operation was text or
1788
1788
  * speech.</p>
1789
1789
  */
1790
- inputMode?: InputMode | string;
1790
+ inputMode?: InputMode;
1791
1791
  /**
1792
1792
  * @public
1793
1793
  * <p>A list of intents that Amazon Lex V2 determined might satisfy the user's
@@ -123,7 +123,7 @@ export interface SentimentScore {
123
123
  mixed?: number;
124
124
  }
125
125
  export interface SentimentResponse {
126
- sentiment?: SentimentType | string;
126
+ sentiment?: SentimentType;
127
127
  sentimentScore?: SentimentScore;
128
128
  }
129
129
  export declare const MessageContentType: {
@@ -146,7 +146,7 @@ export interface ImageResponseCard {
146
146
  }
147
147
  export interface Message {
148
148
  content?: string;
149
- contentType: MessageContentType | string | undefined;
149
+ contentType: MessageContentType | undefined;
150
150
  imageResponseCard?: ImageResponseCard;
151
151
  }
152
152
  export declare const StyleType: {
@@ -258,7 +258,7 @@ export declare const PlaybackInterruptionReason: {
258
258
  export type PlaybackInterruptionReason =
259
259
  (typeof PlaybackInterruptionReason)[keyof typeof PlaybackInterruptionReason];
260
260
  export interface PlaybackInterruptionEvent {
261
- eventReason?: PlaybackInterruptionReason | string;
261
+ eventReason?: PlaybackInterruptionReason;
262
262
  causedByEventId?: string;
263
263
  eventId?: string;
264
264
  }
@@ -275,9 +275,9 @@ export interface ElicitSubSlot {
275
275
  subSlotToElicit?: ElicitSubSlot;
276
276
  }
277
277
  export interface DialogAction {
278
- type: DialogActionType | string | undefined;
278
+ type: DialogActionType | undefined;
279
279
  slotToElicit?: string;
280
- slotElicitationStyle?: StyleType | string;
280
+ slotElicitationStyle?: StyleType;
281
281
  subSlotToElicit?: ElicitSubSlot;
282
282
  }
283
283
  export interface RuntimeHintDetails {
@@ -289,15 +289,15 @@ export interface RuntimeHints {
289
289
  }
290
290
  export interface Slot {
291
291
  value?: Value;
292
- shape?: Shape | string;
292
+ shape?: Shape;
293
293
  values?: Slot[];
294
294
  subSlots?: Record<string, Slot>;
295
295
  }
296
296
  export interface Intent {
297
297
  name: string | undefined;
298
298
  slots?: Record<string, Slot>;
299
- state?: IntentState | string;
300
- confirmationState?: ConfirmationState | string;
299
+ state?: IntentState;
300
+ confirmationState?: ConfirmationState;
301
301
  }
302
302
  export interface Interpretation {
303
303
  nluConfidence?: ConfidenceScore;
@@ -431,7 +431,7 @@ export interface StartConversationRequest {
431
431
  botAliasId: string | undefined;
432
432
  localeId: string | undefined;
433
433
  sessionId: string | undefined;
434
- conversationMode?: ConversationMode | string;
434
+ conversationMode?: ConversationMode;
435
435
  requestEventStream:
436
436
  | AsyncIterable<StartConversationRequestEventStream>
437
437
  | undefined;
@@ -443,7 +443,7 @@ export interface GetSessionResponse {
443
443
  sessionState?: SessionState;
444
444
  }
445
445
  export interface IntentResultEvent {
446
- inputMode?: InputMode | string;
446
+ inputMode?: InputMode;
447
447
  interpretations?: Interpretation[];
448
448
  sessionState?: SessionState;
449
449
  requestAttributes?: Record<string, string>;
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.428.0",
4
+ "version": "3.430.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",
@@ -21,21 +21,21 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
26
  "@aws-sdk/eventstream-handler-node": "3.428.0",
27
- "@aws-sdk/middleware-eventstream": "3.428.0",
28
- "@aws-sdk/middleware-host-header": "3.428.0",
27
+ "@aws-sdk/middleware-eventstream": "3.429.0",
28
+ "@aws-sdk/middleware-host-header": "3.429.0",
29
29
  "@aws-sdk/middleware-logger": "3.428.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
31
31
  "@aws-sdk/middleware-signing": "3.428.0",
32
32
  "@aws-sdk/middleware-user-agent": "3.428.0",
33
- "@aws-sdk/region-config-resolver": "3.428.0",
33
+ "@aws-sdk/region-config-resolver": "3.430.0",
34
34
  "@aws-sdk/types": "3.428.0",
35
35
  "@aws-sdk/util-endpoints": "3.428.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.428.0",
37
- "@aws-sdk/util-user-agent-node": "3.428.0",
38
- "@smithy/config-resolver": "^2.0.14",
37
+ "@aws-sdk/util-user-agent-node": "3.430.0",
38
+ "@smithy/config-resolver": "^2.0.15",
39
39
  "@smithy/eventstream-serde-browser": "^2.0.11",
40
40
  "@smithy/eventstream-serde-config-resolver": "^2.0.11",
41
41
  "@smithy/eventstream-serde-node": "^2.0.11",
@@ -43,11 +43,11 @@
43
43
  "@smithy/hash-node": "^2.0.11",
44
44
  "@smithy/invalid-dependency": "^2.0.11",
45
45
  "@smithy/middleware-content-length": "^2.0.13",
46
- "@smithy/middleware-endpoint": "^2.1.0",
47
- "@smithy/middleware-retry": "^2.0.16",
46
+ "@smithy/middleware-endpoint": "^2.1.2",
47
+ "@smithy/middleware-retry": "^2.0.17",
48
48
  "@smithy/middleware-serde": "^2.0.11",
49
49
  "@smithy/middleware-stack": "^2.0.5",
50
- "@smithy/node-config-provider": "^2.1.1",
50
+ "@smithy/node-config-provider": "^2.1.2",
51
51
  "@smithy/node-http-handler": "^2.1.7",
52
52
  "@smithy/protocol-http": "^3.0.7",
53
53
  "@smithy/smithy-client": "^2.1.11",
@@ -57,7 +57,7 @@
57
57
  "@smithy/util-body-length-browser": "^2.0.0",
58
58
  "@smithy/util-body-length-node": "^2.1.0",
59
59
  "@smithy/util-defaults-mode-browser": "^2.0.15",
60
- "@smithy/util-defaults-mode-node": "^2.0.19",
60
+ "@smithy/util-defaults-mode-node": "^2.0.20",
61
61
  "@smithy/util-retry": "^2.0.4",
62
62
  "@smithy/util-stream": "^2.0.16",
63
63
  "@smithy/util-utf8": "^2.0.0",