@aws-sdk/client-lex-models-v2 3.42.0 → 3.46.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/CHANGELOG.md +50 -0
- package/dist-cjs/LexModelsV2.js +90 -0
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
- package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +231 -5
- package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1531 -186
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-es/LexModelsV2.js +90 -0
- package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
- package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
- package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
- package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
- package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +158 -0
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1543 -135
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-types/LexModelsV2.d.ts +56 -6
- package/dist-types/LexModelsV2Client.d.ts +8 -2
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1117 -91
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +480 -2
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/package.json +37 -44
|
@@ -112,6 +112,48 @@ export declare namespace AggregatedUtterancesSummary {
|
|
|
112
112
|
*/
|
|
113
113
|
const filterSensitiveLog: (obj: AggregatedUtterancesSummary) => any;
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* <p>The object containing information that associates the recommended
|
|
117
|
+
* intent/slot type with a conversation.</p>
|
|
118
|
+
*/
|
|
119
|
+
export interface AssociatedTranscript {
|
|
120
|
+
/**
|
|
121
|
+
* <p>The content of the transcript that meets the search filter criteria.
|
|
122
|
+
* For the JSON format of the transcript, see <a href="https://docs.aws.amazon.com/lex/latest/dg/designing-output-format.html">Output transcript
|
|
123
|
+
* format</a>.</p>
|
|
124
|
+
*/
|
|
125
|
+
transcript?: string;
|
|
126
|
+
}
|
|
127
|
+
export declare namespace AssociatedTranscript {
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
131
|
+
const filterSensitiveLog: (obj: AssociatedTranscript) => any;
|
|
132
|
+
}
|
|
133
|
+
export declare enum AssociatedTranscriptFilterName {
|
|
134
|
+
IntentId = "IntentId",
|
|
135
|
+
SlotTypeId = "SlotTypeId"
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* <p>Filters to search for the associated transcript.</p>
|
|
139
|
+
*/
|
|
140
|
+
export interface AssociatedTranscriptFilter {
|
|
141
|
+
/**
|
|
142
|
+
* <p>The name of the field to use for filtering. The allowed names are
|
|
143
|
+
* IntentId and SlotTypeId.</p>
|
|
144
|
+
*/
|
|
145
|
+
name: AssociatedTranscriptFilterName | string | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* <p>The values to use to filter the transcript.</p>
|
|
148
|
+
*/
|
|
149
|
+
values: string[] | undefined;
|
|
150
|
+
}
|
|
151
|
+
export declare namespace AssociatedTranscriptFilter {
|
|
152
|
+
/**
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
const filterSensitiveLog: (obj: AssociatedTranscriptFilter) => any;
|
|
156
|
+
}
|
|
115
157
|
/**
|
|
116
158
|
* <p>Specifies an Amazon S3 bucket for logging audio conversations</p>
|
|
117
159
|
*/
|
|
@@ -144,8 +186,8 @@ export declare namespace S3BucketLogDestination {
|
|
|
144
186
|
export interface AudioLogDestination {
|
|
145
187
|
/**
|
|
146
188
|
* <p>The Amazon S3 bucket where the audio log files are stored. The IAM
|
|
147
|
-
* role specified in the <code>roleArn</code> parameter of the <a>CreateBot</a> operation must have permission to write to
|
|
148
|
-
*
|
|
189
|
+
* role specified in the <code>roleArn</code> parameter of the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation must have permission to write to this
|
|
190
|
+
* bucket.</p>
|
|
149
191
|
*/
|
|
150
192
|
s3Bucket: S3BucketLogDestination | undefined;
|
|
151
193
|
}
|
|
@@ -268,12 +310,12 @@ export declare enum BotAliasStatus {
|
|
|
268
310
|
Failed = "Failed"
|
|
269
311
|
}
|
|
270
312
|
/**
|
|
271
|
-
* <p>Summary information about bot aliases returned from the <a>ListBotAliases</a> operation.</p>
|
|
313
|
+
* <p>Summary information about bot aliases returned from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html">ListBotAliases</a> operation.</p>
|
|
272
314
|
*/
|
|
273
315
|
export interface BotAliasSummary {
|
|
274
316
|
/**
|
|
275
317
|
* <p>The unique identifier assigned to the bot alias. You can use this ID
|
|
276
|
-
* to get detailed information about the alias using the <a>DescribeBotAlias</a> operation.</p>
|
|
318
|
+
* to get detailed information about the alias using the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html">DescribeBotAlias</a> operation.</p>
|
|
277
319
|
*/
|
|
278
320
|
botAliasId?: string;
|
|
279
321
|
/**
|
|
@@ -543,6 +585,10 @@ export declare namespace BotLocaleHistoryEvent {
|
|
|
543
585
|
*/
|
|
544
586
|
const filterSensitiveLog: (obj: BotLocaleHistoryEvent) => any;
|
|
545
587
|
}
|
|
588
|
+
export declare enum VoiceEngine {
|
|
589
|
+
Neural = "neural",
|
|
590
|
+
Standard = "standard"
|
|
591
|
+
}
|
|
546
592
|
/**
|
|
547
593
|
* <p>Defines settings for using an Amazon Polly voice to communicate with a
|
|
548
594
|
* user.</p>
|
|
@@ -552,6 +598,16 @@ export interface VoiceSettings {
|
|
|
552
598
|
* <p>The identifier of the Amazon Polly voice to use.</p>
|
|
553
599
|
*/
|
|
554
600
|
voiceId: string | undefined;
|
|
601
|
+
/**
|
|
602
|
+
* <p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
|
|
603
|
+
* information, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine">
|
|
604
|
+
* <code>engine</code> parameter of the
|
|
605
|
+
* <code>SynthesizeSpeech</code> operation</a> in the
|
|
606
|
+
* <i>Amazon Polly developer guide</i>.</p>
|
|
607
|
+
* <p>If you do not specify a value, the default is
|
|
608
|
+
* <code>standard</code>.</p>
|
|
609
|
+
*/
|
|
610
|
+
engine?: VoiceEngine | string;
|
|
555
611
|
}
|
|
556
612
|
export declare namespace VoiceSettings {
|
|
557
613
|
/**
|
|
@@ -660,10 +716,11 @@ export declare enum BotLocaleStatus {
|
|
|
660
716
|
Failed = "Failed",
|
|
661
717
|
Importing = "Importing",
|
|
662
718
|
NotBuilt = "NotBuilt",
|
|
719
|
+
Processing = "Processing",
|
|
663
720
|
ReadyExpressTesting = "ReadyExpressTesting"
|
|
664
721
|
}
|
|
665
722
|
/**
|
|
666
|
-
* <p>Summary information about bot locales returned by the <a>ListBotLocales</a> operation.</p>
|
|
723
|
+
* <p>Summary information about bot locales returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html">ListBotLocales</a> operation.</p>
|
|
667
724
|
*/
|
|
668
725
|
export interface BotLocaleSummary {
|
|
669
726
|
/**
|
|
@@ -700,6 +757,127 @@ export declare namespace BotLocaleSummary {
|
|
|
700
757
|
*/
|
|
701
758
|
const filterSensitiveLog: (obj: BotLocaleSummary) => any;
|
|
702
759
|
}
|
|
760
|
+
/**
|
|
761
|
+
* <p>The object that contains the statistical summary of recommended
|
|
762
|
+
* intents associated with the bot recommendation.</p>
|
|
763
|
+
*/
|
|
764
|
+
export interface IntentStatistics {
|
|
765
|
+
/**
|
|
766
|
+
* <p>The number of recommended intents associated with the bot
|
|
767
|
+
* recommendation.</p>
|
|
768
|
+
*/
|
|
769
|
+
discoveredIntentCount?: number;
|
|
770
|
+
}
|
|
771
|
+
export declare namespace IntentStatistics {
|
|
772
|
+
/**
|
|
773
|
+
* @internal
|
|
774
|
+
*/
|
|
775
|
+
const filterSensitiveLog: (obj: IntentStatistics) => any;
|
|
776
|
+
}
|
|
777
|
+
/**
|
|
778
|
+
* <p>The object that contains the statistical summary of the recommended
|
|
779
|
+
* slot type associated with the bot recommendation.</p>
|
|
780
|
+
*/
|
|
781
|
+
export interface SlotTypeStatistics {
|
|
782
|
+
/**
|
|
783
|
+
* <p>The number of recommended slot types associated with the bot
|
|
784
|
+
* recommendation.</p>
|
|
785
|
+
*/
|
|
786
|
+
discoveredSlotTypeCount?: number;
|
|
787
|
+
}
|
|
788
|
+
export declare namespace SlotTypeStatistics {
|
|
789
|
+
/**
|
|
790
|
+
* @internal
|
|
791
|
+
*/
|
|
792
|
+
const filterSensitiveLog: (obj: SlotTypeStatistics) => any;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* <p>A statistical summary of the bot recommendation results.</p>
|
|
796
|
+
*/
|
|
797
|
+
export interface BotRecommendationResultStatistics {
|
|
798
|
+
/**
|
|
799
|
+
* <p>Statistical information about about the intents associated with the
|
|
800
|
+
* bot recommendation results.</p>
|
|
801
|
+
*/
|
|
802
|
+
intents?: IntentStatistics;
|
|
803
|
+
/**
|
|
804
|
+
* <p>Statistical information about the slot types associated with the bot
|
|
805
|
+
* recommendation results.</p>
|
|
806
|
+
*/
|
|
807
|
+
slotTypes?: SlotTypeStatistics;
|
|
808
|
+
}
|
|
809
|
+
export declare namespace BotRecommendationResultStatistics {
|
|
810
|
+
/**
|
|
811
|
+
* @internal
|
|
812
|
+
*/
|
|
813
|
+
const filterSensitiveLog: (obj: BotRecommendationResultStatistics) => any;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* <p>The object representing the URL of the bot definition, the URL of
|
|
817
|
+
* the associated transcript and a statistical summary of the bot
|
|
818
|
+
* recommendation results.</p>
|
|
819
|
+
*/
|
|
820
|
+
export interface BotRecommendationResults {
|
|
821
|
+
/**
|
|
822
|
+
* <p>The presigned URL link of the recommended bot definition.</p>
|
|
823
|
+
*/
|
|
824
|
+
botLocaleExportUrl?: string;
|
|
825
|
+
/**
|
|
826
|
+
* <p>The presigned url link of the associated transcript.</p>
|
|
827
|
+
*/
|
|
828
|
+
associatedTranscriptsUrl?: string;
|
|
829
|
+
/**
|
|
830
|
+
* <p>The statistical summary of the bot recommendation results.</p>
|
|
831
|
+
*/
|
|
832
|
+
statistics?: BotRecommendationResultStatistics;
|
|
833
|
+
}
|
|
834
|
+
export declare namespace BotRecommendationResults {
|
|
835
|
+
/**
|
|
836
|
+
* @internal
|
|
837
|
+
*/
|
|
838
|
+
const filterSensitiveLog: (obj: BotRecommendationResults) => any;
|
|
839
|
+
}
|
|
840
|
+
export declare enum BotRecommendationStatus {
|
|
841
|
+
Available = "Available",
|
|
842
|
+
Deleted = "Deleted",
|
|
843
|
+
Deleting = "Deleting",
|
|
844
|
+
Downloading = "Downloading",
|
|
845
|
+
Failed = "Failed",
|
|
846
|
+
Processing = "Processing",
|
|
847
|
+
Updating = "Updating"
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* <p>A summary of the bot recommendation.</p>
|
|
851
|
+
*/
|
|
852
|
+
export interface BotRecommendationSummary {
|
|
853
|
+
/**
|
|
854
|
+
* <p>The status of the bot recommendation.</p>
|
|
855
|
+
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
856
|
+
* in the failureReasons field. </p>
|
|
857
|
+
*/
|
|
858
|
+
botRecommendationStatus: BotRecommendationStatus | string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* <p>The unique identifier of the bot recommendation to be
|
|
861
|
+
* updated.</p>
|
|
862
|
+
*/
|
|
863
|
+
botRecommendationId: string | undefined;
|
|
864
|
+
/**
|
|
865
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
866
|
+
* created.</p>
|
|
867
|
+
*/
|
|
868
|
+
creationDateTime?: Date;
|
|
869
|
+
/**
|
|
870
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
871
|
+
* last updated.</p>
|
|
872
|
+
*/
|
|
873
|
+
lastUpdatedDateTime?: Date;
|
|
874
|
+
}
|
|
875
|
+
export declare namespace BotRecommendationSummary {
|
|
876
|
+
/**
|
|
877
|
+
* @internal
|
|
878
|
+
*/
|
|
879
|
+
const filterSensitiveLog: (obj: BotRecommendationSummary) => any;
|
|
880
|
+
}
|
|
703
881
|
export declare enum BotSortAttribute {
|
|
704
882
|
BotName = "BotName"
|
|
705
883
|
}
|
|
@@ -733,12 +911,12 @@ export declare enum BotStatus {
|
|
|
733
911
|
Versioning = "Versioning"
|
|
734
912
|
}
|
|
735
913
|
/**
|
|
736
|
-
* <p>Summary information about a bot returned by the <a>ListBots</a> operation.</p>
|
|
914
|
+
* <p>Summary information about a bot returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html">ListBots</a> operation.</p>
|
|
737
915
|
*/
|
|
738
916
|
export interface BotSummary {
|
|
739
917
|
/**
|
|
740
918
|
* <p>The unique identifier assigned to the bot. Use this ID to get
|
|
741
|
-
* detailed information about the bot with the <a>DescribeBot</a> operation.</p>
|
|
919
|
+
* detailed information about the bot with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html">DescribeBot</a> operation.</p>
|
|
742
920
|
*/
|
|
743
921
|
botId?: string;
|
|
744
922
|
/**
|
|
@@ -808,7 +986,7 @@ export declare namespace BotVersionSortBy {
|
|
|
808
986
|
const filterSensitiveLog: (obj: BotVersionSortBy) => any;
|
|
809
987
|
}
|
|
810
988
|
/**
|
|
811
|
-
* <p>Summary information about a bot version returned by the <a>ListBotVersions</a> operation.</p>
|
|
989
|
+
* <p>Summary information about a bot version returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html">ListBotVersions</a> operation.</p>
|
|
812
990
|
*/
|
|
813
991
|
export interface BotVersionSummary {
|
|
814
992
|
/**
|
|
@@ -844,7 +1022,7 @@ export declare namespace BotVersionSummary {
|
|
|
844
1022
|
export interface BuildBotLocaleRequest {
|
|
845
1023
|
/**
|
|
846
1024
|
* <p>The identifier of the bot to build. The identifier is returned in
|
|
847
|
-
* the response from the
|
|
1025
|
+
* the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
848
1026
|
*/
|
|
849
1027
|
botId: string | undefined;
|
|
850
1028
|
/**
|
|
@@ -1017,7 +1195,7 @@ export declare namespace BuiltInIntentSortBy {
|
|
|
1017
1195
|
const filterSensitiveLog: (obj: BuiltInIntentSortBy) => any;
|
|
1018
1196
|
}
|
|
1019
1197
|
/**
|
|
1020
|
-
* <p>Provides summary information about a built-in intent for the <a>ListBuiltInIntents</a> operation.</p>
|
|
1198
|
+
* <p>Provides summary information about a built-in intent for the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html"> ListBuiltInIntents </a> operation.</p>
|
|
1021
1199
|
*/
|
|
1022
1200
|
export interface BuiltInIntentSummary {
|
|
1023
1201
|
/**
|
|
@@ -1062,7 +1240,8 @@ export declare namespace BuiltInSlotTypeSortBy {
|
|
|
1062
1240
|
}
|
|
1063
1241
|
/**
|
|
1064
1242
|
* <p>Provides summary information about a built-in slot type for the
|
|
1065
|
-
* <a>ListBuiltInSlotTypes</a>
|
|
1243
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html"> ListBuiltInSlotTypes </a>
|
|
1244
|
+
* operation.</p>
|
|
1066
1245
|
*/
|
|
1067
1246
|
export interface BuiltInSlotTypeSummary {
|
|
1068
1247
|
/**
|
|
@@ -1325,8 +1504,8 @@ export interface CreateBotAliasRequest {
|
|
|
1325
1504
|
description?: string;
|
|
1326
1505
|
/**
|
|
1327
1506
|
* <p>The version of the bot that this alias points to. You can use the
|
|
1328
|
-
*
|
|
1329
|
-
* version associated with the alias.</p>
|
|
1507
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html">UpdateBotAlias</a> operation to change the
|
|
1508
|
+
* bot version associated with the alias.</p>
|
|
1330
1509
|
*/
|
|
1331
1510
|
botVersion?: string;
|
|
1332
1511
|
/**
|
|
@@ -1685,8 +1864,8 @@ export interface CreateExportResponse {
|
|
|
1685
1864
|
fileFormat?: ImportExportFileFormat | string;
|
|
1686
1865
|
/**
|
|
1687
1866
|
* <p>The status of the export. When the status is <code>Completed</code>,
|
|
1688
|
-
* you can use the
|
|
1689
|
-
*
|
|
1867
|
+
* you can use the <a href="https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html">DescribeExport</a> operation to get the
|
|
1868
|
+
* pre-signed S3 URL link to your exported bot or bot locale.</p>
|
|
1690
1869
|
*/
|
|
1691
1870
|
exportStatus?: ExportStatus | string;
|
|
1692
1871
|
/**
|
|
@@ -2869,6 +3048,64 @@ export declare namespace CreateSlotResponse {
|
|
|
2869
3048
|
*/
|
|
2870
3049
|
const filterSensitiveLog: (obj: CreateSlotResponse) => any;
|
|
2871
3050
|
}
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>Describes the Amazon S3 bucket name and location for the grammar
|
|
3053
|
+
* that is the source for the slot type.</p>
|
|
3054
|
+
*/
|
|
3055
|
+
export interface GrammarSlotTypeSource {
|
|
3056
|
+
/**
|
|
3057
|
+
* <p>The name of the S3 bucket that contains the grammar source.</p>
|
|
3058
|
+
*/
|
|
3059
|
+
s3BucketName: string | undefined;
|
|
3060
|
+
/**
|
|
3061
|
+
* <p>The path to the grammar in the S3 bucket.</p>
|
|
3062
|
+
*/
|
|
3063
|
+
s3ObjectKey: string | undefined;
|
|
3064
|
+
/**
|
|
3065
|
+
* <p>The Amazon KMS key required to decrypt the contents of the grammar,
|
|
3066
|
+
* if any.</p>
|
|
3067
|
+
*/
|
|
3068
|
+
kmsKeyArn?: string;
|
|
3069
|
+
}
|
|
3070
|
+
export declare namespace GrammarSlotTypeSource {
|
|
3071
|
+
/**
|
|
3072
|
+
* @internal
|
|
3073
|
+
*/
|
|
3074
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSource) => any;
|
|
3075
|
+
}
|
|
3076
|
+
/**
|
|
3077
|
+
* <p>Settings requried for a slot type based on a grammar that you
|
|
3078
|
+
* provide.</p>
|
|
3079
|
+
*/
|
|
3080
|
+
export interface GrammarSlotTypeSetting {
|
|
3081
|
+
/**
|
|
3082
|
+
* <p>The source of the grammar used to create the slot type.</p>
|
|
3083
|
+
*/
|
|
3084
|
+
source?: GrammarSlotTypeSource;
|
|
3085
|
+
}
|
|
3086
|
+
export declare namespace GrammarSlotTypeSetting {
|
|
3087
|
+
/**
|
|
3088
|
+
* @internal
|
|
3089
|
+
*/
|
|
3090
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSetting) => any;
|
|
3091
|
+
}
|
|
3092
|
+
/**
|
|
3093
|
+
* <p>Provides information about the external source of the slot type's
|
|
3094
|
+
* definition.</p>
|
|
3095
|
+
*/
|
|
3096
|
+
export interface ExternalSourceSetting {
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>Settings required for a slot type based on a grammar that you
|
|
3099
|
+
* provide.</p>
|
|
3100
|
+
*/
|
|
3101
|
+
grammarSlotTypeSetting?: GrammarSlotTypeSetting;
|
|
3102
|
+
}
|
|
3103
|
+
export declare namespace ExternalSourceSetting {
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
*/
|
|
3107
|
+
const filterSensitiveLog: (obj: ExternalSourceSetting) => any;
|
|
3108
|
+
}
|
|
2872
3109
|
/**
|
|
2873
3110
|
* <p>Defines one of the values for a slot type.</p>
|
|
2874
3111
|
*/
|
|
@@ -3023,7 +3260,7 @@ export interface CreateSlotTypeRequest {
|
|
|
3023
3260
|
* <p>If you don't specify the <code>valueSelectionSetting</code>
|
|
3024
3261
|
* parameter, the default is <code>OriginalValue</code>.</p>
|
|
3025
3262
|
*/
|
|
3026
|
-
valueSelectionSetting
|
|
3263
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
3027
3264
|
/**
|
|
3028
3265
|
* <p>The built-in slot type used as a parent of this slot type. When you
|
|
3029
3266
|
* define a parent slot type, the new slot type has the configuration of
|
|
@@ -3047,6 +3284,11 @@ export interface CreateSlotTypeRequest {
|
|
|
3047
3284
|
* locale. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
3048
3285
|
*/
|
|
3049
3286
|
localeId: string | undefined;
|
|
3287
|
+
/**
|
|
3288
|
+
* <p>Sets the type of external information used to create the slot
|
|
3289
|
+
* type.</p>
|
|
3290
|
+
*/
|
|
3291
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3050
3292
|
}
|
|
3051
3293
|
export declare namespace CreateSlotTypeRequest {
|
|
3052
3294
|
/**
|
|
@@ -3100,6 +3342,11 @@ export interface CreateSlotTypeResponse {
|
|
|
3100
3342
|
* created.</p>
|
|
3101
3343
|
*/
|
|
3102
3344
|
creationDateTime?: Date;
|
|
3345
|
+
/**
|
|
3346
|
+
* <p>The type of external information used to create the slot
|
|
3347
|
+
* type.</p>
|
|
3348
|
+
*/
|
|
3349
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3103
3350
|
}
|
|
3104
3351
|
export declare namespace CreateSlotTypeResponse {
|
|
3105
3352
|
/**
|
|
@@ -3118,7 +3365,7 @@ export declare namespace CreateUploadUrlRequest {
|
|
|
3118
3365
|
export interface CreateUploadUrlResponse {
|
|
3119
3366
|
/**
|
|
3120
3367
|
* <p>An identifier for a unique import job. Use it when you call the
|
|
3121
|
-
*
|
|
3368
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html">StartImport</a> operation.</p>
|
|
3122
3369
|
*/
|
|
3123
3370
|
importId?: string;
|
|
3124
3371
|
/**
|
|
@@ -3133,6 +3380,28 @@ export declare namespace CreateUploadUrlResponse {
|
|
|
3133
3380
|
*/
|
|
3134
3381
|
const filterSensitiveLog: (obj: CreateUploadUrlResponse) => any;
|
|
3135
3382
|
}
|
|
3383
|
+
/**
|
|
3384
|
+
* <p>The object used for specifying the data range that the customer
|
|
3385
|
+
* wants Amazon Lex to read through in the input transcripts.</p>
|
|
3386
|
+
*/
|
|
3387
|
+
export interface DateRangeFilter {
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>A timestamp indicating the start date for the date range
|
|
3390
|
+
* filter.</p>
|
|
3391
|
+
*/
|
|
3392
|
+
startDateTime: Date | undefined;
|
|
3393
|
+
/**
|
|
3394
|
+
* <p>A timestamp indicating the end date for the date range
|
|
3395
|
+
* filter.</p>
|
|
3396
|
+
*/
|
|
3397
|
+
endDateTime: Date | undefined;
|
|
3398
|
+
}
|
|
3399
|
+
export declare namespace DateRangeFilter {
|
|
3400
|
+
/**
|
|
3401
|
+
* @internal
|
|
3402
|
+
*/
|
|
3403
|
+
const filterSensitiveLog: (obj: DateRangeFilter) => any;
|
|
3404
|
+
}
|
|
3136
3405
|
export interface DeleteBotRequest {
|
|
3137
3406
|
/**
|
|
3138
3407
|
* <p>The identifier of the bot to delete. </p>
|
|
@@ -3326,7 +3595,8 @@ export interface DeleteExportResponse {
|
|
|
3326
3595
|
exportId?: string;
|
|
3327
3596
|
/**
|
|
3328
3597
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3329
|
-
* the export will no longer be returned by the
|
|
3598
|
+
* the export will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html">ListExports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">
|
|
3599
|
+
* DescribeExport</a> operation with the export identifier will
|
|
3330
3600
|
* fail.</p>
|
|
3331
3601
|
*/
|
|
3332
3602
|
exportStatus?: ExportStatus | string;
|
|
@@ -3362,7 +3632,7 @@ export interface DeleteImportResponse {
|
|
|
3362
3632
|
importId?: string;
|
|
3363
3633
|
/**
|
|
3364
3634
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3365
|
-
* the import will no longer be returned by the
|
|
3635
|
+
* the import will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html">ListImports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html">DescribeImport</a> operation with the import identifier will
|
|
3366
3636
|
* fail.</p>
|
|
3367
3637
|
*/
|
|
3368
3638
|
importStatus?: ImportStatus | string;
|
|
@@ -3563,7 +3833,7 @@ export interface DeleteUtterancesRequest {
|
|
|
3563
3833
|
localeId?: string;
|
|
3564
3834
|
/**
|
|
3565
3835
|
* <p>The unique identifier of the session with the user. The ID is
|
|
3566
|
-
* returned in the response from the
|
|
3836
|
+
* returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html">RecognizeText</a> and <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html">RecognizeUtterance</a> operations.</p>
|
|
3567
3837
|
*/
|
|
3568
3838
|
sessionId?: string;
|
|
3569
3839
|
}
|
|
@@ -3817,6 +4087,11 @@ export interface DescribeBotLocaleResponse {
|
|
|
3817
4087
|
* have taken place for the locale.</p>
|
|
3818
4088
|
*/
|
|
3819
4089
|
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
4090
|
+
/**
|
|
4091
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
4092
|
+
* <code>failureReasons</code> field.</p>
|
|
4093
|
+
*/
|
|
4094
|
+
recommendedActions?: string[];
|
|
3820
4095
|
}
|
|
3821
4096
|
export declare namespace DescribeBotLocaleResponse {
|
|
3822
4097
|
/**
|
|
@@ -3824,133 +4099,369 @@ export declare namespace DescribeBotLocaleResponse {
|
|
|
3824
4099
|
*/
|
|
3825
4100
|
const filterSensitiveLog: (obj: DescribeBotLocaleResponse) => any;
|
|
3826
4101
|
}
|
|
3827
|
-
export interface
|
|
4102
|
+
export interface DescribeBotRecommendationRequest {
|
|
3828
4103
|
/**
|
|
3829
|
-
* <p>The identifier of the bot
|
|
3830
|
-
*
|
|
4104
|
+
* <p>The unique identifier of the bot associated with the bot
|
|
4105
|
+
* recommendation.</p>
|
|
3831
4106
|
*/
|
|
3832
4107
|
botId: string | undefined;
|
|
3833
4108
|
/**
|
|
3834
|
-
* <p>The version of the bot
|
|
4109
|
+
* <p>The version of the bot associated with the bot
|
|
4110
|
+
* recommendation.</p>
|
|
3835
4111
|
*/
|
|
3836
4112
|
botVersion: string | undefined;
|
|
4113
|
+
/**
|
|
4114
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
4115
|
+
* to describe. The string must match one of the supported locales. For
|
|
4116
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
4117
|
+
*/
|
|
4118
|
+
localeId: string | undefined;
|
|
4119
|
+
/**
|
|
4120
|
+
* <p>The identifier of the bot recommendation to describe.</p>
|
|
4121
|
+
*/
|
|
4122
|
+
botRecommendationId: string | undefined;
|
|
3837
4123
|
}
|
|
3838
|
-
export declare namespace
|
|
4124
|
+
export declare namespace DescribeBotRecommendationRequest {
|
|
3839
4125
|
/**
|
|
3840
4126
|
* @internal
|
|
3841
4127
|
*/
|
|
3842
|
-
const filterSensitiveLog: (obj:
|
|
4128
|
+
const filterSensitiveLog: (obj: DescribeBotRecommendationRequest) => any;
|
|
3843
4129
|
}
|
|
3844
|
-
|
|
4130
|
+
/**
|
|
4131
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
4132
|
+
* data related to the bot recommendation, as well as the KMS key ARN used
|
|
4133
|
+
* to encrypt the associated metadata.</p>
|
|
4134
|
+
*/
|
|
4135
|
+
export interface EncryptionSetting {
|
|
3845
4136
|
/**
|
|
3846
|
-
* <p>The
|
|
4137
|
+
* <p>The KMS key ARN used to encrypt the metadata associated with the bot
|
|
4138
|
+
* recommendation.</p>
|
|
3847
4139
|
*/
|
|
3848
|
-
|
|
4140
|
+
kmsKeyArn?: string;
|
|
3849
4141
|
/**
|
|
3850
|
-
* <p>The
|
|
4142
|
+
* <p>The password used to encrypt the recommended bot recommendation
|
|
4143
|
+
* file.</p>
|
|
3851
4144
|
*/
|
|
3852
|
-
|
|
4145
|
+
botLocaleExportPassword?: string;
|
|
3853
4146
|
/**
|
|
3854
|
-
* <p>The
|
|
4147
|
+
* <p>The password used to encrypt the associated transcript file.</p>
|
|
3855
4148
|
*/
|
|
3856
|
-
|
|
4149
|
+
associatedTranscriptsPassword?: string;
|
|
4150
|
+
}
|
|
4151
|
+
export declare namespace EncryptionSetting {
|
|
3857
4152
|
/**
|
|
3858
|
-
*
|
|
4153
|
+
* @internal
|
|
3859
4154
|
*/
|
|
3860
|
-
|
|
4155
|
+
const filterSensitiveLog: (obj: EncryptionSetting) => any;
|
|
4156
|
+
}
|
|
4157
|
+
/**
|
|
4158
|
+
* <p>The object that contains a path format that will be applied when
|
|
4159
|
+
* Amazon Lex reads the transcript file in the bucket you provide. Specify this
|
|
4160
|
+
* object if you only want Lex to read a subset of files in your Amazon S3
|
|
4161
|
+
* bucket.</p>
|
|
4162
|
+
*/
|
|
4163
|
+
export interface PathFormat {
|
|
3861
4164
|
/**
|
|
3862
|
-
* <p>
|
|
3863
|
-
*
|
|
4165
|
+
* <p>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3
|
|
4166
|
+
* bucket. Specify this list if you only want Lex to read the files under
|
|
4167
|
+
* this set of sub-folders.</p>
|
|
3864
4168
|
*/
|
|
3865
|
-
|
|
4169
|
+
objectPrefixes?: string[];
|
|
4170
|
+
}
|
|
4171
|
+
export declare namespace PathFormat {
|
|
3866
4172
|
/**
|
|
3867
|
-
*
|
|
4173
|
+
* @internal
|
|
3868
4174
|
*/
|
|
3869
|
-
|
|
4175
|
+
const filterSensitiveLog: (obj: PathFormat) => any;
|
|
4176
|
+
}
|
|
4177
|
+
/**
|
|
4178
|
+
* <p>The object that contains transcript filter details that are
|
|
4179
|
+
* associated with a bot recommendation.</p>
|
|
4180
|
+
*/
|
|
4181
|
+
export interface LexTranscriptFilter {
|
|
3870
4182
|
/**
|
|
3871
|
-
* <p>The
|
|
3872
|
-
*
|
|
4183
|
+
* <p>The object that contains a date range filter that will be applied to
|
|
4184
|
+
* the transcript. Specify this object if you want Amazon Lex to only read the
|
|
4185
|
+
* files that are within the date range.</p>
|
|
3873
4186
|
*/
|
|
3874
|
-
|
|
4187
|
+
dateRangeFilter?: DateRangeFilter;
|
|
4188
|
+
}
|
|
4189
|
+
export declare namespace LexTranscriptFilter {
|
|
3875
4190
|
/**
|
|
3876
|
-
*
|
|
3877
|
-
* <code>Available</code>, the bot version is ready for use.</p>
|
|
4191
|
+
* @internal
|
|
3878
4192
|
*/
|
|
3879
|
-
|
|
4193
|
+
const filterSensitiveLog: (obj: LexTranscriptFilter) => any;
|
|
4194
|
+
}
|
|
4195
|
+
/**
|
|
4196
|
+
* <p>The object representing the filter that Amazon Lex will use to select the
|
|
4197
|
+
* appropriate transcript.</p>
|
|
4198
|
+
*/
|
|
4199
|
+
export interface TranscriptFilter {
|
|
3880
4200
|
/**
|
|
3881
|
-
* <p>
|
|
3882
|
-
*
|
|
4201
|
+
* <p>The object representing the filter that Amazon Lex will use to select the
|
|
4202
|
+
* appropriate transcript when the transcript format is the Amazon Lex
|
|
4203
|
+
* format.</p>
|
|
3883
4204
|
*/
|
|
3884
|
-
|
|
4205
|
+
lexTranscriptFilter?: LexTranscriptFilter;
|
|
4206
|
+
}
|
|
4207
|
+
export declare namespace TranscriptFilter {
|
|
3885
4208
|
/**
|
|
3886
|
-
*
|
|
3887
|
-
* created.</p>
|
|
4209
|
+
* @internal
|
|
3888
4210
|
*/
|
|
3889
|
-
|
|
4211
|
+
const filterSensitiveLog: (obj: TranscriptFilter) => any;
|
|
3890
4212
|
}
|
|
3891
|
-
export declare
|
|
4213
|
+
export declare enum TranscriptFormat {
|
|
4214
|
+
Lex = "Lex"
|
|
4215
|
+
}
|
|
4216
|
+
/**
|
|
4217
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
4218
|
+
* as well as the associated metadata.</p>
|
|
4219
|
+
*/
|
|
4220
|
+
export interface S3BucketTranscriptSource {
|
|
4221
|
+
/**
|
|
4222
|
+
* <p>The name of the bucket containing the transcript and the associated
|
|
4223
|
+
* metadata.</p>
|
|
4224
|
+
*/
|
|
4225
|
+
s3BucketName: string | undefined;
|
|
4226
|
+
/**
|
|
4227
|
+
* <p>The object that contains a path format that will be applied when
|
|
4228
|
+
* Amazon Lex reads the transcript file in the bucket you provide. Specify this
|
|
4229
|
+
* object if you only want Lex to read a subset of files in your Amazon S3
|
|
4230
|
+
* bucket.</p>
|
|
4231
|
+
*/
|
|
4232
|
+
pathFormat?: PathFormat;
|
|
4233
|
+
/**
|
|
4234
|
+
* <p>The format of the transcript content. Currently, Genie only supports
|
|
4235
|
+
* the Amazon Lex transcript format.</p>
|
|
4236
|
+
*/
|
|
4237
|
+
transcriptFormat: TranscriptFormat | string | undefined;
|
|
4238
|
+
/**
|
|
4239
|
+
* <p>The object that contains the filter which will be applied when Amazon Lex
|
|
4240
|
+
* reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to
|
|
4241
|
+
* read only a subset of the Amazon S3 bucket based on the filter you
|
|
4242
|
+
* provide.</p>
|
|
4243
|
+
*/
|
|
4244
|
+
transcriptFilter?: TranscriptFilter;
|
|
4245
|
+
/**
|
|
4246
|
+
* <p>The ARN of the KMS key that customer use to encrypt their Amazon S3
|
|
4247
|
+
* bucket. Only use this field if your bucket is encrypted using a
|
|
4248
|
+
* customer managed KMS key.</p>
|
|
4249
|
+
*/
|
|
4250
|
+
kmsKeyArn?: string;
|
|
4251
|
+
}
|
|
4252
|
+
export declare namespace S3BucketTranscriptSource {
|
|
3892
4253
|
/**
|
|
3893
4254
|
* @internal
|
|
3894
4255
|
*/
|
|
3895
|
-
const filterSensitiveLog: (obj:
|
|
4256
|
+
const filterSensitiveLog: (obj: S3BucketTranscriptSource) => any;
|
|
3896
4257
|
}
|
|
3897
|
-
|
|
4258
|
+
/**
|
|
4259
|
+
* <p>Indicates the setting of the location where the transcript is
|
|
4260
|
+
* stored.</p>
|
|
4261
|
+
*/
|
|
4262
|
+
export interface TranscriptSourceSetting {
|
|
3898
4263
|
/**
|
|
3899
|
-
* <p>
|
|
4264
|
+
* <p>Indicates the setting of the Amazon S3 bucket where the transcript is
|
|
4265
|
+
* stored.</p>
|
|
3900
4266
|
*/
|
|
3901
|
-
|
|
4267
|
+
s3BucketTranscriptSource?: S3BucketTranscriptSource;
|
|
3902
4268
|
}
|
|
3903
|
-
export declare namespace
|
|
4269
|
+
export declare namespace TranscriptSourceSetting {
|
|
3904
4270
|
/**
|
|
3905
4271
|
* @internal
|
|
3906
4272
|
*/
|
|
3907
|
-
const filterSensitiveLog: (obj:
|
|
4273
|
+
const filterSensitiveLog: (obj: TranscriptSourceSetting) => any;
|
|
3908
4274
|
}
|
|
3909
|
-
export interface
|
|
4275
|
+
export interface DescribeBotRecommendationResponse {
|
|
3910
4276
|
/**
|
|
3911
|
-
* <p>The
|
|
4277
|
+
* <p>The identifier of the bot associated with the bot
|
|
4278
|
+
* recommendation.</p>
|
|
3912
4279
|
*/
|
|
3913
|
-
|
|
4280
|
+
botId?: string;
|
|
3914
4281
|
/**
|
|
3915
|
-
* <p>The
|
|
3916
|
-
*
|
|
4282
|
+
* <p>The version of the bot associated with the bot
|
|
4283
|
+
* recommendation.</p>
|
|
3917
4284
|
*/
|
|
3918
|
-
|
|
4285
|
+
botVersion?: string;
|
|
3919
4286
|
/**
|
|
3920
|
-
* <p>The
|
|
3921
|
-
*
|
|
4287
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
4288
|
+
* to describe.</p>
|
|
3922
4289
|
*/
|
|
3923
|
-
|
|
4290
|
+
localeId?: string;
|
|
3924
4291
|
/**
|
|
3925
|
-
* <p>The status of the
|
|
3926
|
-
* the
|
|
4292
|
+
* <p>The status of the bot recommendation. If the status is Failed, then
|
|
4293
|
+
* the reasons for the failure are listed in the failureReasons field.
|
|
4294
|
+
* </p>
|
|
3927
4295
|
*/
|
|
3928
|
-
|
|
4296
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
3929
4297
|
/**
|
|
3930
|
-
* <p>
|
|
3931
|
-
* reasons why the export could not be completed.</p>
|
|
4298
|
+
* <p>The identifier of the bot recommendation being described.</p>
|
|
3932
4299
|
*/
|
|
3933
|
-
|
|
4300
|
+
botRecommendationId?: string;
|
|
3934
4301
|
/**
|
|
3935
|
-
* <p>
|
|
3936
|
-
* The URL is only available for 5 minutes after calling the
|
|
3937
|
-
* <code>DescribeExport</code> operation.</p>
|
|
4302
|
+
* <p>If botRecommendationStatus is Failed, Amazon Lex explains why.</p>
|
|
3938
4303
|
*/
|
|
3939
|
-
|
|
4304
|
+
failureReasons?: string[];
|
|
3940
4305
|
/**
|
|
3941
|
-
* <p>The date and time that the
|
|
4306
|
+
* <p>The date and time that the bot recommendation was created.</p>
|
|
3942
4307
|
*/
|
|
3943
4308
|
creationDateTime?: Date;
|
|
3944
4309
|
/**
|
|
3945
|
-
* <p>The
|
|
4310
|
+
* <p>The date and time that the bot recommendation was last
|
|
4311
|
+
* updated.</p>
|
|
3946
4312
|
*/
|
|
3947
4313
|
lastUpdatedDateTime?: Date;
|
|
3948
|
-
}
|
|
3949
|
-
export declare namespace DescribeExportResponse {
|
|
3950
4314
|
/**
|
|
3951
|
-
*
|
|
4315
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
4316
|
+
* as well as the associated metadata.</p>
|
|
3952
4317
|
*/
|
|
3953
|
-
|
|
4318
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
4319
|
+
/**
|
|
4320
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
4321
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
4322
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
4323
|
+
*/
|
|
4324
|
+
encryptionSetting?: EncryptionSetting;
|
|
4325
|
+
/**
|
|
4326
|
+
* <p>The object representing the URL of the bot definition, the URL of
|
|
4327
|
+
* the associated transcript and a statistical summary of the bot
|
|
4328
|
+
* recommendation results.</p>
|
|
4329
|
+
*/
|
|
4330
|
+
botRecommendationResults?: BotRecommendationResults;
|
|
4331
|
+
}
|
|
4332
|
+
export declare namespace DescribeBotRecommendationResponse {
|
|
4333
|
+
/**
|
|
4334
|
+
* @internal
|
|
4335
|
+
*/
|
|
4336
|
+
const filterSensitiveLog: (obj: DescribeBotRecommendationResponse) => any;
|
|
4337
|
+
}
|
|
4338
|
+
export interface DescribeBotVersionRequest {
|
|
4339
|
+
/**
|
|
4340
|
+
* <p>The identifier of the bot containing the version to return metadata
|
|
4341
|
+
* for.</p>
|
|
4342
|
+
*/
|
|
4343
|
+
botId: string | undefined;
|
|
4344
|
+
/**
|
|
4345
|
+
* <p>The version of the bot to return metadata for.</p>
|
|
4346
|
+
*/
|
|
4347
|
+
botVersion: string | undefined;
|
|
4348
|
+
}
|
|
4349
|
+
export declare namespace DescribeBotVersionRequest {
|
|
4350
|
+
/**
|
|
4351
|
+
* @internal
|
|
4352
|
+
*/
|
|
4353
|
+
const filterSensitiveLog: (obj: DescribeBotVersionRequest) => any;
|
|
4354
|
+
}
|
|
4355
|
+
export interface DescribeBotVersionResponse {
|
|
4356
|
+
/**
|
|
4357
|
+
* <p>The identifier of the bot that contains the version.</p>
|
|
4358
|
+
*/
|
|
4359
|
+
botId?: string;
|
|
4360
|
+
/**
|
|
4361
|
+
* <p>The name of the bot that contains the version.</p>
|
|
4362
|
+
*/
|
|
4363
|
+
botName?: string;
|
|
4364
|
+
/**
|
|
4365
|
+
* <p>The version of the bot to describe.</p>
|
|
4366
|
+
*/
|
|
4367
|
+
botVersion?: string;
|
|
4368
|
+
/**
|
|
4369
|
+
* <p>The description specified for the bot.</p>
|
|
4370
|
+
*/
|
|
4371
|
+
description?: string;
|
|
4372
|
+
/**
|
|
4373
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that has permission to
|
|
4374
|
+
* access the bot version.</p>
|
|
4375
|
+
*/
|
|
4376
|
+
roleArn?: string;
|
|
4377
|
+
/**
|
|
4378
|
+
* <p>Data privacy settings for the bot version.</p>
|
|
4379
|
+
*/
|
|
4380
|
+
dataPrivacy?: DataPrivacy;
|
|
4381
|
+
/**
|
|
4382
|
+
* <p>The number of seconds that a session with the bot remains active
|
|
4383
|
+
* before it is discarded by Amazon Lex.</p>
|
|
4384
|
+
*/
|
|
4385
|
+
idleSessionTTLInSeconds?: number;
|
|
4386
|
+
/**
|
|
4387
|
+
* <p>The current status of the bot. When the status is
|
|
4388
|
+
* <code>Available</code>, the bot version is ready for use.</p>
|
|
4389
|
+
*/
|
|
4390
|
+
botStatus?: BotStatus | string;
|
|
4391
|
+
/**
|
|
4392
|
+
* <p>If the <code>botStatus</code> is <code>Failed</code>, this contains
|
|
4393
|
+
* a list of reasons that the version couldn't be built.</p>
|
|
4394
|
+
*/
|
|
4395
|
+
failureReasons?: string[];
|
|
4396
|
+
/**
|
|
4397
|
+
* <p>A timestamp of the date and time that the bot version was
|
|
4398
|
+
* created.</p>
|
|
4399
|
+
*/
|
|
4400
|
+
creationDateTime?: Date;
|
|
4401
|
+
}
|
|
4402
|
+
export declare namespace DescribeBotVersionResponse {
|
|
4403
|
+
/**
|
|
4404
|
+
* @internal
|
|
4405
|
+
*/
|
|
4406
|
+
const filterSensitiveLog: (obj: DescribeBotVersionResponse) => any;
|
|
4407
|
+
}
|
|
4408
|
+
export interface DescribeExportRequest {
|
|
4409
|
+
/**
|
|
4410
|
+
* <p>The unique identifier of the export to describe.</p>
|
|
4411
|
+
*/
|
|
4412
|
+
exportId: string | undefined;
|
|
4413
|
+
}
|
|
4414
|
+
export declare namespace DescribeExportRequest {
|
|
4415
|
+
/**
|
|
4416
|
+
* @internal
|
|
4417
|
+
*/
|
|
4418
|
+
const filterSensitiveLog: (obj: DescribeExportRequest) => any;
|
|
4419
|
+
}
|
|
4420
|
+
export interface DescribeExportResponse {
|
|
4421
|
+
/**
|
|
4422
|
+
* <p>The unique identifier of the described export.</p>
|
|
4423
|
+
*/
|
|
4424
|
+
exportId?: string;
|
|
4425
|
+
/**
|
|
4426
|
+
* <p>The bot, bot ID, and optional locale ID of the exported bot or bot
|
|
4427
|
+
* locale.</p>
|
|
4428
|
+
*/
|
|
4429
|
+
resourceSpecification?: ExportResourceSpecification;
|
|
4430
|
+
/**
|
|
4431
|
+
* <p>The file format used in the files that describe the bot or bot
|
|
4432
|
+
* locale.</p>
|
|
4433
|
+
*/
|
|
4434
|
+
fileFormat?: ImportExportFileFormat | string;
|
|
4435
|
+
/**
|
|
4436
|
+
* <p>The status of the export. When the status is <code>Complete</code>
|
|
4437
|
+
* the export archive file is available for download.</p>
|
|
4438
|
+
*/
|
|
4439
|
+
exportStatus?: ExportStatus | string;
|
|
4440
|
+
/**
|
|
4441
|
+
* <p>If the <code>exportStatus</code> is failed, contains one or more
|
|
4442
|
+
* reasons why the export could not be completed.</p>
|
|
4443
|
+
*/
|
|
4444
|
+
failureReasons?: string[];
|
|
4445
|
+
/**
|
|
4446
|
+
* <p>A pre-signed S3 URL that points to the bot or bot locale archive.
|
|
4447
|
+
* The URL is only available for 5 minutes after calling the
|
|
4448
|
+
* <code>DescribeExport</code> operation.</p>
|
|
4449
|
+
*/
|
|
4450
|
+
downloadUrl?: string;
|
|
4451
|
+
/**
|
|
4452
|
+
* <p>The date and time that the export was created.</p>
|
|
4453
|
+
*/
|
|
4454
|
+
creationDateTime?: Date;
|
|
4455
|
+
/**
|
|
4456
|
+
* <p>The last date and time that the export was updated.</p>
|
|
4457
|
+
*/
|
|
4458
|
+
lastUpdatedDateTime?: Date;
|
|
4459
|
+
}
|
|
4460
|
+
export declare namespace DescribeExportResponse {
|
|
4461
|
+
/**
|
|
4462
|
+
* @internal
|
|
4463
|
+
*/
|
|
4464
|
+
const filterSensitiveLog: (obj: DescribeExportResponse) => any;
|
|
3954
4465
|
}
|
|
3955
4466
|
export interface DescribeImportRequest {
|
|
3956
4467
|
/**
|
|
@@ -3965,6 +4476,7 @@ export declare namespace DescribeImportRequest {
|
|
|
3965
4476
|
const filterSensitiveLog: (obj: DescribeImportRequest) => any;
|
|
3966
4477
|
}
|
|
3967
4478
|
export declare enum MergeStrategy {
|
|
4479
|
+
Append = "Append",
|
|
3968
4480
|
FailOnConflict = "FailOnConflict",
|
|
3969
4481
|
Overwrite = "Overwrite"
|
|
3970
4482
|
}
|
|
@@ -4387,6 +4899,11 @@ export interface DescribeSlotTypeResponse {
|
|
|
4387
4899
|
* updated.</p>
|
|
4388
4900
|
*/
|
|
4389
4901
|
lastUpdatedDateTime?: Date;
|
|
4902
|
+
/**
|
|
4903
|
+
* <p>Provides information about the external source of the slot type's
|
|
4904
|
+
* definition.</p>
|
|
4905
|
+
*/
|
|
4906
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
4390
4907
|
}
|
|
4391
4908
|
export declare namespace DescribeSlotTypeResponse {
|
|
4392
4909
|
/**
|
|
@@ -4402,8 +4919,7 @@ export declare enum ExportFilterOperator {
|
|
|
4402
4919
|
Equals = "EQ"
|
|
4403
4920
|
}
|
|
4404
4921
|
/**
|
|
4405
|
-
* <p>Filters the response form the
|
|
4406
|
-
* operation</p>
|
|
4922
|
+
* <p>Filters the response form the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html">ListExports</a> operation</p>
|
|
4407
4923
|
*/
|
|
4408
4924
|
export interface ExportFilter {
|
|
4409
4925
|
/**
|
|
@@ -4496,8 +5012,7 @@ export declare enum ImportFilterOperator {
|
|
|
4496
5012
|
Equals = "EQ"
|
|
4497
5013
|
}
|
|
4498
5014
|
/**
|
|
4499
|
-
* <p>Filters the response from the
|
|
4500
|
-
* operation.</p>
|
|
5015
|
+
* <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html">ListImports</a> operation.</p>
|
|
4501
5016
|
*/
|
|
4502
5017
|
export interface ImportFilter {
|
|
4503
5018
|
/**
|
|
@@ -5047,6 +5562,81 @@ export declare namespace ListBotLocalesResponse {
|
|
|
5047
5562
|
*/
|
|
5048
5563
|
const filterSensitiveLog: (obj: ListBotLocalesResponse) => any;
|
|
5049
5564
|
}
|
|
5565
|
+
export interface ListBotRecommendationsRequest {
|
|
5566
|
+
/**
|
|
5567
|
+
* <p>The unique identifier of the bot that contains the bot
|
|
5568
|
+
* recommendation list.</p>
|
|
5569
|
+
*/
|
|
5570
|
+
botId: string | undefined;
|
|
5571
|
+
/**
|
|
5572
|
+
* <p>The version of the bot that contains the bot recommendation
|
|
5573
|
+
* list.</p>
|
|
5574
|
+
*/
|
|
5575
|
+
botVersion: string | undefined;
|
|
5576
|
+
/**
|
|
5577
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
5578
|
+
* list.</p>
|
|
5579
|
+
*/
|
|
5580
|
+
localeId: string | undefined;
|
|
5581
|
+
/**
|
|
5582
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
5583
|
+
* results. If there are fewer results than the max page size, only the
|
|
5584
|
+
* actual number of results are returned.</p>
|
|
5585
|
+
*/
|
|
5586
|
+
maxResults?: number;
|
|
5587
|
+
/**
|
|
5588
|
+
* <p>If the response from the ListBotRecommendation operation contains
|
|
5589
|
+
* more results than specified in the maxResults parameter, a token is
|
|
5590
|
+
* returned in the response. Use that token in the nextToken parameter to
|
|
5591
|
+
* return the next page of results.</p>
|
|
5592
|
+
*/
|
|
5593
|
+
nextToken?: string;
|
|
5594
|
+
}
|
|
5595
|
+
export declare namespace ListBotRecommendationsRequest {
|
|
5596
|
+
/**
|
|
5597
|
+
* @internal
|
|
5598
|
+
*/
|
|
5599
|
+
const filterSensitiveLog: (obj: ListBotRecommendationsRequest) => any;
|
|
5600
|
+
}
|
|
5601
|
+
export interface ListBotRecommendationsResponse {
|
|
5602
|
+
/**
|
|
5603
|
+
* <p>The unique identifier of the bot that contains the bot
|
|
5604
|
+
* recommendation list.</p>
|
|
5605
|
+
*/
|
|
5606
|
+
botId?: string;
|
|
5607
|
+
/**
|
|
5608
|
+
* <p>The version of the bot that contains the bot recommendation
|
|
5609
|
+
* list.</p>
|
|
5610
|
+
*/
|
|
5611
|
+
botVersion?: string;
|
|
5612
|
+
/**
|
|
5613
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
5614
|
+
* list.</p>
|
|
5615
|
+
*/
|
|
5616
|
+
localeId?: string;
|
|
5617
|
+
/**
|
|
5618
|
+
* <p>Summary information for the bot recommendations that meet the filter
|
|
5619
|
+
* specified in this request. The length of the list is specified in the
|
|
5620
|
+
* maxResults parameter of the request. If there are more bot
|
|
5621
|
+
* recommendations available, the nextToken field contains a token to get
|
|
5622
|
+
* the next page of results.</p>
|
|
5623
|
+
*/
|
|
5624
|
+
botRecommendationSummaries?: BotRecommendationSummary[];
|
|
5625
|
+
/**
|
|
5626
|
+
* <p>A token that indicates whether there are more results to return in a
|
|
5627
|
+
* response to the ListBotRecommendations operation. If the nextToken
|
|
5628
|
+
* field is present, you send the contents as the nextToken parameter of a
|
|
5629
|
+
* ListBotRecommendations operation request to get the next page of
|
|
5630
|
+
* results. </p>
|
|
5631
|
+
*/
|
|
5632
|
+
nextToken?: string;
|
|
5633
|
+
}
|
|
5634
|
+
export declare namespace ListBotRecommendationsResponse {
|
|
5635
|
+
/**
|
|
5636
|
+
* @internal
|
|
5637
|
+
*/
|
|
5638
|
+
const filterSensitiveLog: (obj: ListBotRecommendationsResponse) => any;
|
|
5639
|
+
}
|
|
5050
5640
|
export interface ListBotsRequest {
|
|
5051
5641
|
/**
|
|
5052
5642
|
* <p>Specifies sorting parameters for the list of bots. You can specify
|
|
@@ -5525,6 +6115,116 @@ export declare namespace ListIntentsResponse {
|
|
|
5525
6115
|
*/
|
|
5526
6116
|
const filterSensitiveLog: (obj: ListIntentsResponse) => any;
|
|
5527
6117
|
}
|
|
6118
|
+
export interface ListRecommendedIntentsRequest {
|
|
6119
|
+
/**
|
|
6120
|
+
* <p>The unique identifier of the bot associated with the recommended
|
|
6121
|
+
* intents.</p>
|
|
6122
|
+
*/
|
|
6123
|
+
botId: string | undefined;
|
|
6124
|
+
/**
|
|
6125
|
+
* <p>The version of the bot that contains the recommended intents.</p>
|
|
6126
|
+
*/
|
|
6127
|
+
botVersion: string | undefined;
|
|
6128
|
+
/**
|
|
6129
|
+
* <p>The identifier of the language and locale of the recommended
|
|
6130
|
+
* intents.</p>
|
|
6131
|
+
*/
|
|
6132
|
+
localeId: string | undefined;
|
|
6133
|
+
/**
|
|
6134
|
+
* <p>The identifier of the bot recommendation that contains the
|
|
6135
|
+
* recommended intents.</p>
|
|
6136
|
+
*/
|
|
6137
|
+
botRecommendationId: string | undefined;
|
|
6138
|
+
/**
|
|
6139
|
+
* <p>If the response from the ListRecommendedIntents operation contains
|
|
6140
|
+
* more results than specified in the maxResults parameter, a token is
|
|
6141
|
+
* returned in the response. Use that token in the nextToken parameter to
|
|
6142
|
+
* return the next page of results.</p>
|
|
6143
|
+
*/
|
|
6144
|
+
nextToken?: string;
|
|
6145
|
+
/**
|
|
6146
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
6147
|
+
* results. If there are fewer results than the max page size, only the
|
|
6148
|
+
* actual number of results are returned.</p>
|
|
6149
|
+
*/
|
|
6150
|
+
maxResults?: number;
|
|
6151
|
+
}
|
|
6152
|
+
export declare namespace ListRecommendedIntentsRequest {
|
|
6153
|
+
/**
|
|
6154
|
+
* @internal
|
|
6155
|
+
*/
|
|
6156
|
+
const filterSensitiveLog: (obj: ListRecommendedIntentsRequest) => any;
|
|
6157
|
+
}
|
|
6158
|
+
/**
|
|
6159
|
+
* <p>An object that contains a summary of a recommended intent.</p>
|
|
6160
|
+
*/
|
|
6161
|
+
export interface RecommendedIntentSummary {
|
|
6162
|
+
/**
|
|
6163
|
+
* <p>The unique identifier of a recommended intent associated with the
|
|
6164
|
+
* bot recommendation.</p>
|
|
6165
|
+
*/
|
|
6166
|
+
intentId?: string;
|
|
6167
|
+
/**
|
|
6168
|
+
* <p>The name of a recommended intent associated with the bot
|
|
6169
|
+
* recommendation.</p>
|
|
6170
|
+
*/
|
|
6171
|
+
intentName?: string;
|
|
6172
|
+
/**
|
|
6173
|
+
* <p>The count of sample utterances of a recommended intent that is
|
|
6174
|
+
* associated with a bot recommendation.</p>
|
|
6175
|
+
*/
|
|
6176
|
+
sampleUtterancesCount?: number;
|
|
6177
|
+
}
|
|
6178
|
+
export declare namespace RecommendedIntentSummary {
|
|
6179
|
+
/**
|
|
6180
|
+
* @internal
|
|
6181
|
+
*/
|
|
6182
|
+
const filterSensitiveLog: (obj: RecommendedIntentSummary) => any;
|
|
6183
|
+
}
|
|
6184
|
+
export interface ListRecommendedIntentsResponse {
|
|
6185
|
+
/**
|
|
6186
|
+
* <p>The unique identifier of the bot associated with the recommended
|
|
6187
|
+
* intent.</p>
|
|
6188
|
+
*/
|
|
6189
|
+
botId?: string;
|
|
6190
|
+
/**
|
|
6191
|
+
* <p>The version of the bot that contains the intent.</p>
|
|
6192
|
+
*/
|
|
6193
|
+
botVersion?: string;
|
|
6194
|
+
/**
|
|
6195
|
+
* <p>The identifier of the language and locale of the intents to list.
|
|
6196
|
+
* The string must match one of the supported locales. For more
|
|
6197
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
6198
|
+
*/
|
|
6199
|
+
localeId?: string;
|
|
6200
|
+
/**
|
|
6201
|
+
* <p>The identifier of the bot recommendation that contains the
|
|
6202
|
+
* recommended intent.</p>
|
|
6203
|
+
*/
|
|
6204
|
+
botRecommendationId?: string;
|
|
6205
|
+
/**
|
|
6206
|
+
* <p>Summary information for the intents that meet the filter criteria
|
|
6207
|
+
* specified in the request. The length of the list is specified in the
|
|
6208
|
+
* maxResults parameter of the request. If there are more intents
|
|
6209
|
+
* available, the nextToken field contains a token to get the next page of
|
|
6210
|
+
* results.</p>
|
|
6211
|
+
*/
|
|
6212
|
+
summaryList?: RecommendedIntentSummary[];
|
|
6213
|
+
/**
|
|
6214
|
+
* <p>A token that indicates whether there are more results to return in a
|
|
6215
|
+
* response to the ListRecommendedIntents operation. If the nextToken
|
|
6216
|
+
* field is present, you send the contents as the nextToken parameter of a
|
|
6217
|
+
* ListRecommendedIntents operation request to get the next page of
|
|
6218
|
+
* results.</p>
|
|
6219
|
+
*/
|
|
6220
|
+
nextToken?: string;
|
|
6221
|
+
}
|
|
6222
|
+
export declare namespace ListRecommendedIntentsResponse {
|
|
6223
|
+
/**
|
|
6224
|
+
* @internal
|
|
6225
|
+
*/
|
|
6226
|
+
const filterSensitiveLog: (obj: ListRecommendedIntentsResponse) => any;
|
|
6227
|
+
}
|
|
5528
6228
|
export declare enum SlotFilterName {
|
|
5529
6229
|
SlotName = "SlotName"
|
|
5530
6230
|
}
|
|
@@ -5722,6 +6422,7 @@ export declare namespace ListSlotsResponse {
|
|
|
5722
6422
|
const filterSensitiveLog: (obj: ListSlotsResponse) => any;
|
|
5723
6423
|
}
|
|
5724
6424
|
export declare enum SlotTypeFilterName {
|
|
6425
|
+
ExternalSourceType = "ExternalSourceType",
|
|
5725
6426
|
SlotTypeName = "SlotTypeName"
|
|
5726
6427
|
}
|
|
5727
6428
|
export declare enum SlotTypeFilterOperator {
|
|
@@ -5830,6 +6531,11 @@ export declare namespace ListSlotTypesRequest {
|
|
|
5830
6531
|
*/
|
|
5831
6532
|
const filterSensitiveLog: (obj: ListSlotTypesRequest) => any;
|
|
5832
6533
|
}
|
|
6534
|
+
export declare enum SlotTypeCategory {
|
|
6535
|
+
Custom = "Custom",
|
|
6536
|
+
Extended = "Extended",
|
|
6537
|
+
ExternalGrammar = "ExternalGrammar"
|
|
6538
|
+
}
|
|
5833
6539
|
/**
|
|
5834
6540
|
* <p>Provides summary information about a slot type.</p>
|
|
5835
6541
|
*/
|
|
@@ -5856,6 +6562,29 @@ export interface SlotTypeSummary {
|
|
|
5856
6562
|
* updated.</p>
|
|
5857
6563
|
*/
|
|
5858
6564
|
lastUpdatedDateTime?: Date;
|
|
6565
|
+
/**
|
|
6566
|
+
* <p>Indicates the type of the slot type.</p>
|
|
6567
|
+
* <ul>
|
|
6568
|
+
* <li>
|
|
6569
|
+
* <p>
|
|
6570
|
+
* <code>Custom</code> - A slot type that you created using
|
|
6571
|
+
* custom values. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html">Creating custom slot
|
|
6572
|
+
* types</a>.</p>
|
|
6573
|
+
* </li>
|
|
6574
|
+
* <li>
|
|
6575
|
+
* <p>
|
|
6576
|
+
* <code>Extended</code> - A slot type created by extending the
|
|
6577
|
+
* AMAZON.AlphaNumeric built-in slot type. For more information, see
|
|
6578
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html">AMAZON.AlphaNumeric</a>.</p>
|
|
6579
|
+
* </li>
|
|
6580
|
+
* <li>
|
|
6581
|
+
* <p>
|
|
6582
|
+
* <code>ExternalGrammar</code> - A slot type using a custom
|
|
6583
|
+
* GRXML grammar to define values. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html">Using a custom grammar slot type</a>.</p>
|
|
6584
|
+
* </li>
|
|
6585
|
+
* </ul>
|
|
6586
|
+
*/
|
|
6587
|
+
slotTypeCategory?: SlotTypeCategory | string;
|
|
5859
6588
|
}
|
|
5860
6589
|
export declare namespace SlotTypeSummary {
|
|
5861
6590
|
/**
|
|
@@ -5926,10 +6655,199 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
5926
6655
|
*/
|
|
5927
6656
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
5928
6657
|
}
|
|
6658
|
+
export declare enum SearchOrder {
|
|
6659
|
+
Ascending = "Ascending",
|
|
6660
|
+
Descending = "Descending"
|
|
6661
|
+
}
|
|
6662
|
+
export interface SearchAssociatedTranscriptsRequest {
|
|
6663
|
+
/**
|
|
6664
|
+
* <p>The unique identifier of the bot associated with the transcripts
|
|
6665
|
+
* that you are searching.</p>
|
|
6666
|
+
*/
|
|
6667
|
+
botId: string | undefined;
|
|
6668
|
+
/**
|
|
6669
|
+
* <p>The version of the bot containing the transcripts that you are
|
|
6670
|
+
* searching.</p>
|
|
6671
|
+
*/
|
|
6672
|
+
botVersion: string | undefined;
|
|
6673
|
+
/**
|
|
6674
|
+
* <p>The identifier of the language and locale of the transcripts to
|
|
6675
|
+
* search. The string must match one of the supported locales. For more
|
|
6676
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6677
|
+
* </p>
|
|
6678
|
+
*/
|
|
6679
|
+
localeId: string | undefined;
|
|
6680
|
+
/**
|
|
6681
|
+
* <p>The unique identifier of the bot recommendation associated with the
|
|
6682
|
+
* transcripts to search.</p>
|
|
6683
|
+
*/
|
|
6684
|
+
botRecommendationId: string | undefined;
|
|
6685
|
+
/**
|
|
6686
|
+
* <p>How SearchResults are ordered. Valid values are Ascending or
|
|
6687
|
+
* Descending. The default is Descending.</p>
|
|
6688
|
+
*/
|
|
6689
|
+
searchOrder?: SearchOrder | string;
|
|
6690
|
+
/**
|
|
6691
|
+
* <p>A list of filter objects.</p>
|
|
6692
|
+
*/
|
|
6693
|
+
filters: AssociatedTranscriptFilter[] | undefined;
|
|
6694
|
+
/**
|
|
6695
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
6696
|
+
* results. If there are fewer results than the max page size, only the
|
|
6697
|
+
* actual number of results are returned.</p>
|
|
6698
|
+
*/
|
|
6699
|
+
maxResults?: number;
|
|
6700
|
+
/**
|
|
6701
|
+
* <p>If the response from the SearchAssociatedTranscriptsRequest
|
|
6702
|
+
* operation contains more results than specified in the maxResults
|
|
6703
|
+
* parameter, an index is returned in the response. Use that index in the
|
|
6704
|
+
* nextIndex parameter to return the next page of results.</p>
|
|
6705
|
+
*/
|
|
6706
|
+
nextIndex?: number;
|
|
6707
|
+
}
|
|
6708
|
+
export declare namespace SearchAssociatedTranscriptsRequest {
|
|
6709
|
+
/**
|
|
6710
|
+
* @internal
|
|
6711
|
+
*/
|
|
6712
|
+
const filterSensitiveLog: (obj: SearchAssociatedTranscriptsRequest) => any;
|
|
6713
|
+
}
|
|
6714
|
+
export interface SearchAssociatedTranscriptsResponse {
|
|
6715
|
+
/**
|
|
6716
|
+
* <p>The unique identifier of the bot associated with the transcripts
|
|
6717
|
+
* that you are searching.</p>
|
|
6718
|
+
*/
|
|
6719
|
+
botId?: string;
|
|
6720
|
+
/**
|
|
6721
|
+
* <p>The version of the bot containing the transcripts that you are
|
|
6722
|
+
* searching.</p>
|
|
6723
|
+
*/
|
|
6724
|
+
botVersion?: string;
|
|
6725
|
+
/**
|
|
6726
|
+
* <p>The identifier of the language and locale of the transcripts to
|
|
6727
|
+
* search. The string must match one of the supported locales. For more
|
|
6728
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6729
|
+
* </p>
|
|
6730
|
+
*/
|
|
6731
|
+
localeId?: string;
|
|
6732
|
+
/**
|
|
6733
|
+
* <p> The unique identifier of the bot recommendation associated with the
|
|
6734
|
+
* transcripts to search.</p>
|
|
6735
|
+
*/
|
|
6736
|
+
botRecommendationId?: string;
|
|
6737
|
+
/**
|
|
6738
|
+
* <p>A index that indicates whether there are more results to return in a
|
|
6739
|
+
* response to the SearchAssociatedTranscripts operation. If the nextIndex
|
|
6740
|
+
* field is present, you send the contents as the nextIndex parameter of a
|
|
6741
|
+
* SearchAssociatedTranscriptsRequest operation to get the next page of
|
|
6742
|
+
* results.</p>
|
|
6743
|
+
*/
|
|
6744
|
+
nextIndex?: number;
|
|
6745
|
+
/**
|
|
6746
|
+
* <p>The object that contains the associated transcript that meet the
|
|
6747
|
+
* criteria you specified.</p>
|
|
6748
|
+
*/
|
|
6749
|
+
associatedTranscripts?: AssociatedTranscript[];
|
|
6750
|
+
/**
|
|
6751
|
+
* <p>The total number of transcripts returned by the search.</p>
|
|
6752
|
+
*/
|
|
6753
|
+
totalResults?: number;
|
|
6754
|
+
}
|
|
6755
|
+
export declare namespace SearchAssociatedTranscriptsResponse {
|
|
6756
|
+
/**
|
|
6757
|
+
* @internal
|
|
6758
|
+
*/
|
|
6759
|
+
const filterSensitiveLog: (obj: SearchAssociatedTranscriptsResponse) => any;
|
|
6760
|
+
}
|
|
6761
|
+
export interface StartBotRecommendationRequest {
|
|
6762
|
+
/**
|
|
6763
|
+
* <p>The unique identifier of the bot containing the bot
|
|
6764
|
+
* recommendation.</p>
|
|
6765
|
+
*/
|
|
6766
|
+
botId: string | undefined;
|
|
6767
|
+
/**
|
|
6768
|
+
* <p>The version of the bot containing the bot recommendation.</p>
|
|
6769
|
+
*/
|
|
6770
|
+
botVersion: string | undefined;
|
|
6771
|
+
/**
|
|
6772
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
6773
|
+
* to start. The string must match one of the supported locales. For more
|
|
6774
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6775
|
+
* </p>
|
|
6776
|
+
*/
|
|
6777
|
+
localeId: string | undefined;
|
|
6778
|
+
/**
|
|
6779
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
6780
|
+
* as well as the associated metadata.</p>
|
|
6781
|
+
*/
|
|
6782
|
+
transcriptSourceSetting: TranscriptSourceSetting | undefined;
|
|
6783
|
+
/**
|
|
6784
|
+
* <p>The object representing the passwords that will be used to encrypt
|
|
6785
|
+
* the data related to the bot recommendation results, as well as the KMS
|
|
6786
|
+
* key ARN used to encrypt the associated metadata.</p>
|
|
6787
|
+
*/
|
|
6788
|
+
encryptionSetting?: EncryptionSetting;
|
|
6789
|
+
}
|
|
6790
|
+
export declare namespace StartBotRecommendationRequest {
|
|
6791
|
+
/**
|
|
6792
|
+
* @internal
|
|
6793
|
+
*/
|
|
6794
|
+
const filterSensitiveLog: (obj: StartBotRecommendationRequest) => any;
|
|
6795
|
+
}
|
|
6796
|
+
export interface StartBotRecommendationResponse {
|
|
6797
|
+
/**
|
|
6798
|
+
* <p>The unique identifier of the bot containing the bot
|
|
6799
|
+
* recommendation.</p>
|
|
6800
|
+
*/
|
|
6801
|
+
botId?: string;
|
|
6802
|
+
/**
|
|
6803
|
+
* <p>The version of the bot containing the bot recommendation.</p>
|
|
6804
|
+
*/
|
|
6805
|
+
botVersion?: string;
|
|
6806
|
+
/**
|
|
6807
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
6808
|
+
* to start. The string must match one of the supported locales. For more
|
|
6809
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6810
|
+
* </p>
|
|
6811
|
+
*/
|
|
6812
|
+
localeId?: string;
|
|
6813
|
+
/**
|
|
6814
|
+
* <p>The status of the bot recommendation.</p>
|
|
6815
|
+
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
6816
|
+
* in the failureReasons field. </p>
|
|
6817
|
+
*/
|
|
6818
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
6819
|
+
/**
|
|
6820
|
+
* <p>The identifier of the bot recommendation that you have
|
|
6821
|
+
* created.</p>
|
|
6822
|
+
*/
|
|
6823
|
+
botRecommendationId?: string;
|
|
6824
|
+
/**
|
|
6825
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
6826
|
+
* created.</p>
|
|
6827
|
+
*/
|
|
6828
|
+
creationDateTime?: Date;
|
|
6829
|
+
/**
|
|
6830
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
6831
|
+
* as well as the associated metadata.</p>
|
|
6832
|
+
*/
|
|
6833
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
6834
|
+
/**
|
|
6835
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
6836
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
6837
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
6838
|
+
*/
|
|
6839
|
+
encryptionSetting?: EncryptionSetting;
|
|
6840
|
+
}
|
|
6841
|
+
export declare namespace StartBotRecommendationResponse {
|
|
6842
|
+
/**
|
|
6843
|
+
* @internal
|
|
6844
|
+
*/
|
|
6845
|
+
const filterSensitiveLog: (obj: StartBotRecommendationResponse) => any;
|
|
6846
|
+
}
|
|
5929
6847
|
export interface StartImportRequest {
|
|
5930
6848
|
/**
|
|
5931
6849
|
* <p>The unique identifier for the import. It is included in the response
|
|
5932
|
-
* from the
|
|
6850
|
+
* from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html">CreateUploadUrl</a> operation.</p>
|
|
5933
6851
|
*/
|
|
5934
6852
|
importId: string | undefined;
|
|
5935
6853
|
/**
|
|
@@ -6045,7 +6963,7 @@ export declare namespace UntagResourceResponse {
|
|
|
6045
6963
|
export interface UpdateBotRequest {
|
|
6046
6964
|
/**
|
|
6047
6965
|
* <p>The unique identifier of the bot to update. This identifier is
|
|
6048
|
-
* returned by the <a>CreateBot</a> operation.</p>
|
|
6966
|
+
* returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
6049
6967
|
*/
|
|
6050
6968
|
botId: string | undefined;
|
|
6051
6969
|
/**
|
|
@@ -6329,6 +7247,11 @@ export interface UpdateBotLocaleResponse {
|
|
|
6329
7247
|
* updated.</p>
|
|
6330
7248
|
*/
|
|
6331
7249
|
lastUpdatedDateTime?: Date;
|
|
7250
|
+
/**
|
|
7251
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
7252
|
+
* <code>failureReasons</code> field.</p>
|
|
7253
|
+
*/
|
|
7254
|
+
recommendedActions?: string[];
|
|
6332
7255
|
}
|
|
6333
7256
|
export declare namespace UpdateBotLocaleResponse {
|
|
6334
7257
|
/**
|
|
@@ -6336,6 +7259,99 @@ export declare namespace UpdateBotLocaleResponse {
|
|
|
6336
7259
|
*/
|
|
6337
7260
|
const filterSensitiveLog: (obj: UpdateBotLocaleResponse) => any;
|
|
6338
7261
|
}
|
|
7262
|
+
export interface UpdateBotRecommendationRequest {
|
|
7263
|
+
/**
|
|
7264
|
+
* <p>The unique identifier of the bot containing the bot recommendation
|
|
7265
|
+
* to be updated.</p>
|
|
7266
|
+
*/
|
|
7267
|
+
botId: string | undefined;
|
|
7268
|
+
/**
|
|
7269
|
+
* <p>The version of the bot containing the bot recommendation to be
|
|
7270
|
+
* updated.</p>
|
|
7271
|
+
*/
|
|
7272
|
+
botVersion: string | undefined;
|
|
7273
|
+
/**
|
|
7274
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
7275
|
+
* to update. The string must match one of the supported locales. For more
|
|
7276
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
7277
|
+
* </p>
|
|
7278
|
+
*/
|
|
7279
|
+
localeId: string | undefined;
|
|
7280
|
+
/**
|
|
7281
|
+
* <p>The unique identifier of the bot recommendation to be
|
|
7282
|
+
* updated.</p>
|
|
7283
|
+
*/
|
|
7284
|
+
botRecommendationId: string | undefined;
|
|
7285
|
+
/**
|
|
7286
|
+
* <p>The object representing the passwords that will be used to encrypt
|
|
7287
|
+
* the data related to the bot recommendation results, as well as the KMS
|
|
7288
|
+
* key ARN used to encrypt the associated metadata.</p>
|
|
7289
|
+
*/
|
|
7290
|
+
encryptionSetting: EncryptionSetting | undefined;
|
|
7291
|
+
}
|
|
7292
|
+
export declare namespace UpdateBotRecommendationRequest {
|
|
7293
|
+
/**
|
|
7294
|
+
* @internal
|
|
7295
|
+
*/
|
|
7296
|
+
const filterSensitiveLog: (obj: UpdateBotRecommendationRequest) => any;
|
|
7297
|
+
}
|
|
7298
|
+
export interface UpdateBotRecommendationResponse {
|
|
7299
|
+
/**
|
|
7300
|
+
* <p>The unique identifier of the bot containing the bot recommendation
|
|
7301
|
+
* that has been updated.</p>
|
|
7302
|
+
*/
|
|
7303
|
+
botId?: string;
|
|
7304
|
+
/**
|
|
7305
|
+
* <p>The version of the bot containing the bot recommendation that has
|
|
7306
|
+
* been updated.</p>
|
|
7307
|
+
*/
|
|
7308
|
+
botVersion?: string;
|
|
7309
|
+
/**
|
|
7310
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
7311
|
+
* to update. The string must match one of the supported locales. For more
|
|
7312
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
7313
|
+
* </p>
|
|
7314
|
+
*/
|
|
7315
|
+
localeId?: string;
|
|
7316
|
+
/**
|
|
7317
|
+
* <p>The status of the bot recommendation.</p>
|
|
7318
|
+
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
7319
|
+
* in the failureReasons field. </p>
|
|
7320
|
+
*/
|
|
7321
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
7322
|
+
/**
|
|
7323
|
+
* <p>The unique identifier of the bot recommendation to be
|
|
7324
|
+
* updated.</p>
|
|
7325
|
+
*/
|
|
7326
|
+
botRecommendationId?: string;
|
|
7327
|
+
/**
|
|
7328
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
7329
|
+
* created.</p>
|
|
7330
|
+
*/
|
|
7331
|
+
creationDateTime?: Date;
|
|
7332
|
+
/**
|
|
7333
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
7334
|
+
* last updated.</p>
|
|
7335
|
+
*/
|
|
7336
|
+
lastUpdatedDateTime?: Date;
|
|
7337
|
+
/**
|
|
7338
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
7339
|
+
* as well as the associated metadata.</p>
|
|
7340
|
+
*/
|
|
7341
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
7342
|
+
/**
|
|
7343
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
7344
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
7345
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
7346
|
+
*/
|
|
7347
|
+
encryptionSetting?: EncryptionSetting;
|
|
7348
|
+
}
|
|
7349
|
+
export declare namespace UpdateBotRecommendationResponse {
|
|
7350
|
+
/**
|
|
7351
|
+
* @internal
|
|
7352
|
+
*/
|
|
7353
|
+
const filterSensitiveLog: (obj: UpdateBotRecommendationResponse) => any;
|
|
7354
|
+
}
|
|
6339
7355
|
export interface UpdateExportRequest {
|
|
6340
7356
|
/**
|
|
6341
7357
|
* <p>The unique identifier Amazon Lex assigned to the export.</p>
|
|
@@ -6761,7 +7777,7 @@ export interface UpdateSlotTypeRequest {
|
|
|
6761
7777
|
* <p>The strategy that Amazon Lex should use when deciding on a value from the
|
|
6762
7778
|
* list of slot type values.</p>
|
|
6763
7779
|
*/
|
|
6764
|
-
valueSelectionSetting
|
|
7780
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
6765
7781
|
/**
|
|
6766
7782
|
* <p>The new built-in slot type that should be used as the parent of this
|
|
6767
7783
|
* slot type.</p>
|
|
@@ -6782,6 +7798,11 @@ export interface UpdateSlotTypeRequest {
|
|
|
6782
7798
|
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
6783
7799
|
*/
|
|
6784
7800
|
localeId: string | undefined;
|
|
7801
|
+
/**
|
|
7802
|
+
* <p>Provides information about the external source of the slot type's
|
|
7803
|
+
* definition.</p>
|
|
7804
|
+
*/
|
|
7805
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
6785
7806
|
}
|
|
6786
7807
|
export declare namespace UpdateSlotTypeRequest {
|
|
6787
7808
|
/**
|
|
@@ -6839,6 +7860,11 @@ export interface UpdateSlotTypeResponse {
|
|
|
6839
7860
|
* updated.</p>
|
|
6840
7861
|
*/
|
|
6841
7862
|
lastUpdatedDateTime?: Date;
|
|
7863
|
+
/**
|
|
7864
|
+
* <p>Provides information about the external source of the slot type's
|
|
7865
|
+
* definition.</p>
|
|
7866
|
+
*/
|
|
7867
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
6842
7868
|
}
|
|
6843
7869
|
export declare namespace UpdateSlotTypeResponse {
|
|
6844
7870
|
/**
|