@aws-sdk/client-lex-model-building-service 3.687.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.
- package/dist-types/models/models_0.d.ts +399 -399
- package/dist-types/ts3.4/models/models_0.d.ts +399 -399
- package/package.json +7 -7
|
@@ -59,7 +59,7 @@ export interface CreateBotVersionRequest {
|
|
|
59
59
|
* publishes the <code>$LATEST</code> version.</p>
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
checksum?: string;
|
|
62
|
+
checksum?: string | undefined;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* @public
|
|
@@ -96,7 +96,7 @@ export interface Message {
|
|
|
96
96
|
* response.</p>
|
|
97
97
|
* @public
|
|
98
98
|
*/
|
|
99
|
-
groupNumber?: number;
|
|
99
|
+
groupNumber?: number | undefined;
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* <p>A collection of messages that convey information to the user. At
|
|
@@ -115,7 +115,7 @@ export interface Statement {
|
|
|
115
115
|
* placeholders in the response card. </p>
|
|
116
116
|
* @public
|
|
117
117
|
*/
|
|
118
|
-
responseCard?: string;
|
|
118
|
+
responseCard?: string | undefined;
|
|
119
119
|
}
|
|
120
120
|
/**
|
|
121
121
|
* <p>Obtains information from the user. To define a prompt, provide one
|
|
@@ -144,7 +144,7 @@ export interface Prompt {
|
|
|
144
144
|
* information, see <a>ex-resp-card</a>. </p>
|
|
145
145
|
* @public
|
|
146
146
|
*/
|
|
147
|
-
responseCard?: string;
|
|
147
|
+
responseCard?: string | undefined;
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
150
|
* <p>Identifies the specific version of an intent.</p>
|
|
@@ -208,30 +208,30 @@ export interface CreateBotVersionResponse {
|
|
|
208
208
|
* <p>The name of the bot.</p>
|
|
209
209
|
* @public
|
|
210
210
|
*/
|
|
211
|
-
name?: string;
|
|
211
|
+
name?: string | undefined;
|
|
212
212
|
/**
|
|
213
213
|
* <p>A description of the bot.</p>
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
|
-
description?: string;
|
|
216
|
+
description?: string | undefined;
|
|
217
217
|
/**
|
|
218
218
|
* <p>An array of <code>Intent</code> objects. For more information, see
|
|
219
219
|
* <a>PutBot</a>.</p>
|
|
220
220
|
* @public
|
|
221
221
|
*/
|
|
222
|
-
intents?: Intent[];
|
|
222
|
+
intents?: Intent[] | undefined;
|
|
223
223
|
/**
|
|
224
224
|
* <p>The message that Amazon Lex uses when it doesn't understand the user's
|
|
225
225
|
* request. For more information, see <a>PutBot</a>. </p>
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
|
-
clarificationPrompt?: Prompt;
|
|
228
|
+
clarificationPrompt?: Prompt | undefined;
|
|
229
229
|
/**
|
|
230
230
|
* <p>The message that Amazon Lex uses to cancel a conversation. For more
|
|
231
231
|
* information, see <a>PutBot</a>.</p>
|
|
232
232
|
* @public
|
|
233
233
|
*/
|
|
234
|
-
abortStatement?: Statement;
|
|
234
|
+
abortStatement?: Statement | undefined;
|
|
235
235
|
/**
|
|
236
236
|
* <p> When you send a request to create or update a bot, Amazon Lex sets the
|
|
237
237
|
* <code>status</code> response element to <code>BUILDING</code>. After
|
|
@@ -241,52 +241,52 @@ export interface CreateBotVersionResponse {
|
|
|
241
241
|
* <code>failureReason</code> response element. </p>
|
|
242
242
|
* @public
|
|
243
243
|
*/
|
|
244
|
-
status?: Status;
|
|
244
|
+
status?: Status | undefined;
|
|
245
245
|
/**
|
|
246
246
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the
|
|
247
247
|
* reason that it failed to build the bot.</p>
|
|
248
248
|
* @public
|
|
249
249
|
*/
|
|
250
|
-
failureReason?: string;
|
|
250
|
+
failureReason?: string | undefined;
|
|
251
251
|
/**
|
|
252
252
|
* <p>The date when the <code>$LATEST</code> version of this bot was
|
|
253
253
|
* updated. </p>
|
|
254
254
|
* @public
|
|
255
255
|
*/
|
|
256
|
-
lastUpdatedDate?: Date;
|
|
256
|
+
lastUpdatedDate?: Date | undefined;
|
|
257
257
|
/**
|
|
258
258
|
* <p>The date when the bot version was created.</p>
|
|
259
259
|
* @public
|
|
260
260
|
*/
|
|
261
|
-
createdDate?: Date;
|
|
261
|
+
createdDate?: Date | undefined;
|
|
262
262
|
/**
|
|
263
263
|
* <p>The maximum time in seconds that Amazon Lex retains the data gathered in
|
|
264
264
|
* a conversation. For more information, see <a>PutBot</a>.</p>
|
|
265
265
|
* @public
|
|
266
266
|
*/
|
|
267
|
-
idleSessionTTLInSeconds?: number;
|
|
267
|
+
idleSessionTTLInSeconds?: number | undefined;
|
|
268
268
|
/**
|
|
269
269
|
* <p>The Amazon Polly voice ID that Amazon Lex uses for voice interactions
|
|
270
270
|
* with the user.</p>
|
|
271
271
|
* @public
|
|
272
272
|
*/
|
|
273
|
-
voiceId?: string;
|
|
273
|
+
voiceId?: string | undefined;
|
|
274
274
|
/**
|
|
275
275
|
* <p>Checksum identifying the version of the bot that was
|
|
276
276
|
* created.</p>
|
|
277
277
|
* @public
|
|
278
278
|
*/
|
|
279
|
-
checksum?: string;
|
|
279
|
+
checksum?: string | undefined;
|
|
280
280
|
/**
|
|
281
281
|
* <p>The version of the bot. </p>
|
|
282
282
|
* @public
|
|
283
283
|
*/
|
|
284
|
-
version?: string;
|
|
284
|
+
version?: string | undefined;
|
|
285
285
|
/**
|
|
286
286
|
* <p> Specifies the target locale for the bot. </p>
|
|
287
287
|
* @public
|
|
288
288
|
*/
|
|
289
|
-
locale?: Locale;
|
|
289
|
+
locale?: Locale | undefined;
|
|
290
290
|
/**
|
|
291
291
|
* <p>For each Amazon Lex bot created with the Amazon Lex Model Building Service,
|
|
292
292
|
* you must specify whether your use of Amazon Lex is related to a website,
|
|
@@ -316,20 +316,20 @@ export interface CreateBotVersionResponse {
|
|
|
316
316
|
* </p>
|
|
317
317
|
* @public
|
|
318
318
|
*/
|
|
319
|
-
childDirected?: boolean;
|
|
319
|
+
childDirected?: boolean | undefined;
|
|
320
320
|
/**
|
|
321
321
|
* <p>Indicates whether the bot uses accuracy improvements.
|
|
322
322
|
* <code>true</code> indicates that the bot is using the improvements,
|
|
323
323
|
* otherwise, <code>false</code>.</p>
|
|
324
324
|
* @public
|
|
325
325
|
*/
|
|
326
|
-
enableModelImprovements?: boolean;
|
|
326
|
+
enableModelImprovements?: boolean | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* <p>Indicates whether utterances entered by the user should be sent to
|
|
329
329
|
* Amazon Comprehend for sentiment analysis.</p>
|
|
330
330
|
* @public
|
|
331
331
|
*/
|
|
332
|
-
detectSentiment?: boolean;
|
|
332
|
+
detectSentiment?: boolean | undefined;
|
|
333
333
|
}
|
|
334
334
|
/**
|
|
335
335
|
* <p>An internal Amazon Lex error occurred. Try your request again.</p>
|
|
@@ -350,7 +350,7 @@ export declare class InternalFailureException extends __BaseException {
|
|
|
350
350
|
export declare class LimitExceededException extends __BaseException {
|
|
351
351
|
readonly name: "LimitExceededException";
|
|
352
352
|
readonly $fault: "client";
|
|
353
|
-
retryAfterSeconds?: string;
|
|
353
|
+
retryAfterSeconds?: string | undefined;
|
|
354
354
|
/**
|
|
355
355
|
* @internal
|
|
356
356
|
*/
|
|
@@ -402,7 +402,7 @@ export interface CreateIntentVersionRequest {
|
|
|
402
402
|
* publishes the <code>$LATEST</code> version.</p>
|
|
403
403
|
* @public
|
|
404
404
|
*/
|
|
405
|
-
checksum?: string;
|
|
405
|
+
checksum?: string | undefined;
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
408
|
* <p>Specifies a Lambda function that verifies requests to a bot or
|
|
@@ -493,7 +493,7 @@ export interface FulfillmentActivity {
|
|
|
493
493
|
* intent. </p>
|
|
494
494
|
* @public
|
|
495
495
|
*/
|
|
496
|
-
codeHook?: CodeHook;
|
|
496
|
+
codeHook?: CodeHook | undefined;
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
499
|
* <p>The name of a context that must be active for an intent to be selected
|
|
@@ -534,7 +534,7 @@ export interface KendraConfiguration {
|
|
|
534
534
|
* runtime.</p>
|
|
535
535
|
* @public
|
|
536
536
|
*/
|
|
537
|
-
queryFilterString?: string;
|
|
537
|
+
queryFilterString?: string | undefined;
|
|
538
538
|
/**
|
|
539
539
|
* <p>The Amazon Resource Name (ARN) of an IAM role that has permission to
|
|
540
540
|
* search the Amazon Kendra index. The role must be in the same account and
|
|
@@ -655,7 +655,7 @@ export interface Slot {
|
|
|
655
655
|
* <p>A description of the slot.</p>
|
|
656
656
|
* @public
|
|
657
657
|
*/
|
|
658
|
-
description?: string;
|
|
658
|
+
description?: string | undefined;
|
|
659
659
|
/**
|
|
660
660
|
* <p>Specifies whether the slot is required or optional. </p>
|
|
661
661
|
* @public
|
|
@@ -666,18 +666,18 @@ export interface Slot {
|
|
|
666
666
|
* one of the built-in slot types.</p>
|
|
667
667
|
* @public
|
|
668
668
|
*/
|
|
669
|
-
slotType?: string;
|
|
669
|
+
slotType?: string | undefined;
|
|
670
670
|
/**
|
|
671
671
|
* <p>The version of the slot type.</p>
|
|
672
672
|
* @public
|
|
673
673
|
*/
|
|
674
|
-
slotTypeVersion?: string;
|
|
674
|
+
slotTypeVersion?: string | undefined;
|
|
675
675
|
/**
|
|
676
676
|
* <p>The prompt that Amazon Lex uses to elicit the slot value from the
|
|
677
677
|
* user.</p>
|
|
678
678
|
* @public
|
|
679
679
|
*/
|
|
680
|
-
valueElicitationPrompt?: Prompt;
|
|
680
|
+
valueElicitationPrompt?: Prompt | undefined;
|
|
681
681
|
/**
|
|
682
682
|
* <p> Directs Amazon Lex the order in which to elicit this slot value from
|
|
683
683
|
* the user. For example, if the intent has two slots with priorities 1 and
|
|
@@ -686,7 +686,7 @@ export interface Slot {
|
|
|
686
686
|
* elicits values is arbitrary.</p>
|
|
687
687
|
* @public
|
|
688
688
|
*/
|
|
689
|
-
priority?: number;
|
|
689
|
+
priority?: number | undefined;
|
|
690
690
|
/**
|
|
691
691
|
* <p> If you know a specific pattern with which users might respond to
|
|
692
692
|
* an Amazon Lex request for a slot value, you can provide those utterances to
|
|
@@ -694,14 +694,14 @@ export interface Slot {
|
|
|
694
694
|
* understanding user utterances. </p>
|
|
695
695
|
* @public
|
|
696
696
|
*/
|
|
697
|
-
sampleUtterances?: string[];
|
|
697
|
+
sampleUtterances?: string[] | undefined;
|
|
698
698
|
/**
|
|
699
699
|
* <p> A set of possible responses for the slot type used by text-based
|
|
700
700
|
* clients. A user chooses an option from the response card, instead of using
|
|
701
701
|
* text to reply. </p>
|
|
702
702
|
* @public
|
|
703
703
|
*/
|
|
704
|
-
responseCard?: string;
|
|
704
|
+
responseCard?: string | undefined;
|
|
705
705
|
/**
|
|
706
706
|
* <p>Determines whether a slot is obfuscated in conversation logs and
|
|
707
707
|
* stored utterances. When you obfuscate a slot, the value is replaced by the
|
|
@@ -711,14 +711,14 @@ export interface Slot {
|
|
|
711
711
|
* </p>
|
|
712
712
|
* @public
|
|
713
713
|
*/
|
|
714
|
-
obfuscationSetting?: ObfuscationSetting;
|
|
714
|
+
obfuscationSetting?: ObfuscationSetting | undefined;
|
|
715
715
|
/**
|
|
716
716
|
* <p>A list of default values for the slot. Default values are used when
|
|
717
717
|
* Amazon Lex hasn't determined a value for a slot. You can specify default values
|
|
718
718
|
* from context variables, session attributes, and defined values.</p>
|
|
719
719
|
* @public
|
|
720
720
|
*/
|
|
721
|
-
defaultValueSpec?: SlotDefaultValueSpec;
|
|
721
|
+
defaultValueSpec?: SlotDefaultValueSpec | undefined;
|
|
722
722
|
}
|
|
723
723
|
/**
|
|
724
724
|
* @public
|
|
@@ -728,105 +728,105 @@ export interface CreateIntentVersionResponse {
|
|
|
728
728
|
* <p>The name of the intent.</p>
|
|
729
729
|
* @public
|
|
730
730
|
*/
|
|
731
|
-
name?: string;
|
|
731
|
+
name?: string | undefined;
|
|
732
732
|
/**
|
|
733
733
|
* <p>A description of the intent.</p>
|
|
734
734
|
* @public
|
|
735
735
|
*/
|
|
736
|
-
description?: string;
|
|
736
|
+
description?: string | undefined;
|
|
737
737
|
/**
|
|
738
738
|
* <p>An array of slot types that defines the information required to
|
|
739
739
|
* fulfill the intent.</p>
|
|
740
740
|
* @public
|
|
741
741
|
*/
|
|
742
|
-
slots?: Slot[];
|
|
742
|
+
slots?: Slot[] | undefined;
|
|
743
743
|
/**
|
|
744
744
|
* <p>An array of sample utterances configured for the intent. </p>
|
|
745
745
|
* @public
|
|
746
746
|
*/
|
|
747
|
-
sampleUtterances?: string[];
|
|
747
|
+
sampleUtterances?: string[] | undefined;
|
|
748
748
|
/**
|
|
749
749
|
* <p>If defined, the prompt that Amazon Lex uses to confirm the user's
|
|
750
750
|
* intent before fulfilling it. </p>
|
|
751
751
|
* @public
|
|
752
752
|
*/
|
|
753
|
-
confirmationPrompt?: Prompt;
|
|
753
|
+
confirmationPrompt?: Prompt | undefined;
|
|
754
754
|
/**
|
|
755
755
|
* <p>If the user answers "no" to the question defined in
|
|
756
756
|
* <code>confirmationPrompt</code>, Amazon Lex responds with this statement to
|
|
757
757
|
* acknowledge that the intent was canceled. </p>
|
|
758
758
|
* @public
|
|
759
759
|
*/
|
|
760
|
-
rejectionStatement?: Statement;
|
|
760
|
+
rejectionStatement?: Statement | undefined;
|
|
761
761
|
/**
|
|
762
762
|
* <p>If defined, Amazon Lex uses this prompt to solicit additional user
|
|
763
763
|
* activity after the intent is fulfilled. </p>
|
|
764
764
|
* @public
|
|
765
765
|
*/
|
|
766
|
-
followUpPrompt?: FollowUpPrompt;
|
|
766
|
+
followUpPrompt?: FollowUpPrompt | undefined;
|
|
767
767
|
/**
|
|
768
768
|
* <p>After the Lambda function specified in the
|
|
769
769
|
* <code>fulfillmentActivity</code> field fulfills the intent, Amazon Lex
|
|
770
770
|
* conveys this statement to the user. </p>
|
|
771
771
|
* @public
|
|
772
772
|
*/
|
|
773
|
-
conclusionStatement?: Statement;
|
|
773
|
+
conclusionStatement?: Statement | undefined;
|
|
774
774
|
/**
|
|
775
775
|
* <p>If defined, Amazon Lex invokes this Lambda function for each user
|
|
776
776
|
* input.</p>
|
|
777
777
|
* @public
|
|
778
778
|
*/
|
|
779
|
-
dialogCodeHook?: CodeHook;
|
|
779
|
+
dialogCodeHook?: CodeHook | undefined;
|
|
780
780
|
/**
|
|
781
781
|
* <p> Describes how the intent is fulfilled. </p>
|
|
782
782
|
* @public
|
|
783
783
|
*/
|
|
784
|
-
fulfillmentActivity?: FulfillmentActivity;
|
|
784
|
+
fulfillmentActivity?: FulfillmentActivity | undefined;
|
|
785
785
|
/**
|
|
786
786
|
* <p>A unique identifier for a built-in intent.</p>
|
|
787
787
|
* @public
|
|
788
788
|
*/
|
|
789
|
-
parentIntentSignature?: string;
|
|
789
|
+
parentIntentSignature?: string | undefined;
|
|
790
790
|
/**
|
|
791
791
|
* <p>The date that the intent was updated. </p>
|
|
792
792
|
* @public
|
|
793
793
|
*/
|
|
794
|
-
lastUpdatedDate?: Date;
|
|
794
|
+
lastUpdatedDate?: Date | undefined;
|
|
795
795
|
/**
|
|
796
796
|
* <p>The date that the intent was created.</p>
|
|
797
797
|
* @public
|
|
798
798
|
*/
|
|
799
|
-
createdDate?: Date;
|
|
799
|
+
createdDate?: Date | undefined;
|
|
800
800
|
/**
|
|
801
801
|
* <p>The version number assigned to the new version of the
|
|
802
802
|
* intent.</p>
|
|
803
803
|
* @public
|
|
804
804
|
*/
|
|
805
|
-
version?: string;
|
|
805
|
+
version?: string | undefined;
|
|
806
806
|
/**
|
|
807
807
|
* <p>Checksum of the intent version created.</p>
|
|
808
808
|
* @public
|
|
809
809
|
*/
|
|
810
|
-
checksum?: string;
|
|
810
|
+
checksum?: string | undefined;
|
|
811
811
|
/**
|
|
812
812
|
* <p>Configuration information, if any, for connecting an Amazon Kendra
|
|
813
813
|
* index with the <code>AMAZON.KendraSearchIntent</code> intent.</p>
|
|
814
814
|
* @public
|
|
815
815
|
*/
|
|
816
|
-
kendraConfiguration?: KendraConfiguration;
|
|
816
|
+
kendraConfiguration?: KendraConfiguration | undefined;
|
|
817
817
|
/**
|
|
818
818
|
* <p>An array of <code>InputContext</code> objects that lists the contexts
|
|
819
819
|
* that must be active for Amazon Lex to choose the intent in a conversation with
|
|
820
820
|
* the user.</p>
|
|
821
821
|
* @public
|
|
822
822
|
*/
|
|
823
|
-
inputContexts?: InputContext[];
|
|
823
|
+
inputContexts?: InputContext[] | undefined;
|
|
824
824
|
/**
|
|
825
825
|
* <p>An array of <code>OutputContext</code> objects that lists the contexts
|
|
826
826
|
* that the intent activates when the intent is fulfilled.</p>
|
|
827
827
|
* @public
|
|
828
828
|
*/
|
|
829
|
-
outputContexts?: OutputContext[];
|
|
829
|
+
outputContexts?: OutputContext[] | undefined;
|
|
830
830
|
}
|
|
831
831
|
/**
|
|
832
832
|
* @public
|
|
@@ -847,7 +847,7 @@ export interface CreateSlotTypeVersionRequest {
|
|
|
847
847
|
* publishes the <code>$LATEST</code> version.</p>
|
|
848
848
|
* @public
|
|
849
849
|
*/
|
|
850
|
-
checksum?: string;
|
|
850
|
+
checksum?: string | undefined;
|
|
851
851
|
}
|
|
852
852
|
/**
|
|
853
853
|
* <p>Each slot type can have a set of values. Each enumeration value
|
|
@@ -878,7 +878,7 @@ export interface EnumerationValue {
|
|
|
878
878
|
* <p>Additional values related to the slot type value.</p>
|
|
879
879
|
* @public
|
|
880
880
|
*/
|
|
881
|
-
synonyms?: string[];
|
|
881
|
+
synonyms?: string[] | undefined;
|
|
882
882
|
}
|
|
883
883
|
/**
|
|
884
884
|
* <p>Provides a regular expression used to validate the value of a
|
|
@@ -925,7 +925,7 @@ export interface SlotTypeConfiguration {
|
|
|
925
925
|
* <p>A regular expression used to validate the value of a slot.</p>
|
|
926
926
|
* @public
|
|
927
927
|
*/
|
|
928
|
-
regexConfiguration?: SlotTypeRegexConfiguration;
|
|
928
|
+
regexConfiguration?: SlotTypeRegexConfiguration | undefined;
|
|
929
929
|
}
|
|
930
930
|
/**
|
|
931
931
|
* @public
|
|
@@ -947,57 +947,57 @@ export interface CreateSlotTypeVersionResponse {
|
|
|
947
947
|
* <p>The name of the slot type.</p>
|
|
948
948
|
* @public
|
|
949
949
|
*/
|
|
950
|
-
name?: string;
|
|
950
|
+
name?: string | undefined;
|
|
951
951
|
/**
|
|
952
952
|
* <p>A description of the slot type.</p>
|
|
953
953
|
* @public
|
|
954
954
|
*/
|
|
955
|
-
description?: string;
|
|
955
|
+
description?: string | undefined;
|
|
956
956
|
/**
|
|
957
957
|
* <p>A list of <code>EnumerationValue</code> objects that defines the
|
|
958
958
|
* values that the slot type can take.</p>
|
|
959
959
|
* @public
|
|
960
960
|
*/
|
|
961
|
-
enumerationValues?: EnumerationValue[];
|
|
961
|
+
enumerationValues?: EnumerationValue[] | undefined;
|
|
962
962
|
/**
|
|
963
963
|
* <p>The date that the slot type was updated. When you create a
|
|
964
964
|
* resource, the creation date and last update date are the same.</p>
|
|
965
965
|
* @public
|
|
966
966
|
*/
|
|
967
|
-
lastUpdatedDate?: Date;
|
|
967
|
+
lastUpdatedDate?: Date | undefined;
|
|
968
968
|
/**
|
|
969
969
|
* <p>The date that the slot type was created.</p>
|
|
970
970
|
* @public
|
|
971
971
|
*/
|
|
972
|
-
createdDate?: Date;
|
|
972
|
+
createdDate?: Date | undefined;
|
|
973
973
|
/**
|
|
974
974
|
* <p>The version assigned to the new slot type version. </p>
|
|
975
975
|
* @public
|
|
976
976
|
*/
|
|
977
|
-
version?: string;
|
|
977
|
+
version?: string | undefined;
|
|
978
978
|
/**
|
|
979
979
|
* <p>Checksum of the <code>$LATEST</code> version of the slot
|
|
980
980
|
* type.</p>
|
|
981
981
|
* @public
|
|
982
982
|
*/
|
|
983
|
-
checksum?: string;
|
|
983
|
+
checksum?: string | undefined;
|
|
984
984
|
/**
|
|
985
985
|
* <p>The strategy that Amazon Lex uses to determine the value of the slot.
|
|
986
986
|
* For more information, see <a>PutSlotType</a>.</p>
|
|
987
987
|
* @public
|
|
988
988
|
*/
|
|
989
|
-
valueSelectionStrategy?: SlotValueSelectionStrategy;
|
|
989
|
+
valueSelectionStrategy?: SlotValueSelectionStrategy | undefined;
|
|
990
990
|
/**
|
|
991
991
|
* <p>The built-in slot type used a the parent of the slot type.</p>
|
|
992
992
|
* @public
|
|
993
993
|
*/
|
|
994
|
-
parentSlotTypeSignature?: string;
|
|
994
|
+
parentSlotTypeSignature?: string | undefined;
|
|
995
995
|
/**
|
|
996
996
|
* <p>Configuration information that extends the parent built-in slot
|
|
997
997
|
* type.</p>
|
|
998
998
|
* @public
|
|
999
999
|
*/
|
|
1000
|
-
slotTypeConfigurations?: SlotTypeConfiguration[];
|
|
1000
|
+
slotTypeConfigurations?: SlotTypeConfiguration[] | undefined;
|
|
1001
1001
|
}
|
|
1002
1002
|
/**
|
|
1003
1003
|
* @public
|
|
@@ -1021,13 +1021,13 @@ export interface ResourceReference {
|
|
|
1021
1021
|
* trying to delete.</p>
|
|
1022
1022
|
* @public
|
|
1023
1023
|
*/
|
|
1024
|
-
name?: string;
|
|
1024
|
+
name?: string | undefined;
|
|
1025
1025
|
/**
|
|
1026
1026
|
* <p>The version of the resource that is using the resource that you are
|
|
1027
1027
|
* trying to delete.</p>
|
|
1028
1028
|
* @public
|
|
1029
1029
|
*/
|
|
1030
|
-
version?: string;
|
|
1030
|
+
version?: string | undefined;
|
|
1031
1031
|
}
|
|
1032
1032
|
/**
|
|
1033
1033
|
* @public
|
|
@@ -1065,14 +1065,14 @@ export type ReferenceType = (typeof ReferenceType)[keyof typeof ReferenceType];
|
|
|
1065
1065
|
export declare class ResourceInUseException extends __BaseException {
|
|
1066
1066
|
readonly name: "ResourceInUseException";
|
|
1067
1067
|
readonly $fault: "client";
|
|
1068
|
-
referenceType?: ReferenceType;
|
|
1068
|
+
referenceType?: ReferenceType | undefined;
|
|
1069
1069
|
/**
|
|
1070
1070
|
* <p>Describes the resource that refers to the resource that you are
|
|
1071
1071
|
* attempting to delete. This object is returned as part of the
|
|
1072
1072
|
* <code>ResourceInUseException</code> exception. </p>
|
|
1073
1073
|
* @public
|
|
1074
1074
|
*/
|
|
1075
|
-
exampleReference?: ResourceReference;
|
|
1075
|
+
exampleReference?: ResourceReference | undefined;
|
|
1076
1076
|
/**
|
|
1077
1077
|
* @internal
|
|
1078
1078
|
*/
|
|
@@ -1229,25 +1229,25 @@ export interface GetBotResponse {
|
|
|
1229
1229
|
* <p>The name of the bot.</p>
|
|
1230
1230
|
* @public
|
|
1231
1231
|
*/
|
|
1232
|
-
name?: string;
|
|
1232
|
+
name?: string | undefined;
|
|
1233
1233
|
/**
|
|
1234
1234
|
* <p>A description of the bot.</p>
|
|
1235
1235
|
* @public
|
|
1236
1236
|
*/
|
|
1237
|
-
description?: string;
|
|
1237
|
+
description?: string | undefined;
|
|
1238
1238
|
/**
|
|
1239
1239
|
* <p>An array of <code>intent</code> objects. For more information, see
|
|
1240
1240
|
* <a>PutBot</a>.</p>
|
|
1241
1241
|
* @public
|
|
1242
1242
|
*/
|
|
1243
|
-
intents?: Intent[];
|
|
1243
|
+
intents?: Intent[] | undefined;
|
|
1244
1244
|
/**
|
|
1245
1245
|
* <p>Indicates whether the bot uses accuracy improvements.
|
|
1246
1246
|
* <code>true</code> indicates that the bot is using the improvements,
|
|
1247
1247
|
* otherwise, <code>false</code>.</p>
|
|
1248
1248
|
* @public
|
|
1249
1249
|
*/
|
|
1250
|
-
enableModelImprovements?: boolean;
|
|
1250
|
+
enableModelImprovements?: boolean | undefined;
|
|
1251
1251
|
/**
|
|
1252
1252
|
* <p>The score that determines where Amazon Lex inserts the
|
|
1253
1253
|
* <code>AMAZON.FallbackIntent</code>,
|
|
@@ -1260,19 +1260,19 @@ export interface GetBotResponse {
|
|
|
1260
1260
|
* configured for the bot.</p>
|
|
1261
1261
|
* @public
|
|
1262
1262
|
*/
|
|
1263
|
-
nluIntentConfidenceThreshold?: number;
|
|
1263
|
+
nluIntentConfidenceThreshold?: number | undefined;
|
|
1264
1264
|
/**
|
|
1265
1265
|
* <p>The message Amazon Lex uses when it doesn't understand the user's
|
|
1266
1266
|
* request. For more information, see <a>PutBot</a>. </p>
|
|
1267
1267
|
* @public
|
|
1268
1268
|
*/
|
|
1269
|
-
clarificationPrompt?: Prompt;
|
|
1269
|
+
clarificationPrompt?: Prompt | undefined;
|
|
1270
1270
|
/**
|
|
1271
1271
|
* <p>The message that Amazon Lex returns when the user elects to end the
|
|
1272
1272
|
* conversation without completing it. For more information, see <a>PutBot</a>.</p>
|
|
1273
1273
|
* @public
|
|
1274
1274
|
*/
|
|
1275
|
-
abortStatement?: Statement;
|
|
1275
|
+
abortStatement?: Statement | undefined;
|
|
1276
1276
|
/**
|
|
1277
1277
|
* <p>The status of the bot. </p>
|
|
1278
1278
|
* <p>When the status is <code>BUILDING</code> Amazon Lex is building the bot
|
|
@@ -1288,53 +1288,53 @@ export interface GetBotResponse {
|
|
|
1288
1288
|
* <code>NOT_BUILT</code>.</p>
|
|
1289
1289
|
* @public
|
|
1290
1290
|
*/
|
|
1291
|
-
status?: Status;
|
|
1291
|
+
status?: Status | undefined;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex explains why
|
|
1294
1294
|
* it failed to build the bot.</p>
|
|
1295
1295
|
* @public
|
|
1296
1296
|
*/
|
|
1297
|
-
failureReason?: string;
|
|
1297
|
+
failureReason?: string | undefined;
|
|
1298
1298
|
/**
|
|
1299
1299
|
* <p>The date that the bot was updated. When you create a resource, the
|
|
1300
1300
|
* creation date and last updated date are the same. </p>
|
|
1301
1301
|
* @public
|
|
1302
1302
|
*/
|
|
1303
|
-
lastUpdatedDate?: Date;
|
|
1303
|
+
lastUpdatedDate?: Date | undefined;
|
|
1304
1304
|
/**
|
|
1305
1305
|
* <p>The date that the bot was created.</p>
|
|
1306
1306
|
* @public
|
|
1307
1307
|
*/
|
|
1308
|
-
createdDate?: Date;
|
|
1308
|
+
createdDate?: Date | undefined;
|
|
1309
1309
|
/**
|
|
1310
1310
|
* <p>The maximum time in seconds that Amazon Lex retains the data gathered in
|
|
1311
1311
|
* a conversation. For more information, see <a>PutBot</a>.</p>
|
|
1312
1312
|
* @public
|
|
1313
1313
|
*/
|
|
1314
|
-
idleSessionTTLInSeconds?: number;
|
|
1314
|
+
idleSessionTTLInSeconds?: number | undefined;
|
|
1315
1315
|
/**
|
|
1316
1316
|
* <p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction
|
|
1317
1317
|
* with the user. For more information, see <a>PutBot</a>.</p>
|
|
1318
1318
|
* @public
|
|
1319
1319
|
*/
|
|
1320
|
-
voiceId?: string;
|
|
1320
|
+
voiceId?: string | undefined;
|
|
1321
1321
|
/**
|
|
1322
1322
|
* <p>Checksum of the bot used to identify a specific revision of the
|
|
1323
1323
|
* bot's <code>$LATEST</code> version.</p>
|
|
1324
1324
|
* @public
|
|
1325
1325
|
*/
|
|
1326
|
-
checksum?: string;
|
|
1326
|
+
checksum?: string | undefined;
|
|
1327
1327
|
/**
|
|
1328
1328
|
* <p>The version of the bot. For a new bot, the version is always
|
|
1329
1329
|
* <code>$LATEST</code>.</p>
|
|
1330
1330
|
* @public
|
|
1331
1331
|
*/
|
|
1332
|
-
version?: string;
|
|
1332
|
+
version?: string | undefined;
|
|
1333
1333
|
/**
|
|
1334
1334
|
* <p> The target locale for the bot. </p>
|
|
1335
1335
|
* @public
|
|
1336
1336
|
*/
|
|
1337
|
-
locale?: Locale;
|
|
1337
|
+
locale?: Locale | undefined;
|
|
1338
1338
|
/**
|
|
1339
1339
|
* <p>For each Amazon Lex bot created with the Amazon Lex Model Building Service,
|
|
1340
1340
|
* you must specify whether your use of Amazon Lex is related to a website,
|
|
@@ -1364,13 +1364,13 @@ export interface GetBotResponse {
|
|
|
1364
1364
|
* </p>
|
|
1365
1365
|
* @public
|
|
1366
1366
|
*/
|
|
1367
|
-
childDirected?: boolean;
|
|
1367
|
+
childDirected?: boolean | undefined;
|
|
1368
1368
|
/**
|
|
1369
1369
|
* <p>Indicates whether user utterances should be sent to Amazon Comprehend
|
|
1370
1370
|
* for sentiment analysis.</p>
|
|
1371
1371
|
* @public
|
|
1372
1372
|
*/
|
|
1373
|
-
detectSentiment?: boolean;
|
|
1373
|
+
detectSentiment?: boolean | undefined;
|
|
1374
1374
|
}
|
|
1375
1375
|
/**
|
|
1376
1376
|
* @public
|
|
@@ -1420,24 +1420,24 @@ export interface LogSettingsResponse {
|
|
|
1420
1420
|
* <p>The type of logging that is enabled.</p>
|
|
1421
1421
|
* @public
|
|
1422
1422
|
*/
|
|
1423
|
-
logType?: LogType;
|
|
1423
|
+
logType?: LogType | undefined;
|
|
1424
1424
|
/**
|
|
1425
1425
|
* <p>The destination where logs are delivered.</p>
|
|
1426
1426
|
* @public
|
|
1427
1427
|
*/
|
|
1428
|
-
destination?: Destination;
|
|
1428
|
+
destination?: Destination | undefined;
|
|
1429
1429
|
/**
|
|
1430
1430
|
* <p>The Amazon Resource Name (ARN) of the key used to encrypt audio logs
|
|
1431
1431
|
* in an S3 bucket.</p>
|
|
1432
1432
|
* @public
|
|
1433
1433
|
*/
|
|
1434
|
-
kmsKeyArn?: string;
|
|
1434
|
+
kmsKeyArn?: string | undefined;
|
|
1435
1435
|
/**
|
|
1436
1436
|
* <p>The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3
|
|
1437
1437
|
* bucket where the logs are delivered.</p>
|
|
1438
1438
|
* @public
|
|
1439
1439
|
*/
|
|
1440
|
-
resourceArn?: string;
|
|
1440
|
+
resourceArn?: string | undefined;
|
|
1441
1441
|
/**
|
|
1442
1442
|
* <p>The resource prefix is the first part of the S3 object key within the
|
|
1443
1443
|
* S3 bucket that you specified to contain audio logs. For CloudWatch Logs it
|
|
@@ -1445,7 +1445,7 @@ export interface LogSettingsResponse {
|
|
|
1445
1445
|
* specified. </p>
|
|
1446
1446
|
* @public
|
|
1447
1447
|
*/
|
|
1448
|
-
resourcePrefix?: string;
|
|
1448
|
+
resourcePrefix?: string | undefined;
|
|
1449
1449
|
}
|
|
1450
1450
|
/**
|
|
1451
1451
|
* <p>Contains information about conversation log settings.</p>
|
|
@@ -1457,13 +1457,13 @@ export interface ConversationLogsResponse {
|
|
|
1457
1457
|
* both.</p>
|
|
1458
1458
|
* @public
|
|
1459
1459
|
*/
|
|
1460
|
-
logSettings?: LogSettingsResponse[];
|
|
1460
|
+
logSettings?: LogSettingsResponse[] | undefined;
|
|
1461
1461
|
/**
|
|
1462
1462
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to write your logs
|
|
1463
1463
|
* to CloudWatch Logs or an S3 bucket.</p>
|
|
1464
1464
|
* @public
|
|
1465
1465
|
*/
|
|
1466
|
-
iamRoleArn?: string;
|
|
1466
|
+
iamRoleArn?: string | undefined;
|
|
1467
1467
|
}
|
|
1468
1468
|
/**
|
|
1469
1469
|
* @public
|
|
@@ -1473,45 +1473,45 @@ export interface GetBotAliasResponse {
|
|
|
1473
1473
|
* <p>The name of the bot alias.</p>
|
|
1474
1474
|
* @public
|
|
1475
1475
|
*/
|
|
1476
|
-
name?: string;
|
|
1476
|
+
name?: string | undefined;
|
|
1477
1477
|
/**
|
|
1478
1478
|
* <p>A description of the bot alias.</p>
|
|
1479
1479
|
* @public
|
|
1480
1480
|
*/
|
|
1481
|
-
description?: string;
|
|
1481
|
+
description?: string | undefined;
|
|
1482
1482
|
/**
|
|
1483
1483
|
* <p>The version of the bot that the alias points to.</p>
|
|
1484
1484
|
* @public
|
|
1485
1485
|
*/
|
|
1486
|
-
botVersion?: string;
|
|
1486
|
+
botVersion?: string | undefined;
|
|
1487
1487
|
/**
|
|
1488
1488
|
* <p>The name of the bot that the alias points to.</p>
|
|
1489
1489
|
* @public
|
|
1490
1490
|
*/
|
|
1491
|
-
botName?: string;
|
|
1491
|
+
botName?: string | undefined;
|
|
1492
1492
|
/**
|
|
1493
1493
|
* <p>The date that the bot alias was updated. When you create a
|
|
1494
1494
|
* resource, the creation date and the last updated date are the
|
|
1495
1495
|
* same.</p>
|
|
1496
1496
|
* @public
|
|
1497
1497
|
*/
|
|
1498
|
-
lastUpdatedDate?: Date;
|
|
1498
|
+
lastUpdatedDate?: Date | undefined;
|
|
1499
1499
|
/**
|
|
1500
1500
|
* <p>The date that the bot alias was created.</p>
|
|
1501
1501
|
* @public
|
|
1502
1502
|
*/
|
|
1503
|
-
createdDate?: Date;
|
|
1503
|
+
createdDate?: Date | undefined;
|
|
1504
1504
|
/**
|
|
1505
1505
|
* <p>Checksum of the bot alias.</p>
|
|
1506
1506
|
* @public
|
|
1507
1507
|
*/
|
|
1508
|
-
checksum?: string;
|
|
1508
|
+
checksum?: string | undefined;
|
|
1509
1509
|
/**
|
|
1510
1510
|
* <p>The settings that determine how Amazon Lex uses conversation logs for the
|
|
1511
1511
|
* alias.</p>
|
|
1512
1512
|
* @public
|
|
1513
1513
|
*/
|
|
1514
|
-
conversationLogs?: ConversationLogsResponse;
|
|
1514
|
+
conversationLogs?: ConversationLogsResponse | undefined;
|
|
1515
1515
|
}
|
|
1516
1516
|
/**
|
|
1517
1517
|
* @public
|
|
@@ -1529,20 +1529,20 @@ export interface GetBotAliasesRequest {
|
|
|
1529
1529
|
* token in the next request. </p>
|
|
1530
1530
|
* @public
|
|
1531
1531
|
*/
|
|
1532
|
-
nextToken?: string;
|
|
1532
|
+
nextToken?: string | undefined;
|
|
1533
1533
|
/**
|
|
1534
1534
|
* <p>The maximum number of aliases to return in the response. The
|
|
1535
1535
|
* default is 50. . </p>
|
|
1536
1536
|
* @public
|
|
1537
1537
|
*/
|
|
1538
|
-
maxResults?: number;
|
|
1538
|
+
maxResults?: number | undefined;
|
|
1539
1539
|
/**
|
|
1540
1540
|
* <p>Substring to match in bot alias names. An alias will be returned if
|
|
1541
1541
|
* any part of its name matches the substring. For example, "xyz" matches
|
|
1542
1542
|
* both "xyzabc" and "abcxyz."</p>
|
|
1543
1543
|
* @public
|
|
1544
1544
|
*/
|
|
1545
|
-
nameContains?: string;
|
|
1545
|
+
nameContains?: string | undefined;
|
|
1546
1546
|
}
|
|
1547
1547
|
/**
|
|
1548
1548
|
* <p>Provides information about a bot alias.</p>
|
|
@@ -1553,44 +1553,44 @@ export interface BotAliasMetadata {
|
|
|
1553
1553
|
* <p>The name of the bot alias.</p>
|
|
1554
1554
|
* @public
|
|
1555
1555
|
*/
|
|
1556
|
-
name?: string;
|
|
1556
|
+
name?: string | undefined;
|
|
1557
1557
|
/**
|
|
1558
1558
|
* <p>A description of the bot alias.</p>
|
|
1559
1559
|
* @public
|
|
1560
1560
|
*/
|
|
1561
|
-
description?: string;
|
|
1561
|
+
description?: string | undefined;
|
|
1562
1562
|
/**
|
|
1563
1563
|
* <p>The version of the Amazon Lex bot to which the alias points.</p>
|
|
1564
1564
|
* @public
|
|
1565
1565
|
*/
|
|
1566
|
-
botVersion?: string;
|
|
1566
|
+
botVersion?: string | undefined;
|
|
1567
1567
|
/**
|
|
1568
1568
|
* <p>The name of the bot to which the alias points.</p>
|
|
1569
1569
|
* @public
|
|
1570
1570
|
*/
|
|
1571
|
-
botName?: string;
|
|
1571
|
+
botName?: string | undefined;
|
|
1572
1572
|
/**
|
|
1573
1573
|
* <p>The date that the bot alias was updated. When you create a
|
|
1574
1574
|
* resource, the creation date and last updated date are the same.</p>
|
|
1575
1575
|
* @public
|
|
1576
1576
|
*/
|
|
1577
|
-
lastUpdatedDate?: Date;
|
|
1577
|
+
lastUpdatedDate?: Date | undefined;
|
|
1578
1578
|
/**
|
|
1579
1579
|
* <p>The date that the bot alias was created.</p>
|
|
1580
1580
|
* @public
|
|
1581
1581
|
*/
|
|
1582
|
-
createdDate?: Date;
|
|
1582
|
+
createdDate?: Date | undefined;
|
|
1583
1583
|
/**
|
|
1584
1584
|
* <p>Checksum of the bot alias.</p>
|
|
1585
1585
|
* @public
|
|
1586
1586
|
*/
|
|
1587
|
-
checksum?: string;
|
|
1587
|
+
checksum?: string | undefined;
|
|
1588
1588
|
/**
|
|
1589
1589
|
* <p>Settings that determine how Amazon Lex uses conversation logs for the
|
|
1590
1590
|
* alias.</p>
|
|
1591
1591
|
* @public
|
|
1592
1592
|
*/
|
|
1593
|
-
conversationLogs?: ConversationLogsResponse;
|
|
1593
|
+
conversationLogs?: ConversationLogsResponse | undefined;
|
|
1594
1594
|
}
|
|
1595
1595
|
/**
|
|
1596
1596
|
* @public
|
|
@@ -1601,7 +1601,7 @@ export interface GetBotAliasesResponse {
|
|
|
1601
1601
|
* a bot alias.</p>
|
|
1602
1602
|
* @public
|
|
1603
1603
|
*/
|
|
1604
|
-
BotAliases?: BotAliasMetadata[];
|
|
1604
|
+
BotAliases?: BotAliasMetadata[] | undefined;
|
|
1605
1605
|
/**
|
|
1606
1606
|
* <p>A pagination token for fetching next page of aliases. If the
|
|
1607
1607
|
* response to this call is truncated, Amazon Lex returns a pagination token in
|
|
@@ -1609,7 +1609,7 @@ export interface GetBotAliasesResponse {
|
|
|
1609
1609
|
* token in the next request. </p>
|
|
1610
1610
|
* @public
|
|
1611
1611
|
*/
|
|
1612
|
-
nextToken?: string;
|
|
1612
|
+
nextToken?: string | undefined;
|
|
1613
1613
|
}
|
|
1614
1614
|
/**
|
|
1615
1615
|
* @public
|
|
@@ -1669,41 +1669,41 @@ export interface GetBotChannelAssociationResponse {
|
|
|
1669
1669
|
* channel.</p>
|
|
1670
1670
|
* @public
|
|
1671
1671
|
*/
|
|
1672
|
-
name?: string;
|
|
1672
|
+
name?: string | undefined;
|
|
1673
1673
|
/**
|
|
1674
1674
|
* <p>A description of the association between the bot and the
|
|
1675
1675
|
* channel.</p>
|
|
1676
1676
|
* @public
|
|
1677
1677
|
*/
|
|
1678
|
-
description?: string;
|
|
1678
|
+
description?: string | undefined;
|
|
1679
1679
|
/**
|
|
1680
1680
|
* <p>An alias pointing to the specific version of the Amazon Lex bot to which
|
|
1681
1681
|
* this association is being made.</p>
|
|
1682
1682
|
* @public
|
|
1683
1683
|
*/
|
|
1684
|
-
botAlias?: string;
|
|
1684
|
+
botAlias?: string | undefined;
|
|
1685
1685
|
/**
|
|
1686
1686
|
* <p>The name of the Amazon Lex bot.</p>
|
|
1687
1687
|
* @public
|
|
1688
1688
|
*/
|
|
1689
|
-
botName?: string;
|
|
1689
|
+
botName?: string | undefined;
|
|
1690
1690
|
/**
|
|
1691
1691
|
* <p>The date that the association between the bot and the channel was
|
|
1692
1692
|
* created.</p>
|
|
1693
1693
|
* @public
|
|
1694
1694
|
*/
|
|
1695
|
-
createdDate?: Date;
|
|
1695
|
+
createdDate?: Date | undefined;
|
|
1696
1696
|
/**
|
|
1697
1697
|
* <p>The type of the messaging platform.</p>
|
|
1698
1698
|
* @public
|
|
1699
1699
|
*/
|
|
1700
|
-
type?: ChannelType;
|
|
1700
|
+
type?: ChannelType | undefined;
|
|
1701
1701
|
/**
|
|
1702
1702
|
* <p>Provides information that the messaging platform needs to
|
|
1703
1703
|
* communicate with the Amazon Lex bot.</p>
|
|
1704
1704
|
* @public
|
|
1705
1705
|
*/
|
|
1706
|
-
botConfiguration?: Record<string, string
|
|
1706
|
+
botConfiguration?: Record<string, string> | undefined;
|
|
1707
1707
|
/**
|
|
1708
1708
|
* <p>The status of the bot channel. </p>
|
|
1709
1709
|
* <ul>
|
|
@@ -1726,13 +1726,13 @@ export interface GetBotChannelAssociationResponse {
|
|
|
1726
1726
|
* </ul>
|
|
1727
1727
|
* @public
|
|
1728
1728
|
*/
|
|
1729
|
-
status?: ChannelStatus;
|
|
1729
|
+
status?: ChannelStatus | undefined;
|
|
1730
1730
|
/**
|
|
1731
1731
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the
|
|
1732
1732
|
* reason that it failed to create the association.</p>
|
|
1733
1733
|
* @public
|
|
1734
1734
|
*/
|
|
1735
|
-
failureReason?: string;
|
|
1735
|
+
failureReason?: string | undefined;
|
|
1736
1736
|
}
|
|
1737
1737
|
/**
|
|
1738
1738
|
* @public
|
|
@@ -1756,13 +1756,13 @@ export interface GetBotChannelAssociationsRequest {
|
|
|
1756
1756
|
* pagination token in the next request. </p>
|
|
1757
1757
|
* @public
|
|
1758
1758
|
*/
|
|
1759
|
-
nextToken?: string;
|
|
1759
|
+
nextToken?: string | undefined;
|
|
1760
1760
|
/**
|
|
1761
1761
|
* <p>The maximum number of associations to return in the response. The
|
|
1762
1762
|
* default is 50. </p>
|
|
1763
1763
|
* @public
|
|
1764
1764
|
*/
|
|
1765
|
-
maxResults?: number;
|
|
1765
|
+
maxResults?: number | undefined;
|
|
1766
1766
|
/**
|
|
1767
1767
|
* <p>Substring to match in channel association names. An association
|
|
1768
1768
|
* will be returned if any part of its name matches the substring. For
|
|
@@ -1771,7 +1771,7 @@ export interface GetBotChannelAssociationsRequest {
|
|
|
1771
1771
|
* parameter.</p>
|
|
1772
1772
|
* @public
|
|
1773
1773
|
*/
|
|
1774
|
-
nameContains?: string;
|
|
1774
|
+
nameContains?: string | undefined;
|
|
1775
1775
|
}
|
|
1776
1776
|
/**
|
|
1777
1777
|
* <p>Represents an association between an Amazon Lex bot and an external
|
|
@@ -1784,18 +1784,18 @@ export interface BotChannelAssociation {
|
|
|
1784
1784
|
* </p>
|
|
1785
1785
|
* @public
|
|
1786
1786
|
*/
|
|
1787
|
-
name?: string;
|
|
1787
|
+
name?: string | undefined;
|
|
1788
1788
|
/**
|
|
1789
1789
|
* <p>A text description of the association you are creating. </p>
|
|
1790
1790
|
* @public
|
|
1791
1791
|
*/
|
|
1792
|
-
description?: string;
|
|
1792
|
+
description?: string | undefined;
|
|
1793
1793
|
/**
|
|
1794
1794
|
* <p>An alias pointing to the specific version of the Amazon Lex bot to which
|
|
1795
1795
|
* this association is being made. </p>
|
|
1796
1796
|
* @public
|
|
1797
1797
|
*/
|
|
1798
|
-
botAlias?: string;
|
|
1798
|
+
botAlias?: string | undefined;
|
|
1799
1799
|
/**
|
|
1800
1800
|
* <p>The name of the Amazon Lex bot to which this association is being made. </p>
|
|
1801
1801
|
* <note>
|
|
@@ -1804,26 +1804,26 @@ export interface BotChannelAssociation {
|
|
|
1804
1804
|
* </note>
|
|
1805
1805
|
* @public
|
|
1806
1806
|
*/
|
|
1807
|
-
botName?: string;
|
|
1807
|
+
botName?: string | undefined;
|
|
1808
1808
|
/**
|
|
1809
1809
|
* <p>The date that the association between the Amazon Lex bot and the channel
|
|
1810
1810
|
* was created. </p>
|
|
1811
1811
|
* @public
|
|
1812
1812
|
*/
|
|
1813
|
-
createdDate?: Date;
|
|
1813
|
+
createdDate?: Date | undefined;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* <p>Specifies the type of association by indicating the type of channel
|
|
1816
1816
|
* being established between the Amazon Lex bot and the external messaging
|
|
1817
1817
|
* platform.</p>
|
|
1818
1818
|
* @public
|
|
1819
1819
|
*/
|
|
1820
|
-
type?: ChannelType;
|
|
1820
|
+
type?: ChannelType | undefined;
|
|
1821
1821
|
/**
|
|
1822
1822
|
* <p>Provides information necessary to communicate with the messaging
|
|
1823
1823
|
* platform. </p>
|
|
1824
1824
|
* @public
|
|
1825
1825
|
*/
|
|
1826
|
-
botConfiguration?: Record<string, string
|
|
1826
|
+
botConfiguration?: Record<string, string> | undefined;
|
|
1827
1827
|
/**
|
|
1828
1828
|
* <p>The status of the bot channel. </p>
|
|
1829
1829
|
* <ul>
|
|
@@ -1846,13 +1846,13 @@ export interface BotChannelAssociation {
|
|
|
1846
1846
|
* </ul>
|
|
1847
1847
|
* @public
|
|
1848
1848
|
*/
|
|
1849
|
-
status?: ChannelStatus;
|
|
1849
|
+
status?: ChannelStatus | undefined;
|
|
1850
1850
|
/**
|
|
1851
1851
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the
|
|
1852
1852
|
* reason that it failed to create the association.</p>
|
|
1853
1853
|
* @public
|
|
1854
1854
|
*/
|
|
1855
|
-
failureReason?: string;
|
|
1855
|
+
failureReason?: string | undefined;
|
|
1856
1856
|
}
|
|
1857
1857
|
/**
|
|
1858
1858
|
* @public
|
|
@@ -1864,7 +1864,7 @@ export interface GetBotChannelAssociationsResponse {
|
|
|
1864
1864
|
* </p>
|
|
1865
1865
|
* @public
|
|
1866
1866
|
*/
|
|
1867
|
-
botChannelAssociations?: BotChannelAssociation[];
|
|
1867
|
+
botChannelAssociations?: BotChannelAssociation[] | undefined;
|
|
1868
1868
|
/**
|
|
1869
1869
|
* <p>A pagination token that fetches the next page of associations. If
|
|
1870
1870
|
* the response to this call is truncated, Amazon Lex returns a pagination token
|
|
@@ -1872,7 +1872,7 @@ export interface GetBotChannelAssociationsResponse {
|
|
|
1872
1872
|
* pagination token in the next request. </p>
|
|
1873
1873
|
* @public
|
|
1874
1874
|
*/
|
|
1875
|
-
nextToken?: string;
|
|
1875
|
+
nextToken?: string | undefined;
|
|
1876
1876
|
}
|
|
1877
1877
|
/**
|
|
1878
1878
|
* @public
|
|
@@ -1885,20 +1885,20 @@ export interface GetBotsRequest {
|
|
|
1885
1885
|
* in the next request. </p>
|
|
1886
1886
|
* @public
|
|
1887
1887
|
*/
|
|
1888
|
-
nextToken?: string;
|
|
1888
|
+
nextToken?: string | undefined;
|
|
1889
1889
|
/**
|
|
1890
1890
|
* <p>The maximum number of bots to return in the response that the
|
|
1891
1891
|
* request will return. The default is 10.</p>
|
|
1892
1892
|
* @public
|
|
1893
1893
|
*/
|
|
1894
|
-
maxResults?: number;
|
|
1894
|
+
maxResults?: number | undefined;
|
|
1895
1895
|
/**
|
|
1896
1896
|
* <p>Substring to match in bot names. A bot will be returned if any part
|
|
1897
1897
|
* of its name matches the substring. For example, "xyz" matches both
|
|
1898
1898
|
* "xyzabc" and "abcxyz."</p>
|
|
1899
1899
|
* @public
|
|
1900
1900
|
*/
|
|
1901
|
-
nameContains?: string;
|
|
1901
|
+
nameContains?: string | undefined;
|
|
1902
1902
|
}
|
|
1903
1903
|
/**
|
|
1904
1904
|
* <p>Provides information about a bot. .</p>
|
|
@@ -1909,34 +1909,34 @@ export interface BotMetadata {
|
|
|
1909
1909
|
* <p>The name of the bot. </p>
|
|
1910
1910
|
* @public
|
|
1911
1911
|
*/
|
|
1912
|
-
name?: string;
|
|
1912
|
+
name?: string | undefined;
|
|
1913
1913
|
/**
|
|
1914
1914
|
* <p>A description of the bot.</p>
|
|
1915
1915
|
* @public
|
|
1916
1916
|
*/
|
|
1917
|
-
description?: string;
|
|
1917
|
+
description?: string | undefined;
|
|
1918
1918
|
/**
|
|
1919
1919
|
* <p>The status of the bot.</p>
|
|
1920
1920
|
* @public
|
|
1921
1921
|
*/
|
|
1922
|
-
status?: Status;
|
|
1922
|
+
status?: Status | undefined;
|
|
1923
1923
|
/**
|
|
1924
1924
|
* <p>The date that the bot was updated. When you create a bot, the
|
|
1925
1925
|
* creation date and last updated date are the same. </p>
|
|
1926
1926
|
* @public
|
|
1927
1927
|
*/
|
|
1928
|
-
lastUpdatedDate?: Date;
|
|
1928
|
+
lastUpdatedDate?: Date | undefined;
|
|
1929
1929
|
/**
|
|
1930
1930
|
* <p>The date that the bot was created.</p>
|
|
1931
1931
|
* @public
|
|
1932
1932
|
*/
|
|
1933
|
-
createdDate?: Date;
|
|
1933
|
+
createdDate?: Date | undefined;
|
|
1934
1934
|
/**
|
|
1935
1935
|
* <p>The version of the bot. For a new bot, the version is always
|
|
1936
1936
|
* <code>$LATEST</code>.</p>
|
|
1937
1937
|
* @public
|
|
1938
1938
|
*/
|
|
1939
|
-
version?: string;
|
|
1939
|
+
version?: string | undefined;
|
|
1940
1940
|
}
|
|
1941
1941
|
/**
|
|
1942
1942
|
* @public
|
|
@@ -1947,14 +1947,14 @@ export interface GetBotsResponse {
|
|
|
1947
1947
|
* each bot. </p>
|
|
1948
1948
|
* @public
|
|
1949
1949
|
*/
|
|
1950
|
-
bots?: BotMetadata[];
|
|
1950
|
+
bots?: BotMetadata[] | undefined;
|
|
1951
1951
|
/**
|
|
1952
1952
|
* <p>If the response is truncated, it includes a pagination token that
|
|
1953
1953
|
* you can specify in your next request to fetch the next page of bots.
|
|
1954
1954
|
* </p>
|
|
1955
1955
|
* @public
|
|
1956
1956
|
*/
|
|
1957
|
-
nextToken?: string;
|
|
1957
|
+
nextToken?: string | undefined;
|
|
1958
1958
|
}
|
|
1959
1959
|
/**
|
|
1960
1960
|
* @public
|
|
@@ -1973,13 +1973,13 @@ export interface GetBotVersionsRequest {
|
|
|
1973
1973
|
* pagination token in the next request. </p>
|
|
1974
1974
|
* @public
|
|
1975
1975
|
*/
|
|
1976
|
-
nextToken?: string;
|
|
1976
|
+
nextToken?: string | undefined;
|
|
1977
1977
|
/**
|
|
1978
1978
|
* <p>The maximum number of bot versions to return in the response. The
|
|
1979
1979
|
* default is 10.</p>
|
|
1980
1980
|
* @public
|
|
1981
1981
|
*/
|
|
1982
|
-
maxResults?: number;
|
|
1982
|
+
maxResults?: number | undefined;
|
|
1983
1983
|
}
|
|
1984
1984
|
/**
|
|
1985
1985
|
* @public
|
|
@@ -1991,7 +1991,7 @@ export interface GetBotVersionsResponse {
|
|
|
1991
1991
|
* version.</p>
|
|
1992
1992
|
* @public
|
|
1993
1993
|
*/
|
|
1994
|
-
bots?: BotMetadata[];
|
|
1994
|
+
bots?: BotMetadata[] | undefined;
|
|
1995
1995
|
/**
|
|
1996
1996
|
* <p>A pagination token for fetching the next page of bot versions. If
|
|
1997
1997
|
* the response to this call is truncated, Amazon Lex returns a pagination token
|
|
@@ -1999,7 +1999,7 @@ export interface GetBotVersionsResponse {
|
|
|
1999
1999
|
* pagination token in the next request. </p>
|
|
2000
2000
|
* @public
|
|
2001
2001
|
*/
|
|
2002
|
-
nextToken?: string;
|
|
2002
|
+
nextToken?: string | undefined;
|
|
2003
2003
|
}
|
|
2004
2004
|
/**
|
|
2005
2005
|
* @public
|
|
@@ -2023,7 +2023,7 @@ export interface BuiltinIntentSlot {
|
|
|
2023
2023
|
* <p>A list of the slots defined for the intent.</p>
|
|
2024
2024
|
* @public
|
|
2025
2025
|
*/
|
|
2026
|
-
name?: string;
|
|
2026
|
+
name?: string | undefined;
|
|
2027
2027
|
}
|
|
2028
2028
|
/**
|
|
2029
2029
|
* @public
|
|
@@ -2033,18 +2033,18 @@ export interface GetBuiltinIntentResponse {
|
|
|
2033
2033
|
* <p>The unique identifier for a built-in intent.</p>
|
|
2034
2034
|
* @public
|
|
2035
2035
|
*/
|
|
2036
|
-
signature?: string;
|
|
2036
|
+
signature?: string | undefined;
|
|
2037
2037
|
/**
|
|
2038
2038
|
* <p>A list of locales that the intent supports.</p>
|
|
2039
2039
|
* @public
|
|
2040
2040
|
*/
|
|
2041
|
-
supportedLocales?: Locale[];
|
|
2041
|
+
supportedLocales?: Locale[] | undefined;
|
|
2042
2042
|
/**
|
|
2043
2043
|
* <p>An array of <code>BuiltinIntentSlot</code> objects, one entry for
|
|
2044
2044
|
* each slot type in the intent.</p>
|
|
2045
2045
|
* @public
|
|
2046
2046
|
*/
|
|
2047
|
-
slots?: BuiltinIntentSlot[];
|
|
2047
|
+
slots?: BuiltinIntentSlot[] | undefined;
|
|
2048
2048
|
}
|
|
2049
2049
|
/**
|
|
2050
2050
|
* @public
|
|
@@ -2054,7 +2054,7 @@ export interface GetBuiltinIntentsRequest {
|
|
|
2054
2054
|
* <p>A list of locales that the intent supports.</p>
|
|
2055
2055
|
* @public
|
|
2056
2056
|
*/
|
|
2057
|
-
locale?: Locale;
|
|
2057
|
+
locale?: Locale | undefined;
|
|
2058
2058
|
/**
|
|
2059
2059
|
* <p>Substring to match in built-in intent signatures. An intent will be
|
|
2060
2060
|
* returned if any part of its signature matches the substring. For example,
|
|
@@ -2063,7 +2063,7 @@ export interface GetBuiltinIntentsRequest {
|
|
|
2063
2063
|
* Kit</i>.</p>
|
|
2064
2064
|
* @public
|
|
2065
2065
|
*/
|
|
2066
|
-
signatureContains?: string;
|
|
2066
|
+
signatureContains?: string | undefined;
|
|
2067
2067
|
/**
|
|
2068
2068
|
* <p>A pagination token that fetches the next page of intents. If this
|
|
2069
2069
|
* API call is truncated, Amazon Lex returns a pagination token in the response.
|
|
@@ -2071,13 +2071,13 @@ export interface GetBuiltinIntentsRequest {
|
|
|
2071
2071
|
* request.</p>
|
|
2072
2072
|
* @public
|
|
2073
2073
|
*/
|
|
2074
|
-
nextToken?: string;
|
|
2074
|
+
nextToken?: string | undefined;
|
|
2075
2075
|
/**
|
|
2076
2076
|
* <p>The maximum number of intents to return in the response. The
|
|
2077
2077
|
* default is 10.</p>
|
|
2078
2078
|
* @public
|
|
2079
2079
|
*/
|
|
2080
|
-
maxResults?: number;
|
|
2080
|
+
maxResults?: number | undefined;
|
|
2081
2081
|
}
|
|
2082
2082
|
/**
|
|
2083
2083
|
* <p>Provides metadata for a built-in intent.</p>
|
|
@@ -2090,13 +2090,13 @@ export interface BuiltinIntentMetadata {
|
|
|
2090
2090
|
* Kit</i>.</p>
|
|
2091
2091
|
* @public
|
|
2092
2092
|
*/
|
|
2093
|
-
signature?: string;
|
|
2093
|
+
signature?: string | undefined;
|
|
2094
2094
|
/**
|
|
2095
2095
|
* <p>A list of identifiers for the locales that the intent
|
|
2096
2096
|
* supports.</p>
|
|
2097
2097
|
* @public
|
|
2098
2098
|
*/
|
|
2099
|
-
supportedLocales?: Locale[];
|
|
2099
|
+
supportedLocales?: Locale[] | undefined;
|
|
2100
2100
|
}
|
|
2101
2101
|
/**
|
|
2102
2102
|
* @public
|
|
@@ -2107,7 +2107,7 @@ export interface GetBuiltinIntentsResponse {
|
|
|
2107
2107
|
* each intent in the response.</p>
|
|
2108
2108
|
* @public
|
|
2109
2109
|
*/
|
|
2110
|
-
intents?: BuiltinIntentMetadata[];
|
|
2110
|
+
intents?: BuiltinIntentMetadata[] | undefined;
|
|
2111
2111
|
/**
|
|
2112
2112
|
* <p>A pagination token that fetches the next page of intents. If the
|
|
2113
2113
|
* response to this API call is truncated, Amazon Lex returns a pagination token
|
|
@@ -2115,7 +2115,7 @@ export interface GetBuiltinIntentsResponse {
|
|
|
2115
2115
|
* token in the next request.</p>
|
|
2116
2116
|
* @public
|
|
2117
2117
|
*/
|
|
2118
|
-
nextToken?: string;
|
|
2118
|
+
nextToken?: string | undefined;
|
|
2119
2119
|
}
|
|
2120
2120
|
/**
|
|
2121
2121
|
* @public
|
|
@@ -2125,14 +2125,14 @@ export interface GetBuiltinSlotTypesRequest {
|
|
|
2125
2125
|
* <p>A list of locales that the slot type supports.</p>
|
|
2126
2126
|
* @public
|
|
2127
2127
|
*/
|
|
2128
|
-
locale?: Locale;
|
|
2128
|
+
locale?: Locale | undefined;
|
|
2129
2129
|
/**
|
|
2130
2130
|
* <p>Substring to match in built-in slot type signatures. A slot type
|
|
2131
2131
|
* will be returned if any part of its signature matches the substring. For
|
|
2132
2132
|
* example, "xyz" matches both "xyzabc" and "abcxyz."</p>
|
|
2133
2133
|
* @public
|
|
2134
2134
|
*/
|
|
2135
|
-
signatureContains?: string;
|
|
2135
|
+
signatureContains?: string | undefined;
|
|
2136
2136
|
/**
|
|
2137
2137
|
* <p>A pagination token that fetches the next page of slot types. If the
|
|
2138
2138
|
* response to this API call is truncated, Amazon Lex returns a pagination token
|
|
@@ -2140,13 +2140,13 @@ export interface GetBuiltinSlotTypesRequest {
|
|
|
2140
2140
|
* pagination token in the next request.</p>
|
|
2141
2141
|
* @public
|
|
2142
2142
|
*/
|
|
2143
|
-
nextToken?: string;
|
|
2143
|
+
nextToken?: string | undefined;
|
|
2144
2144
|
/**
|
|
2145
2145
|
* <p>The maximum number of slot types to return in the response. The
|
|
2146
2146
|
* default is 10.</p>
|
|
2147
2147
|
* @public
|
|
2148
2148
|
*/
|
|
2149
|
-
maxResults?: number;
|
|
2149
|
+
maxResults?: number | undefined;
|
|
2150
2150
|
}
|
|
2151
2151
|
/**
|
|
2152
2152
|
* <p>Provides information about a built in slot type.</p>
|
|
@@ -2159,12 +2159,12 @@ export interface BuiltinSlotTypeMetadata {
|
|
|
2159
2159
|
* Kit</i>.</p>
|
|
2160
2160
|
* @public
|
|
2161
2161
|
*/
|
|
2162
|
-
signature?: string;
|
|
2162
|
+
signature?: string | undefined;
|
|
2163
2163
|
/**
|
|
2164
2164
|
* <p>A list of target locales for the slot. </p>
|
|
2165
2165
|
* @public
|
|
2166
2166
|
*/
|
|
2167
|
-
supportedLocales?: Locale[];
|
|
2167
|
+
supportedLocales?: Locale[] | undefined;
|
|
2168
2168
|
}
|
|
2169
2169
|
/**
|
|
2170
2170
|
* @public
|
|
@@ -2175,14 +2175,14 @@ export interface GetBuiltinSlotTypesResponse {
|
|
|
2175
2175
|
* for each slot type returned.</p>
|
|
2176
2176
|
* @public
|
|
2177
2177
|
*/
|
|
2178
|
-
slotTypes?: BuiltinSlotTypeMetadata[];
|
|
2178
|
+
slotTypes?: BuiltinSlotTypeMetadata[] | undefined;
|
|
2179
2179
|
/**
|
|
2180
2180
|
* <p>If the response is truncated, the response includes a pagination
|
|
2181
2181
|
* token that you can use in your next request to fetch the next page of slot
|
|
2182
2182
|
* types.</p>
|
|
2183
2183
|
* @public
|
|
2184
2184
|
*/
|
|
2185
|
-
nextToken?: string;
|
|
2185
|
+
nextToken?: string | undefined;
|
|
2186
2186
|
}
|
|
2187
2187
|
/**
|
|
2188
2188
|
* @public
|
|
@@ -2255,22 +2255,22 @@ export interface GetExportResponse {
|
|
|
2255
2255
|
* <p>The name of the bot being exported.</p>
|
|
2256
2256
|
* @public
|
|
2257
2257
|
*/
|
|
2258
|
-
name?: string;
|
|
2258
|
+
name?: string | undefined;
|
|
2259
2259
|
/**
|
|
2260
2260
|
* <p>The version of the bot being exported.</p>
|
|
2261
2261
|
* @public
|
|
2262
2262
|
*/
|
|
2263
|
-
version?: string;
|
|
2263
|
+
version?: string | undefined;
|
|
2264
2264
|
/**
|
|
2265
2265
|
* <p>The type of the exported resource.</p>
|
|
2266
2266
|
* @public
|
|
2267
2267
|
*/
|
|
2268
|
-
resourceType?: ResourceType;
|
|
2268
|
+
resourceType?: ResourceType | undefined;
|
|
2269
2269
|
/**
|
|
2270
2270
|
* <p>The format of the exported data.</p>
|
|
2271
2271
|
* @public
|
|
2272
2272
|
*/
|
|
2273
|
-
exportType?: ExportType;
|
|
2273
|
+
exportType?: ExportType | undefined;
|
|
2274
2274
|
/**
|
|
2275
2275
|
* <p>The status of the export. </p>
|
|
2276
2276
|
* <ul>
|
|
@@ -2290,13 +2290,13 @@ export interface GetExportResponse {
|
|
|
2290
2290
|
* </ul>
|
|
2291
2291
|
* @public
|
|
2292
2292
|
*/
|
|
2293
|
-
exportStatus?: ExportStatus;
|
|
2293
|
+
exportStatus?: ExportStatus | undefined;
|
|
2294
2294
|
/**
|
|
2295
2295
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the
|
|
2296
2296
|
* reason that it failed to export the resource.</p>
|
|
2297
2297
|
* @public
|
|
2298
2298
|
*/
|
|
2299
|
-
failureReason?: string;
|
|
2299
|
+
failureReason?: string | undefined;
|
|
2300
2300
|
/**
|
|
2301
2301
|
* <p>An S3 pre-signed URL that provides the location of the exported
|
|
2302
2302
|
* resource. The exported resource is a ZIP archive that contains the
|
|
@@ -2304,7 +2304,7 @@ export interface GetExportResponse {
|
|
|
2304
2304
|
* Your code should not rely on the archive structure.</p>
|
|
2305
2305
|
* @public
|
|
2306
2306
|
*/
|
|
2307
|
-
url?: string;
|
|
2307
|
+
url?: string | undefined;
|
|
2308
2308
|
}
|
|
2309
2309
|
/**
|
|
2310
2310
|
* @public
|
|
@@ -2349,42 +2349,42 @@ export interface GetImportResponse {
|
|
|
2349
2349
|
* <p>The name given to the import job.</p>
|
|
2350
2350
|
* @public
|
|
2351
2351
|
*/
|
|
2352
|
-
name?: string;
|
|
2352
|
+
name?: string | undefined;
|
|
2353
2353
|
/**
|
|
2354
2354
|
* <p>The type of resource imported.</p>
|
|
2355
2355
|
* @public
|
|
2356
2356
|
*/
|
|
2357
|
-
resourceType?: ResourceType;
|
|
2357
|
+
resourceType?: ResourceType | undefined;
|
|
2358
2358
|
/**
|
|
2359
2359
|
* <p>The action taken when there was a conflict between an existing
|
|
2360
2360
|
* resource and a resource in the import file.</p>
|
|
2361
2361
|
* @public
|
|
2362
2362
|
*/
|
|
2363
|
-
mergeStrategy?: MergeStrategy;
|
|
2363
|
+
mergeStrategy?: MergeStrategy | undefined;
|
|
2364
2364
|
/**
|
|
2365
2365
|
* <p>The identifier for the specific import job.</p>
|
|
2366
2366
|
* @public
|
|
2367
2367
|
*/
|
|
2368
|
-
importId?: string;
|
|
2368
|
+
importId?: string | undefined;
|
|
2369
2369
|
/**
|
|
2370
2370
|
* <p>The status of the import job. If the status is <code>FAILED</code>,
|
|
2371
2371
|
* you can get the reason for the failure from the <code>failureReason</code>
|
|
2372
2372
|
* field.</p>
|
|
2373
2373
|
* @public
|
|
2374
2374
|
*/
|
|
2375
|
-
importStatus?: ImportStatus;
|
|
2375
|
+
importStatus?: ImportStatus | undefined;
|
|
2376
2376
|
/**
|
|
2377
2377
|
* <p>A string that describes why an import job failed to
|
|
2378
2378
|
* complete.</p>
|
|
2379
2379
|
* @public
|
|
2380
2380
|
*/
|
|
2381
|
-
failureReason?: string[];
|
|
2381
|
+
failureReason?: string[] | undefined;
|
|
2382
2382
|
/**
|
|
2383
2383
|
* <p>A timestamp for the date and time that the import job was
|
|
2384
2384
|
* created.</p>
|
|
2385
2385
|
* @public
|
|
2386
2386
|
*/
|
|
2387
|
-
createdDate?: Date;
|
|
2387
|
+
createdDate?: Date | undefined;
|
|
2388
2388
|
}
|
|
2389
2389
|
/**
|
|
2390
2390
|
* @public
|
|
@@ -2409,106 +2409,106 @@ export interface GetIntentResponse {
|
|
|
2409
2409
|
* <p>The name of the intent.</p>
|
|
2410
2410
|
* @public
|
|
2411
2411
|
*/
|
|
2412
|
-
name?: string;
|
|
2412
|
+
name?: string | undefined;
|
|
2413
2413
|
/**
|
|
2414
2414
|
* <p>A description of the intent.</p>
|
|
2415
2415
|
* @public
|
|
2416
2416
|
*/
|
|
2417
|
-
description?: string;
|
|
2417
|
+
description?: string | undefined;
|
|
2418
2418
|
/**
|
|
2419
2419
|
* <p>An array of intent slots configured for the intent.</p>
|
|
2420
2420
|
* @public
|
|
2421
2421
|
*/
|
|
2422
|
-
slots?: Slot[];
|
|
2422
|
+
slots?: Slot[] | undefined;
|
|
2423
2423
|
/**
|
|
2424
2424
|
* <p>An array of sample utterances configured for the intent.</p>
|
|
2425
2425
|
* @public
|
|
2426
2426
|
*/
|
|
2427
|
-
sampleUtterances?: string[];
|
|
2427
|
+
sampleUtterances?: string[] | undefined;
|
|
2428
2428
|
/**
|
|
2429
2429
|
* <p>If defined in the bot, Amazon Lex uses prompt to confirm the intent
|
|
2430
2430
|
* before fulfilling the user's request. For more information, see <a>PutIntent</a>. </p>
|
|
2431
2431
|
* @public
|
|
2432
2432
|
*/
|
|
2433
|
-
confirmationPrompt?: Prompt;
|
|
2433
|
+
confirmationPrompt?: Prompt | undefined;
|
|
2434
2434
|
/**
|
|
2435
2435
|
* <p>If the user answers "no" to the question defined in
|
|
2436
2436
|
* <code>confirmationPrompt</code>, Amazon Lex responds with this statement to
|
|
2437
2437
|
* acknowledge that the intent was canceled. </p>
|
|
2438
2438
|
* @public
|
|
2439
2439
|
*/
|
|
2440
|
-
rejectionStatement?: Statement;
|
|
2440
|
+
rejectionStatement?: Statement | undefined;
|
|
2441
2441
|
/**
|
|
2442
2442
|
* <p>If defined in the bot, Amazon Lex uses this prompt to solicit additional
|
|
2443
2443
|
* user activity after the intent is fulfilled. For more information, see
|
|
2444
2444
|
* <a>PutIntent</a>.</p>
|
|
2445
2445
|
* @public
|
|
2446
2446
|
*/
|
|
2447
|
-
followUpPrompt?: FollowUpPrompt;
|
|
2447
|
+
followUpPrompt?: FollowUpPrompt | undefined;
|
|
2448
2448
|
/**
|
|
2449
2449
|
* <p>After the Lambda function specified in the
|
|
2450
2450
|
* <code>fulfillmentActivity</code> element fulfills the intent, Amazon Lex
|
|
2451
2451
|
* conveys this statement to the user.</p>
|
|
2452
2452
|
* @public
|
|
2453
2453
|
*/
|
|
2454
|
-
conclusionStatement?: Statement;
|
|
2454
|
+
conclusionStatement?: Statement | undefined;
|
|
2455
2455
|
/**
|
|
2456
2456
|
* <p>If defined in the bot, Amazon Amazon Lex invokes this Lambda function
|
|
2457
2457
|
* for each user input. For more information, see <a>PutIntent</a>. </p>
|
|
2458
2458
|
* @public
|
|
2459
2459
|
*/
|
|
2460
|
-
dialogCodeHook?: CodeHook;
|
|
2460
|
+
dialogCodeHook?: CodeHook | undefined;
|
|
2461
2461
|
/**
|
|
2462
2462
|
* <p>Describes how the intent is fulfilled. For more information, see
|
|
2463
2463
|
* <a>PutIntent</a>. </p>
|
|
2464
2464
|
* @public
|
|
2465
2465
|
*/
|
|
2466
|
-
fulfillmentActivity?: FulfillmentActivity;
|
|
2466
|
+
fulfillmentActivity?: FulfillmentActivity | undefined;
|
|
2467
2467
|
/**
|
|
2468
2468
|
* <p>A unique identifier for a built-in intent.</p>
|
|
2469
2469
|
* @public
|
|
2470
2470
|
*/
|
|
2471
|
-
parentIntentSignature?: string;
|
|
2471
|
+
parentIntentSignature?: string | undefined;
|
|
2472
2472
|
/**
|
|
2473
2473
|
* <p>The date that the intent was updated. When you create a resource,
|
|
2474
2474
|
* the creation date and the last updated date are the same. </p>
|
|
2475
2475
|
* @public
|
|
2476
2476
|
*/
|
|
2477
|
-
lastUpdatedDate?: Date;
|
|
2477
|
+
lastUpdatedDate?: Date | undefined;
|
|
2478
2478
|
/**
|
|
2479
2479
|
* <p>The date that the intent was created.</p>
|
|
2480
2480
|
* @public
|
|
2481
2481
|
*/
|
|
2482
|
-
createdDate?: Date;
|
|
2482
|
+
createdDate?: Date | undefined;
|
|
2483
2483
|
/**
|
|
2484
2484
|
* <p>The version of the intent.</p>
|
|
2485
2485
|
* @public
|
|
2486
2486
|
*/
|
|
2487
|
-
version?: string;
|
|
2487
|
+
version?: string | undefined;
|
|
2488
2488
|
/**
|
|
2489
2489
|
* <p>Checksum of the intent.</p>
|
|
2490
2490
|
* @public
|
|
2491
2491
|
*/
|
|
2492
|
-
checksum?: string;
|
|
2492
|
+
checksum?: string | undefined;
|
|
2493
2493
|
/**
|
|
2494
2494
|
* <p>Configuration information, if any, to connect to an Amazon Kendra
|
|
2495
2495
|
* index with the <code>AMAZON.KendraSearchIntent</code> intent.</p>
|
|
2496
2496
|
* @public
|
|
2497
2497
|
*/
|
|
2498
|
-
kendraConfiguration?: KendraConfiguration;
|
|
2498
|
+
kendraConfiguration?: KendraConfiguration | undefined;
|
|
2499
2499
|
/**
|
|
2500
2500
|
* <p>An array of <code>InputContext</code> objects that lists the contexts
|
|
2501
2501
|
* that must be active for Amazon Lex to choose the intent in a conversation with
|
|
2502
2502
|
* the user.</p>
|
|
2503
2503
|
* @public
|
|
2504
2504
|
*/
|
|
2505
|
-
inputContexts?: InputContext[];
|
|
2505
|
+
inputContexts?: InputContext[] | undefined;
|
|
2506
2506
|
/**
|
|
2507
2507
|
* <p>An array of <code>OutputContext</code> objects that lists the contexts
|
|
2508
2508
|
* that the intent activates when the intent is fulfilled.</p>
|
|
2509
2509
|
* @public
|
|
2510
2510
|
*/
|
|
2511
|
-
outputContexts?: OutputContext[];
|
|
2511
|
+
outputContexts?: OutputContext[] | undefined;
|
|
2512
2512
|
}
|
|
2513
2513
|
/**
|
|
2514
2514
|
* @public
|
|
@@ -2521,20 +2521,20 @@ export interface GetIntentsRequest {
|
|
|
2521
2521
|
* token in the next request. </p>
|
|
2522
2522
|
* @public
|
|
2523
2523
|
*/
|
|
2524
|
-
nextToken?: string;
|
|
2524
|
+
nextToken?: string | undefined;
|
|
2525
2525
|
/**
|
|
2526
2526
|
* <p>The maximum number of intents to return in the response. The
|
|
2527
2527
|
* default is 10.</p>
|
|
2528
2528
|
* @public
|
|
2529
2529
|
*/
|
|
2530
|
-
maxResults?: number;
|
|
2530
|
+
maxResults?: number | undefined;
|
|
2531
2531
|
/**
|
|
2532
2532
|
* <p>Substring to match in intent names. An intent will be returned if
|
|
2533
2533
|
* any part of its name matches the substring. For example, "xyz" matches
|
|
2534
2534
|
* both "xyzabc" and "abcxyz."</p>
|
|
2535
2535
|
* @public
|
|
2536
2536
|
*/
|
|
2537
|
-
nameContains?: string;
|
|
2537
|
+
nameContains?: string | undefined;
|
|
2538
2538
|
}
|
|
2539
2539
|
/**
|
|
2540
2540
|
* <p>Provides information about an intent.</p>
|
|
@@ -2545,28 +2545,28 @@ export interface IntentMetadata {
|
|
|
2545
2545
|
* <p>The name of the intent.</p>
|
|
2546
2546
|
* @public
|
|
2547
2547
|
*/
|
|
2548
|
-
name?: string;
|
|
2548
|
+
name?: string | undefined;
|
|
2549
2549
|
/**
|
|
2550
2550
|
* <p>A description of the intent.</p>
|
|
2551
2551
|
* @public
|
|
2552
2552
|
*/
|
|
2553
|
-
description?: string;
|
|
2553
|
+
description?: string | undefined;
|
|
2554
2554
|
/**
|
|
2555
2555
|
* <p>The date that the intent was updated. When you create an intent,
|
|
2556
2556
|
* the creation date and last updated date are the same.</p>
|
|
2557
2557
|
* @public
|
|
2558
2558
|
*/
|
|
2559
|
-
lastUpdatedDate?: Date;
|
|
2559
|
+
lastUpdatedDate?: Date | undefined;
|
|
2560
2560
|
/**
|
|
2561
2561
|
* <p>The date that the intent was created.</p>
|
|
2562
2562
|
* @public
|
|
2563
2563
|
*/
|
|
2564
|
-
createdDate?: Date;
|
|
2564
|
+
createdDate?: Date | undefined;
|
|
2565
2565
|
/**
|
|
2566
2566
|
* <p>The version of the intent.</p>
|
|
2567
2567
|
* @public
|
|
2568
2568
|
*/
|
|
2569
|
-
version?: string;
|
|
2569
|
+
version?: string | undefined;
|
|
2570
2570
|
}
|
|
2571
2571
|
/**
|
|
2572
2572
|
* @public
|
|
@@ -2577,14 +2577,14 @@ export interface GetIntentsResponse {
|
|
|
2577
2577
|
* <a>PutBot</a>.</p>
|
|
2578
2578
|
* @public
|
|
2579
2579
|
*/
|
|
2580
|
-
intents?: IntentMetadata[];
|
|
2580
|
+
intents?: IntentMetadata[] | undefined;
|
|
2581
2581
|
/**
|
|
2582
2582
|
* <p>If the response is truncated, the response includes a pagination
|
|
2583
2583
|
* token that you can specify in your next request to fetch the next page of
|
|
2584
2584
|
* intents. </p>
|
|
2585
2585
|
* @public
|
|
2586
2586
|
*/
|
|
2587
|
-
nextToken?: string;
|
|
2587
|
+
nextToken?: string | undefined;
|
|
2588
2588
|
}
|
|
2589
2589
|
/**
|
|
2590
2590
|
* @public
|
|
@@ -2603,13 +2603,13 @@ export interface GetIntentVersionsRequest {
|
|
|
2603
2603
|
* pagination token in the next request. </p>
|
|
2604
2604
|
* @public
|
|
2605
2605
|
*/
|
|
2606
|
-
nextToken?: string;
|
|
2606
|
+
nextToken?: string | undefined;
|
|
2607
2607
|
/**
|
|
2608
2608
|
* <p>The maximum number of intent versions to return in the response.
|
|
2609
2609
|
* The default is 10.</p>
|
|
2610
2610
|
* @public
|
|
2611
2611
|
*/
|
|
2612
|
-
maxResults?: number;
|
|
2612
|
+
maxResults?: number | undefined;
|
|
2613
2613
|
}
|
|
2614
2614
|
/**
|
|
2615
2615
|
* @public
|
|
@@ -2621,7 +2621,7 @@ export interface GetIntentVersionsResponse {
|
|
|
2621
2621
|
* version.</p>
|
|
2622
2622
|
* @public
|
|
2623
2623
|
*/
|
|
2624
|
-
intents?: IntentMetadata[];
|
|
2624
|
+
intents?: IntentMetadata[] | undefined;
|
|
2625
2625
|
/**
|
|
2626
2626
|
* <p>A pagination token for fetching the next page of intent versions.
|
|
2627
2627
|
* If the response to this call is truncated, Amazon Lex returns a pagination
|
|
@@ -2629,7 +2629,7 @@ export interface GetIntentVersionsResponse {
|
|
|
2629
2629
|
* pagination token in the next request. </p>
|
|
2630
2630
|
* @public
|
|
2631
2631
|
*/
|
|
2632
|
-
nextToken?: string;
|
|
2632
|
+
nextToken?: string | undefined;
|
|
2633
2633
|
}
|
|
2634
2634
|
/**
|
|
2635
2635
|
* @public
|
|
@@ -2678,23 +2678,23 @@ export interface MigrationAlert {
|
|
|
2678
2678
|
* </ul>
|
|
2679
2679
|
* @public
|
|
2680
2680
|
*/
|
|
2681
|
-
type?: MigrationAlertType;
|
|
2681
|
+
type?: MigrationAlertType | undefined;
|
|
2682
2682
|
/**
|
|
2683
2683
|
* <p>A message that describes why the alert was issued.</p>
|
|
2684
2684
|
* @public
|
|
2685
2685
|
*/
|
|
2686
|
-
message?: string;
|
|
2686
|
+
message?: string | undefined;
|
|
2687
2687
|
/**
|
|
2688
2688
|
* <p>Additional details about the alert.</p>
|
|
2689
2689
|
* @public
|
|
2690
2690
|
*/
|
|
2691
|
-
details?: string[];
|
|
2691
|
+
details?: string[] | undefined;
|
|
2692
2692
|
/**
|
|
2693
2693
|
* <p>A link to the Amazon Lex documentation that describes how to resolve
|
|
2694
2694
|
* the alert.</p>
|
|
2695
2695
|
* @public
|
|
2696
2696
|
*/
|
|
2697
|
-
referenceURLs?: string[];
|
|
2697
|
+
referenceURLs?: string[] | undefined;
|
|
2698
2698
|
}
|
|
2699
2699
|
/**
|
|
2700
2700
|
* @public
|
|
@@ -2731,33 +2731,33 @@ export interface GetMigrationResponse {
|
|
|
2731
2731
|
* operation.</p>
|
|
2732
2732
|
* @public
|
|
2733
2733
|
*/
|
|
2734
|
-
migrationId?: string;
|
|
2734
|
+
migrationId?: string | undefined;
|
|
2735
2735
|
/**
|
|
2736
2736
|
* <p>The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.</p>
|
|
2737
2737
|
* @public
|
|
2738
2738
|
*/
|
|
2739
|
-
v1BotName?: string;
|
|
2739
|
+
v1BotName?: string | undefined;
|
|
2740
2740
|
/**
|
|
2741
2741
|
* <p>The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.</p>
|
|
2742
2742
|
* @public
|
|
2743
2743
|
*/
|
|
2744
|
-
v1BotVersion?: string;
|
|
2744
|
+
v1BotVersion?: string | undefined;
|
|
2745
2745
|
/**
|
|
2746
2746
|
* <p>The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.</p>
|
|
2747
2747
|
* @public
|
|
2748
2748
|
*/
|
|
2749
|
-
v1BotLocale?: Locale;
|
|
2749
|
+
v1BotLocale?: Locale | undefined;
|
|
2750
2750
|
/**
|
|
2751
2751
|
* <p>The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being
|
|
2752
2752
|
* migrated to.</p>
|
|
2753
2753
|
* @public
|
|
2754
2754
|
*/
|
|
2755
|
-
v2BotId?: string;
|
|
2755
|
+
v2BotId?: string | undefined;
|
|
2756
2756
|
/**
|
|
2757
2757
|
* <p>The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.</p>
|
|
2758
2758
|
* @public
|
|
2759
2759
|
*/
|
|
2760
|
-
v2BotRole?: string;
|
|
2760
|
+
v2BotRole?: string | undefined;
|
|
2761
2761
|
/**
|
|
2762
2762
|
* <p>Indicates the status of the migration. When the status is
|
|
2763
2763
|
* <code>COMPLETE</code> the migration is finished and the bot is available
|
|
@@ -2765,7 +2765,7 @@ export interface GetMigrationResponse {
|
|
|
2765
2765
|
* complete the migration.</p>
|
|
2766
2766
|
* @public
|
|
2767
2767
|
*/
|
|
2768
|
-
migrationStatus?: MigrationStatus;
|
|
2768
|
+
migrationStatus?: MigrationStatus | undefined;
|
|
2769
2769
|
/**
|
|
2770
2770
|
* <p>The strategy used to conduct the migration.</p>
|
|
2771
2771
|
* <ul>
|
|
@@ -2784,12 +2784,12 @@ export interface GetMigrationResponse {
|
|
|
2784
2784
|
* </ul>
|
|
2785
2785
|
* @public
|
|
2786
2786
|
*/
|
|
2787
|
-
migrationStrategy?: MigrationStrategy;
|
|
2787
|
+
migrationStrategy?: MigrationStrategy | undefined;
|
|
2788
2788
|
/**
|
|
2789
2789
|
* <p>The date and time that the migration started.</p>
|
|
2790
2790
|
* @public
|
|
2791
2791
|
*/
|
|
2792
|
-
migrationTimestamp?: Date;
|
|
2792
|
+
migrationTimestamp?: Date | undefined;
|
|
2793
2793
|
/**
|
|
2794
2794
|
* <p>A list of alerts and warnings that indicate issues with the migration
|
|
2795
2795
|
* for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1
|
|
@@ -2798,7 +2798,7 @@ export interface GetMigrationResponse {
|
|
|
2798
2798
|
* developer guide</i>.</p>
|
|
2799
2799
|
* @public
|
|
2800
2800
|
*/
|
|
2801
|
-
alerts?: MigrationAlert[];
|
|
2801
|
+
alerts?: MigrationAlert[] | undefined;
|
|
2802
2802
|
}
|
|
2803
2803
|
/**
|
|
2804
2804
|
* @public
|
|
@@ -2834,29 +2834,29 @@ export interface GetMigrationsRequest {
|
|
|
2834
2834
|
* started.</p>
|
|
2835
2835
|
* @public
|
|
2836
2836
|
*/
|
|
2837
|
-
sortByAttribute?: MigrationSortAttribute;
|
|
2837
|
+
sortByAttribute?: MigrationSortAttribute | undefined;
|
|
2838
2838
|
/**
|
|
2839
2839
|
* <p>The order so sort the list.</p>
|
|
2840
2840
|
* @public
|
|
2841
2841
|
*/
|
|
2842
|
-
sortByOrder?: SortOrder;
|
|
2842
|
+
sortByOrder?: SortOrder | undefined;
|
|
2843
2843
|
/**
|
|
2844
2844
|
* <p>Filters the list to contain only bots whose name contains the
|
|
2845
2845
|
* specified string. The string is matched anywhere in bot name.</p>
|
|
2846
2846
|
* @public
|
|
2847
2847
|
*/
|
|
2848
|
-
v1BotNameContains?: string;
|
|
2848
|
+
v1BotNameContains?: string | undefined;
|
|
2849
2849
|
/**
|
|
2850
2850
|
* <p>Filters the list to contain only migrations in the specified state.</p>
|
|
2851
2851
|
* @public
|
|
2852
2852
|
*/
|
|
2853
|
-
migrationStatusEquals?: MigrationStatus;
|
|
2853
|
+
migrationStatusEquals?: MigrationStatus | undefined;
|
|
2854
2854
|
/**
|
|
2855
2855
|
* <p>The maximum number of migrations to return in the response. The
|
|
2856
2856
|
* default is 10.</p>
|
|
2857
2857
|
* @public
|
|
2858
2858
|
*/
|
|
2859
|
-
maxResults?: number;
|
|
2859
|
+
maxResults?: number | undefined;
|
|
2860
2860
|
/**
|
|
2861
2861
|
* <p>A pagination token that fetches the next page of migrations. If the
|
|
2862
2862
|
* response to this operation is truncated, Amazon Lex returns a pagination token
|
|
@@ -2864,7 +2864,7 @@ export interface GetMigrationsRequest {
|
|
|
2864
2864
|
* pagination token in the request.</p>
|
|
2865
2865
|
* @public
|
|
2866
2866
|
*/
|
|
2867
|
-
nextToken?: string;
|
|
2867
|
+
nextToken?: string | undefined;
|
|
2868
2868
|
}
|
|
2869
2869
|
/**
|
|
2870
2870
|
* <p>Provides information about migrating a bot from Amazon Lex V1 to Amazon Lex V2.</p>
|
|
@@ -2875,49 +2875,49 @@ export interface MigrationSummary {
|
|
|
2875
2875
|
* <p>The unique identifier that Amazon Lex assigned to the migration.</p>
|
|
2876
2876
|
* @public
|
|
2877
2877
|
*/
|
|
2878
|
-
migrationId?: string;
|
|
2878
|
+
migrationId?: string | undefined;
|
|
2879
2879
|
/**
|
|
2880
2880
|
* <p>The name of the Amazon Lex V1 bot that is the source of the migration.</p>
|
|
2881
2881
|
* @public
|
|
2882
2882
|
*/
|
|
2883
|
-
v1BotName?: string;
|
|
2883
|
+
v1BotName?: string | undefined;
|
|
2884
2884
|
/**
|
|
2885
2885
|
* <p>The version of the Amazon Lex V1 bot that is the source of the migration.</p>
|
|
2886
2886
|
* @public
|
|
2887
2887
|
*/
|
|
2888
|
-
v1BotVersion?: string;
|
|
2888
|
+
v1BotVersion?: string | undefined;
|
|
2889
2889
|
/**
|
|
2890
2890
|
* <p>The locale of the Amazon Lex V1 bot that is the source of the migration.</p>
|
|
2891
2891
|
* @public
|
|
2892
2892
|
*/
|
|
2893
|
-
v1BotLocale?: Locale;
|
|
2893
|
+
v1BotLocale?: Locale | undefined;
|
|
2894
2894
|
/**
|
|
2895
2895
|
* <p>The unique identifier of the Amazon Lex V2 that is the destination of the migration.</p>
|
|
2896
2896
|
* @public
|
|
2897
2897
|
*/
|
|
2898
|
-
v2BotId?: string;
|
|
2898
|
+
v2BotId?: string | undefined;
|
|
2899
2899
|
/**
|
|
2900
2900
|
* <p>The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.</p>
|
|
2901
2901
|
* @public
|
|
2902
2902
|
*/
|
|
2903
|
-
v2BotRole?: string;
|
|
2903
|
+
v2BotRole?: string | undefined;
|
|
2904
2904
|
/**
|
|
2905
2905
|
* <p>The status of the operation. When the status is <code>COMPLETE</code>
|
|
2906
2906
|
* the bot is available in Amazon Lex V2. There may be alerts and warnings that
|
|
2907
2907
|
* need to be resolved to complete the migration.</p>
|
|
2908
2908
|
* @public
|
|
2909
2909
|
*/
|
|
2910
|
-
migrationStatus?: MigrationStatus;
|
|
2910
|
+
migrationStatus?: MigrationStatus | undefined;
|
|
2911
2911
|
/**
|
|
2912
2912
|
* <p>The strategy used to conduct the migration.</p>
|
|
2913
2913
|
* @public
|
|
2914
2914
|
*/
|
|
2915
|
-
migrationStrategy?: MigrationStrategy;
|
|
2915
|
+
migrationStrategy?: MigrationStrategy | undefined;
|
|
2916
2916
|
/**
|
|
2917
2917
|
* <p>The date and time that the migration started.</p>
|
|
2918
2918
|
* @public
|
|
2919
2919
|
*/
|
|
2920
|
-
migrationTimestamp?: Date;
|
|
2920
|
+
migrationTimestamp?: Date | undefined;
|
|
2921
2921
|
}
|
|
2922
2922
|
/**
|
|
2923
2923
|
* @public
|
|
@@ -2930,14 +2930,14 @@ export interface GetMigrationsResponse {
|
|
|
2930
2930
|
* operation.</p>
|
|
2931
2931
|
* @public
|
|
2932
2932
|
*/
|
|
2933
|
-
migrationSummaries?: MigrationSummary[];
|
|
2933
|
+
migrationSummaries?: MigrationSummary[] | undefined;
|
|
2934
2934
|
/**
|
|
2935
2935
|
* <p>If the response is truncated, it includes a pagination token that you
|
|
2936
2936
|
* can specify in your next request to fetch the next page of
|
|
2937
2937
|
* migrations.</p>
|
|
2938
2938
|
* @public
|
|
2939
2939
|
*/
|
|
2940
|
-
nextToken?: string;
|
|
2940
|
+
nextToken?: string | undefined;
|
|
2941
2941
|
}
|
|
2942
2942
|
/**
|
|
2943
2943
|
* @public
|
|
@@ -2962,57 +2962,57 @@ export interface GetSlotTypeResponse {
|
|
|
2962
2962
|
* <p>The name of the slot type.</p>
|
|
2963
2963
|
* @public
|
|
2964
2964
|
*/
|
|
2965
|
-
name?: string;
|
|
2965
|
+
name?: string | undefined;
|
|
2966
2966
|
/**
|
|
2967
2967
|
* <p>A description of the slot type.</p>
|
|
2968
2968
|
* @public
|
|
2969
2969
|
*/
|
|
2970
|
-
description?: string;
|
|
2970
|
+
description?: string | undefined;
|
|
2971
2971
|
/**
|
|
2972
2972
|
* <p>A list of <code>EnumerationValue</code> objects that defines the
|
|
2973
2973
|
* values that the slot type can take.</p>
|
|
2974
2974
|
* @public
|
|
2975
2975
|
*/
|
|
2976
|
-
enumerationValues?: EnumerationValue[];
|
|
2976
|
+
enumerationValues?: EnumerationValue[] | undefined;
|
|
2977
2977
|
/**
|
|
2978
2978
|
* <p>The date that the slot type was updated. When you create a
|
|
2979
2979
|
* resource, the creation date and last update date are the same.</p>
|
|
2980
2980
|
* @public
|
|
2981
2981
|
*/
|
|
2982
|
-
lastUpdatedDate?: Date;
|
|
2982
|
+
lastUpdatedDate?: Date | undefined;
|
|
2983
2983
|
/**
|
|
2984
2984
|
* <p>The date that the slot type was created.</p>
|
|
2985
2985
|
* @public
|
|
2986
2986
|
*/
|
|
2987
|
-
createdDate?: Date;
|
|
2987
|
+
createdDate?: Date | undefined;
|
|
2988
2988
|
/**
|
|
2989
2989
|
* <p>The version of the slot type.</p>
|
|
2990
2990
|
* @public
|
|
2991
2991
|
*/
|
|
2992
|
-
version?: string;
|
|
2992
|
+
version?: string | undefined;
|
|
2993
2993
|
/**
|
|
2994
2994
|
* <p>Checksum of the <code>$LATEST</code> version of the slot
|
|
2995
2995
|
* type.</p>
|
|
2996
2996
|
* @public
|
|
2997
2997
|
*/
|
|
2998
|
-
checksum?: string;
|
|
2998
|
+
checksum?: string | undefined;
|
|
2999
2999
|
/**
|
|
3000
3000
|
* <p>The strategy that Amazon Lex uses to determine the value of the slot.
|
|
3001
3001
|
* For more information, see <a>PutSlotType</a>.</p>
|
|
3002
3002
|
* @public
|
|
3003
3003
|
*/
|
|
3004
|
-
valueSelectionStrategy?: SlotValueSelectionStrategy;
|
|
3004
|
+
valueSelectionStrategy?: SlotValueSelectionStrategy | undefined;
|
|
3005
3005
|
/**
|
|
3006
3006
|
* <p>The built-in slot type used as a parent for the slot type.</p>
|
|
3007
3007
|
* @public
|
|
3008
3008
|
*/
|
|
3009
|
-
parentSlotTypeSignature?: string;
|
|
3009
|
+
parentSlotTypeSignature?: string | undefined;
|
|
3010
3010
|
/**
|
|
3011
3011
|
* <p>Configuration information that extends the parent built-in slot
|
|
3012
3012
|
* type.</p>
|
|
3013
3013
|
* @public
|
|
3014
3014
|
*/
|
|
3015
|
-
slotTypeConfigurations?: SlotTypeConfiguration[];
|
|
3015
|
+
slotTypeConfigurations?: SlotTypeConfiguration[] | undefined;
|
|
3016
3016
|
}
|
|
3017
3017
|
/**
|
|
3018
3018
|
* @public
|
|
@@ -3025,20 +3025,20 @@ export interface GetSlotTypesRequest {
|
|
|
3025
3025
|
* token in the next request.</p>
|
|
3026
3026
|
* @public
|
|
3027
3027
|
*/
|
|
3028
|
-
nextToken?: string;
|
|
3028
|
+
nextToken?: string | undefined;
|
|
3029
3029
|
/**
|
|
3030
3030
|
* <p>The maximum number of slot types to return in the response. The
|
|
3031
3031
|
* default is 10.</p>
|
|
3032
3032
|
* @public
|
|
3033
3033
|
*/
|
|
3034
|
-
maxResults?: number;
|
|
3034
|
+
maxResults?: number | undefined;
|
|
3035
3035
|
/**
|
|
3036
3036
|
* <p>Substring to match in slot type names. A slot type will be returned
|
|
3037
3037
|
* if any part of its name matches the substring. For example, "xyz" matches
|
|
3038
3038
|
* both "xyzabc" and "abcxyz."</p>
|
|
3039
3039
|
* @public
|
|
3040
3040
|
*/
|
|
3041
|
-
nameContains?: string;
|
|
3041
|
+
nameContains?: string | undefined;
|
|
3042
3042
|
}
|
|
3043
3043
|
/**
|
|
3044
3044
|
* <p>Provides information about a slot type..</p>
|
|
@@ -3049,28 +3049,28 @@ export interface SlotTypeMetadata {
|
|
|
3049
3049
|
* <p>The name of the slot type.</p>
|
|
3050
3050
|
* @public
|
|
3051
3051
|
*/
|
|
3052
|
-
name?: string;
|
|
3052
|
+
name?: string | undefined;
|
|
3053
3053
|
/**
|
|
3054
3054
|
* <p>A description of the slot type.</p>
|
|
3055
3055
|
* @public
|
|
3056
3056
|
*/
|
|
3057
|
-
description?: string;
|
|
3057
|
+
description?: string | undefined;
|
|
3058
3058
|
/**
|
|
3059
3059
|
* <p>The date that the slot type was updated. When you create a
|
|
3060
3060
|
* resource, the creation date and last updated date are the same. </p>
|
|
3061
3061
|
* @public
|
|
3062
3062
|
*/
|
|
3063
|
-
lastUpdatedDate?: Date;
|
|
3063
|
+
lastUpdatedDate?: Date | undefined;
|
|
3064
3064
|
/**
|
|
3065
3065
|
* <p>The date that the slot type was created.</p>
|
|
3066
3066
|
* @public
|
|
3067
3067
|
*/
|
|
3068
|
-
createdDate?: Date;
|
|
3068
|
+
createdDate?: Date | undefined;
|
|
3069
3069
|
/**
|
|
3070
3070
|
* <p>The version of the slot type.</p>
|
|
3071
3071
|
* @public
|
|
3072
3072
|
*/
|
|
3073
|
-
version?: string;
|
|
3073
|
+
version?: string | undefined;
|
|
3074
3074
|
}
|
|
3075
3075
|
/**
|
|
3076
3076
|
* @public
|
|
@@ -3082,14 +3082,14 @@ export interface GetSlotTypesResponse {
|
|
|
3082
3082
|
* description.</p>
|
|
3083
3083
|
* @public
|
|
3084
3084
|
*/
|
|
3085
|
-
slotTypes?: SlotTypeMetadata[];
|
|
3085
|
+
slotTypes?: SlotTypeMetadata[] | undefined;
|
|
3086
3086
|
/**
|
|
3087
3087
|
* <p>If the response is truncated, it includes a pagination token that
|
|
3088
3088
|
* you can specify in your next request to fetch the next page of slot
|
|
3089
3089
|
* types.</p>
|
|
3090
3090
|
* @public
|
|
3091
3091
|
*/
|
|
3092
|
-
nextToken?: string;
|
|
3092
|
+
nextToken?: string | undefined;
|
|
3093
3093
|
}
|
|
3094
3094
|
/**
|
|
3095
3095
|
* @public
|
|
@@ -3108,13 +3108,13 @@ export interface GetSlotTypeVersionsRequest {
|
|
|
3108
3108
|
* specify the pagination token in the next request. </p>
|
|
3109
3109
|
* @public
|
|
3110
3110
|
*/
|
|
3111
|
-
nextToken?: string;
|
|
3111
|
+
nextToken?: string | undefined;
|
|
3112
3112
|
/**
|
|
3113
3113
|
* <p>The maximum number of slot type versions to return in the response.
|
|
3114
3114
|
* The default is 10.</p>
|
|
3115
3115
|
* @public
|
|
3116
3116
|
*/
|
|
3117
|
-
maxResults?: number;
|
|
3117
|
+
maxResults?: number | undefined;
|
|
3118
3118
|
}
|
|
3119
3119
|
/**
|
|
3120
3120
|
* @public
|
|
@@ -3126,7 +3126,7 @@ export interface GetSlotTypeVersionsResponse {
|
|
|
3126
3126
|
* version.</p>
|
|
3127
3127
|
* @public
|
|
3128
3128
|
*/
|
|
3129
|
-
slotTypes?: SlotTypeMetadata[];
|
|
3129
|
+
slotTypes?: SlotTypeMetadata[] | undefined;
|
|
3130
3130
|
/**
|
|
3131
3131
|
* <p>A pagination token for fetching the next page of slot type
|
|
3132
3132
|
* versions. If the response to this call is truncated, Amazon Lex returns a
|
|
@@ -3134,7 +3134,7 @@ export interface GetSlotTypeVersionsResponse {
|
|
|
3134
3134
|
* specify the pagination token in the next request. </p>
|
|
3135
3135
|
* @public
|
|
3136
3136
|
*/
|
|
3137
|
-
nextToken?: string;
|
|
3137
|
+
nextToken?: string | undefined;
|
|
3138
3138
|
}
|
|
3139
3139
|
/**
|
|
3140
3140
|
* @public
|
|
@@ -3183,27 +3183,27 @@ export interface UtteranceData {
|
|
|
3183
3183
|
* an audio clip.</p>
|
|
3184
3184
|
* @public
|
|
3185
3185
|
*/
|
|
3186
|
-
utteranceString?: string;
|
|
3186
|
+
utteranceString?: string | undefined;
|
|
3187
3187
|
/**
|
|
3188
3188
|
* <p>The number of times that the utterance was processed.</p>
|
|
3189
3189
|
* @public
|
|
3190
3190
|
*/
|
|
3191
|
-
count?: number;
|
|
3191
|
+
count?: number | undefined;
|
|
3192
3192
|
/**
|
|
3193
3193
|
* <p>The total number of individuals that used the utterance.</p>
|
|
3194
3194
|
* @public
|
|
3195
3195
|
*/
|
|
3196
|
-
distinctUsers?: number;
|
|
3196
|
+
distinctUsers?: number | undefined;
|
|
3197
3197
|
/**
|
|
3198
3198
|
* <p>The date that the utterance was first recorded.</p>
|
|
3199
3199
|
* @public
|
|
3200
3200
|
*/
|
|
3201
|
-
firstUtteredDate?: Date;
|
|
3201
|
+
firstUtteredDate?: Date | undefined;
|
|
3202
3202
|
/**
|
|
3203
3203
|
* <p>The date that the utterance was last recorded.</p>
|
|
3204
3204
|
* @public
|
|
3205
3205
|
*/
|
|
3206
|
-
lastUtteredDate?: Date;
|
|
3206
|
+
lastUtteredDate?: Date | undefined;
|
|
3207
3207
|
}
|
|
3208
3208
|
/**
|
|
3209
3209
|
* <p>Provides a list of utterances that have been made to a specific
|
|
@@ -3216,14 +3216,14 @@ export interface UtteranceList {
|
|
|
3216
3216
|
* <p>The version of the bot that processed the list.</p>
|
|
3217
3217
|
* @public
|
|
3218
3218
|
*/
|
|
3219
|
-
botVersion?: string;
|
|
3219
|
+
botVersion?: string | undefined;
|
|
3220
3220
|
/**
|
|
3221
3221
|
* <p>One or more <a>UtteranceData</a> objects that contain
|
|
3222
3222
|
* information about the utterances that have been made to a bot. The maximum
|
|
3223
3223
|
* number of object is 100.</p>
|
|
3224
3224
|
* @public
|
|
3225
3225
|
*/
|
|
3226
|
-
utterances?: UtteranceData[];
|
|
3226
|
+
utterances?: UtteranceData[] | undefined;
|
|
3227
3227
|
}
|
|
3228
3228
|
/**
|
|
3229
3229
|
* @public
|
|
@@ -3234,7 +3234,7 @@ export interface GetUtterancesViewResponse {
|
|
|
3234
3234
|
* returned.</p>
|
|
3235
3235
|
* @public
|
|
3236
3236
|
*/
|
|
3237
|
-
botName?: string;
|
|
3237
|
+
botName?: string | undefined;
|
|
3238
3238
|
/**
|
|
3239
3239
|
* <p>An array of <a>UtteranceList</a> objects, each
|
|
3240
3240
|
* containing a list of <a>UtteranceData</a> objects describing
|
|
@@ -3244,7 +3244,7 @@ export interface GetUtterancesViewResponse {
|
|
|
3244
3244
|
* days.</p>
|
|
3245
3245
|
* @public
|
|
3246
3246
|
*/
|
|
3247
|
-
utterances?: UtteranceList[];
|
|
3247
|
+
utterances?: UtteranceList[] | undefined;
|
|
3248
3248
|
}
|
|
3249
3249
|
/**
|
|
3250
3250
|
* @public
|
|
@@ -3285,7 +3285,7 @@ export interface ListTagsForResourceResponse {
|
|
|
3285
3285
|
* <p>The tags associated with a resource.</p>
|
|
3286
3286
|
* @public
|
|
3287
3287
|
*/
|
|
3288
|
-
tags?: Tag[];
|
|
3288
|
+
tags?: Tag[] | undefined;
|
|
3289
3289
|
}
|
|
3290
3290
|
/**
|
|
3291
3291
|
* @public
|
|
@@ -3313,14 +3313,14 @@ export interface PutBotRequest {
|
|
|
3313
3313
|
* <p>A description of the bot.</p>
|
|
3314
3314
|
* @public
|
|
3315
3315
|
*/
|
|
3316
|
-
description?: string;
|
|
3316
|
+
description?: string | undefined;
|
|
3317
3317
|
/**
|
|
3318
3318
|
* <p>An array of <code>Intent</code> objects. Each intent represents a
|
|
3319
3319
|
* command that a user can express. For example, a pizza ordering bot might
|
|
3320
3320
|
* support an OrderPizza intent. For more information, see <a>how-it-works</a>.</p>
|
|
3321
3321
|
* @public
|
|
3322
3322
|
*/
|
|
3323
|
-
intents?: Intent[];
|
|
3323
|
+
intents?: Intent[] | undefined;
|
|
3324
3324
|
/**
|
|
3325
3325
|
* <p>Set to <code>true</code> to enable access to natural language
|
|
3326
3326
|
* understanding improvements. </p>
|
|
@@ -3353,7 +3353,7 @@ export interface PutBotRequest {
|
|
|
3353
3353
|
* exception.</p>
|
|
3354
3354
|
* @public
|
|
3355
3355
|
*/
|
|
3356
|
-
enableModelImprovements?: boolean;
|
|
3356
|
+
enableModelImprovements?: boolean | undefined;
|
|
3357
3357
|
/**
|
|
3358
3358
|
* <p>Determines the threshold where Amazon Lex will insert the
|
|
3359
3359
|
* <code>AMAZON.FallbackIntent</code>,
|
|
@@ -3403,7 +3403,7 @@ export interface PutBotRequest {
|
|
|
3403
3403
|
* </ul>
|
|
3404
3404
|
* @public
|
|
3405
3405
|
*/
|
|
3406
|
-
nluIntentConfidenceThreshold?: number;
|
|
3406
|
+
nluIntentConfidenceThreshold?: number | undefined;
|
|
3407
3407
|
/**
|
|
3408
3408
|
* <p>When Amazon Lex doesn't understand the user's intent, it uses this
|
|
3409
3409
|
* message to get clarification. To specify how many times Amazon Lex should
|
|
@@ -3444,7 +3444,7 @@ export interface PutBotRequest {
|
|
|
3444
3444
|
* </ul>
|
|
3445
3445
|
* @public
|
|
3446
3446
|
*/
|
|
3447
|
-
clarificationPrompt?: Prompt;
|
|
3447
|
+
clarificationPrompt?: Prompt | undefined;
|
|
3448
3448
|
/**
|
|
3449
3449
|
* <p>When Amazon Lex can't understand the user's input in context, it tries
|
|
3450
3450
|
* to elicit the information a few times. After that, Amazon Lex sends the message
|
|
@@ -3466,7 +3466,7 @@ export interface PutBotRequest {
|
|
|
3466
3466
|
* AMAZON.FallbackIntent</a>.</p>
|
|
3467
3467
|
* @public
|
|
3468
3468
|
*/
|
|
3469
|
-
abortStatement?: Statement;
|
|
3469
|
+
abortStatement?: Statement | undefined;
|
|
3470
3470
|
/**
|
|
3471
3471
|
* <p>The maximum time in seconds that Amazon Lex retains the data gathered in
|
|
3472
3472
|
* a conversation.</p>
|
|
@@ -3484,7 +3484,7 @@ export interface PutBotRequest {
|
|
|
3484
3484
|
* <p>The default is 300 seconds (5 minutes).</p>
|
|
3485
3485
|
* @public
|
|
3486
3486
|
*/
|
|
3487
|
-
idleSessionTTLInSeconds?: number;
|
|
3487
|
+
idleSessionTTLInSeconds?: number | undefined;
|
|
3488
3488
|
/**
|
|
3489
3489
|
* <p>The Amazon Polly voice ID that you want Amazon Lex to use for voice
|
|
3490
3490
|
* interactions with the user. The locale configured for the voice must match
|
|
@@ -3493,7 +3493,7 @@ export interface PutBotRequest {
|
|
|
3493
3493
|
* Guide</i>.</p>
|
|
3494
3494
|
* @public
|
|
3495
3495
|
*/
|
|
3496
|
-
voiceId?: string;
|
|
3496
|
+
voiceId?: string | undefined;
|
|
3497
3497
|
/**
|
|
3498
3498
|
* <p>Identifies a specific revision of the <code>$LATEST</code>
|
|
3499
3499
|
* version.</p>
|
|
@@ -3507,7 +3507,7 @@ export interface PutBotRequest {
|
|
|
3507
3507
|
* <code>PreconditionFailedException</code> exception.</p>
|
|
3508
3508
|
* @public
|
|
3509
3509
|
*/
|
|
3510
|
-
checksum?: string;
|
|
3510
|
+
checksum?: string | undefined;
|
|
3511
3511
|
/**
|
|
3512
3512
|
* <p>If you set the <code>processBehavior</code> element to
|
|
3513
3513
|
* <code>BUILD</code>, Amazon Lex builds the bot so that it can be run. If you
|
|
@@ -3517,7 +3517,7 @@ export interface PutBotRequest {
|
|
|
3517
3517
|
* <code>BUILD</code>.</p>
|
|
3518
3518
|
* @public
|
|
3519
3519
|
*/
|
|
3520
|
-
processBehavior?: ProcessBehavior;
|
|
3520
|
+
processBehavior?: ProcessBehavior | undefined;
|
|
3521
3521
|
/**
|
|
3522
3522
|
* <p> Specifies the target locale for the bot. Any intent used in the
|
|
3523
3523
|
* bot must be compatible with the locale of the bot. </p>
|
|
@@ -3561,7 +3561,7 @@ export interface PutBotRequest {
|
|
|
3561
3561
|
* <code>detectSentiment</code>, the default is <code>false</code>.</p>
|
|
3562
3562
|
* @public
|
|
3563
3563
|
*/
|
|
3564
|
-
detectSentiment?: boolean;
|
|
3564
|
+
detectSentiment?: boolean | undefined;
|
|
3565
3565
|
/**
|
|
3566
3566
|
* <p>When set to <code>true</code> a new numbered version of the bot is
|
|
3567
3567
|
* created. This is the same as calling the <code>CreateBotVersion</code>
|
|
@@ -3569,7 +3569,7 @@ export interface PutBotRequest {
|
|
|
3569
3569
|
* <code>false</code>.</p>
|
|
3570
3570
|
* @public
|
|
3571
3571
|
*/
|
|
3572
|
-
createVersion?: boolean;
|
|
3572
|
+
createVersion?: boolean | undefined;
|
|
3573
3573
|
/**
|
|
3574
3574
|
* <p>A list of tags to add to the bot. You can only add tags when you
|
|
3575
3575
|
* create a bot, you can't use the <code>PutBot</code> operation to update
|
|
@@ -3577,7 +3577,7 @@ export interface PutBotRequest {
|
|
|
3577
3577
|
* operation.</p>
|
|
3578
3578
|
* @public
|
|
3579
3579
|
*/
|
|
3580
|
-
tags?: Tag[];
|
|
3580
|
+
tags?: Tag[] | undefined;
|
|
3581
3581
|
}
|
|
3582
3582
|
/**
|
|
3583
3583
|
* @public
|
|
@@ -3587,25 +3587,25 @@ export interface PutBotResponse {
|
|
|
3587
3587
|
* <p>The name of the bot.</p>
|
|
3588
3588
|
* @public
|
|
3589
3589
|
*/
|
|
3590
|
-
name?: string;
|
|
3590
|
+
name?: string | undefined;
|
|
3591
3591
|
/**
|
|
3592
3592
|
* <p>A description of the bot.</p>
|
|
3593
3593
|
* @public
|
|
3594
3594
|
*/
|
|
3595
|
-
description?: string;
|
|
3595
|
+
description?: string | undefined;
|
|
3596
3596
|
/**
|
|
3597
3597
|
* <p>An array of <code>Intent</code> objects. For more information, see
|
|
3598
3598
|
* <a>PutBot</a>.</p>
|
|
3599
3599
|
* @public
|
|
3600
3600
|
*/
|
|
3601
|
-
intents?: Intent[];
|
|
3601
|
+
intents?: Intent[] | undefined;
|
|
3602
3602
|
/**
|
|
3603
3603
|
* <p>Indicates whether the bot uses accuracy improvements.
|
|
3604
3604
|
* <code>true</code> indicates that the bot is using the improvements,
|
|
3605
3605
|
* otherwise, <code>false</code>.</p>
|
|
3606
3606
|
* @public
|
|
3607
3607
|
*/
|
|
3608
|
-
enableModelImprovements?: boolean;
|
|
3608
|
+
enableModelImprovements?: boolean | undefined;
|
|
3609
3609
|
/**
|
|
3610
3610
|
* <p>The score that determines where Amazon Lex inserts the
|
|
3611
3611
|
* <code>AMAZON.FallbackIntent</code>,
|
|
@@ -3618,19 +3618,19 @@ export interface PutBotResponse {
|
|
|
3618
3618
|
* configured for the bot.</p>
|
|
3619
3619
|
* @public
|
|
3620
3620
|
*/
|
|
3621
|
-
nluIntentConfidenceThreshold?: number;
|
|
3621
|
+
nluIntentConfidenceThreshold?: number | undefined;
|
|
3622
3622
|
/**
|
|
3623
3623
|
* <p> The prompts that Amazon Lex uses when it doesn't understand the user's
|
|
3624
3624
|
* intent. For more information, see <a>PutBot</a>. </p>
|
|
3625
3625
|
* @public
|
|
3626
3626
|
*/
|
|
3627
|
-
clarificationPrompt?: Prompt;
|
|
3627
|
+
clarificationPrompt?: Prompt | undefined;
|
|
3628
3628
|
/**
|
|
3629
3629
|
* <p>The message that Amazon Lex uses to cancel a conversation. For more
|
|
3630
3630
|
* information, see <a>PutBot</a>.</p>
|
|
3631
3631
|
* @public
|
|
3632
3632
|
*/
|
|
3633
|
-
abortStatement?: Statement;
|
|
3633
|
+
abortStatement?: Statement | undefined;
|
|
3634
3634
|
/**
|
|
3635
3635
|
* <p> When you send a request to create a bot with
|
|
3636
3636
|
* <code>processBehavior</code> set to <code>BUILD</code>, Amazon Lex sets the
|
|
@@ -3647,52 +3647,52 @@ export interface PutBotResponse {
|
|
|
3647
3647
|
* publish the bot.</p>
|
|
3648
3648
|
* @public
|
|
3649
3649
|
*/
|
|
3650
|
-
status?: Status;
|
|
3650
|
+
status?: Status | undefined;
|
|
3651
3651
|
/**
|
|
3652
3652
|
* <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the
|
|
3653
3653
|
* reason that it failed to build the bot.</p>
|
|
3654
3654
|
* @public
|
|
3655
3655
|
*/
|
|
3656
|
-
failureReason?: string;
|
|
3656
|
+
failureReason?: string | undefined;
|
|
3657
3657
|
/**
|
|
3658
3658
|
* <p>The date that the bot was updated. When you create a resource, the
|
|
3659
3659
|
* creation date and last updated date are the same.</p>
|
|
3660
3660
|
* @public
|
|
3661
3661
|
*/
|
|
3662
|
-
lastUpdatedDate?: Date;
|
|
3662
|
+
lastUpdatedDate?: Date | undefined;
|
|
3663
3663
|
/**
|
|
3664
3664
|
* <p>The date that the bot was created.</p>
|
|
3665
3665
|
* @public
|
|
3666
3666
|
*/
|
|
3667
|
-
createdDate?: Date;
|
|
3667
|
+
createdDate?: Date | undefined;
|
|
3668
3668
|
/**
|
|
3669
3669
|
* <p>The maximum length of time that Amazon Lex retains the data gathered in
|
|
3670
3670
|
* a conversation. For more information, see <a>PutBot</a>.</p>
|
|
3671
3671
|
* @public
|
|
3672
3672
|
*/
|
|
3673
|
-
idleSessionTTLInSeconds?: number;
|
|
3673
|
+
idleSessionTTLInSeconds?: number | undefined;
|
|
3674
3674
|
/**
|
|
3675
3675
|
* <p>The Amazon Polly voice ID that Amazon Lex uses for voice interaction
|
|
3676
3676
|
* with the user. For more information, see <a>PutBot</a>.</p>
|
|
3677
3677
|
* @public
|
|
3678
3678
|
*/
|
|
3679
|
-
voiceId?: string;
|
|
3679
|
+
voiceId?: string | undefined;
|
|
3680
3680
|
/**
|
|
3681
3681
|
* <p>Checksum of the bot that you created.</p>
|
|
3682
3682
|
* @public
|
|
3683
3683
|
*/
|
|
3684
|
-
checksum?: string;
|
|
3684
|
+
checksum?: string | undefined;
|
|
3685
3685
|
/**
|
|
3686
3686
|
* <p>The version of the bot. For a new bot, the version is always
|
|
3687
3687
|
* <code>$LATEST</code>.</p>
|
|
3688
3688
|
* @public
|
|
3689
3689
|
*/
|
|
3690
|
-
version?: string;
|
|
3690
|
+
version?: string | undefined;
|
|
3691
3691
|
/**
|
|
3692
3692
|
* <p> The target locale for the bot. </p>
|
|
3693
3693
|
* @public
|
|
3694
3694
|
*/
|
|
3695
|
-
locale?: Locale;
|
|
3695
|
+
locale?: Locale | undefined;
|
|
3696
3696
|
/**
|
|
3697
3697
|
* <p>For each Amazon Lex bot created with the Amazon Lex Model Building Service,
|
|
3698
3698
|
* you must specify whether your use of Amazon Lex is related to a website,
|
|
@@ -3722,7 +3722,7 @@ export interface PutBotResponse {
|
|
|
3722
3722
|
* </p>
|
|
3723
3723
|
* @public
|
|
3724
3724
|
*/
|
|
3725
|
-
childDirected?: boolean;
|
|
3725
|
+
childDirected?: boolean | undefined;
|
|
3726
3726
|
/**
|
|
3727
3727
|
* <p>
|
|
3728
3728
|
* <code>True</code> if a new version of the bot was created. If the
|
|
@@ -3731,7 +3731,7 @@ export interface PutBotResponse {
|
|
|
3731
3731
|
* response.</p>
|
|
3732
3732
|
* @public
|
|
3733
3733
|
*/
|
|
3734
|
-
createVersion?: boolean;
|
|
3734
|
+
createVersion?: boolean | undefined;
|
|
3735
3735
|
/**
|
|
3736
3736
|
* <p>
|
|
3737
3737
|
* <code>true</code> if the bot is configured to send user utterances to
|
|
@@ -3741,12 +3741,12 @@ export interface PutBotResponse {
|
|
|
3741
3741
|
* response.</p>
|
|
3742
3742
|
* @public
|
|
3743
3743
|
*/
|
|
3744
|
-
detectSentiment?: boolean;
|
|
3744
|
+
detectSentiment?: boolean | undefined;
|
|
3745
3745
|
/**
|
|
3746
3746
|
* <p>A list of tags associated with the bot.</p>
|
|
3747
3747
|
* @public
|
|
3748
3748
|
*/
|
|
3749
|
-
tags?: Tag[];
|
|
3749
|
+
tags?: Tag[] | undefined;
|
|
3750
3750
|
}
|
|
3751
3751
|
/**
|
|
3752
3752
|
* <p>Settings used to configure delivery mode and destination for
|
|
@@ -3773,7 +3773,7 @@ export interface LogSettingsRequest {
|
|
|
3773
3773
|
* CloudWatch Logs and is optional for S3 buckets.</p>
|
|
3774
3774
|
* @public
|
|
3775
3775
|
*/
|
|
3776
|
-
kmsKeyArn?: string;
|
|
3776
|
+
kmsKeyArn?: string | undefined;
|
|
3777
3777
|
/**
|
|
3778
3778
|
* <p>The Amazon Resource Name (ARN) of the CloudWatch Logs log group or S3
|
|
3779
3779
|
* bucket where the logs should be delivered.</p>
|
|
@@ -3817,7 +3817,7 @@ export interface PutBotAliasRequest {
|
|
|
3817
3817
|
* <p>A description of the alias.</p>
|
|
3818
3818
|
* @public
|
|
3819
3819
|
*/
|
|
3820
|
-
description?: string;
|
|
3820
|
+
description?: string | undefined;
|
|
3821
3821
|
/**
|
|
3822
3822
|
* <p>The version of the bot.</p>
|
|
3823
3823
|
* @public
|
|
@@ -3842,12 +3842,12 @@ export interface PutBotAliasRequest {
|
|
|
3842
3842
|
* <code>PreconditionFailedException</code> exception.</p>
|
|
3843
3843
|
* @public
|
|
3844
3844
|
*/
|
|
3845
|
-
checksum?: string;
|
|
3845
|
+
checksum?: string | undefined;
|
|
3846
3846
|
/**
|
|
3847
3847
|
* <p>Settings for conversation logs for the alias.</p>
|
|
3848
3848
|
* @public
|
|
3849
3849
|
*/
|
|
3850
|
-
conversationLogs?: ConversationLogsRequest;
|
|
3850
|
+
conversationLogs?: ConversationLogsRequest | undefined;
|
|
3851
3851
|
/**
|
|
3852
3852
|
* <p>A list of tags to add to the bot alias. You can only add tags when you
|
|
3853
3853
|
* create an alias, you can't use the <code>PutBotAlias</code> operation to
|
|
@@ -3855,7 +3855,7 @@ export interface PutBotAliasRequest {
|
|
|
3855
3855
|
* <code>TagResource</code> operation.</p>
|
|
3856
3856
|
* @public
|
|
3857
3857
|
*/
|
|
3858
|
-
tags?: Tag[];
|
|
3858
|
+
tags?: Tag[] | undefined;
|
|
3859
3859
|
}
|
|
3860
3860
|
/**
|
|
3861
3861
|
* @public
|
|
@@ -3865,50 +3865,50 @@ export interface PutBotAliasResponse {
|
|
|
3865
3865
|
* <p>The name of the alias.</p>
|
|
3866
3866
|
* @public
|
|
3867
3867
|
*/
|
|
3868
|
-
name?: string;
|
|
3868
|
+
name?: string | undefined;
|
|
3869
3869
|
/**
|
|
3870
3870
|
* <p>A description of the alias.</p>
|
|
3871
3871
|
* @public
|
|
3872
3872
|
*/
|
|
3873
|
-
description?: string;
|
|
3873
|
+
description?: string | undefined;
|
|
3874
3874
|
/**
|
|
3875
3875
|
* <p>The version of the bot that the alias points to.</p>
|
|
3876
3876
|
* @public
|
|
3877
3877
|
*/
|
|
3878
|
-
botVersion?: string;
|
|
3878
|
+
botVersion?: string | undefined;
|
|
3879
3879
|
/**
|
|
3880
3880
|
* <p>The name of the bot that the alias points to.</p>
|
|
3881
3881
|
* @public
|
|
3882
3882
|
*/
|
|
3883
|
-
botName?: string;
|
|
3883
|
+
botName?: string | undefined;
|
|
3884
3884
|
/**
|
|
3885
3885
|
* <p>The date that the bot alias was updated. When you create a
|
|
3886
3886
|
* resource, the creation date and the last updated date are the
|
|
3887
3887
|
* same.</p>
|
|
3888
3888
|
* @public
|
|
3889
3889
|
*/
|
|
3890
|
-
lastUpdatedDate?: Date;
|
|
3890
|
+
lastUpdatedDate?: Date | undefined;
|
|
3891
3891
|
/**
|
|
3892
3892
|
* <p>The date that the bot alias was created.</p>
|
|
3893
3893
|
* @public
|
|
3894
3894
|
*/
|
|
3895
|
-
createdDate?: Date;
|
|
3895
|
+
createdDate?: Date | undefined;
|
|
3896
3896
|
/**
|
|
3897
3897
|
* <p>The checksum for the current version of the alias.</p>
|
|
3898
3898
|
* @public
|
|
3899
3899
|
*/
|
|
3900
|
-
checksum?: string;
|
|
3900
|
+
checksum?: string | undefined;
|
|
3901
3901
|
/**
|
|
3902
3902
|
* <p>The settings that determine how Amazon Lex uses conversation logs for the
|
|
3903
3903
|
* alias.</p>
|
|
3904
3904
|
* @public
|
|
3905
3905
|
*/
|
|
3906
|
-
conversationLogs?: ConversationLogsResponse;
|
|
3906
|
+
conversationLogs?: ConversationLogsResponse | undefined;
|
|
3907
3907
|
/**
|
|
3908
3908
|
* <p>A list of tags associated with a bot.</p>
|
|
3909
3909
|
* @public
|
|
3910
3910
|
*/
|
|
3911
|
-
tags?: Tag[];
|
|
3911
|
+
tags?: Tag[] | undefined;
|
|
3912
3912
|
}
|
|
3913
3913
|
/**
|
|
3914
3914
|
* @public
|
|
@@ -3930,14 +3930,14 @@ export interface PutIntentRequest {
|
|
|
3930
3930
|
* <p>A description of the intent.</p>
|
|
3931
3931
|
* @public
|
|
3932
3932
|
*/
|
|
3933
|
-
description?: string;
|
|
3933
|
+
description?: string | undefined;
|
|
3934
3934
|
/**
|
|
3935
3935
|
* <p>An array of intent slots. At runtime, Amazon Lex elicits required slot
|
|
3936
3936
|
* values from the user using prompts defined in the slots. For more
|
|
3937
3937
|
* information, see <a>how-it-works</a>. </p>
|
|
3938
3938
|
* @public
|
|
3939
3939
|
*/
|
|
3940
|
-
slots?: Slot[];
|
|
3940
|
+
slots?: Slot[] | undefined;
|
|
3941
3941
|
/**
|
|
3942
3942
|
* <p>An array of utterances (strings) that a user might say to signal
|
|
3943
3943
|
* the intent. For example, "I want \{PizzaSize\} pizza", "Order \{Quantity\}
|
|
@@ -3946,7 +3946,7 @@ export interface PutIntentRequest {
|
|
|
3946
3946
|
* </p>
|
|
3947
3947
|
* @public
|
|
3948
3948
|
*/
|
|
3949
|
-
sampleUtterances?: string[];
|
|
3949
|
+
sampleUtterances?: string[] | undefined;
|
|
3950
3950
|
/**
|
|
3951
3951
|
* <p>Prompts the user to confirm the intent. This question should have a
|
|
3952
3952
|
* yes or no answer.</p>
|
|
@@ -3962,7 +3962,7 @@ export interface PutIntentRequest {
|
|
|
3962
3962
|
* </note>
|
|
3963
3963
|
* @public
|
|
3964
3964
|
*/
|
|
3965
|
-
confirmationPrompt?: Prompt;
|
|
3965
|
+
confirmationPrompt?: Prompt | undefined;
|
|
3966
3966
|
/**
|
|
3967
3967
|
* <p>When the user answers "no" to the question defined in
|
|
3968
3968
|
* <code>confirmationPrompt</code>, Amazon Lex responds with this statement to
|
|
@@ -3973,7 +3973,7 @@ export interface PutIntentRequest {
|
|
|
3973
3973
|
* </note>
|
|
3974
3974
|
* @public
|
|
3975
3975
|
*/
|
|
3976
|
-
rejectionStatement?: Statement;
|
|
3976
|
+
rejectionStatement?: Statement | undefined;
|
|
3977
3977
|
/**
|
|
3978
3978
|
* <p>Amazon Lex uses this prompt to solicit additional activity after
|
|
3979
3979
|
* fulfilling an intent. For example, after the <code>OrderPizza</code>
|
|
@@ -4003,7 +4003,7 @@ export interface PutIntentRequest {
|
|
|
4003
4003
|
* specify only one. </p>
|
|
4004
4004
|
* @public
|
|
4005
4005
|
*/
|
|
4006
|
-
followUpPrompt?: FollowUpPrompt;
|
|
4006
|
+
followUpPrompt?: FollowUpPrompt | undefined;
|
|
4007
4007
|
/**
|
|
4008
4008
|
* <p> The statement that you want Amazon Lex to convey to the user after the
|
|
4009
4009
|
* intent is successfully fulfilled by the Lambda function. </p>
|
|
@@ -4017,7 +4017,7 @@ export interface PutIntentRequest {
|
|
|
4017
4017
|
* </note>
|
|
4018
4018
|
* @public
|
|
4019
4019
|
*/
|
|
4020
|
-
conclusionStatement?: Statement;
|
|
4020
|
+
conclusionStatement?: Statement | undefined;
|
|
4021
4021
|
/**
|
|
4022
4022
|
* <p> Specifies a Lambda function to invoke for each user input. You can
|
|
4023
4023
|
* invoke this Lambda function to personalize user interaction. </p>
|
|
@@ -4029,7 +4029,7 @@ export interface PutIntentRequest {
|
|
|
4029
4029
|
* number and set the corresponding session attribute. </p>
|
|
4030
4030
|
* @public
|
|
4031
4031
|
*/
|
|
4032
|
-
dialogCodeHook?: CodeHook;
|
|
4032
|
+
dialogCodeHook?: CodeHook | undefined;
|
|
4033
4033
|
/**
|
|
4034
4034
|
* <p>Required. Describes how the intent is fulfilled. For example, after
|
|
4035
4035
|
* a user provides all of the information for a pizza order,
|
|
@@ -4041,14 +4041,14 @@ export interface PutIntentRequest {
|
|
|
4041
4041
|
* </p>
|
|
4042
4042
|
* @public
|
|
4043
4043
|
*/
|
|
4044
|
-
fulfillmentActivity?: FulfillmentActivity;
|
|
4044
|
+
fulfillmentActivity?: FulfillmentActivity | undefined;
|
|
4045
4045
|
/**
|
|
4046
4046
|
* <p>A unique identifier for the built-in intent to base this intent on.
|
|
4047
4047
|
* To find the signature for an intent, see <a href="https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/standard-intents">Standard Built-in Intents</a> in the <i>Alexa Skills
|
|
4048
4048
|
* Kit</i>.</p>
|
|
4049
4049
|
* @public
|
|
4050
4050
|
*/
|
|
4051
|
-
parentIntentSignature?: string;
|
|
4051
|
+
parentIntentSignature?: string | undefined;
|
|
4052
4052
|
/**
|
|
4053
4053
|
* <p>Identifies a specific revision of the <code>$LATEST</code>
|
|
4054
4054
|
* version.</p>
|
|
@@ -4063,7 +4063,7 @@ export interface PutIntentRequest {
|
|
|
4063
4063
|
* <code>PreconditionFailedException</code> exception.</p>
|
|
4064
4064
|
* @public
|
|
4065
4065
|
*/
|
|
4066
|
-
checksum?: string;
|
|
4066
|
+
checksum?: string | undefined;
|
|
4067
4067
|
/**
|
|
4068
4068
|
* <p>When set to <code>true</code> a new numbered version of the intent
|
|
4069
4069
|
* is created. This is the same as calling the
|
|
@@ -4071,7 +4071,7 @@ export interface PutIntentRequest {
|
|
|
4071
4071
|
* <code>createVersion</code>, the default is <code>false</code>.</p>
|
|
4072
4072
|
* @public
|
|
4073
4073
|
*/
|
|
4074
|
-
createVersion?: boolean;
|
|
4074
|
+
createVersion?: boolean | undefined;
|
|
4075
4075
|
/**
|
|
4076
4076
|
* <p>Configuration information required to use the
|
|
4077
4077
|
* <code>AMAZON.KendraSearchIntent</code> intent to connect to an Amazon
|
|
@@ -4079,20 +4079,20 @@ export interface PutIntentRequest {
|
|
|
4079
4079
|
* AMAZON.KendraSearchIntent</a>.</p>
|
|
4080
4080
|
* @public
|
|
4081
4081
|
*/
|
|
4082
|
-
kendraConfiguration?: KendraConfiguration;
|
|
4082
|
+
kendraConfiguration?: KendraConfiguration | undefined;
|
|
4083
4083
|
/**
|
|
4084
4084
|
* <p>An array of <code>InputContext</code> objects that lists the contexts
|
|
4085
4085
|
* that must be active for Amazon Lex to choose the intent in a conversation with
|
|
4086
4086
|
* the user.</p>
|
|
4087
4087
|
* @public
|
|
4088
4088
|
*/
|
|
4089
|
-
inputContexts?: InputContext[];
|
|
4089
|
+
inputContexts?: InputContext[] | undefined;
|
|
4090
4090
|
/**
|
|
4091
4091
|
* <p>An array of <code>OutputContext</code> objects that lists the contexts
|
|
4092
4092
|
* that the intent activates when the intent is fulfilled.</p>
|
|
4093
4093
|
* @public
|
|
4094
4094
|
*/
|
|
4095
|
-
outputContexts?: OutputContext[];
|
|
4095
|
+
outputContexts?: OutputContext[] | undefined;
|
|
4096
4096
|
}
|
|
4097
4097
|
/**
|
|
4098
4098
|
* @public
|
|
@@ -4102,92 +4102,92 @@ export interface PutIntentResponse {
|
|
|
4102
4102
|
* <p>The name of the intent.</p>
|
|
4103
4103
|
* @public
|
|
4104
4104
|
*/
|
|
4105
|
-
name?: string;
|
|
4105
|
+
name?: string | undefined;
|
|
4106
4106
|
/**
|
|
4107
4107
|
* <p>A description of the intent.</p>
|
|
4108
4108
|
* @public
|
|
4109
4109
|
*/
|
|
4110
|
-
description?: string;
|
|
4110
|
+
description?: string | undefined;
|
|
4111
4111
|
/**
|
|
4112
4112
|
* <p>An array of intent slots that are configured for the
|
|
4113
4113
|
* intent.</p>
|
|
4114
4114
|
* @public
|
|
4115
4115
|
*/
|
|
4116
|
-
slots?: Slot[];
|
|
4116
|
+
slots?: Slot[] | undefined;
|
|
4117
4117
|
/**
|
|
4118
4118
|
* <p> An array of sample utterances that are configured for the intent.
|
|
4119
4119
|
* </p>
|
|
4120
4120
|
* @public
|
|
4121
4121
|
*/
|
|
4122
|
-
sampleUtterances?: string[];
|
|
4122
|
+
sampleUtterances?: string[] | undefined;
|
|
4123
4123
|
/**
|
|
4124
4124
|
* <p>If defined in the intent, Amazon Lex prompts the user to confirm the
|
|
4125
4125
|
* intent before fulfilling it.</p>
|
|
4126
4126
|
* @public
|
|
4127
4127
|
*/
|
|
4128
|
-
confirmationPrompt?: Prompt;
|
|
4128
|
+
confirmationPrompt?: Prompt | undefined;
|
|
4129
4129
|
/**
|
|
4130
4130
|
* <p>If the user answers "no" to the question defined in
|
|
4131
4131
|
* <code>confirmationPrompt</code> Amazon Lex responds with this statement to
|
|
4132
4132
|
* acknowledge that the intent was canceled. </p>
|
|
4133
4133
|
* @public
|
|
4134
4134
|
*/
|
|
4135
|
-
rejectionStatement?: Statement;
|
|
4135
|
+
rejectionStatement?: Statement | undefined;
|
|
4136
4136
|
/**
|
|
4137
4137
|
* <p>If defined in the intent, Amazon Lex uses this prompt to solicit
|
|
4138
4138
|
* additional user activity after the intent is fulfilled.</p>
|
|
4139
4139
|
* @public
|
|
4140
4140
|
*/
|
|
4141
|
-
followUpPrompt?: FollowUpPrompt;
|
|
4141
|
+
followUpPrompt?: FollowUpPrompt | undefined;
|
|
4142
4142
|
/**
|
|
4143
4143
|
* <p>After the Lambda function specified in
|
|
4144
4144
|
* the<code>fulfillmentActivity</code>intent fulfills the intent, Amazon Lex
|
|
4145
4145
|
* conveys this statement to the user.</p>
|
|
4146
4146
|
* @public
|
|
4147
4147
|
*/
|
|
4148
|
-
conclusionStatement?: Statement;
|
|
4148
|
+
conclusionStatement?: Statement | undefined;
|
|
4149
4149
|
/**
|
|
4150
4150
|
* <p>If defined in the intent, Amazon Lex invokes this Lambda function for
|
|
4151
4151
|
* each user input.</p>
|
|
4152
4152
|
* @public
|
|
4153
4153
|
*/
|
|
4154
|
-
dialogCodeHook?: CodeHook;
|
|
4154
|
+
dialogCodeHook?: CodeHook | undefined;
|
|
4155
4155
|
/**
|
|
4156
4156
|
* <p>If defined in the intent, Amazon Lex invokes this Lambda function to
|
|
4157
4157
|
* fulfill the intent after the user provides all of the information required
|
|
4158
4158
|
* by the intent.</p>
|
|
4159
4159
|
* @public
|
|
4160
4160
|
*/
|
|
4161
|
-
fulfillmentActivity?: FulfillmentActivity;
|
|
4161
|
+
fulfillmentActivity?: FulfillmentActivity | undefined;
|
|
4162
4162
|
/**
|
|
4163
4163
|
* <p>A unique identifier for the built-in intent that this intent is
|
|
4164
4164
|
* based on.</p>
|
|
4165
4165
|
* @public
|
|
4166
4166
|
*/
|
|
4167
|
-
parentIntentSignature?: string;
|
|
4167
|
+
parentIntentSignature?: string | undefined;
|
|
4168
4168
|
/**
|
|
4169
4169
|
* <p>The date that the intent was updated. When you create a resource,
|
|
4170
4170
|
* the creation date and last update dates are the same.</p>
|
|
4171
4171
|
* @public
|
|
4172
4172
|
*/
|
|
4173
|
-
lastUpdatedDate?: Date;
|
|
4173
|
+
lastUpdatedDate?: Date | undefined;
|
|
4174
4174
|
/**
|
|
4175
4175
|
* <p>The date that the intent was created.</p>
|
|
4176
4176
|
* @public
|
|
4177
4177
|
*/
|
|
4178
|
-
createdDate?: Date;
|
|
4178
|
+
createdDate?: Date | undefined;
|
|
4179
4179
|
/**
|
|
4180
4180
|
* <p>The version of the intent. For a new intent, the version is always
|
|
4181
4181
|
* <code>$LATEST</code>.</p>
|
|
4182
4182
|
* @public
|
|
4183
4183
|
*/
|
|
4184
|
-
version?: string;
|
|
4184
|
+
version?: string | undefined;
|
|
4185
4185
|
/**
|
|
4186
4186
|
* <p>Checksum of the <code>$LATEST</code>version of the intent created
|
|
4187
4187
|
* or updated.</p>
|
|
4188
4188
|
* @public
|
|
4189
4189
|
*/
|
|
4190
|
-
checksum?: string;
|
|
4190
|
+
checksum?: string | undefined;
|
|
4191
4191
|
/**
|
|
4192
4192
|
* <p>
|
|
4193
4193
|
* <code>True</code> if a new version of the intent was created. If
|
|
@@ -4196,27 +4196,27 @@ export interface PutIntentResponse {
|
|
|
4196
4196
|
* response.</p>
|
|
4197
4197
|
* @public
|
|
4198
4198
|
*/
|
|
4199
|
-
createVersion?: boolean;
|
|
4199
|
+
createVersion?: boolean | undefined;
|
|
4200
4200
|
/**
|
|
4201
4201
|
* <p>Configuration information, if any, required to connect to an Amazon
|
|
4202
4202
|
* Kendra index and use the <code>AMAZON.KendraSearchIntent</code>
|
|
4203
4203
|
* intent.</p>
|
|
4204
4204
|
* @public
|
|
4205
4205
|
*/
|
|
4206
|
-
kendraConfiguration?: KendraConfiguration;
|
|
4206
|
+
kendraConfiguration?: KendraConfiguration | undefined;
|
|
4207
4207
|
/**
|
|
4208
4208
|
* <p>An array of <code>InputContext</code> objects that lists the contexts
|
|
4209
4209
|
* that must be active for Amazon Lex to choose the intent in a conversation with
|
|
4210
4210
|
* the user.</p>
|
|
4211
4211
|
* @public
|
|
4212
4212
|
*/
|
|
4213
|
-
inputContexts?: InputContext[];
|
|
4213
|
+
inputContexts?: InputContext[] | undefined;
|
|
4214
4214
|
/**
|
|
4215
4215
|
* <p>An array of <code>OutputContext</code> objects that lists the contexts
|
|
4216
4216
|
* that the intent activates when the intent is fulfilled.</p>
|
|
4217
4217
|
* @public
|
|
4218
4218
|
*/
|
|
4219
|
-
outputContexts?: OutputContext[];
|
|
4219
|
+
outputContexts?: OutputContext[] | undefined;
|
|
4220
4220
|
}
|
|
4221
4221
|
/**
|
|
4222
4222
|
* @public
|
|
@@ -4238,7 +4238,7 @@ export interface PutSlotTypeRequest {
|
|
|
4238
4238
|
* <p>A description of the slot type.</p>
|
|
4239
4239
|
* @public
|
|
4240
4240
|
*/
|
|
4241
|
-
description?: string;
|
|
4241
|
+
description?: string | undefined;
|
|
4242
4242
|
/**
|
|
4243
4243
|
* <p>A list of <code>EnumerationValue</code> objects that defines the
|
|
4244
4244
|
* values that the slot type can take. Each value can have a list of
|
|
@@ -4255,7 +4255,7 @@ export interface PutSlotTypeRequest {
|
|
|
4255
4255
|
* to use. </p>
|
|
4256
4256
|
* @public
|
|
4257
4257
|
*/
|
|
4258
|
-
enumerationValues?: EnumerationValue[];
|
|
4258
|
+
enumerationValues?: EnumerationValue[] | undefined;
|
|
4259
4259
|
/**
|
|
4260
4260
|
* <p>Identifies a specific revision of the <code>$LATEST</code>
|
|
4261
4261
|
* version.</p>
|
|
@@ -4270,7 +4270,7 @@ export interface PutSlotTypeRequest {
|
|
|
4270
4270
|
* <code>PreconditionFailedException</code> exception.</p>
|
|
4271
4271
|
* @public
|
|
4272
4272
|
*/
|
|
4273
|
-
checksum?: string;
|
|
4273
|
+
checksum?: string | undefined;
|
|
4274
4274
|
/**
|
|
4275
4275
|
* <p>Determines the slot resolution strategy that Amazon Lex uses to return
|
|
4276
4276
|
* slot type values. The field can be set to one of the following
|
|
@@ -4293,7 +4293,7 @@ export interface PutSlotTypeRequest {
|
|
|
4293
4293
|
* default is <code>ORIGINAL_VALUE</code>.</p>
|
|
4294
4294
|
* @public
|
|
4295
4295
|
*/
|
|
4296
|
-
valueSelectionStrategy?: SlotValueSelectionStrategy;
|
|
4296
|
+
valueSelectionStrategy?: SlotValueSelectionStrategy | undefined;
|
|
4297
4297
|
/**
|
|
4298
4298
|
* <p>When set to <code>true</code> a new numbered version of the slot
|
|
4299
4299
|
* type is created. This is the same as calling the
|
|
@@ -4301,7 +4301,7 @@ export interface PutSlotTypeRequest {
|
|
|
4301
4301
|
* <code>createVersion</code>, the default is <code>false</code>.</p>
|
|
4302
4302
|
* @public
|
|
4303
4303
|
*/
|
|
4304
|
-
createVersion?: boolean;
|
|
4304
|
+
createVersion?: boolean | undefined;
|
|
4305
4305
|
/**
|
|
4306
4306
|
* <p>The built-in slot type used as the parent of the slot type. When you
|
|
4307
4307
|
* define a parent slot type, the new slot type has all of the same
|
|
@@ -4309,14 +4309,14 @@ export interface PutSlotTypeRequest {
|
|
|
4309
4309
|
* <p>Only <code>AMAZON.AlphaNumeric</code> is supported.</p>
|
|
4310
4310
|
* @public
|
|
4311
4311
|
*/
|
|
4312
|
-
parentSlotTypeSignature?: string;
|
|
4312
|
+
parentSlotTypeSignature?: string | undefined;
|
|
4313
4313
|
/**
|
|
4314
4314
|
* <p>Configuration information that extends the parent built-in slot type.
|
|
4315
4315
|
* The configuration is added to the settings for the parent slot
|
|
4316
4316
|
* type.</p>
|
|
4317
4317
|
* @public
|
|
4318
4318
|
*/
|
|
4319
|
-
slotTypeConfigurations?: SlotTypeConfiguration[];
|
|
4319
|
+
slotTypeConfigurations?: SlotTypeConfiguration[] | undefined;
|
|
4320
4320
|
}
|
|
4321
4321
|
/**
|
|
4322
4322
|
* @public
|
|
@@ -4326,47 +4326,47 @@ export interface PutSlotTypeResponse {
|
|
|
4326
4326
|
* <p>The name of the slot type.</p>
|
|
4327
4327
|
* @public
|
|
4328
4328
|
*/
|
|
4329
|
-
name?: string;
|
|
4329
|
+
name?: string | undefined;
|
|
4330
4330
|
/**
|
|
4331
4331
|
* <p>A description of the slot type.</p>
|
|
4332
4332
|
* @public
|
|
4333
4333
|
*/
|
|
4334
|
-
description?: string;
|
|
4334
|
+
description?: string | undefined;
|
|
4335
4335
|
/**
|
|
4336
4336
|
* <p>A list of <code>EnumerationValue</code> objects that defines the
|
|
4337
4337
|
* values that the slot type can take.</p>
|
|
4338
4338
|
* @public
|
|
4339
4339
|
*/
|
|
4340
|
-
enumerationValues?: EnumerationValue[];
|
|
4340
|
+
enumerationValues?: EnumerationValue[] | undefined;
|
|
4341
4341
|
/**
|
|
4342
4342
|
* <p>The date that the slot type was updated. When you create a slot
|
|
4343
4343
|
* type, the creation date and last update date are the same.</p>
|
|
4344
4344
|
* @public
|
|
4345
4345
|
*/
|
|
4346
|
-
lastUpdatedDate?: Date;
|
|
4346
|
+
lastUpdatedDate?: Date | undefined;
|
|
4347
4347
|
/**
|
|
4348
4348
|
* <p>The date that the slot type was created.</p>
|
|
4349
4349
|
* @public
|
|
4350
4350
|
*/
|
|
4351
|
-
createdDate?: Date;
|
|
4351
|
+
createdDate?: Date | undefined;
|
|
4352
4352
|
/**
|
|
4353
4353
|
* <p>The version of the slot type. For a new slot type, the version is
|
|
4354
4354
|
* always <code>$LATEST</code>. </p>
|
|
4355
4355
|
* @public
|
|
4356
4356
|
*/
|
|
4357
|
-
version?: string;
|
|
4357
|
+
version?: string | undefined;
|
|
4358
4358
|
/**
|
|
4359
4359
|
* <p>Checksum of the <code>$LATEST</code> version of the slot
|
|
4360
4360
|
* type.</p>
|
|
4361
4361
|
* @public
|
|
4362
4362
|
*/
|
|
4363
|
-
checksum?: string;
|
|
4363
|
+
checksum?: string | undefined;
|
|
4364
4364
|
/**
|
|
4365
4365
|
* <p>The slot resolution strategy that Amazon Lex uses to determine the value
|
|
4366
4366
|
* of the slot. For more information, see <a>PutSlotType</a>.</p>
|
|
4367
4367
|
* @public
|
|
4368
4368
|
*/
|
|
4369
|
-
valueSelectionStrategy?: SlotValueSelectionStrategy;
|
|
4369
|
+
valueSelectionStrategy?: SlotValueSelectionStrategy | undefined;
|
|
4370
4370
|
/**
|
|
4371
4371
|
* <p>
|
|
4372
4372
|
* <code>True</code> if a new version of the slot type was created. If
|
|
@@ -4375,18 +4375,18 @@ export interface PutSlotTypeResponse {
|
|
|
4375
4375
|
* response.</p>
|
|
4376
4376
|
* @public
|
|
4377
4377
|
*/
|
|
4378
|
-
createVersion?: boolean;
|
|
4378
|
+
createVersion?: boolean | undefined;
|
|
4379
4379
|
/**
|
|
4380
4380
|
* <p>The built-in slot type used as the parent of the slot type.</p>
|
|
4381
4381
|
* @public
|
|
4382
4382
|
*/
|
|
4383
|
-
parentSlotTypeSignature?: string;
|
|
4383
|
+
parentSlotTypeSignature?: string | undefined;
|
|
4384
4384
|
/**
|
|
4385
4385
|
* <p>Configuration information that extends the parent built-in slot
|
|
4386
4386
|
* type.</p>
|
|
4387
4387
|
* @public
|
|
4388
4388
|
*/
|
|
4389
|
-
slotTypeConfigurations?: SlotTypeConfiguration[];
|
|
4389
|
+
slotTypeConfigurations?: SlotTypeConfiguration[] | undefined;
|
|
4390
4390
|
}
|
|
4391
4391
|
/**
|
|
4392
4392
|
* @public
|
|
@@ -4438,7 +4438,7 @@ export interface StartImportRequest {
|
|
|
4438
4438
|
* you import a bot, you can't add tags to an intent or slot type.</p>
|
|
4439
4439
|
* @public
|
|
4440
4440
|
*/
|
|
4441
|
-
tags?: Tag[];
|
|
4441
|
+
tags?: Tag[] | undefined;
|
|
4442
4442
|
}
|
|
4443
4443
|
/**
|
|
4444
4444
|
* @public
|
|
@@ -4448,40 +4448,40 @@ export interface StartImportResponse {
|
|
|
4448
4448
|
* <p>The name given to the import job.</p>
|
|
4449
4449
|
* @public
|
|
4450
4450
|
*/
|
|
4451
|
-
name?: string;
|
|
4451
|
+
name?: string | undefined;
|
|
4452
4452
|
/**
|
|
4453
4453
|
* <p>The type of resource to import.</p>
|
|
4454
4454
|
* @public
|
|
4455
4455
|
*/
|
|
4456
|
-
resourceType?: ResourceType;
|
|
4456
|
+
resourceType?: ResourceType | undefined;
|
|
4457
4457
|
/**
|
|
4458
4458
|
* <p>The action to take when there is a merge conflict.</p>
|
|
4459
4459
|
* @public
|
|
4460
4460
|
*/
|
|
4461
|
-
mergeStrategy?: MergeStrategy;
|
|
4461
|
+
mergeStrategy?: MergeStrategy | undefined;
|
|
4462
4462
|
/**
|
|
4463
4463
|
* <p>The identifier for the specific import job.</p>
|
|
4464
4464
|
* @public
|
|
4465
4465
|
*/
|
|
4466
|
-
importId?: string;
|
|
4466
|
+
importId?: string | undefined;
|
|
4467
4467
|
/**
|
|
4468
4468
|
* <p>The status of the import job. If the status is <code>FAILED</code>,
|
|
4469
4469
|
* you can get the reason for the failure using the <code>GetImport</code>
|
|
4470
4470
|
* operation.</p>
|
|
4471
4471
|
* @public
|
|
4472
4472
|
*/
|
|
4473
|
-
importStatus?: ImportStatus;
|
|
4473
|
+
importStatus?: ImportStatus | undefined;
|
|
4474
4474
|
/**
|
|
4475
4475
|
* <p>A list of tags added to the imported bot.</p>
|
|
4476
4476
|
* @public
|
|
4477
4477
|
*/
|
|
4478
|
-
tags?: Tag[];
|
|
4478
|
+
tags?: Tag[] | undefined;
|
|
4479
4479
|
/**
|
|
4480
4480
|
* <p>A timestamp for the date and time that the import job was
|
|
4481
4481
|
* requested.</p>
|
|
4482
4482
|
* @public
|
|
4483
4483
|
*/
|
|
4484
|
-
createdDate?: Date;
|
|
4484
|
+
createdDate?: Date | undefined;
|
|
4485
4485
|
}
|
|
4486
4486
|
/**
|
|
4487
4487
|
* @public
|
|
@@ -4547,42 +4547,42 @@ export interface StartMigrationResponse {
|
|
|
4547
4547
|
* <p>The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.</p>
|
|
4548
4548
|
* @public
|
|
4549
4549
|
*/
|
|
4550
|
-
v1BotName?: string;
|
|
4550
|
+
v1BotName?: string | undefined;
|
|
4551
4551
|
/**
|
|
4552
4552
|
* <p>The version of the bot to migrate to Amazon Lex V2. </p>
|
|
4553
4553
|
* @public
|
|
4554
4554
|
*/
|
|
4555
|
-
v1BotVersion?: string;
|
|
4555
|
+
v1BotVersion?: string | undefined;
|
|
4556
4556
|
/**
|
|
4557
4557
|
* <p>The locale used for the Amazon Lex V1 bot. </p>
|
|
4558
4558
|
* @public
|
|
4559
4559
|
*/
|
|
4560
|
-
v1BotLocale?: Locale;
|
|
4560
|
+
v1BotLocale?: Locale | undefined;
|
|
4561
4561
|
/**
|
|
4562
4562
|
* <p>The unique identifier for the Amazon Lex V2 bot. </p>
|
|
4563
4563
|
* @public
|
|
4564
4564
|
*/
|
|
4565
|
-
v2BotId?: string;
|
|
4565
|
+
v2BotId?: string | undefined;
|
|
4566
4566
|
/**
|
|
4567
4567
|
* <p>The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.</p>
|
|
4568
4568
|
* @public
|
|
4569
4569
|
*/
|
|
4570
|
-
v2BotRole?: string;
|
|
4570
|
+
v2BotRole?: string | undefined;
|
|
4571
4571
|
/**
|
|
4572
4572
|
* <p>The unique identifier that Amazon Lex assigned to the migration.</p>
|
|
4573
4573
|
* @public
|
|
4574
4574
|
*/
|
|
4575
|
-
migrationId?: string;
|
|
4575
|
+
migrationId?: string | undefined;
|
|
4576
4576
|
/**
|
|
4577
4577
|
* <p>The strategy used to conduct the migration.</p>
|
|
4578
4578
|
* @public
|
|
4579
4579
|
*/
|
|
4580
|
-
migrationStrategy?: MigrationStrategy;
|
|
4580
|
+
migrationStrategy?: MigrationStrategy | undefined;
|
|
4581
4581
|
/**
|
|
4582
4582
|
* <p>The date and time that the migration started.</p>
|
|
4583
4583
|
* @public
|
|
4584
4584
|
*/
|
|
4585
|
-
migrationTimestamp?: Date;
|
|
4585
|
+
migrationTimestamp?: Date | undefined;
|
|
4586
4586
|
}
|
|
4587
4587
|
/**
|
|
4588
4588
|
* @public
|