@aws-sdk/client-lex-runtime-v2 3.686.0 → 3.691.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.
@@ -79,7 +79,7 @@ export interface AudioInputEvent {
79
79
  * <p>An encoded stream of audio.</p>
80
80
  * @public
81
81
  */
82
- audioChunk?: Uint8Array;
82
+ audioChunk?: Uint8Array | undefined;
83
83
  /**
84
84
  * <p>The encoding used for the audio chunk. You must use 8 KHz PCM 16-bit
85
85
  * mono-channel little-endian format. The value of the field should
@@ -96,13 +96,13 @@ export interface AudioInputEvent {
96
96
  * can use this to identify events in logs.</p>
97
97
  * @public
98
98
  */
99
- eventId?: string;
99
+ eventId?: string | undefined;
100
100
  /**
101
101
  * <p>A timestamp set by the client of the date and time that the event
102
102
  * was sent to Amazon Lex V2.</p>
103
103
  * @public
104
104
  */
105
- clientTimestampMillis?: number;
105
+ clientTimestampMillis?: number | undefined;
106
106
  }
107
107
  /**
108
108
  * <p>An event sent from Amazon Lex V2 to your client application containing audio
@@ -114,14 +114,14 @@ export interface AudioResponseEvent {
114
114
  * <p>A chunk of the audio to play. </p>
115
115
  * @public
116
116
  */
117
- audioChunk?: Uint8Array;
117
+ audioChunk?: Uint8Array | undefined;
118
118
  /**
119
119
  * <p>The encoding of the audio chunk. This is the same as the encoding
120
120
  * configure in the <code>contentType</code> field of the
121
121
  * <code>ConfigurationEvent</code>.</p>
122
122
  * @public
123
123
  */
124
- contentType?: string;
124
+ contentType?: string | undefined;
125
125
  /**
126
126
  * <p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in
127
127
  * the form <code>RESPONSE-N</code>, where N is a number starting with one
@@ -129,7 +129,7 @@ export interface AudioResponseEvent {
129
129
  * session.</p>
130
130
  * @public
131
131
  */
132
- eventId?: string;
132
+ eventId?: string | undefined;
133
133
  }
134
134
  /**
135
135
  * <p></p>
@@ -177,23 +177,23 @@ export interface DeleteSessionResponse {
177
177
  * <p>The identifier of the bot that contained the session data.</p>
178
178
  * @public
179
179
  */
180
- botId?: string;
180
+ botId?: string | undefined;
181
181
  /**
182
182
  * <p>The alias identifier in use for the bot that contained the session
183
183
  * data.</p>
184
184
  * @public
185
185
  */
186
- botAliasId?: string;
186
+ botAliasId?: string | undefined;
187
187
  /**
188
188
  * <p>The locale where the session was used.</p>
189
189
  * @public
190
190
  */
191
- localeId?: string;
191
+ localeId?: string | undefined;
192
192
  /**
193
193
  * <p>The identifier of the deleted session.</p>
194
194
  * @public
195
195
  */
196
- sessionId?: string;
196
+ sessionId?: string | undefined;
197
197
  }
198
198
  /**
199
199
  * <p></p>
@@ -304,7 +304,7 @@ export interface Value {
304
304
  * <p>The part of the user's response to the slot elicitation that Amazon Lex V2 determines is relevant to the slot value.</p>
305
305
  * @public
306
306
  */
307
- originalValue?: string;
307
+ originalValue?: string | undefined;
308
308
  /**
309
309
  * <p>The value that Amazon Lex V2 determines for the slot, given the user input. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex V2 choose the first value in the <code>resolvedValues</code> list.</p>
310
310
  * @public
@@ -314,7 +314,7 @@ export interface Value {
314
314
  * <p>A list of values that Amazon Lex V2 determines are possible resolutions for the user input. The first value matches the <code>interpretedValue</code>.</p>
315
315
  * @public
316
316
  */
317
- resolvedValues?: string[];
317
+ resolvedValues?: string[] | undefined;
318
318
  }
319
319
  /**
320
320
  * @public
@@ -356,7 +356,7 @@ export interface ConfidenceScore {
356
356
  * scores indicate higher confidence.</p>
357
357
  * @public
358
358
  */
359
- score?: number;
359
+ score?: number | undefined;
360
360
  }
361
361
  /**
362
362
  * @public
@@ -382,25 +382,25 @@ export interface SentimentScore {
382
382
  * of its detection of the <code>POSITIVE</code> sentiment.</p>
383
383
  * @public
384
384
  */
385
- positive?: number;
385
+ positive?: number | undefined;
386
386
  /**
387
387
  * <p>The level of confidence that Amazon Comprehend has in the accuracy
388
388
  * of its detection of the <code>NEGATIVE</code> sentiment.</p>
389
389
  * @public
390
390
  */
391
- negative?: number;
391
+ negative?: number | undefined;
392
392
  /**
393
393
  * <p>The level of confidence that Amazon Comprehend has in the accuracy
394
394
  * of its detection of the <code>NEUTRAL</code> sentiment.</p>
395
395
  * @public
396
396
  */
397
- neutral?: number;
397
+ neutral?: number | undefined;
398
398
  /**
399
399
  * <p>The level of confidence that Amazon Comprehend has in the accuracy
400
400
  * of its detection of the <code>MIXED</code> sentiment.</p>
401
401
  * @public
402
402
  */
403
- mixed?: number;
403
+ mixed?: number | undefined;
404
404
  }
405
405
  /**
406
406
  * <p>Provides information about the sentiment expressed in a user's
@@ -419,12 +419,12 @@ export interface SentimentResponse {
419
419
  * Amazon Comprehend.</p>
420
420
  * @public
421
421
  */
422
- sentiment?: SentimentType;
422
+ sentiment?: SentimentType | undefined;
423
423
  /**
424
424
  * <p>The individual sentiment responses for the utterance.</p>
425
425
  * @public
426
426
  */
427
- sentimentScore?: SentimentScore;
427
+ sentimentScore?: SentimentScore | undefined;
428
428
  }
429
429
  /**
430
430
  * @public
@@ -476,21 +476,21 @@ export interface ImageResponseCard {
476
476
  * card.</p>
477
477
  * @public
478
478
  */
479
- subtitle?: string;
479
+ subtitle?: string | undefined;
480
480
  /**
481
481
  * <p>The URL of an image to display on the response card. The image URL
482
482
  * must be publicly available so that the platform displaying the response
483
483
  * card has access to the image.</p>
484
484
  * @public
485
485
  */
486
- imageUrl?: string;
486
+ imageUrl?: string | undefined;
487
487
  /**
488
488
  * <p>A list of buttons that should be displayed on the response card. The
489
489
  * arrangement of the buttons is determined by the platform that displays
490
490
  * the button.</p>
491
491
  * @public
492
492
  */
493
- buttons?: Button[];
493
+ buttons?: Button[] | undefined;
494
494
  }
495
495
  /**
496
496
  * <p>Container for text that is returned to the customer..</p>
@@ -501,7 +501,7 @@ export interface Message {
501
501
  * <p>The text of the message.</p>
502
502
  * @public
503
503
  */
504
- content?: string;
504
+ content?: string | undefined;
505
505
  /**
506
506
  * <p>Indicates the type of response.</p>
507
507
  * @public
@@ -514,7 +514,7 @@ export interface Message {
514
514
  * constrained to the text associated with a button on the card.</p>
515
515
  * @public
516
516
  */
517
- imageResponseCard?: ImageResponseCard;
517
+ imageResponseCard?: ImageResponseCard | undefined;
518
518
  }
519
519
  /**
520
520
  * @public
@@ -591,21 +591,21 @@ export interface PutSessionResponse {
591
591
  * <code>responseContentType</code> field in the request.</p>
592
592
  * @public
593
593
  */
594
- contentType?: string;
594
+ contentType?: string | undefined;
595
595
  /**
596
596
  * <p>A list of messages that were last sent to the user. The messages are
597
597
  * ordered based on how you return the messages from you Lambda function
598
598
  * or the order that the messages are defined in the bot.</p>
599
599
  * @public
600
600
  */
601
- messages?: string;
601
+ messages?: string | undefined;
602
602
  /**
603
603
  * <p>A base-64-encoded gzipped field that represents the current state of
604
604
  * the dialog between the user and the bot. Use this to determine the progress
605
605
  * of the conversation and what the next action may be.</p>
606
606
  * @public
607
607
  */
608
- sessionState?: string;
608
+ sessionState?: string | undefined;
609
609
  /**
610
610
  * <p>A base-64-encoded gzipped field that provides request-specific information
611
611
  * passed between the client application and Amazon Lex V2. These are the same as the
@@ -613,18 +613,18 @@ export interface PutSessionResponse {
613
613
  * <code>PutSession</code> operation.</p>
614
614
  * @public
615
615
  */
616
- requestAttributes?: string;
616
+ requestAttributes?: string | undefined;
617
617
  /**
618
618
  * <p>The identifier of the session that received the data.</p>
619
619
  * @public
620
620
  */
621
- sessionId?: string;
621
+ sessionId?: string | undefined;
622
622
  /**
623
623
  * <p>If the requested content type was audio, the audio version of the
624
624
  * message to convey to the user.</p>
625
625
  * @public
626
626
  */
627
- audioStream?: StreamingBlobTypes;
627
+ audioStream?: StreamingBlobTypes | undefined;
628
628
  }
629
629
  /**
630
630
  * <p>The bot member that processes the request.</p>
@@ -640,7 +640,7 @@ export interface RecognizedBotMember {
640
640
  * <p>The name of the bot member that processes the request.</p>
641
641
  * @public
642
642
  */
643
- botName?: string;
643
+ botName?: string | undefined;
644
644
  }
645
645
  /**
646
646
  * @public
@@ -676,7 +676,7 @@ export interface RecognizeUtteranceRequest {
676
676
  * and then base64 encoded before sending to Amazon Lex V2.</p>
677
677
  * @public
678
678
  */
679
- sessionState?: string;
679
+ sessionState?: string | undefined;
680
680
  /**
681
681
  * <p>Request-specific information passed between the client application
682
682
  * and Amazon Lex V2 </p>
@@ -687,7 +687,7 @@ export interface RecognizeUtteranceRequest {
687
687
  * gzip and then base64 encoded before sending to Amazon Lex V2.</p>
688
688
  * @public
689
689
  */
690
- requestAttributes?: string;
690
+ requestAttributes?: string | undefined;
691
691
  /**
692
692
  * <p>Indicates the format for audio input or that the content is text.
693
693
  * The header must start with one of the following prefixes:</p>
@@ -772,13 +772,13 @@ export interface RecognizeUtteranceRequest {
772
772
  * </ul>
773
773
  * @public
774
774
  */
775
- responseContentType?: string;
775
+ responseContentType?: string | undefined;
776
776
  /**
777
777
  * <p>User input in PCM or Opus audio format or text format as described
778
778
  * in the <code>requestContentType</code> parameter.</p>
779
779
  * @public
780
780
  */
781
- inputStream?: StreamingBlobTypes;
781
+ inputStream?: StreamingBlobTypes | undefined;
782
782
  }
783
783
  /**
784
784
  * @public
@@ -789,13 +789,13 @@ export interface RecognizeUtteranceResponse {
789
789
  * </p>
790
790
  * @public
791
791
  */
792
- inputMode?: string;
792
+ inputMode?: string | undefined;
793
793
  /**
794
794
  * <p>Content type as specified in the <code>responseContentType</code> in
795
795
  * the request.</p>
796
796
  * @public
797
797
  */
798
- contentType?: string;
798
+ contentType?: string | undefined;
799
799
  /**
800
800
  * <p>A list of messages that were last sent to the user. The messages are
801
801
  * ordered based on the order that you returned the messages from your
@@ -807,7 +807,7 @@ export interface RecognizeUtteranceResponse {
807
807
  * function to decode and decompress the contents.</p>
808
808
  * @public
809
809
  */
810
- messages?: string;
810
+ messages?: string | undefined;
811
811
  /**
812
812
  * <p>A list of intents that Amazon Lex V2 determined might satisfy the user's
813
813
  * utterance.</p>
@@ -821,7 +821,7 @@ export interface RecognizeUtteranceResponse {
821
821
  * function to decode and decompress the contents.</p>
822
822
  * @public
823
823
  */
824
- interpretations?: string;
824
+ interpretations?: string | undefined;
825
825
  /**
826
826
  * <p>Represents the current state of the dialog between the user and the
827
827
  * bot.</p>
@@ -833,7 +833,7 @@ export interface RecognizeUtteranceResponse {
833
833
  * function to decode and decompress the contents.</p>
834
834
  * @public
835
835
  */
836
- sessionState?: string;
836
+ sessionState?: string | undefined;
837
837
  /**
838
838
  * <p>The attributes sent in the request.</p>
839
839
  * <p>The <code>requestAttributes</code> field is compressed with gzip and
@@ -841,12 +841,12 @@ export interface RecognizeUtteranceResponse {
841
841
  * must decode and decompress the contents.</p>
842
842
  * @public
843
843
  */
844
- requestAttributes?: string;
844
+ requestAttributes?: string | undefined;
845
845
  /**
846
846
  * <p>The identifier of the session in use.</p>
847
847
  * @public
848
848
  */
849
- sessionId?: string;
849
+ sessionId?: string | undefined;
850
850
  /**
851
851
  * <p>The text used to process the request.</p>
852
852
  * <p>If the input was an audio stream, the <code>inputTranscript</code>
@@ -860,7 +860,7 @@ export interface RecognizeUtteranceResponse {
860
860
  * function to decode and decompress the contents.</p>
861
861
  * @public
862
862
  */
863
- inputTranscript?: string;
863
+ inputTranscript?: string | undefined;
864
864
  /**
865
865
  * <p>The prompt or statement to send to the user. This is based on the
866
866
  * bot configuration and context. For example, if Amazon Lex V2 did not understand
@@ -873,12 +873,12 @@ export interface RecognizeUtteranceResponse {
873
873
  * response.</p>
874
874
  * @public
875
875
  */
876
- audioStream?: StreamingBlobTypes;
876
+ audioStream?: StreamingBlobTypes | undefined;
877
877
  /**
878
878
  * <p>The bot member that recognized the utterance.</p>
879
879
  * @public
880
880
  */
881
- recognizedBotMember?: string;
881
+ recognizedBotMember?: string | undefined;
882
882
  }
883
883
  /**
884
884
  * @public
@@ -904,13 +904,13 @@ export interface DisconnectionEvent {
904
904
  * can use this to identify events in logs.</p>
905
905
  * @public
906
906
  */
907
- eventId?: string;
907
+ eventId?: string | undefined;
908
908
  /**
909
909
  * <p>A timestamp set by the client of the date and time that the event
910
910
  * was sent to Amazon Lex V2.</p>
911
911
  * @public
912
912
  */
913
- clientTimestampMillis?: number;
913
+ clientTimestampMillis?: number | undefined;
914
914
  }
915
915
  /**
916
916
  * <p>A DTMF character sent from the client application. DTMF characters
@@ -931,13 +931,13 @@ export interface DTMFInputEvent {
931
931
  * can use this to identify events in logs.</p>
932
932
  * @public
933
933
  */
934
- eventId?: string;
934
+ eventId?: string | undefined;
935
935
  /**
936
936
  * <p>A timestamp set by the client of the date and time that the event
937
937
  * was sent to Amazon Lex V2.</p>
938
938
  * @public
939
939
  */
940
- clientTimestampMillis?: number;
940
+ clientTimestampMillis?: number | undefined;
941
941
  }
942
942
  /**
943
943
  * <p>Event sent from the client application to Amazon Lex V2 to indicate that
@@ -951,13 +951,13 @@ export interface PlaybackCompletionEvent {
951
951
  * can use this to identify events in logs.</p>
952
952
  * @public
953
953
  */
954
- eventId?: string;
954
+ eventId?: string | undefined;
955
955
  /**
956
956
  * <p>A timestamp set by the client of the date and time that the event
957
957
  * was sent to Amazon Lex V2.</p>
958
958
  * @public
959
959
  */
960
- clientTimestampMillis?: number;
960
+ clientTimestampMillis?: number | undefined;
961
961
  }
962
962
  /**
963
963
  * <p>The event sent from your client application to Amazon Lex V2 with text input
@@ -976,13 +976,13 @@ export interface TextInputEvent {
976
976
  * can use this to identify events in logs.</p>
977
977
  * @public
978
978
  */
979
- eventId?: string;
979
+ eventId?: string | undefined;
980
980
  /**
981
981
  * <p>A timestamp set by the client of the date and time that the event
982
982
  * was sent to Amazon Lex V2.</p>
983
983
  * @public
984
984
  */
985
- clientTimestampMillis?: number;
985
+ clientTimestampMillis?: number | undefined;
986
986
  }
987
987
  /**
988
988
  * <p>Event that Amazon Lex V2 sends to indicate that the stream is still open
@@ -997,7 +997,7 @@ export interface HeartbeatEvent {
997
997
  * session.</p>
998
998
  * @public
999
999
  */
1000
- eventId?: string;
1000
+ eventId?: string | undefined;
1001
1001
  }
1002
1002
  /**
1003
1003
  * @public
@@ -1039,13 +1039,13 @@ export interface PlaybackInterruptionEvent {
1039
1039
  * <p>Indicates the type of user input that Amazon Lex V2 detected.</p>
1040
1040
  * @public
1041
1041
  */
1042
- eventReason?: PlaybackInterruptionReason;
1042
+ eventReason?: PlaybackInterruptionReason | undefined;
1043
1043
  /**
1044
1044
  * <p>The identifier of the event that contained the audio, DTMF, or text
1045
1045
  * that caused the interruption.</p>
1046
1046
  * @public
1047
1047
  */
1048
- causedByEventId?: string;
1048
+ causedByEventId?: string | undefined;
1049
1049
  /**
1050
1050
  * <p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in
1051
1051
  * the form <code>RESPONSE-N</code>, where N is a number starting with one
@@ -1053,7 +1053,7 @@ export interface PlaybackInterruptionEvent {
1053
1053
  * session.</p>
1054
1054
  * @public
1055
1055
  */
1056
- eventId?: string;
1056
+ eventId?: string | undefined;
1057
1057
  }
1058
1058
  /**
1059
1059
  * <p>The event sent from Amazon Lex V2 to your application with text to present
@@ -1067,7 +1067,7 @@ export interface TextResponseEvent {
1067
1067
  * or the order that the messages are defined in the bot.</p>
1068
1068
  * @public
1069
1069
  */
1070
- messages?: Message[];
1070
+ messages?: Message[] | undefined;
1071
1071
  /**
1072
1072
  * <p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in
1073
1073
  * the form <code>RESPONSE-N</code>, where N is a number starting with one
@@ -1075,7 +1075,7 @@ export interface TextResponseEvent {
1075
1075
  * session.</p>
1076
1076
  * @public
1077
1077
  */
1078
- eventId?: string;
1078
+ eventId?: string | undefined;
1079
1079
  }
1080
1080
  /**
1081
1081
  * <p>Event sent from Amazon Lex V2 to your client application that contains a
@@ -1087,7 +1087,7 @@ export interface TranscriptEvent {
1087
1087
  * <p>The transcript of the voice audio from the user.</p>
1088
1088
  * @public
1089
1089
  */
1090
- transcript?: string;
1090
+ transcript?: string | undefined;
1091
1091
  /**
1092
1092
  * <p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in
1093
1093
  * the form <code>RESPONSE-N</code>, where N is a number starting with one
@@ -1095,7 +1095,7 @@ export interface TranscriptEvent {
1095
1095
  * session.</p>
1096
1096
  * @public
1097
1097
  */
1098
- eventId?: string;
1098
+ eventId?: string | undefined;
1099
1099
  }
1100
1100
  /**
1101
1101
  * <p>The specific constituent sub slot of the composite slot to elicit in dialog action.</p>
@@ -1111,7 +1111,7 @@ export interface ElicitSubSlot {
1111
1111
  * <p>The field is not supported.</p>
1112
1112
  * @public
1113
1113
  */
1114
- subSlotToElicit?: ElicitSubSlot;
1114
+ subSlotToElicit?: ElicitSubSlot | undefined;
1115
1115
  }
1116
1116
  /**
1117
1117
  * <p>The next action that Amazon Lex V2 should take.</p>
@@ -1157,7 +1157,7 @@ export interface DialogAction {
1157
1157
  * <p>The name of the slot that should be elicited from the user.</p>
1158
1158
  * @public
1159
1159
  */
1160
- slotToElicit?: string;
1160
+ slotToElicit?: string | undefined;
1161
1161
  /**
1162
1162
  * <p>Configures the slot to use spell-by-letter or spell-by-word style.
1163
1163
  * When you use a style on a slot, users can spell out their input to make
@@ -1175,13 +1175,13 @@ export interface DialogAction {
1175
1175
  * Using spelling to enter slot values </a>.</p>
1176
1176
  * @public
1177
1177
  */
1178
- slotElicitationStyle?: StyleType;
1178
+ slotElicitationStyle?: StyleType | undefined;
1179
1179
  /**
1180
1180
  * <p>The name of the constituent sub slot of the composite slot
1181
1181
  * specified in slotToElicit that should be elicited from the user.</p>
1182
1182
  * @public
1183
1183
  */
1184
- subSlotToElicit?: ElicitSubSlot;
1184
+ subSlotToElicit?: ElicitSubSlot | undefined;
1185
1185
  }
1186
1186
  /**
1187
1187
  * <p>Provides an array of phrases that should be given preference when
@@ -1195,7 +1195,7 @@ export interface RuntimeHintDetails {
1195
1195
  * values.</p>
1196
1196
  * @public
1197
1197
  */
1198
- runtimeHintValues?: RuntimeHintValue[];
1198
+ runtimeHintValues?: RuntimeHintValue[] | undefined;
1199
1199
  /**
1200
1200
  * <p>A map of constituent sub slot names inside a composite slot in the intent and the phrases
1201
1201
  * that should be added for each sub slot. Inside each composite slot hints, this structure provides
@@ -1203,7 +1203,7 @@ export interface RuntimeHintDetails {
1203
1203
  * The intent name, composite slot name and the constituent sub slot names must exist.</p>
1204
1204
  * @public
1205
1205
  */
1206
- subSlotHints?: Record<string, RuntimeHintDetails>;
1206
+ subSlotHints?: Record<string, RuntimeHintDetails> | undefined;
1207
1207
  }
1208
1208
  /**
1209
1209
  * <p>You can provide Amazon Lex V2 with hints to the phrases that a customer is
@@ -1228,7 +1228,7 @@ export interface RuntimeHints {
1228
1228
  * <p>The intent name and slot name must exist.</p>
1229
1229
  * @public
1230
1230
  */
1231
- slotHints?: Record<string, Record<string, RuntimeHintDetails>>;
1231
+ slotHints?: Record<string, Record<string, RuntimeHintDetails>> | undefined;
1232
1232
  }
1233
1233
  /**
1234
1234
  * <p>A value that Amazon Lex V2 uses to fulfill an intent. </p>
@@ -1239,7 +1239,7 @@ export interface Slot {
1239
1239
  * <p>The current value of the slot.</p>
1240
1240
  * @public
1241
1241
  */
1242
- value?: Value;
1242
+ value?: Value | undefined;
1243
1243
  /**
1244
1244
  * <p>When the <code>shape</code> value is <code>List</code>, it indicates
1245
1245
  * that the <code>values</code> field contains a list of slot values. When
@@ -1247,19 +1247,19 @@ export interface Slot {
1247
1247
  * <code>value</code> field contains a single value.</p>
1248
1248
  * @public
1249
1249
  */
1250
- shape?: Shape;
1250
+ shape?: Shape | undefined;
1251
1251
  /**
1252
1252
  * <p>A list of one or more values that the user provided for the slot.
1253
1253
  * For example, if a for a slot that elicits pizza toppings, the values
1254
1254
  * might be "pepperoni" and "pineapple." </p>
1255
1255
  * @public
1256
1256
  */
1257
- values?: Slot[];
1257
+ values?: Slot[] | undefined;
1258
1258
  /**
1259
1259
  * <p>The constituent sub slots of a composite slot.</p>
1260
1260
  * @public
1261
1261
  */
1262
- subSlots?: Record<string, Slot>;
1262
+ subSlots?: Record<string, Slot> | undefined;
1263
1263
  }
1264
1264
  /**
1265
1265
  * <p>The current intent that Amazon Lex V2 is attempting to fulfill.</p>
@@ -1277,7 +1277,7 @@ export interface Intent {
1277
1277
  * null.</p>
1278
1278
  * @public
1279
1279
  */
1280
- slots?: Record<string, Slot>;
1280
+ slots?: Record<string, Slot> | undefined;
1281
1281
  /**
1282
1282
  * <p>Indicates the fulfillment state for the intent. The meanings of each value are as follows:</p>
1283
1283
  * <ul>
@@ -1308,12 +1308,12 @@ export interface Intent {
1308
1308
  * </ul>
1309
1309
  * @public
1310
1310
  */
1311
- state?: IntentState;
1311
+ state?: IntentState | undefined;
1312
1312
  /**
1313
1313
  * <p>Indicates whether the intent has been <code>Confirmed</code>, <code>Denied</code>, or <code>None</code> if the confirmation stage has not yet been reached.</p>
1314
1314
  * @public
1315
1315
  */
1316
- confirmationState?: ConfirmationState;
1316
+ confirmationState?: ConfirmationState | undefined;
1317
1317
  }
1318
1318
  /**
1319
1319
  * <p>An object containing information about an intent that Amazon Lex V2 determined might satisfy the user's utterance.
@@ -1330,7 +1330,7 @@ export interface Interpretation {
1330
1330
  * are configured for the bot.</p>
1331
1331
  * @public
1332
1332
  */
1333
- nluConfidence?: ConfidenceScore;
1333
+ nluConfidence?: ConfidenceScore | undefined;
1334
1334
  /**
1335
1335
  * <p>The sentiment expressed in an utterance. </p>
1336
1336
  * <p>When the bot is configured to send utterances to Amazon Comprehend
@@ -1338,18 +1338,18 @@ export interface Interpretation {
1338
1338
  * analysis.</p>
1339
1339
  * @public
1340
1340
  */
1341
- sentimentResponse?: SentimentResponse;
1341
+ sentimentResponse?: SentimentResponse | undefined;
1342
1342
  /**
1343
1343
  * <p>A list of intents that might satisfy the user's utterance. The
1344
1344
  * intents are ordered by the confidence score.</p>
1345
1345
  * @public
1346
1346
  */
1347
- intent?: Intent;
1347
+ intent?: Intent | undefined;
1348
1348
  /**
1349
1349
  * <p>Specifies the service that interpreted the input.</p>
1350
1350
  * @public
1351
1351
  */
1352
- interpretationSource?: InterpretationSource;
1352
+ interpretationSource?: InterpretationSource | undefined;
1353
1353
  }
1354
1354
  /**
1355
1355
  * <p>The state of the user's session with Amazon Lex V2.</p>
@@ -1361,37 +1361,37 @@ export interface SessionState {
1361
1361
  * user.</p>
1362
1362
  * @public
1363
1363
  */
1364
- dialogAction?: DialogAction;
1364
+ dialogAction?: DialogAction | undefined;
1365
1365
  /**
1366
1366
  * <p>The active intent that Amazon Lex V2 is processing.</p>
1367
1367
  * @public
1368
1368
  */
1369
- intent?: Intent;
1369
+ intent?: Intent | undefined;
1370
1370
  /**
1371
1371
  * <p>One or more contexts that indicate to Amazon Lex V2 the context of a
1372
1372
  * request. When a context is active, Amazon Lex V2 considers intents with the
1373
1373
  * matching context as a trigger as the next intent in a session.</p>
1374
1374
  * @public
1375
1375
  */
1376
- activeContexts?: ActiveContext[];
1376
+ activeContexts?: ActiveContext[] | undefined;
1377
1377
  /**
1378
1378
  * <p>Map of key/value pairs representing session-specific context
1379
1379
  * information. It contains application information passed between Amazon Lex V2
1380
1380
  * and a client application.</p>
1381
1381
  * @public
1382
1382
  */
1383
- sessionAttributes?: Record<string, string>;
1383
+ sessionAttributes?: Record<string, string> | undefined;
1384
1384
  /**
1385
1385
  * <p>A unique identifier for a specific request.</p>
1386
1386
  * @public
1387
1387
  */
1388
- originatingRequestId?: string;
1388
+ originatingRequestId?: string | undefined;
1389
1389
  /**
1390
1390
  * <p>Hints for phrases that a customer is likely to use for a slot. Amazon Lex V2
1391
1391
  * uses the hints to help determine the correct value of a slot.</p>
1392
1392
  * @public
1393
1393
  */
1394
- runtimeHints?: RuntimeHints;
1394
+ runtimeHints?: RuntimeHints | undefined;
1395
1395
  }
1396
1396
  /**
1397
1397
  * <p>The initial event sent from the application to Amazon Lex V2 to configure
@@ -1408,7 +1408,7 @@ export interface ConfigurationEvent {
1408
1408
  * <code>x-amz-lex:</code>.</p>
1409
1409
  * @public
1410
1410
  */
1411
- requestAttributes?: Record<string, string>;
1411
+ requestAttributes?: Record<string, string> | undefined;
1412
1412
  /**
1413
1413
  * <p>The message that Amazon Lex V2 returns in the response can be either text or
1414
1414
  * speech based on the <code>responseContentType</code> value.</p>
@@ -1457,7 +1457,7 @@ export interface ConfigurationEvent {
1457
1457
  * <p>The state of the user's session with Amazon Lex V2.</p>
1458
1458
  * @public
1459
1459
  */
1460
- sessionState?: SessionState;
1460
+ sessionState?: SessionState | undefined;
1461
1461
  /**
1462
1462
  * <p>A list of messages to send to the user.</p>
1463
1463
  * <p>If you set the <code>welcomeMessage</code> field, you must also set
@@ -1468,7 +1468,7 @@ export interface ConfigurationEvent {
1468
1468
  * </a> field.</p>
1469
1469
  * @public
1470
1470
  */
1471
- welcomeMessages?: Message[];
1471
+ welcomeMessages?: Message[] | undefined;
1472
1472
  /**
1473
1473
  * <p>Determines whether Amazon Lex V2 should send audio responses to the client
1474
1474
  * application.
@@ -1480,19 +1480,19 @@ export interface ConfigurationEvent {
1480
1480
  * the client.</p>
1481
1481
  * @public
1482
1482
  */
1483
- disablePlayback?: boolean;
1483
+ disablePlayback?: boolean | undefined;
1484
1484
  /**
1485
1485
  * <p>A unique identifier that your application assigns to the event. You
1486
1486
  * can use this to identify events in logs.</p>
1487
1487
  * @public
1488
1488
  */
1489
- eventId?: string;
1489
+ eventId?: string | undefined;
1490
1490
  /**
1491
1491
  * <p>A timestamp set by the client of the date and time that the event
1492
1492
  * was sent to Amazon Lex V2.</p>
1493
1493
  * @public
1494
1494
  */
1495
- clientTimestampMillis?: number;
1495
+ clientTimestampMillis?: number | undefined;
1496
1496
  }
1497
1497
  /**
1498
1498
  * @public
@@ -1524,7 +1524,7 @@ export interface PutSessionRequest {
1524
1524
  * order that they are defined in the list.</p>
1525
1525
  * @public
1526
1526
  */
1527
- messages?: Message[];
1527
+ messages?: Message[] | undefined;
1528
1528
  /**
1529
1529
  * <p>Sets the state of the session with the user. You can use this to set
1530
1530
  * the current intent, attributes, context, and dialog action. Use the
@@ -1541,7 +1541,7 @@ export interface PutSessionRequest {
1541
1541
  * <code>x-amz-lex:</code>.</p>
1542
1542
  * @public
1543
1543
  */
1544
- requestAttributes?: Record<string, string>;
1544
+ requestAttributes?: Record<string, string> | undefined;
1545
1545
  /**
1546
1546
  * <p>The message that Amazon Lex V2 returns in the response can be either text or
1547
1547
  * speech depending on the value of this parameter. </p>
@@ -1553,7 +1553,7 @@ export interface PutSessionRequest {
1553
1553
  * </ul>
1554
1554
  * @public
1555
1555
  */
1556
- responseContentType?: string;
1556
+ responseContentType?: string | undefined;
1557
1557
  }
1558
1558
  /**
1559
1559
  * @public
@@ -1590,7 +1590,7 @@ export interface RecognizeTextRequest {
1590
1590
  * <p>The current state of the dialog between the user and the bot.</p>
1591
1591
  * @public
1592
1592
  */
1593
- sessionState?: SessionState;
1593
+ sessionState?: SessionState | undefined;
1594
1594
  /**
1595
1595
  * <p>Request-specific information passed between the client application
1596
1596
  * and Amazon Lex V2 </p>
@@ -1599,7 +1599,7 @@ export interface RecognizeTextRequest {
1599
1599
  * <code>x-amz-lex:</code>.</p>
1600
1600
  * @public
1601
1601
  */
1602
- requestAttributes?: Record<string, string>;
1602
+ requestAttributes?: Record<string, string> | undefined;
1603
1603
  }
1604
1604
  /**
1605
1605
  * <p>Represents a stream of events between your application and
@@ -1768,7 +1768,7 @@ export interface StartConversationRequest {
1768
1768
  * text.</p>
1769
1769
  * @public
1770
1770
  */
1771
- conversationMode?: ConversationMode;
1771
+ conversationMode?: ConversationMode | undefined;
1772
1772
  /**
1773
1773
  * <p>Represents the stream of events to Amazon Lex V2 from your application. The
1774
1774
  * events are encoded as HTTP/2 data frames.</p>
@@ -1784,7 +1784,7 @@ export interface GetSessionResponse {
1784
1784
  * <p>The identifier of the returned session.</p>
1785
1785
  * @public
1786
1786
  */
1787
- sessionId?: string;
1787
+ sessionId?: string | undefined;
1788
1788
  /**
1789
1789
  * <p>A list of messages that were last sent to the user. The messages are
1790
1790
  * ordered based on the order that your returned the messages from your
@@ -1792,7 +1792,7 @@ export interface GetSessionResponse {
1792
1792
  * </p>
1793
1793
  * @public
1794
1794
  */
1795
- messages?: Message[];
1795
+ messages?: Message[] | undefined;
1796
1796
  /**
1797
1797
  * <p>A list of intents that Amazon Lex V2 determined might satisfy the user's
1798
1798
  * utterance. </p>
@@ -1802,7 +1802,7 @@ export interface GetSessionResponse {
1802
1802
  * the utterance.</p>
1803
1803
  * @public
1804
1804
  */
1805
- interpretations?: Interpretation[];
1805
+ interpretations?: Interpretation[] | undefined;
1806
1806
  /**
1807
1807
  * <p>Represents the current state of the dialog between the user and the
1808
1808
  * bot.</p>
@@ -1810,7 +1810,7 @@ export interface GetSessionResponse {
1810
1810
  * what the next action might be.</p>
1811
1811
  * @public
1812
1812
  */
1813
- sessionState?: SessionState;
1813
+ sessionState?: SessionState | undefined;
1814
1814
  }
1815
1815
  /**
1816
1816
  * <p>Contains the current state of the conversation between the client
@@ -1822,7 +1822,7 @@ export interface IntentResultEvent {
1822
1822
  * <p>Indicates whether the input to the operation was text, speech, or from a touch-tone keypad.</p>
1823
1823
  * @public
1824
1824
  */
1825
- inputMode?: InputMode;
1825
+ inputMode?: InputMode | undefined;
1826
1826
  /**
1827
1827
  * <p>A list of intents that Amazon Lex V2 determined might satisfy the user's
1828
1828
  * utterance.</p>
@@ -1832,22 +1832,22 @@ export interface IntentResultEvent {
1832
1832
  * the utterance.</p>
1833
1833
  * @public
1834
1834
  */
1835
- interpretations?: Interpretation[];
1835
+ interpretations?: Interpretation[] | undefined;
1836
1836
  /**
1837
1837
  * <p>The state of the user's session with Amazon Lex V2.</p>
1838
1838
  * @public
1839
1839
  */
1840
- sessionState?: SessionState;
1840
+ sessionState?: SessionState | undefined;
1841
1841
  /**
1842
1842
  * <p>The attributes sent in the request.</p>
1843
1843
  * @public
1844
1844
  */
1845
- requestAttributes?: Record<string, string>;
1845
+ requestAttributes?: Record<string, string> | undefined;
1846
1846
  /**
1847
1847
  * <p>The identifier of the session in use.</p>
1848
1848
  * @public
1849
1849
  */
1850
- sessionId?: string;
1850
+ sessionId?: string | undefined;
1851
1851
  /**
1852
1852
  * <p>A unique identifier of the event sent by Amazon Lex V2. The identifier is in
1853
1853
  * the form <code>RESPONSE-N</code>, where N is a number starting with one
@@ -1855,12 +1855,12 @@ export interface IntentResultEvent {
1855
1855
  * session.</p>
1856
1856
  * @public
1857
1857
  */
1858
- eventId?: string;
1858
+ eventId?: string | undefined;
1859
1859
  /**
1860
1860
  * <p>The bot member that is processing the intent.</p>
1861
1861
  * @public
1862
1862
  */
1863
- recognizedBotMember?: RecognizedBotMember;
1863
+ recognizedBotMember?: RecognizedBotMember | undefined;
1864
1864
  }
1865
1865
  /**
1866
1866
  * @public
@@ -1872,7 +1872,7 @@ export interface RecognizeTextResponse {
1872
1872
  * function or the order that the messages are defined in the bot.</p>
1873
1873
  * @public
1874
1874
  */
1875
- messages?: Message[];
1875
+ messages?: Message[] | undefined;
1876
1876
  /**
1877
1877
  * <p>Represents the current state of the dialog between the user and the
1878
1878
  * bot. </p>
@@ -1880,7 +1880,7 @@ export interface RecognizeTextResponse {
1880
1880
  * next action may be.</p>
1881
1881
  * @public
1882
1882
  */
1883
- sessionState?: SessionState;
1883
+ sessionState?: SessionState | undefined;
1884
1884
  /**
1885
1885
  * <p>A list of intents that Amazon Lex V2 determined might satisfy the user's
1886
1886
  * utterance. </p>
@@ -1890,22 +1890,22 @@ export interface RecognizeTextResponse {
1890
1890
  * the utterance.</p>
1891
1891
  * @public
1892
1892
  */
1893
- interpretations?: Interpretation[];
1893
+ interpretations?: Interpretation[] | undefined;
1894
1894
  /**
1895
1895
  * <p>The attributes sent in the request.</p>
1896
1896
  * @public
1897
1897
  */
1898
- requestAttributes?: Record<string, string>;
1898
+ requestAttributes?: Record<string, string> | undefined;
1899
1899
  /**
1900
1900
  * <p>The identifier of the session in use.</p>
1901
1901
  * @public
1902
1902
  */
1903
- sessionId?: string;
1903
+ sessionId?: string | undefined;
1904
1904
  /**
1905
1905
  * <p>The bot member that recognized the text.</p>
1906
1906
  * @public
1907
1907
  */
1908
- recognizedBotMember?: RecognizedBotMember;
1908
+ recognizedBotMember?: RecognizedBotMember | undefined;
1909
1909
  }
1910
1910
  /**
1911
1911
  * <p>Represents a stream of events between Amazon Lex V2 and your
@@ -2278,7 +2278,7 @@ export interface StartConversationResponse {
2278
2278
  * events are encoded as HTTP/2 data frames.</p>
2279
2279
  * @public
2280
2280
  */
2281
- responseEventStream?: AsyncIterable<StartConversationResponseEventStream>;
2281
+ responseEventStream?: AsyncIterable<StartConversationResponseEventStream> | undefined;
2282
2282
  }
2283
2283
  /**
2284
2284
  * @internal
@@ -18,15 +18,15 @@ export interface ActiveContext {
18
18
  contextAttributes: Record<string, string> | undefined;
19
19
  }
20
20
  export interface AudioInputEvent {
21
- audioChunk?: Uint8Array;
21
+ audioChunk?: Uint8Array | undefined;
22
22
  contentType: string | undefined;
23
- eventId?: string;
24
- clientTimestampMillis?: number;
23
+ eventId?: string | undefined;
24
+ clientTimestampMillis?: number | undefined;
25
25
  }
26
26
  export interface AudioResponseEvent {
27
- audioChunk?: Uint8Array;
28
- contentType?: string;
29
- eventId?: string;
27
+ audioChunk?: Uint8Array | undefined;
28
+ contentType?: string | undefined;
29
+ eventId?: string | undefined;
30
30
  }
31
31
  export declare class ConflictException extends __BaseException {
32
32
  readonly name: "ConflictException";
@@ -40,10 +40,10 @@ export interface DeleteSessionRequest {
40
40
  sessionId: string | undefined;
41
41
  }
42
42
  export interface DeleteSessionResponse {
43
- botId?: string;
44
- botAliasId?: string;
45
- localeId?: string;
46
- sessionId?: string;
43
+ botId?: string | undefined;
44
+ botAliasId?: string | undefined;
45
+ localeId?: string | undefined;
46
+ sessionId?: string | undefined;
47
47
  }
48
48
  export declare class InternalServerException extends __BaseException {
49
49
  readonly name: "InternalServerException";
@@ -93,9 +93,9 @@ export declare const Shape: {
93
93
  };
94
94
  export type Shape = (typeof Shape)[keyof typeof Shape];
95
95
  export interface Value {
96
- originalValue?: string;
96
+ originalValue?: string | undefined;
97
97
  interpretedValue: string | undefined;
98
- resolvedValues?: string[];
98
+ resolvedValues?: string[] | undefined;
99
99
  }
100
100
  export declare const IntentState: {
101
101
  readonly FAILED: "Failed";
@@ -113,7 +113,7 @@ export declare const InterpretationSource: {
113
113
  export type InterpretationSource =
114
114
  (typeof InterpretationSource)[keyof typeof InterpretationSource];
115
115
  export interface ConfidenceScore {
116
- score?: number;
116
+ score?: number | undefined;
117
117
  }
118
118
  export declare const SentimentType: {
119
119
  readonly MIXED: "MIXED";
@@ -123,14 +123,14 @@ export declare const SentimentType: {
123
123
  };
124
124
  export type SentimentType = (typeof SentimentType)[keyof typeof SentimentType];
125
125
  export interface SentimentScore {
126
- positive?: number;
127
- negative?: number;
128
- neutral?: number;
129
- mixed?: number;
126
+ positive?: number | undefined;
127
+ negative?: number | undefined;
128
+ neutral?: number | undefined;
129
+ mixed?: number | undefined;
130
130
  }
131
131
  export interface SentimentResponse {
132
- sentiment?: SentimentType;
133
- sentimentScore?: SentimentScore;
132
+ sentiment?: SentimentType | undefined;
133
+ sentimentScore?: SentimentScore | undefined;
134
134
  }
135
135
  export declare const MessageContentType: {
136
136
  readonly CUSTOM_PAYLOAD: "CustomPayload";
@@ -146,14 +146,14 @@ export interface Button {
146
146
  }
147
147
  export interface ImageResponseCard {
148
148
  title: string | undefined;
149
- subtitle?: string;
150
- imageUrl?: string;
151
- buttons?: Button[];
149
+ subtitle?: string | undefined;
150
+ imageUrl?: string | undefined;
151
+ buttons?: Button[] | undefined;
152
152
  }
153
153
  export interface Message {
154
- content?: string;
154
+ content?: string | undefined;
155
155
  contentType: MessageContentType | undefined;
156
- imageResponseCard?: ImageResponseCard;
156
+ imageResponseCard?: ImageResponseCard | undefined;
157
157
  }
158
158
  export declare const StyleType: {
159
159
  readonly DEFAULT: "Default";
@@ -189,39 +189,39 @@ export declare class DependencyFailedException extends __BaseException {
189
189
  );
190
190
  }
191
191
  export interface PutSessionResponse {
192
- contentType?: string;
193
- messages?: string;
194
- sessionState?: string;
195
- requestAttributes?: string;
196
- sessionId?: string;
197
- audioStream?: StreamingBlobTypes;
192
+ contentType?: string | undefined;
193
+ messages?: string | undefined;
194
+ sessionState?: string | undefined;
195
+ requestAttributes?: string | undefined;
196
+ sessionId?: string | undefined;
197
+ audioStream?: StreamingBlobTypes | undefined;
198
198
  }
199
199
  export interface RecognizedBotMember {
200
200
  botId: string | undefined;
201
- botName?: string;
201
+ botName?: string | undefined;
202
202
  }
203
203
  export interface RecognizeUtteranceRequest {
204
204
  botId: string | undefined;
205
205
  botAliasId: string | undefined;
206
206
  localeId: string | undefined;
207
207
  sessionId: string | undefined;
208
- sessionState?: string;
209
- requestAttributes?: string;
208
+ sessionState?: string | undefined;
209
+ requestAttributes?: string | undefined;
210
210
  requestContentType: string | undefined;
211
- responseContentType?: string;
212
- inputStream?: StreamingBlobTypes;
211
+ responseContentType?: string | undefined;
212
+ inputStream?: StreamingBlobTypes | undefined;
213
213
  }
214
214
  export interface RecognizeUtteranceResponse {
215
- inputMode?: string;
216
- contentType?: string;
217
- messages?: string;
218
- interpretations?: string;
219
- sessionState?: string;
220
- requestAttributes?: string;
221
- sessionId?: string;
222
- inputTranscript?: string;
223
- audioStream?: StreamingBlobTypes;
224
- recognizedBotMember?: string;
215
+ inputMode?: string | undefined;
216
+ contentType?: string | undefined;
217
+ messages?: string | undefined;
218
+ interpretations?: string | undefined;
219
+ sessionState?: string | undefined;
220
+ requestAttributes?: string | undefined;
221
+ sessionId?: string | undefined;
222
+ inputTranscript?: string | undefined;
223
+ audioStream?: StreamingBlobTypes | undefined;
224
+ recognizedBotMember?: string | undefined;
225
225
  }
226
226
  export declare const ConversationMode: {
227
227
  readonly AUDIO: "AUDIO";
@@ -230,25 +230,25 @@ export declare const ConversationMode: {
230
230
  export type ConversationMode =
231
231
  (typeof ConversationMode)[keyof typeof ConversationMode];
232
232
  export interface DisconnectionEvent {
233
- eventId?: string;
234
- clientTimestampMillis?: number;
233
+ eventId?: string | undefined;
234
+ clientTimestampMillis?: number | undefined;
235
235
  }
236
236
  export interface DTMFInputEvent {
237
237
  inputCharacter: string | undefined;
238
- eventId?: string;
239
- clientTimestampMillis?: number;
238
+ eventId?: string | undefined;
239
+ clientTimestampMillis?: number | undefined;
240
240
  }
241
241
  export interface PlaybackCompletionEvent {
242
- eventId?: string;
243
- clientTimestampMillis?: number;
242
+ eventId?: string | undefined;
243
+ clientTimestampMillis?: number | undefined;
244
244
  }
245
245
  export interface TextInputEvent {
246
246
  text: string | undefined;
247
- eventId?: string;
248
- clientTimestampMillis?: number;
247
+ eventId?: string | undefined;
248
+ clientTimestampMillis?: number | undefined;
249
249
  }
250
250
  export interface HeartbeatEvent {
251
- eventId?: string;
251
+ eventId?: string | undefined;
252
252
  }
253
253
  export declare const InputMode: {
254
254
  readonly DTMF: "DTMF";
@@ -264,79 +264,79 @@ export declare const PlaybackInterruptionReason: {
264
264
  export type PlaybackInterruptionReason =
265
265
  (typeof PlaybackInterruptionReason)[keyof typeof PlaybackInterruptionReason];
266
266
  export interface PlaybackInterruptionEvent {
267
- eventReason?: PlaybackInterruptionReason;
268
- causedByEventId?: string;
269
- eventId?: string;
267
+ eventReason?: PlaybackInterruptionReason | undefined;
268
+ causedByEventId?: string | undefined;
269
+ eventId?: string | undefined;
270
270
  }
271
271
  export interface TextResponseEvent {
272
- messages?: Message[];
273
- eventId?: string;
272
+ messages?: Message[] | undefined;
273
+ eventId?: string | undefined;
274
274
  }
275
275
  export interface TranscriptEvent {
276
- transcript?: string;
277
- eventId?: string;
276
+ transcript?: string | undefined;
277
+ eventId?: string | undefined;
278
278
  }
279
279
  export interface ElicitSubSlot {
280
280
  name: string | undefined;
281
- subSlotToElicit?: ElicitSubSlot;
281
+ subSlotToElicit?: ElicitSubSlot | undefined;
282
282
  }
283
283
  export interface DialogAction {
284
284
  type: DialogActionType | undefined;
285
- slotToElicit?: string;
286
- slotElicitationStyle?: StyleType;
287
- subSlotToElicit?: ElicitSubSlot;
285
+ slotToElicit?: string | undefined;
286
+ slotElicitationStyle?: StyleType | undefined;
287
+ subSlotToElicit?: ElicitSubSlot | undefined;
288
288
  }
289
289
  export interface RuntimeHintDetails {
290
- runtimeHintValues?: RuntimeHintValue[];
291
- subSlotHints?: Record<string, RuntimeHintDetails>;
290
+ runtimeHintValues?: RuntimeHintValue[] | undefined;
291
+ subSlotHints?: Record<string, RuntimeHintDetails> | undefined;
292
292
  }
293
293
  export interface RuntimeHints {
294
- slotHints?: Record<string, Record<string, RuntimeHintDetails>>;
294
+ slotHints?: Record<string, Record<string, RuntimeHintDetails>> | undefined;
295
295
  }
296
296
  export interface Slot {
297
- value?: Value;
298
- shape?: Shape;
299
- values?: Slot[];
300
- subSlots?: Record<string, Slot>;
297
+ value?: Value | undefined;
298
+ shape?: Shape | undefined;
299
+ values?: Slot[] | undefined;
300
+ subSlots?: Record<string, Slot> | undefined;
301
301
  }
302
302
  export interface Intent {
303
303
  name: string | undefined;
304
- slots?: Record<string, Slot>;
305
- state?: IntentState;
306
- confirmationState?: ConfirmationState;
304
+ slots?: Record<string, Slot> | undefined;
305
+ state?: IntentState | undefined;
306
+ confirmationState?: ConfirmationState | undefined;
307
307
  }
308
308
  export interface Interpretation {
309
- nluConfidence?: ConfidenceScore;
310
- sentimentResponse?: SentimentResponse;
311
- intent?: Intent;
312
- interpretationSource?: InterpretationSource;
309
+ nluConfidence?: ConfidenceScore | undefined;
310
+ sentimentResponse?: SentimentResponse | undefined;
311
+ intent?: Intent | undefined;
312
+ interpretationSource?: InterpretationSource | undefined;
313
313
  }
314
314
  export interface SessionState {
315
- dialogAction?: DialogAction;
316
- intent?: Intent;
317
- activeContexts?: ActiveContext[];
318
- sessionAttributes?: Record<string, string>;
319
- originatingRequestId?: string;
320
- runtimeHints?: RuntimeHints;
315
+ dialogAction?: DialogAction | undefined;
316
+ intent?: Intent | undefined;
317
+ activeContexts?: ActiveContext[] | undefined;
318
+ sessionAttributes?: Record<string, string> | undefined;
319
+ originatingRequestId?: string | undefined;
320
+ runtimeHints?: RuntimeHints | undefined;
321
321
  }
322
322
  export interface ConfigurationEvent {
323
- requestAttributes?: Record<string, string>;
323
+ requestAttributes?: Record<string, string> | undefined;
324
324
  responseContentType: string | undefined;
325
- sessionState?: SessionState;
326
- welcomeMessages?: Message[];
327
- disablePlayback?: boolean;
328
- eventId?: string;
329
- clientTimestampMillis?: number;
325
+ sessionState?: SessionState | undefined;
326
+ welcomeMessages?: Message[] | undefined;
327
+ disablePlayback?: boolean | undefined;
328
+ eventId?: string | undefined;
329
+ clientTimestampMillis?: number | undefined;
330
330
  }
331
331
  export interface PutSessionRequest {
332
332
  botId: string | undefined;
333
333
  botAliasId: string | undefined;
334
334
  localeId: string | undefined;
335
335
  sessionId: string | undefined;
336
- messages?: Message[];
336
+ messages?: Message[] | undefined;
337
337
  sessionState: SessionState | undefined;
338
- requestAttributes?: Record<string, string>;
339
- responseContentType?: string;
338
+ requestAttributes?: Record<string, string> | undefined;
339
+ responseContentType?: string | undefined;
340
340
  }
341
341
  export interface RecognizeTextRequest {
342
342
  botId: string | undefined;
@@ -344,8 +344,8 @@ export interface RecognizeTextRequest {
344
344
  localeId: string | undefined;
345
345
  sessionId: string | undefined;
346
346
  text: string | undefined;
347
- sessionState?: SessionState;
348
- requestAttributes?: Record<string, string>;
347
+ sessionState?: SessionState | undefined;
348
+ requestAttributes?: Record<string, string> | undefined;
349
349
  }
350
350
  export type StartConversationRequestEventStream =
351
351
  | StartConversationRequestEventStream.AudioInputEventMember
@@ -438,33 +438,33 @@ export interface StartConversationRequest {
438
438
  botAliasId: string | undefined;
439
439
  localeId: string | undefined;
440
440
  sessionId: string | undefined;
441
- conversationMode?: ConversationMode;
441
+ conversationMode?: ConversationMode | undefined;
442
442
  requestEventStream:
443
443
  | AsyncIterable<StartConversationRequestEventStream>
444
444
  | undefined;
445
445
  }
446
446
  export interface GetSessionResponse {
447
- sessionId?: string;
448
- messages?: Message[];
449
- interpretations?: Interpretation[];
450
- sessionState?: SessionState;
447
+ sessionId?: string | undefined;
448
+ messages?: Message[] | undefined;
449
+ interpretations?: Interpretation[] | undefined;
450
+ sessionState?: SessionState | undefined;
451
451
  }
452
452
  export interface IntentResultEvent {
453
- inputMode?: InputMode;
454
- interpretations?: Interpretation[];
455
- sessionState?: SessionState;
456
- requestAttributes?: Record<string, string>;
457
- sessionId?: string;
458
- eventId?: string;
459
- recognizedBotMember?: RecognizedBotMember;
453
+ inputMode?: InputMode | undefined;
454
+ interpretations?: Interpretation[] | undefined;
455
+ sessionState?: SessionState | undefined;
456
+ requestAttributes?: Record<string, string> | undefined;
457
+ sessionId?: string | undefined;
458
+ eventId?: string | undefined;
459
+ recognizedBotMember?: RecognizedBotMember | undefined;
460
460
  }
461
461
  export interface RecognizeTextResponse {
462
- messages?: Message[];
463
- sessionState?: SessionState;
464
- interpretations?: Interpretation[];
465
- requestAttributes?: Record<string, string>;
466
- sessionId?: string;
467
- recognizedBotMember?: RecognizedBotMember;
462
+ messages?: Message[] | undefined;
463
+ sessionState?: SessionState | undefined;
464
+ interpretations?: Interpretation[] | undefined;
465
+ requestAttributes?: Record<string, string> | undefined;
466
+ sessionId?: string | undefined;
467
+ recognizedBotMember?: RecognizedBotMember | undefined;
468
468
  }
469
469
  export type StartConversationResponseEventStream =
470
470
  | StartConversationResponseEventStream.AccessDeniedExceptionMember
@@ -761,7 +761,9 @@ export declare namespace StartConversationResponseEventStream {
761
761
  ) => T;
762
762
  }
763
763
  export interface StartConversationResponse {
764
- responseEventStream?: AsyncIterable<StartConversationResponseEventStream>;
764
+ responseEventStream?:
765
+ | AsyncIterable<StartConversationResponseEventStream>
766
+ | undefined;
765
767
  }
766
768
  export declare const ActiveContextFilterSensitiveLog: (
767
769
  obj: ActiveContext
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.686.0",
4
+ "version": "3.691.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",
@@ -20,21 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.686.0",
24
- "@aws-sdk/client-sts": "3.686.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.686.0",
27
- "@aws-sdk/eventstream-handler-node": "3.686.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
+ "@aws-sdk/eventstream-handler-node": "3.691.0",
28
28
  "@aws-sdk/middleware-eventstream": "3.686.0",
29
29
  "@aws-sdk/middleware-host-header": "3.686.0",
30
30
  "@aws-sdk/middleware-logger": "3.686.0",
31
31
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
32
- "@aws-sdk/middleware-user-agent": "3.686.0",
32
+ "@aws-sdk/middleware-user-agent": "3.691.0",
33
33
  "@aws-sdk/region-config-resolver": "3.686.0",
34
34
  "@aws-sdk/types": "3.686.0",
35
35
  "@aws-sdk/util-endpoints": "3.686.0",
36
36
  "@aws-sdk/util-user-agent-browser": "3.686.0",
37
- "@aws-sdk/util-user-agent-node": "3.686.0",
37
+ "@aws-sdk/util-user-agent-node": "3.691.0",
38
38
  "@smithy/config-resolver": "^3.0.10",
39
39
  "@smithy/core": "^2.5.1",
40
40
  "@smithy/eventstream-serde-browser": "^3.0.11",