@aws-sdk/client-lex-models-v2 3.43.0 → 3.47.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 +226 -47
- 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 +1529 -186
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- 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 +153 -28
- 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 +1541 -134
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/LexModelsV2.d.ts +50 -0
- package/dist-types/LexModelsV2Client.d.ts +13 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- 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/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1083 -109
- 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/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +11 -3
- 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 +474 -30
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -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
|
*/
|
|
@@ -557,9 +599,13 @@ export interface VoiceSettings {
|
|
|
557
599
|
*/
|
|
558
600
|
voiceId: string | undefined;
|
|
559
601
|
/**
|
|
560
|
-
* <p>Indicates the type of Amazon Polly
|
|
561
|
-
*
|
|
562
|
-
*
|
|
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>
|
|
563
609
|
*/
|
|
564
610
|
engine?: VoiceEngine | string;
|
|
565
611
|
}
|
|
@@ -670,6 +716,7 @@ export declare enum BotLocaleStatus {
|
|
|
670
716
|
Failed = "Failed",
|
|
671
717
|
Importing = "Importing",
|
|
672
718
|
NotBuilt = "NotBuilt",
|
|
719
|
+
Processing = "Processing",
|
|
673
720
|
ReadyExpressTesting = "ReadyExpressTesting"
|
|
674
721
|
}
|
|
675
722
|
/**
|
|
@@ -710,6 +757,127 @@ export declare namespace BotLocaleSummary {
|
|
|
710
757
|
*/
|
|
711
758
|
const filterSensitiveLog: (obj: BotLocaleSummary) => any;
|
|
712
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
|
+
}
|
|
713
881
|
export declare enum BotSortAttribute {
|
|
714
882
|
BotName = "BotName"
|
|
715
883
|
}
|
|
@@ -921,12 +1089,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
921
1089
|
$fault: "client";
|
|
922
1090
|
message?: string;
|
|
923
1091
|
}
|
|
924
|
-
export declare namespace ConflictException {
|
|
925
|
-
/**
|
|
926
|
-
* @internal
|
|
927
|
-
*/
|
|
928
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
929
|
-
}
|
|
930
1092
|
/**
|
|
931
1093
|
* <p>The service encountered an unexpected condition. Try your request
|
|
932
1094
|
* again.</p>
|
|
@@ -936,12 +1098,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
936
1098
|
$fault: "server";
|
|
937
1099
|
message?: string;
|
|
938
1100
|
}
|
|
939
|
-
export declare namespace InternalServerException {
|
|
940
|
-
/**
|
|
941
|
-
* @internal
|
|
942
|
-
*/
|
|
943
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
944
|
-
}
|
|
945
1101
|
/**
|
|
946
1102
|
* <p>Your request couldn't be completed because one or more request
|
|
947
1103
|
* fields aren't valid. Check the fields in your request and try
|
|
@@ -952,12 +1108,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
952
1108
|
$fault: "client";
|
|
953
1109
|
message?: string;
|
|
954
1110
|
}
|
|
955
|
-
export declare namespace PreconditionFailedException {
|
|
956
|
-
/**
|
|
957
|
-
* @internal
|
|
958
|
-
*/
|
|
959
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
960
|
-
}
|
|
961
1111
|
/**
|
|
962
1112
|
* <p>You have reached a quota for your bot. </p>
|
|
963
1113
|
*/
|
|
@@ -966,12 +1116,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
966
1116
|
$fault: "client";
|
|
967
1117
|
message?: string;
|
|
968
1118
|
}
|
|
969
|
-
export declare namespace ServiceQuotaExceededException {
|
|
970
|
-
/**
|
|
971
|
-
* @internal
|
|
972
|
-
*/
|
|
973
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
974
|
-
}
|
|
975
1119
|
/**
|
|
976
1120
|
* <p>Your request rate is too high. Reduce the frequency of
|
|
977
1121
|
* requests.</p>
|
|
@@ -982,12 +1126,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
982
1126
|
retryAfterSeconds?: number;
|
|
983
1127
|
message?: string;
|
|
984
1128
|
}
|
|
985
|
-
export declare namespace ThrottlingException {
|
|
986
|
-
/**
|
|
987
|
-
* @internal
|
|
988
|
-
*/
|
|
989
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
990
|
-
}
|
|
991
1129
|
/**
|
|
992
1130
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
993
1131
|
* parameters and try your request again.</p>
|
|
@@ -997,12 +1135,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
997
1135
|
$fault: "client";
|
|
998
1136
|
message?: string;
|
|
999
1137
|
}
|
|
1000
|
-
export declare namespace ValidationException {
|
|
1001
|
-
/**
|
|
1002
|
-
* @internal
|
|
1003
|
-
*/
|
|
1004
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
1005
|
-
}
|
|
1006
1138
|
export declare enum BuiltInIntentSortAttribute {
|
|
1007
1139
|
IntentSignature = "IntentSignature"
|
|
1008
1140
|
}
|
|
@@ -1721,12 +1853,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
1721
1853
|
$fault: "client";
|
|
1722
1854
|
message?: string;
|
|
1723
1855
|
}
|
|
1724
|
-
export declare namespace ResourceNotFoundException {
|
|
1725
|
-
/**
|
|
1726
|
-
* @internal
|
|
1727
|
-
*/
|
|
1728
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
1729
|
-
}
|
|
1730
1856
|
/**
|
|
1731
1857
|
* <p>Settings that determine the Lambda function that Amazon Lex uses for
|
|
1732
1858
|
* processing user responses.</p>
|
|
@@ -2880,6 +3006,64 @@ export declare namespace CreateSlotResponse {
|
|
|
2880
3006
|
*/
|
|
2881
3007
|
const filterSensitiveLog: (obj: CreateSlotResponse) => any;
|
|
2882
3008
|
}
|
|
3009
|
+
/**
|
|
3010
|
+
* <p>Describes the Amazon S3 bucket name and location for the grammar
|
|
3011
|
+
* that is the source for the slot type.</p>
|
|
3012
|
+
*/
|
|
3013
|
+
export interface GrammarSlotTypeSource {
|
|
3014
|
+
/**
|
|
3015
|
+
* <p>The name of the S3 bucket that contains the grammar source.</p>
|
|
3016
|
+
*/
|
|
3017
|
+
s3BucketName: string | undefined;
|
|
3018
|
+
/**
|
|
3019
|
+
* <p>The path to the grammar in the S3 bucket.</p>
|
|
3020
|
+
*/
|
|
3021
|
+
s3ObjectKey: string | undefined;
|
|
3022
|
+
/**
|
|
3023
|
+
* <p>The Amazon KMS key required to decrypt the contents of the grammar,
|
|
3024
|
+
* if any.</p>
|
|
3025
|
+
*/
|
|
3026
|
+
kmsKeyArn?: string;
|
|
3027
|
+
}
|
|
3028
|
+
export declare namespace GrammarSlotTypeSource {
|
|
3029
|
+
/**
|
|
3030
|
+
* @internal
|
|
3031
|
+
*/
|
|
3032
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSource) => any;
|
|
3033
|
+
}
|
|
3034
|
+
/**
|
|
3035
|
+
* <p>Settings requried for a slot type based on a grammar that you
|
|
3036
|
+
* provide.</p>
|
|
3037
|
+
*/
|
|
3038
|
+
export interface GrammarSlotTypeSetting {
|
|
3039
|
+
/**
|
|
3040
|
+
* <p>The source of the grammar used to create the slot type.</p>
|
|
3041
|
+
*/
|
|
3042
|
+
source?: GrammarSlotTypeSource;
|
|
3043
|
+
}
|
|
3044
|
+
export declare namespace GrammarSlotTypeSetting {
|
|
3045
|
+
/**
|
|
3046
|
+
* @internal
|
|
3047
|
+
*/
|
|
3048
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSetting) => any;
|
|
3049
|
+
}
|
|
3050
|
+
/**
|
|
3051
|
+
* <p>Provides information about the external source of the slot type's
|
|
3052
|
+
* definition.</p>
|
|
3053
|
+
*/
|
|
3054
|
+
export interface ExternalSourceSetting {
|
|
3055
|
+
/**
|
|
3056
|
+
* <p>Settings required for a slot type based on a grammar that you
|
|
3057
|
+
* provide.</p>
|
|
3058
|
+
*/
|
|
3059
|
+
grammarSlotTypeSetting?: GrammarSlotTypeSetting;
|
|
3060
|
+
}
|
|
3061
|
+
export declare namespace ExternalSourceSetting {
|
|
3062
|
+
/**
|
|
3063
|
+
* @internal
|
|
3064
|
+
*/
|
|
3065
|
+
const filterSensitiveLog: (obj: ExternalSourceSetting) => any;
|
|
3066
|
+
}
|
|
2883
3067
|
/**
|
|
2884
3068
|
* <p>Defines one of the values for a slot type.</p>
|
|
2885
3069
|
*/
|
|
@@ -3034,7 +3218,7 @@ export interface CreateSlotTypeRequest {
|
|
|
3034
3218
|
* <p>If you don't specify the <code>valueSelectionSetting</code>
|
|
3035
3219
|
* parameter, the default is <code>OriginalValue</code>.</p>
|
|
3036
3220
|
*/
|
|
3037
|
-
valueSelectionSetting
|
|
3221
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
3038
3222
|
/**
|
|
3039
3223
|
* <p>The built-in slot type used as a parent of this slot type. When you
|
|
3040
3224
|
* define a parent slot type, the new slot type has the configuration of
|
|
@@ -3058,6 +3242,11 @@ export interface CreateSlotTypeRequest {
|
|
|
3058
3242
|
* locale. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
3059
3243
|
*/
|
|
3060
3244
|
localeId: string | undefined;
|
|
3245
|
+
/**
|
|
3246
|
+
* <p>Sets the type of external information used to create the slot
|
|
3247
|
+
* type.</p>
|
|
3248
|
+
*/
|
|
3249
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3061
3250
|
}
|
|
3062
3251
|
export declare namespace CreateSlotTypeRequest {
|
|
3063
3252
|
/**
|
|
@@ -3111,6 +3300,11 @@ export interface CreateSlotTypeResponse {
|
|
|
3111
3300
|
* created.</p>
|
|
3112
3301
|
*/
|
|
3113
3302
|
creationDateTime?: Date;
|
|
3303
|
+
/**
|
|
3304
|
+
* <p>The type of external information used to create the slot
|
|
3305
|
+
* type.</p>
|
|
3306
|
+
*/
|
|
3307
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3114
3308
|
}
|
|
3115
3309
|
export declare namespace CreateSlotTypeResponse {
|
|
3116
3310
|
/**
|
|
@@ -3144,6 +3338,28 @@ export declare namespace CreateUploadUrlResponse {
|
|
|
3144
3338
|
*/
|
|
3145
3339
|
const filterSensitiveLog: (obj: CreateUploadUrlResponse) => any;
|
|
3146
3340
|
}
|
|
3341
|
+
/**
|
|
3342
|
+
* <p>The object used for specifying the data range that the customer
|
|
3343
|
+
* wants Amazon Lex to read through in the input transcripts.</p>
|
|
3344
|
+
*/
|
|
3345
|
+
export interface DateRangeFilter {
|
|
3346
|
+
/**
|
|
3347
|
+
* <p>A timestamp indicating the start date for the date range
|
|
3348
|
+
* filter.</p>
|
|
3349
|
+
*/
|
|
3350
|
+
startDateTime: Date | undefined;
|
|
3351
|
+
/**
|
|
3352
|
+
* <p>A timestamp indicating the end date for the date range
|
|
3353
|
+
* filter.</p>
|
|
3354
|
+
*/
|
|
3355
|
+
endDateTime: Date | undefined;
|
|
3356
|
+
}
|
|
3357
|
+
export declare namespace DateRangeFilter {
|
|
3358
|
+
/**
|
|
3359
|
+
* @internal
|
|
3360
|
+
*/
|
|
3361
|
+
const filterSensitiveLog: (obj: DateRangeFilter) => any;
|
|
3362
|
+
}
|
|
3147
3363
|
export interface DeleteBotRequest {
|
|
3148
3364
|
/**
|
|
3149
3365
|
* <p>The identifier of the bot to delete. </p>
|
|
@@ -3829,6 +4045,11 @@ export interface DescribeBotLocaleResponse {
|
|
|
3829
4045
|
* have taken place for the locale.</p>
|
|
3830
4046
|
*/
|
|
3831
4047
|
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
4048
|
+
/**
|
|
4049
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
4050
|
+
* <code>failureReasons</code> field.</p>
|
|
4051
|
+
*/
|
|
4052
|
+
recommendedActions?: string[];
|
|
3832
4053
|
}
|
|
3833
4054
|
export declare namespace DescribeBotLocaleResponse {
|
|
3834
4055
|
/**
|
|
@@ -3836,117 +4057,353 @@ export declare namespace DescribeBotLocaleResponse {
|
|
|
3836
4057
|
*/
|
|
3837
4058
|
const filterSensitiveLog: (obj: DescribeBotLocaleResponse) => any;
|
|
3838
4059
|
}
|
|
3839
|
-
export interface
|
|
4060
|
+
export interface DescribeBotRecommendationRequest {
|
|
3840
4061
|
/**
|
|
3841
|
-
* <p>The identifier of the bot
|
|
3842
|
-
*
|
|
4062
|
+
* <p>The unique identifier of the bot associated with the bot
|
|
4063
|
+
* recommendation.</p>
|
|
3843
4064
|
*/
|
|
3844
4065
|
botId: string | undefined;
|
|
3845
4066
|
/**
|
|
3846
|
-
* <p>The version of the bot
|
|
4067
|
+
* <p>The version of the bot associated with the bot
|
|
4068
|
+
* recommendation.</p>
|
|
3847
4069
|
*/
|
|
3848
4070
|
botVersion: string | undefined;
|
|
3849
|
-
}
|
|
3850
|
-
export declare namespace DescribeBotVersionRequest {
|
|
3851
|
-
/**
|
|
3852
|
-
* @internal
|
|
3853
|
-
*/
|
|
3854
|
-
const filterSensitiveLog: (obj: DescribeBotVersionRequest) => any;
|
|
3855
|
-
}
|
|
3856
|
-
export interface DescribeBotVersionResponse {
|
|
3857
4071
|
/**
|
|
3858
|
-
* <p>The identifier of the
|
|
4072
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
4073
|
+
* to describe. The string must match one of the supported locales. For
|
|
4074
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
3859
4075
|
*/
|
|
3860
|
-
|
|
4076
|
+
localeId: string | undefined;
|
|
3861
4077
|
/**
|
|
3862
|
-
* <p>The
|
|
4078
|
+
* <p>The identifier of the bot recommendation to describe.</p>
|
|
3863
4079
|
*/
|
|
3864
|
-
|
|
4080
|
+
botRecommendationId: string | undefined;
|
|
4081
|
+
}
|
|
4082
|
+
export declare namespace DescribeBotRecommendationRequest {
|
|
3865
4083
|
/**
|
|
3866
|
-
*
|
|
4084
|
+
* @internal
|
|
3867
4085
|
*/
|
|
3868
|
-
|
|
4086
|
+
const filterSensitiveLog: (obj: DescribeBotRecommendationRequest) => any;
|
|
4087
|
+
}
|
|
4088
|
+
/**
|
|
4089
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
4090
|
+
* data related to the bot recommendation, as well as the KMS key ARN used
|
|
4091
|
+
* to encrypt the associated metadata.</p>
|
|
4092
|
+
*/
|
|
4093
|
+
export interface EncryptionSetting {
|
|
3869
4094
|
/**
|
|
3870
|
-
* <p>The
|
|
4095
|
+
* <p>The KMS key ARN used to encrypt the metadata associated with the bot
|
|
4096
|
+
* recommendation.</p>
|
|
3871
4097
|
*/
|
|
3872
|
-
|
|
4098
|
+
kmsKeyArn?: string;
|
|
3873
4099
|
/**
|
|
3874
|
-
* <p>The
|
|
3875
|
-
*
|
|
4100
|
+
* <p>The password used to encrypt the recommended bot recommendation
|
|
4101
|
+
* file.</p>
|
|
3876
4102
|
*/
|
|
3877
|
-
|
|
4103
|
+
botLocaleExportPassword?: string;
|
|
3878
4104
|
/**
|
|
3879
|
-
* <p>
|
|
4105
|
+
* <p>The password used to encrypt the associated transcript file.</p>
|
|
3880
4106
|
*/
|
|
3881
|
-
|
|
4107
|
+
associatedTranscriptsPassword?: string;
|
|
4108
|
+
}
|
|
4109
|
+
export declare namespace EncryptionSetting {
|
|
3882
4110
|
/**
|
|
3883
|
-
*
|
|
3884
|
-
* before it is discarded by Amazon Lex.</p>
|
|
4111
|
+
* @internal
|
|
3885
4112
|
*/
|
|
3886
|
-
|
|
4113
|
+
const filterSensitiveLog: (obj: EncryptionSetting) => any;
|
|
4114
|
+
}
|
|
4115
|
+
/**
|
|
4116
|
+
* <p>The object that contains a path format that will be applied when
|
|
4117
|
+
* Amazon Lex reads the transcript file in the bucket you provide. Specify this
|
|
4118
|
+
* object if you only want Lex to read a subset of files in your Amazon S3
|
|
4119
|
+
* bucket.</p>
|
|
4120
|
+
*/
|
|
4121
|
+
export interface PathFormat {
|
|
3887
4122
|
/**
|
|
3888
|
-
* <p>
|
|
3889
|
-
*
|
|
4123
|
+
* <p>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3
|
|
4124
|
+
* bucket. Specify this list if you only want Lex to read the files under
|
|
4125
|
+
* this set of sub-folders.</p>
|
|
3890
4126
|
*/
|
|
3891
|
-
|
|
4127
|
+
objectPrefixes?: string[];
|
|
4128
|
+
}
|
|
4129
|
+
export declare namespace PathFormat {
|
|
3892
4130
|
/**
|
|
3893
|
-
*
|
|
3894
|
-
* a list of reasons that the version couldn't be built.</p>
|
|
4131
|
+
* @internal
|
|
3895
4132
|
*/
|
|
3896
|
-
|
|
4133
|
+
const filterSensitiveLog: (obj: PathFormat) => any;
|
|
4134
|
+
}
|
|
4135
|
+
/**
|
|
4136
|
+
* <p>The object that contains transcript filter details that are
|
|
4137
|
+
* associated with a bot recommendation.</p>
|
|
4138
|
+
*/
|
|
4139
|
+
export interface LexTranscriptFilter {
|
|
3897
4140
|
/**
|
|
3898
|
-
* <p>
|
|
3899
|
-
*
|
|
4141
|
+
* <p>The object that contains a date range filter that will be applied to
|
|
4142
|
+
* the transcript. Specify this object if you want Amazon Lex to only read the
|
|
4143
|
+
* files that are within the date range.</p>
|
|
3900
4144
|
*/
|
|
3901
|
-
|
|
4145
|
+
dateRangeFilter?: DateRangeFilter;
|
|
3902
4146
|
}
|
|
3903
|
-
export declare namespace
|
|
4147
|
+
export declare namespace LexTranscriptFilter {
|
|
3904
4148
|
/**
|
|
3905
4149
|
* @internal
|
|
3906
4150
|
*/
|
|
3907
|
-
const filterSensitiveLog: (obj:
|
|
4151
|
+
const filterSensitiveLog: (obj: LexTranscriptFilter) => any;
|
|
3908
4152
|
}
|
|
3909
|
-
|
|
4153
|
+
/**
|
|
4154
|
+
* <p>The object representing the filter that Amazon Lex will use to select the
|
|
4155
|
+
* appropriate transcript.</p>
|
|
4156
|
+
*/
|
|
4157
|
+
export interface TranscriptFilter {
|
|
3910
4158
|
/**
|
|
3911
|
-
* <p>The
|
|
4159
|
+
* <p>The object representing the filter that Amazon Lex will use to select the
|
|
4160
|
+
* appropriate transcript when the transcript format is the Amazon Lex
|
|
4161
|
+
* format.</p>
|
|
3912
4162
|
*/
|
|
3913
|
-
|
|
4163
|
+
lexTranscriptFilter?: LexTranscriptFilter;
|
|
3914
4164
|
}
|
|
3915
|
-
export declare namespace
|
|
4165
|
+
export declare namespace TranscriptFilter {
|
|
3916
4166
|
/**
|
|
3917
4167
|
* @internal
|
|
3918
4168
|
*/
|
|
3919
|
-
const filterSensitiveLog: (obj:
|
|
4169
|
+
const filterSensitiveLog: (obj: TranscriptFilter) => any;
|
|
3920
4170
|
}
|
|
3921
|
-
export
|
|
4171
|
+
export declare enum TranscriptFormat {
|
|
4172
|
+
Lex = "Lex"
|
|
4173
|
+
}
|
|
4174
|
+
/**
|
|
4175
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
4176
|
+
* as well as the associated metadata.</p>
|
|
4177
|
+
*/
|
|
4178
|
+
export interface S3BucketTranscriptSource {
|
|
3922
4179
|
/**
|
|
3923
|
-
* <p>The
|
|
4180
|
+
* <p>The name of the bucket containing the transcript and the associated
|
|
4181
|
+
* metadata.</p>
|
|
3924
4182
|
*/
|
|
3925
|
-
|
|
4183
|
+
s3BucketName: string | undefined;
|
|
3926
4184
|
/**
|
|
3927
|
-
* <p>The
|
|
3928
|
-
*
|
|
4185
|
+
* <p>The object that contains a path format that will be applied when
|
|
4186
|
+
* Amazon Lex reads the transcript file in the bucket you provide. Specify this
|
|
4187
|
+
* object if you only want Lex to read a subset of files in your Amazon S3
|
|
4188
|
+
* bucket.</p>
|
|
3929
4189
|
*/
|
|
3930
|
-
|
|
4190
|
+
pathFormat?: PathFormat;
|
|
3931
4191
|
/**
|
|
3932
|
-
* <p>The
|
|
3933
|
-
*
|
|
4192
|
+
* <p>The format of the transcript content. Currently, Genie only supports
|
|
4193
|
+
* the Amazon Lex transcript format.</p>
|
|
3934
4194
|
*/
|
|
3935
|
-
|
|
4195
|
+
transcriptFormat: TranscriptFormat | string | undefined;
|
|
3936
4196
|
/**
|
|
3937
|
-
* <p>The
|
|
3938
|
-
* the
|
|
4197
|
+
* <p>The object that contains the filter which will be applied when Amazon Lex
|
|
4198
|
+
* reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to
|
|
4199
|
+
* read only a subset of the Amazon S3 bucket based on the filter you
|
|
4200
|
+
* provide.</p>
|
|
3939
4201
|
*/
|
|
3940
|
-
|
|
4202
|
+
transcriptFilter?: TranscriptFilter;
|
|
3941
4203
|
/**
|
|
3942
|
-
* <p>
|
|
3943
|
-
*
|
|
4204
|
+
* <p>The ARN of the KMS key that customer use to encrypt their Amazon S3
|
|
4205
|
+
* bucket. Only use this field if your bucket is encrypted using a
|
|
4206
|
+
* customer managed KMS key.</p>
|
|
3944
4207
|
*/
|
|
3945
|
-
|
|
4208
|
+
kmsKeyArn?: string;
|
|
4209
|
+
}
|
|
4210
|
+
export declare namespace S3BucketTranscriptSource {
|
|
3946
4211
|
/**
|
|
3947
|
-
*
|
|
3948
|
-
|
|
3949
|
-
|
|
4212
|
+
* @internal
|
|
4213
|
+
*/
|
|
4214
|
+
const filterSensitiveLog: (obj: S3BucketTranscriptSource) => any;
|
|
4215
|
+
}
|
|
4216
|
+
/**
|
|
4217
|
+
* <p>Indicates the setting of the location where the transcript is
|
|
4218
|
+
* stored.</p>
|
|
4219
|
+
*/
|
|
4220
|
+
export interface TranscriptSourceSetting {
|
|
4221
|
+
/**
|
|
4222
|
+
* <p>Indicates the setting of the Amazon S3 bucket where the transcript is
|
|
4223
|
+
* stored.</p>
|
|
4224
|
+
*/
|
|
4225
|
+
s3BucketTranscriptSource?: S3BucketTranscriptSource;
|
|
4226
|
+
}
|
|
4227
|
+
export declare namespace TranscriptSourceSetting {
|
|
4228
|
+
/**
|
|
4229
|
+
* @internal
|
|
4230
|
+
*/
|
|
4231
|
+
const filterSensitiveLog: (obj: TranscriptSourceSetting) => any;
|
|
4232
|
+
}
|
|
4233
|
+
export interface DescribeBotRecommendationResponse {
|
|
4234
|
+
/**
|
|
4235
|
+
* <p>The identifier of the bot associated with the bot
|
|
4236
|
+
* recommendation.</p>
|
|
4237
|
+
*/
|
|
4238
|
+
botId?: string;
|
|
4239
|
+
/**
|
|
4240
|
+
* <p>The version of the bot associated with the bot
|
|
4241
|
+
* recommendation.</p>
|
|
4242
|
+
*/
|
|
4243
|
+
botVersion?: string;
|
|
4244
|
+
/**
|
|
4245
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
4246
|
+
* to describe.</p>
|
|
4247
|
+
*/
|
|
4248
|
+
localeId?: string;
|
|
4249
|
+
/**
|
|
4250
|
+
* <p>The status of the bot recommendation. If the status is Failed, then
|
|
4251
|
+
* the reasons for the failure are listed in the failureReasons field.
|
|
4252
|
+
* </p>
|
|
4253
|
+
*/
|
|
4254
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
4255
|
+
/**
|
|
4256
|
+
* <p>The identifier of the bot recommendation being described.</p>
|
|
4257
|
+
*/
|
|
4258
|
+
botRecommendationId?: string;
|
|
4259
|
+
/**
|
|
4260
|
+
* <p>If botRecommendationStatus is Failed, Amazon Lex explains why.</p>
|
|
4261
|
+
*/
|
|
4262
|
+
failureReasons?: string[];
|
|
4263
|
+
/**
|
|
4264
|
+
* <p>The date and time that the bot recommendation was created.</p>
|
|
4265
|
+
*/
|
|
4266
|
+
creationDateTime?: Date;
|
|
4267
|
+
/**
|
|
4268
|
+
* <p>The date and time that the bot recommendation was last
|
|
4269
|
+
* updated.</p>
|
|
4270
|
+
*/
|
|
4271
|
+
lastUpdatedDateTime?: Date;
|
|
4272
|
+
/**
|
|
4273
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
4274
|
+
* as well as the associated metadata.</p>
|
|
4275
|
+
*/
|
|
4276
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
4277
|
+
/**
|
|
4278
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
4279
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
4280
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
4281
|
+
*/
|
|
4282
|
+
encryptionSetting?: EncryptionSetting;
|
|
4283
|
+
/**
|
|
4284
|
+
* <p>The object representing the URL of the bot definition, the URL of
|
|
4285
|
+
* the associated transcript and a statistical summary of the bot
|
|
4286
|
+
* recommendation results.</p>
|
|
4287
|
+
*/
|
|
4288
|
+
botRecommendationResults?: BotRecommendationResults;
|
|
4289
|
+
}
|
|
4290
|
+
export declare namespace DescribeBotRecommendationResponse {
|
|
4291
|
+
/**
|
|
4292
|
+
* @internal
|
|
4293
|
+
*/
|
|
4294
|
+
const filterSensitiveLog: (obj: DescribeBotRecommendationResponse) => any;
|
|
4295
|
+
}
|
|
4296
|
+
export interface DescribeBotVersionRequest {
|
|
4297
|
+
/**
|
|
4298
|
+
* <p>The identifier of the bot containing the version to return metadata
|
|
4299
|
+
* for.</p>
|
|
4300
|
+
*/
|
|
4301
|
+
botId: string | undefined;
|
|
4302
|
+
/**
|
|
4303
|
+
* <p>The version of the bot to return metadata for.</p>
|
|
4304
|
+
*/
|
|
4305
|
+
botVersion: string | undefined;
|
|
4306
|
+
}
|
|
4307
|
+
export declare namespace DescribeBotVersionRequest {
|
|
4308
|
+
/**
|
|
4309
|
+
* @internal
|
|
4310
|
+
*/
|
|
4311
|
+
const filterSensitiveLog: (obj: DescribeBotVersionRequest) => any;
|
|
4312
|
+
}
|
|
4313
|
+
export interface DescribeBotVersionResponse {
|
|
4314
|
+
/**
|
|
4315
|
+
* <p>The identifier of the bot that contains the version.</p>
|
|
4316
|
+
*/
|
|
4317
|
+
botId?: string;
|
|
4318
|
+
/**
|
|
4319
|
+
* <p>The name of the bot that contains the version.</p>
|
|
4320
|
+
*/
|
|
4321
|
+
botName?: string;
|
|
4322
|
+
/**
|
|
4323
|
+
* <p>The version of the bot to describe.</p>
|
|
4324
|
+
*/
|
|
4325
|
+
botVersion?: string;
|
|
4326
|
+
/**
|
|
4327
|
+
* <p>The description specified for the bot.</p>
|
|
4328
|
+
*/
|
|
4329
|
+
description?: string;
|
|
4330
|
+
/**
|
|
4331
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that has permission to
|
|
4332
|
+
* access the bot version.</p>
|
|
4333
|
+
*/
|
|
4334
|
+
roleArn?: string;
|
|
4335
|
+
/**
|
|
4336
|
+
* <p>Data privacy settings for the bot version.</p>
|
|
4337
|
+
*/
|
|
4338
|
+
dataPrivacy?: DataPrivacy;
|
|
4339
|
+
/**
|
|
4340
|
+
* <p>The number of seconds that a session with the bot remains active
|
|
4341
|
+
* before it is discarded by Amazon Lex.</p>
|
|
4342
|
+
*/
|
|
4343
|
+
idleSessionTTLInSeconds?: number;
|
|
4344
|
+
/**
|
|
4345
|
+
* <p>The current status of the bot. When the status is
|
|
4346
|
+
* <code>Available</code>, the bot version is ready for use.</p>
|
|
4347
|
+
*/
|
|
4348
|
+
botStatus?: BotStatus | string;
|
|
4349
|
+
/**
|
|
4350
|
+
* <p>If the <code>botStatus</code> is <code>Failed</code>, this contains
|
|
4351
|
+
* a list of reasons that the version couldn't be built.</p>
|
|
4352
|
+
*/
|
|
4353
|
+
failureReasons?: string[];
|
|
4354
|
+
/**
|
|
4355
|
+
* <p>A timestamp of the date and time that the bot version was
|
|
4356
|
+
* created.</p>
|
|
4357
|
+
*/
|
|
4358
|
+
creationDateTime?: Date;
|
|
4359
|
+
}
|
|
4360
|
+
export declare namespace DescribeBotVersionResponse {
|
|
4361
|
+
/**
|
|
4362
|
+
* @internal
|
|
4363
|
+
*/
|
|
4364
|
+
const filterSensitiveLog: (obj: DescribeBotVersionResponse) => any;
|
|
4365
|
+
}
|
|
4366
|
+
export interface DescribeExportRequest {
|
|
4367
|
+
/**
|
|
4368
|
+
* <p>The unique identifier of the export to describe.</p>
|
|
4369
|
+
*/
|
|
4370
|
+
exportId: string | undefined;
|
|
4371
|
+
}
|
|
4372
|
+
export declare namespace DescribeExportRequest {
|
|
4373
|
+
/**
|
|
4374
|
+
* @internal
|
|
4375
|
+
*/
|
|
4376
|
+
const filterSensitiveLog: (obj: DescribeExportRequest) => any;
|
|
4377
|
+
}
|
|
4378
|
+
export interface DescribeExportResponse {
|
|
4379
|
+
/**
|
|
4380
|
+
* <p>The unique identifier of the described export.</p>
|
|
4381
|
+
*/
|
|
4382
|
+
exportId?: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* <p>The bot, bot ID, and optional locale ID of the exported bot or bot
|
|
4385
|
+
* locale.</p>
|
|
4386
|
+
*/
|
|
4387
|
+
resourceSpecification?: ExportResourceSpecification;
|
|
4388
|
+
/**
|
|
4389
|
+
* <p>The file format used in the files that describe the bot or bot
|
|
4390
|
+
* locale.</p>
|
|
4391
|
+
*/
|
|
4392
|
+
fileFormat?: ImportExportFileFormat | string;
|
|
4393
|
+
/**
|
|
4394
|
+
* <p>The status of the export. When the status is <code>Complete</code>
|
|
4395
|
+
* the export archive file is available for download.</p>
|
|
4396
|
+
*/
|
|
4397
|
+
exportStatus?: ExportStatus | string;
|
|
4398
|
+
/**
|
|
4399
|
+
* <p>If the <code>exportStatus</code> is failed, contains one or more
|
|
4400
|
+
* reasons why the export could not be completed.</p>
|
|
4401
|
+
*/
|
|
4402
|
+
failureReasons?: string[];
|
|
4403
|
+
/**
|
|
4404
|
+
* <p>A pre-signed S3 URL that points to the bot or bot locale archive.
|
|
4405
|
+
* The URL is only available for 5 minutes after calling the
|
|
4406
|
+
* <code>DescribeExport</code> operation.</p>
|
|
3950
4407
|
*/
|
|
3951
4408
|
downloadUrl?: string;
|
|
3952
4409
|
/**
|
|
@@ -3977,6 +4434,7 @@ export declare namespace DescribeImportRequest {
|
|
|
3977
4434
|
const filterSensitiveLog: (obj: DescribeImportRequest) => any;
|
|
3978
4435
|
}
|
|
3979
4436
|
export declare enum MergeStrategy {
|
|
4437
|
+
Append = "Append",
|
|
3980
4438
|
FailOnConflict = "FailOnConflict",
|
|
3981
4439
|
Overwrite = "Overwrite"
|
|
3982
4440
|
}
|
|
@@ -4399,6 +4857,11 @@ export interface DescribeSlotTypeResponse {
|
|
|
4399
4857
|
* updated.</p>
|
|
4400
4858
|
*/
|
|
4401
4859
|
lastUpdatedDateTime?: Date;
|
|
4860
|
+
/**
|
|
4861
|
+
* <p>Provides information about the external source of the slot type's
|
|
4862
|
+
* definition.</p>
|
|
4863
|
+
*/
|
|
4864
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
4402
4865
|
}
|
|
4403
4866
|
export declare namespace DescribeSlotTypeResponse {
|
|
4404
4867
|
/**
|
|
@@ -5057,6 +5520,81 @@ export declare namespace ListBotLocalesResponse {
|
|
|
5057
5520
|
*/
|
|
5058
5521
|
const filterSensitiveLog: (obj: ListBotLocalesResponse) => any;
|
|
5059
5522
|
}
|
|
5523
|
+
export interface ListBotRecommendationsRequest {
|
|
5524
|
+
/**
|
|
5525
|
+
* <p>The unique identifier of the bot that contains the bot
|
|
5526
|
+
* recommendation list.</p>
|
|
5527
|
+
*/
|
|
5528
|
+
botId: string | undefined;
|
|
5529
|
+
/**
|
|
5530
|
+
* <p>The version of the bot that contains the bot recommendation
|
|
5531
|
+
* list.</p>
|
|
5532
|
+
*/
|
|
5533
|
+
botVersion: string | undefined;
|
|
5534
|
+
/**
|
|
5535
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
5536
|
+
* list.</p>
|
|
5537
|
+
*/
|
|
5538
|
+
localeId: string | undefined;
|
|
5539
|
+
/**
|
|
5540
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
5541
|
+
* results. If there are fewer results than the max page size, only the
|
|
5542
|
+
* actual number of results are returned.</p>
|
|
5543
|
+
*/
|
|
5544
|
+
maxResults?: number;
|
|
5545
|
+
/**
|
|
5546
|
+
* <p>If the response from the ListBotRecommendation operation contains
|
|
5547
|
+
* more results than specified in the maxResults parameter, a token is
|
|
5548
|
+
* returned in the response. Use that token in the nextToken parameter to
|
|
5549
|
+
* return the next page of results.</p>
|
|
5550
|
+
*/
|
|
5551
|
+
nextToken?: string;
|
|
5552
|
+
}
|
|
5553
|
+
export declare namespace ListBotRecommendationsRequest {
|
|
5554
|
+
/**
|
|
5555
|
+
* @internal
|
|
5556
|
+
*/
|
|
5557
|
+
const filterSensitiveLog: (obj: ListBotRecommendationsRequest) => any;
|
|
5558
|
+
}
|
|
5559
|
+
export interface ListBotRecommendationsResponse {
|
|
5560
|
+
/**
|
|
5561
|
+
* <p>The unique identifier of the bot that contains the bot
|
|
5562
|
+
* recommendation list.</p>
|
|
5563
|
+
*/
|
|
5564
|
+
botId?: string;
|
|
5565
|
+
/**
|
|
5566
|
+
* <p>The version of the bot that contains the bot recommendation
|
|
5567
|
+
* list.</p>
|
|
5568
|
+
*/
|
|
5569
|
+
botVersion?: string;
|
|
5570
|
+
/**
|
|
5571
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
5572
|
+
* list.</p>
|
|
5573
|
+
*/
|
|
5574
|
+
localeId?: string;
|
|
5575
|
+
/**
|
|
5576
|
+
* <p>Summary information for the bot recommendations that meet the filter
|
|
5577
|
+
* specified in this request. The length of the list is specified in the
|
|
5578
|
+
* maxResults parameter of the request. If there are more bot
|
|
5579
|
+
* recommendations available, the nextToken field contains a token to get
|
|
5580
|
+
* the next page of results.</p>
|
|
5581
|
+
*/
|
|
5582
|
+
botRecommendationSummaries?: BotRecommendationSummary[];
|
|
5583
|
+
/**
|
|
5584
|
+
* <p>A token that indicates whether there are more results to return in a
|
|
5585
|
+
* response to the ListBotRecommendations operation. If the nextToken
|
|
5586
|
+
* field is present, you send the contents as the nextToken parameter of a
|
|
5587
|
+
* ListBotRecommendations operation request to get the next page of
|
|
5588
|
+
* results. </p>
|
|
5589
|
+
*/
|
|
5590
|
+
nextToken?: string;
|
|
5591
|
+
}
|
|
5592
|
+
export declare namespace ListBotRecommendationsResponse {
|
|
5593
|
+
/**
|
|
5594
|
+
* @internal
|
|
5595
|
+
*/
|
|
5596
|
+
const filterSensitiveLog: (obj: ListBotRecommendationsResponse) => any;
|
|
5597
|
+
}
|
|
5060
5598
|
export interface ListBotsRequest {
|
|
5061
5599
|
/**
|
|
5062
5600
|
* <p>Specifies sorting parameters for the list of bots. You can specify
|
|
@@ -5535,6 +6073,116 @@ export declare namespace ListIntentsResponse {
|
|
|
5535
6073
|
*/
|
|
5536
6074
|
const filterSensitiveLog: (obj: ListIntentsResponse) => any;
|
|
5537
6075
|
}
|
|
6076
|
+
export interface ListRecommendedIntentsRequest {
|
|
6077
|
+
/**
|
|
6078
|
+
* <p>The unique identifier of the bot associated with the recommended
|
|
6079
|
+
* intents.</p>
|
|
6080
|
+
*/
|
|
6081
|
+
botId: string | undefined;
|
|
6082
|
+
/**
|
|
6083
|
+
* <p>The version of the bot that contains the recommended intents.</p>
|
|
6084
|
+
*/
|
|
6085
|
+
botVersion: string | undefined;
|
|
6086
|
+
/**
|
|
6087
|
+
* <p>The identifier of the language and locale of the recommended
|
|
6088
|
+
* intents.</p>
|
|
6089
|
+
*/
|
|
6090
|
+
localeId: string | undefined;
|
|
6091
|
+
/**
|
|
6092
|
+
* <p>The identifier of the bot recommendation that contains the
|
|
6093
|
+
* recommended intents.</p>
|
|
6094
|
+
*/
|
|
6095
|
+
botRecommendationId: string | undefined;
|
|
6096
|
+
/**
|
|
6097
|
+
* <p>If the response from the ListRecommendedIntents operation contains
|
|
6098
|
+
* more results than specified in the maxResults parameter, a token is
|
|
6099
|
+
* returned in the response. Use that token in the nextToken parameter to
|
|
6100
|
+
* return the next page of results.</p>
|
|
6101
|
+
*/
|
|
6102
|
+
nextToken?: string;
|
|
6103
|
+
/**
|
|
6104
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
6105
|
+
* results. If there are fewer results than the max page size, only the
|
|
6106
|
+
* actual number of results are returned.</p>
|
|
6107
|
+
*/
|
|
6108
|
+
maxResults?: number;
|
|
6109
|
+
}
|
|
6110
|
+
export declare namespace ListRecommendedIntentsRequest {
|
|
6111
|
+
/**
|
|
6112
|
+
* @internal
|
|
6113
|
+
*/
|
|
6114
|
+
const filterSensitiveLog: (obj: ListRecommendedIntentsRequest) => any;
|
|
6115
|
+
}
|
|
6116
|
+
/**
|
|
6117
|
+
* <p>An object that contains a summary of a recommended intent.</p>
|
|
6118
|
+
*/
|
|
6119
|
+
export interface RecommendedIntentSummary {
|
|
6120
|
+
/**
|
|
6121
|
+
* <p>The unique identifier of a recommended intent associated with the
|
|
6122
|
+
* bot recommendation.</p>
|
|
6123
|
+
*/
|
|
6124
|
+
intentId?: string;
|
|
6125
|
+
/**
|
|
6126
|
+
* <p>The name of a recommended intent associated with the bot
|
|
6127
|
+
* recommendation.</p>
|
|
6128
|
+
*/
|
|
6129
|
+
intentName?: string;
|
|
6130
|
+
/**
|
|
6131
|
+
* <p>The count of sample utterances of a recommended intent that is
|
|
6132
|
+
* associated with a bot recommendation.</p>
|
|
6133
|
+
*/
|
|
6134
|
+
sampleUtterancesCount?: number;
|
|
6135
|
+
}
|
|
6136
|
+
export declare namespace RecommendedIntentSummary {
|
|
6137
|
+
/**
|
|
6138
|
+
* @internal
|
|
6139
|
+
*/
|
|
6140
|
+
const filterSensitiveLog: (obj: RecommendedIntentSummary) => any;
|
|
6141
|
+
}
|
|
6142
|
+
export interface ListRecommendedIntentsResponse {
|
|
6143
|
+
/**
|
|
6144
|
+
* <p>The unique identifier of the bot associated with the recommended
|
|
6145
|
+
* intent.</p>
|
|
6146
|
+
*/
|
|
6147
|
+
botId?: string;
|
|
6148
|
+
/**
|
|
6149
|
+
* <p>The version of the bot that contains the intent.</p>
|
|
6150
|
+
*/
|
|
6151
|
+
botVersion?: string;
|
|
6152
|
+
/**
|
|
6153
|
+
* <p>The identifier of the language and locale of the intents to list.
|
|
6154
|
+
* The string must match one of the supported locales. For more
|
|
6155
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
6156
|
+
*/
|
|
6157
|
+
localeId?: string;
|
|
6158
|
+
/**
|
|
6159
|
+
* <p>The identifier of the bot recommendation that contains the
|
|
6160
|
+
* recommended intent.</p>
|
|
6161
|
+
*/
|
|
6162
|
+
botRecommendationId?: string;
|
|
6163
|
+
/**
|
|
6164
|
+
* <p>Summary information for the intents that meet the filter criteria
|
|
6165
|
+
* specified in the request. The length of the list is specified in the
|
|
6166
|
+
* maxResults parameter of the request. If there are more intents
|
|
6167
|
+
* available, the nextToken field contains a token to get the next page of
|
|
6168
|
+
* results.</p>
|
|
6169
|
+
*/
|
|
6170
|
+
summaryList?: RecommendedIntentSummary[];
|
|
6171
|
+
/**
|
|
6172
|
+
* <p>A token that indicates whether there are more results to return in a
|
|
6173
|
+
* response to the ListRecommendedIntents operation. If the nextToken
|
|
6174
|
+
* field is present, you send the contents as the nextToken parameter of a
|
|
6175
|
+
* ListRecommendedIntents operation request to get the next page of
|
|
6176
|
+
* results.</p>
|
|
6177
|
+
*/
|
|
6178
|
+
nextToken?: string;
|
|
6179
|
+
}
|
|
6180
|
+
export declare namespace ListRecommendedIntentsResponse {
|
|
6181
|
+
/**
|
|
6182
|
+
* @internal
|
|
6183
|
+
*/
|
|
6184
|
+
const filterSensitiveLog: (obj: ListRecommendedIntentsResponse) => any;
|
|
6185
|
+
}
|
|
5538
6186
|
export declare enum SlotFilterName {
|
|
5539
6187
|
SlotName = "SlotName"
|
|
5540
6188
|
}
|
|
@@ -5732,6 +6380,7 @@ export declare namespace ListSlotsResponse {
|
|
|
5732
6380
|
const filterSensitiveLog: (obj: ListSlotsResponse) => any;
|
|
5733
6381
|
}
|
|
5734
6382
|
export declare enum SlotTypeFilterName {
|
|
6383
|
+
ExternalSourceType = "ExternalSourceType",
|
|
5735
6384
|
SlotTypeName = "SlotTypeName"
|
|
5736
6385
|
}
|
|
5737
6386
|
export declare enum SlotTypeFilterOperator {
|
|
@@ -5840,6 +6489,11 @@ export declare namespace ListSlotTypesRequest {
|
|
|
5840
6489
|
*/
|
|
5841
6490
|
const filterSensitiveLog: (obj: ListSlotTypesRequest) => any;
|
|
5842
6491
|
}
|
|
6492
|
+
export declare enum SlotTypeCategory {
|
|
6493
|
+
Custom = "Custom",
|
|
6494
|
+
Extended = "Extended",
|
|
6495
|
+
ExternalGrammar = "ExternalGrammar"
|
|
6496
|
+
}
|
|
5843
6497
|
/**
|
|
5844
6498
|
* <p>Provides summary information about a slot type.</p>
|
|
5845
6499
|
*/
|
|
@@ -5866,6 +6520,29 @@ export interface SlotTypeSummary {
|
|
|
5866
6520
|
* updated.</p>
|
|
5867
6521
|
*/
|
|
5868
6522
|
lastUpdatedDateTime?: Date;
|
|
6523
|
+
/**
|
|
6524
|
+
* <p>Indicates the type of the slot type.</p>
|
|
6525
|
+
* <ul>
|
|
6526
|
+
* <li>
|
|
6527
|
+
* <p>
|
|
6528
|
+
* <code>Custom</code> - A slot type that you created using
|
|
6529
|
+
* custom values. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html">Creating custom slot
|
|
6530
|
+
* types</a>.</p>
|
|
6531
|
+
* </li>
|
|
6532
|
+
* <li>
|
|
6533
|
+
* <p>
|
|
6534
|
+
* <code>Extended</code> - A slot type created by extending the
|
|
6535
|
+
* AMAZON.AlphaNumeric built-in slot type. For more information, see
|
|
6536
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html">AMAZON.AlphaNumeric</a>.</p>
|
|
6537
|
+
* </li>
|
|
6538
|
+
* <li>
|
|
6539
|
+
* <p>
|
|
6540
|
+
* <code>ExternalGrammar</code> - A slot type using a custom
|
|
6541
|
+
* 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>
|
|
6542
|
+
* </li>
|
|
6543
|
+
* </ul>
|
|
6544
|
+
*/
|
|
6545
|
+
slotTypeCategory?: SlotTypeCategory | string;
|
|
5869
6546
|
}
|
|
5870
6547
|
export declare namespace SlotTypeSummary {
|
|
5871
6548
|
/**
|
|
@@ -5936,6 +6613,195 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
5936
6613
|
*/
|
|
5937
6614
|
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
5938
6615
|
}
|
|
6616
|
+
export declare enum SearchOrder {
|
|
6617
|
+
Ascending = "Ascending",
|
|
6618
|
+
Descending = "Descending"
|
|
6619
|
+
}
|
|
6620
|
+
export interface SearchAssociatedTranscriptsRequest {
|
|
6621
|
+
/**
|
|
6622
|
+
* <p>The unique identifier of the bot associated with the transcripts
|
|
6623
|
+
* that you are searching.</p>
|
|
6624
|
+
*/
|
|
6625
|
+
botId: string | undefined;
|
|
6626
|
+
/**
|
|
6627
|
+
* <p>The version of the bot containing the transcripts that you are
|
|
6628
|
+
* searching.</p>
|
|
6629
|
+
*/
|
|
6630
|
+
botVersion: string | undefined;
|
|
6631
|
+
/**
|
|
6632
|
+
* <p>The identifier of the language and locale of the transcripts to
|
|
6633
|
+
* search. The string must match one of the supported locales. For more
|
|
6634
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6635
|
+
* </p>
|
|
6636
|
+
*/
|
|
6637
|
+
localeId: string | undefined;
|
|
6638
|
+
/**
|
|
6639
|
+
* <p>The unique identifier of the bot recommendation associated with the
|
|
6640
|
+
* transcripts to search.</p>
|
|
6641
|
+
*/
|
|
6642
|
+
botRecommendationId: string | undefined;
|
|
6643
|
+
/**
|
|
6644
|
+
* <p>How SearchResults are ordered. Valid values are Ascending or
|
|
6645
|
+
* Descending. The default is Descending.</p>
|
|
6646
|
+
*/
|
|
6647
|
+
searchOrder?: SearchOrder | string;
|
|
6648
|
+
/**
|
|
6649
|
+
* <p>A list of filter objects.</p>
|
|
6650
|
+
*/
|
|
6651
|
+
filters: AssociatedTranscriptFilter[] | undefined;
|
|
6652
|
+
/**
|
|
6653
|
+
* <p>The maximum number of bot recommendations to return in each page of
|
|
6654
|
+
* results. If there are fewer results than the max page size, only the
|
|
6655
|
+
* actual number of results are returned.</p>
|
|
6656
|
+
*/
|
|
6657
|
+
maxResults?: number;
|
|
6658
|
+
/**
|
|
6659
|
+
* <p>If the response from the SearchAssociatedTranscriptsRequest
|
|
6660
|
+
* operation contains more results than specified in the maxResults
|
|
6661
|
+
* parameter, an index is returned in the response. Use that index in the
|
|
6662
|
+
* nextIndex parameter to return the next page of results.</p>
|
|
6663
|
+
*/
|
|
6664
|
+
nextIndex?: number;
|
|
6665
|
+
}
|
|
6666
|
+
export declare namespace SearchAssociatedTranscriptsRequest {
|
|
6667
|
+
/**
|
|
6668
|
+
* @internal
|
|
6669
|
+
*/
|
|
6670
|
+
const filterSensitiveLog: (obj: SearchAssociatedTranscriptsRequest) => any;
|
|
6671
|
+
}
|
|
6672
|
+
export interface SearchAssociatedTranscriptsResponse {
|
|
6673
|
+
/**
|
|
6674
|
+
* <p>The unique identifier of the bot associated with the transcripts
|
|
6675
|
+
* that you are searching.</p>
|
|
6676
|
+
*/
|
|
6677
|
+
botId?: string;
|
|
6678
|
+
/**
|
|
6679
|
+
* <p>The version of the bot containing the transcripts that you are
|
|
6680
|
+
* searching.</p>
|
|
6681
|
+
*/
|
|
6682
|
+
botVersion?: string;
|
|
6683
|
+
/**
|
|
6684
|
+
* <p>The identifier of the language and locale of the transcripts to
|
|
6685
|
+
* search. The string must match one of the supported locales. For more
|
|
6686
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6687
|
+
* </p>
|
|
6688
|
+
*/
|
|
6689
|
+
localeId?: string;
|
|
6690
|
+
/**
|
|
6691
|
+
* <p> The unique identifier of the bot recommendation associated with the
|
|
6692
|
+
* transcripts to search.</p>
|
|
6693
|
+
*/
|
|
6694
|
+
botRecommendationId?: string;
|
|
6695
|
+
/**
|
|
6696
|
+
* <p>A index that indicates whether there are more results to return in a
|
|
6697
|
+
* response to the SearchAssociatedTranscripts operation. If the nextIndex
|
|
6698
|
+
* field is present, you send the contents as the nextIndex parameter of a
|
|
6699
|
+
* SearchAssociatedTranscriptsRequest operation to get the next page of
|
|
6700
|
+
* results.</p>
|
|
6701
|
+
*/
|
|
6702
|
+
nextIndex?: number;
|
|
6703
|
+
/**
|
|
6704
|
+
* <p>The object that contains the associated transcript that meet the
|
|
6705
|
+
* criteria you specified.</p>
|
|
6706
|
+
*/
|
|
6707
|
+
associatedTranscripts?: AssociatedTranscript[];
|
|
6708
|
+
/**
|
|
6709
|
+
* <p>The total number of transcripts returned by the search.</p>
|
|
6710
|
+
*/
|
|
6711
|
+
totalResults?: number;
|
|
6712
|
+
}
|
|
6713
|
+
export declare namespace SearchAssociatedTranscriptsResponse {
|
|
6714
|
+
/**
|
|
6715
|
+
* @internal
|
|
6716
|
+
*/
|
|
6717
|
+
const filterSensitiveLog: (obj: SearchAssociatedTranscriptsResponse) => any;
|
|
6718
|
+
}
|
|
6719
|
+
export interface StartBotRecommendationRequest {
|
|
6720
|
+
/**
|
|
6721
|
+
* <p>The unique identifier of the bot containing the bot
|
|
6722
|
+
* recommendation.</p>
|
|
6723
|
+
*/
|
|
6724
|
+
botId: string | undefined;
|
|
6725
|
+
/**
|
|
6726
|
+
* <p>The version of the bot containing the bot recommendation.</p>
|
|
6727
|
+
*/
|
|
6728
|
+
botVersion: string | undefined;
|
|
6729
|
+
/**
|
|
6730
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
6731
|
+
* to start. The string must match one of the supported locales. For more
|
|
6732
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6733
|
+
* </p>
|
|
6734
|
+
*/
|
|
6735
|
+
localeId: string | undefined;
|
|
6736
|
+
/**
|
|
6737
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
6738
|
+
* as well as the associated metadata.</p>
|
|
6739
|
+
*/
|
|
6740
|
+
transcriptSourceSetting: TranscriptSourceSetting | undefined;
|
|
6741
|
+
/**
|
|
6742
|
+
* <p>The object representing the passwords that will be used to encrypt
|
|
6743
|
+
* the data related to the bot recommendation results, as well as the KMS
|
|
6744
|
+
* key ARN used to encrypt the associated metadata.</p>
|
|
6745
|
+
*/
|
|
6746
|
+
encryptionSetting?: EncryptionSetting;
|
|
6747
|
+
}
|
|
6748
|
+
export declare namespace StartBotRecommendationRequest {
|
|
6749
|
+
/**
|
|
6750
|
+
* @internal
|
|
6751
|
+
*/
|
|
6752
|
+
const filterSensitiveLog: (obj: StartBotRecommendationRequest) => any;
|
|
6753
|
+
}
|
|
6754
|
+
export interface StartBotRecommendationResponse {
|
|
6755
|
+
/**
|
|
6756
|
+
* <p>The unique identifier of the bot containing the bot
|
|
6757
|
+
* recommendation.</p>
|
|
6758
|
+
*/
|
|
6759
|
+
botId?: string;
|
|
6760
|
+
/**
|
|
6761
|
+
* <p>The version of the bot containing the bot recommendation.</p>
|
|
6762
|
+
*/
|
|
6763
|
+
botVersion?: string;
|
|
6764
|
+
/**
|
|
6765
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
6766
|
+
* to start. The string must match one of the supported locales. For more
|
|
6767
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
6768
|
+
* </p>
|
|
6769
|
+
*/
|
|
6770
|
+
localeId?: string;
|
|
6771
|
+
/**
|
|
6772
|
+
* <p>The status of the bot recommendation.</p>
|
|
6773
|
+
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
6774
|
+
* in the failureReasons field. </p>
|
|
6775
|
+
*/
|
|
6776
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
6777
|
+
/**
|
|
6778
|
+
* <p>The identifier of the bot recommendation that you have
|
|
6779
|
+
* created.</p>
|
|
6780
|
+
*/
|
|
6781
|
+
botRecommendationId?: string;
|
|
6782
|
+
/**
|
|
6783
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
6784
|
+
* created.</p>
|
|
6785
|
+
*/
|
|
6786
|
+
creationDateTime?: Date;
|
|
6787
|
+
/**
|
|
6788
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
6789
|
+
* as well as the associated metadata.</p>
|
|
6790
|
+
*/
|
|
6791
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
6792
|
+
/**
|
|
6793
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
6794
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
6795
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
6796
|
+
*/
|
|
6797
|
+
encryptionSetting?: EncryptionSetting;
|
|
6798
|
+
}
|
|
6799
|
+
export declare namespace StartBotRecommendationResponse {
|
|
6800
|
+
/**
|
|
6801
|
+
* @internal
|
|
6802
|
+
*/
|
|
6803
|
+
const filterSensitiveLog: (obj: StartBotRecommendationResponse) => any;
|
|
6804
|
+
}
|
|
5939
6805
|
export interface StartImportRequest {
|
|
5940
6806
|
/**
|
|
5941
6807
|
* <p>The unique identifier for the import. It is included in the response
|
|
@@ -6339,6 +7205,11 @@ export interface UpdateBotLocaleResponse {
|
|
|
6339
7205
|
* updated.</p>
|
|
6340
7206
|
*/
|
|
6341
7207
|
lastUpdatedDateTime?: Date;
|
|
7208
|
+
/**
|
|
7209
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
7210
|
+
* <code>failureReasons</code> field.</p>
|
|
7211
|
+
*/
|
|
7212
|
+
recommendedActions?: string[];
|
|
6342
7213
|
}
|
|
6343
7214
|
export declare namespace UpdateBotLocaleResponse {
|
|
6344
7215
|
/**
|
|
@@ -6346,6 +7217,99 @@ export declare namespace UpdateBotLocaleResponse {
|
|
|
6346
7217
|
*/
|
|
6347
7218
|
const filterSensitiveLog: (obj: UpdateBotLocaleResponse) => any;
|
|
6348
7219
|
}
|
|
7220
|
+
export interface UpdateBotRecommendationRequest {
|
|
7221
|
+
/**
|
|
7222
|
+
* <p>The unique identifier of the bot containing the bot recommendation
|
|
7223
|
+
* to be updated.</p>
|
|
7224
|
+
*/
|
|
7225
|
+
botId: string | undefined;
|
|
7226
|
+
/**
|
|
7227
|
+
* <p>The version of the bot containing the bot recommendation to be
|
|
7228
|
+
* updated.</p>
|
|
7229
|
+
*/
|
|
7230
|
+
botVersion: string | undefined;
|
|
7231
|
+
/**
|
|
7232
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
7233
|
+
* to update. The string must match one of the supported locales. For more
|
|
7234
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
7235
|
+
* </p>
|
|
7236
|
+
*/
|
|
7237
|
+
localeId: string | undefined;
|
|
7238
|
+
/**
|
|
7239
|
+
* <p>The unique identifier of the bot recommendation to be
|
|
7240
|
+
* updated.</p>
|
|
7241
|
+
*/
|
|
7242
|
+
botRecommendationId: string | undefined;
|
|
7243
|
+
/**
|
|
7244
|
+
* <p>The object representing the passwords that will be used to encrypt
|
|
7245
|
+
* the data related to the bot recommendation results, as well as the KMS
|
|
7246
|
+
* key ARN used to encrypt the associated metadata.</p>
|
|
7247
|
+
*/
|
|
7248
|
+
encryptionSetting: EncryptionSetting | undefined;
|
|
7249
|
+
}
|
|
7250
|
+
export declare namespace UpdateBotRecommendationRequest {
|
|
7251
|
+
/**
|
|
7252
|
+
* @internal
|
|
7253
|
+
*/
|
|
7254
|
+
const filterSensitiveLog: (obj: UpdateBotRecommendationRequest) => any;
|
|
7255
|
+
}
|
|
7256
|
+
export interface UpdateBotRecommendationResponse {
|
|
7257
|
+
/**
|
|
7258
|
+
* <p>The unique identifier of the bot containing the bot recommendation
|
|
7259
|
+
* that has been updated.</p>
|
|
7260
|
+
*/
|
|
7261
|
+
botId?: string;
|
|
7262
|
+
/**
|
|
7263
|
+
* <p>The version of the bot containing the bot recommendation that has
|
|
7264
|
+
* been updated.</p>
|
|
7265
|
+
*/
|
|
7266
|
+
botVersion?: string;
|
|
7267
|
+
/**
|
|
7268
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
7269
|
+
* to update. The string must match one of the supported locales. For more
|
|
7270
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
|
|
7271
|
+
* </p>
|
|
7272
|
+
*/
|
|
7273
|
+
localeId?: string;
|
|
7274
|
+
/**
|
|
7275
|
+
* <p>The status of the bot recommendation.</p>
|
|
7276
|
+
* <p>If the status is Failed, then the reasons for the failure are listed
|
|
7277
|
+
* in the failureReasons field. </p>
|
|
7278
|
+
*/
|
|
7279
|
+
botRecommendationStatus?: BotRecommendationStatus | string;
|
|
7280
|
+
/**
|
|
7281
|
+
* <p>The unique identifier of the bot recommendation to be
|
|
7282
|
+
* updated.</p>
|
|
7283
|
+
*/
|
|
7284
|
+
botRecommendationId?: string;
|
|
7285
|
+
/**
|
|
7286
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
7287
|
+
* created.</p>
|
|
7288
|
+
*/
|
|
7289
|
+
creationDateTime?: Date;
|
|
7290
|
+
/**
|
|
7291
|
+
* <p>A timestamp of the date and time that the bot recommendation was
|
|
7292
|
+
* last updated.</p>
|
|
7293
|
+
*/
|
|
7294
|
+
lastUpdatedDateTime?: Date;
|
|
7295
|
+
/**
|
|
7296
|
+
* <p>The object representing the Amazon S3 bucket containing the transcript,
|
|
7297
|
+
* as well as the associated metadata.</p>
|
|
7298
|
+
*/
|
|
7299
|
+
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
7300
|
+
/**
|
|
7301
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
7302
|
+
* data related to the bot recommendation results, as well as the KMS key
|
|
7303
|
+
* ARN used to encrypt the associated metadata.</p>
|
|
7304
|
+
*/
|
|
7305
|
+
encryptionSetting?: EncryptionSetting;
|
|
7306
|
+
}
|
|
7307
|
+
export declare namespace UpdateBotRecommendationResponse {
|
|
7308
|
+
/**
|
|
7309
|
+
* @internal
|
|
7310
|
+
*/
|
|
7311
|
+
const filterSensitiveLog: (obj: UpdateBotRecommendationResponse) => any;
|
|
7312
|
+
}
|
|
6349
7313
|
export interface UpdateExportRequest {
|
|
6350
7314
|
/**
|
|
6351
7315
|
* <p>The unique identifier Amazon Lex assigned to the export.</p>
|
|
@@ -6771,7 +7735,7 @@ export interface UpdateSlotTypeRequest {
|
|
|
6771
7735
|
* <p>The strategy that Amazon Lex should use when deciding on a value from the
|
|
6772
7736
|
* list of slot type values.</p>
|
|
6773
7737
|
*/
|
|
6774
|
-
valueSelectionSetting
|
|
7738
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
6775
7739
|
/**
|
|
6776
7740
|
* <p>The new built-in slot type that should be used as the parent of this
|
|
6777
7741
|
* slot type.</p>
|
|
@@ -6792,6 +7756,11 @@ export interface UpdateSlotTypeRequest {
|
|
|
6792
7756
|
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
6793
7757
|
*/
|
|
6794
7758
|
localeId: string | undefined;
|
|
7759
|
+
/**
|
|
7760
|
+
* <p>Provides information about the external source of the slot type's
|
|
7761
|
+
* definition.</p>
|
|
7762
|
+
*/
|
|
7763
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
6795
7764
|
}
|
|
6796
7765
|
export declare namespace UpdateSlotTypeRequest {
|
|
6797
7766
|
/**
|
|
@@ -6849,6 +7818,11 @@ export interface UpdateSlotTypeResponse {
|
|
|
6849
7818
|
* updated.</p>
|
|
6850
7819
|
*/
|
|
6851
7820
|
lastUpdatedDateTime?: Date;
|
|
7821
|
+
/**
|
|
7822
|
+
* <p>Provides information about the external source of the slot type's
|
|
7823
|
+
* definition.</p>
|
|
7824
|
+
*/
|
|
7825
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
6852
7826
|
}
|
|
6853
7827
|
export declare namespace UpdateSlotTypeResponse {
|
|
6854
7828
|
/**
|