@aws-sdk/client-lex-models-v2 3.43.0 → 3.44.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/LexModelsV2.js +90 -0
  3. package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
  4. package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
  5. package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
  6. package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
  7. package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +201 -5
  11. package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
  12. package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
  13. package/dist-cjs/pagination/index.js +2 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +1470 -208
  15. package/dist-es/LexModelsV2.js +90 -0
  16. package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
  17. package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
  18. package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
  19. package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
  20. package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
  21. package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/models/models_0.js +134 -0
  24. package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
  25. package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/protocols/Aws_restJson1.js +1368 -32
  28. package/dist-types/LexModelsV2.d.ts +50 -0
  29. package/dist-types/LexModelsV2Client.d.ts +8 -2
  30. package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
  31. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
  32. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
  33. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
  34. package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
  35. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
  36. package/dist-types/commands/index.d.ts +6 -0
  37. package/dist-types/models/models_0.d.ts +890 -0
  38. package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  39. package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  40. package/dist-types/pagination/index.d.ts +2 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  42. package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
  43. package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
  44. package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +419 -0
  52. package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
  56. package/package.json +1 -1
@@ -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
  */
@@ -670,6 +712,7 @@ export declare enum BotLocaleStatus {
670
712
  Failed = "Failed",
671
713
  Importing = "Importing",
672
714
  NotBuilt = "NotBuilt",
715
+ Processing = "Processing",
673
716
  ReadyExpressTesting = "ReadyExpressTesting"
674
717
  }
675
718
  /**
@@ -710,6 +753,127 @@ export declare namespace BotLocaleSummary {
710
753
  */
711
754
  const filterSensitiveLog: (obj: BotLocaleSummary) => any;
712
755
  }
756
+ /**
757
+ * <p>The object that contains the statistical summary of recommended
758
+ * intents associated with the bot recommendation.</p>
759
+ */
760
+ export interface IntentStatistics {
761
+ /**
762
+ * <p>The number of recommended intents associated with the bot
763
+ * recommendation.</p>
764
+ */
765
+ discoveredIntentCount?: number;
766
+ }
767
+ export declare namespace IntentStatistics {
768
+ /**
769
+ * @internal
770
+ */
771
+ const filterSensitiveLog: (obj: IntentStatistics) => any;
772
+ }
773
+ /**
774
+ * <p>The object that contains the statistical summary of the recommended
775
+ * slot type associated with the bot recommendation.</p>
776
+ */
777
+ export interface SlotTypeStatistics {
778
+ /**
779
+ * <p>The number of recommended slot types associated with the bot
780
+ * recommendation.</p>
781
+ */
782
+ discoveredSlotTypeCount?: number;
783
+ }
784
+ export declare namespace SlotTypeStatistics {
785
+ /**
786
+ * @internal
787
+ */
788
+ const filterSensitiveLog: (obj: SlotTypeStatistics) => any;
789
+ }
790
+ /**
791
+ * <p>A statistical summary of the bot recommendation results.</p>
792
+ */
793
+ export interface BotRecommendationResultStatistics {
794
+ /**
795
+ * <p>Statistical information about about the intents associated with the
796
+ * bot recommendation results.</p>
797
+ */
798
+ intents?: IntentStatistics;
799
+ /**
800
+ * <p>Statistical information about the slot types associated with the bot
801
+ * recommendation results.</p>
802
+ */
803
+ slotTypes?: SlotTypeStatistics;
804
+ }
805
+ export declare namespace BotRecommendationResultStatistics {
806
+ /**
807
+ * @internal
808
+ */
809
+ const filterSensitiveLog: (obj: BotRecommendationResultStatistics) => any;
810
+ }
811
+ /**
812
+ * <p>The object representing the URL of the bot definition, the URL of
813
+ * the associated transcript and a statistical summary of the bot
814
+ * recommendation results.</p>
815
+ */
816
+ export interface BotRecommendationResults {
817
+ /**
818
+ * <p>The presigned URL link of the recommended bot definition.</p>
819
+ */
820
+ botLocaleExportUrl?: string;
821
+ /**
822
+ * <p>The presigned url link of the associated transcript.</p>
823
+ */
824
+ associatedTranscriptsUrl?: string;
825
+ /**
826
+ * <p>The statistical summary of the bot recommendation results.</p>
827
+ */
828
+ statistics?: BotRecommendationResultStatistics;
829
+ }
830
+ export declare namespace BotRecommendationResults {
831
+ /**
832
+ * @internal
833
+ */
834
+ const filterSensitiveLog: (obj: BotRecommendationResults) => any;
835
+ }
836
+ export declare enum BotRecommendationStatus {
837
+ Available = "Available",
838
+ Deleted = "Deleted",
839
+ Deleting = "Deleting",
840
+ Downloading = "Downloading",
841
+ Failed = "Failed",
842
+ Processing = "Processing",
843
+ Updating = "Updating"
844
+ }
845
+ /**
846
+ * <p>A summary of the bot recommendation.</p>
847
+ */
848
+ export interface BotRecommendationSummary {
849
+ /**
850
+ * <p>The status of the bot recommendation.</p>
851
+ * <p>If the status is Failed, then the reasons for the failure are listed
852
+ * in the failureReasons field. </p>
853
+ */
854
+ botRecommendationStatus: BotRecommendationStatus | string | undefined;
855
+ /**
856
+ * <p>The unique identifier of the bot recommendation to be
857
+ * updated.</p>
858
+ */
859
+ botRecommendationId: string | undefined;
860
+ /**
861
+ * <p>A timestamp of the date and time that the bot recommendation was
862
+ * created.</p>
863
+ */
864
+ creationDateTime?: Date;
865
+ /**
866
+ * <p>A timestamp of the date and time that the bot recommendation was
867
+ * last updated.</p>
868
+ */
869
+ lastUpdatedDateTime?: Date;
870
+ }
871
+ export declare namespace BotRecommendationSummary {
872
+ /**
873
+ * @internal
874
+ */
875
+ const filterSensitiveLog: (obj: BotRecommendationSummary) => any;
876
+ }
713
877
  export declare enum BotSortAttribute {
714
878
  BotName = "BotName"
715
879
  }
@@ -3144,6 +3308,28 @@ export declare namespace CreateUploadUrlResponse {
3144
3308
  */
3145
3309
  const filterSensitiveLog: (obj: CreateUploadUrlResponse) => any;
3146
3310
  }
3311
+ /**
3312
+ * <p>The object used for specifying the data range that the customer
3313
+ * wants Amazon Lex to read through in the input transcripts.</p>
3314
+ */
3315
+ export interface DateRangeFilter {
3316
+ /**
3317
+ * <p>A timestamp indicating the start date for the date range
3318
+ * filter.</p>
3319
+ */
3320
+ startDateTime: Date | undefined;
3321
+ /**
3322
+ * <p>A timestamp indicating the end date for the date range
3323
+ * filter.</p>
3324
+ */
3325
+ endDateTime: Date | undefined;
3326
+ }
3327
+ export declare namespace DateRangeFilter {
3328
+ /**
3329
+ * @internal
3330
+ */
3331
+ const filterSensitiveLog: (obj: DateRangeFilter) => any;
3332
+ }
3147
3333
  export interface DeleteBotRequest {
3148
3334
  /**
3149
3335
  * <p>The identifier of the bot to delete. </p>
@@ -3836,6 +4022,242 @@ export declare namespace DescribeBotLocaleResponse {
3836
4022
  */
3837
4023
  const filterSensitiveLog: (obj: DescribeBotLocaleResponse) => any;
3838
4024
  }
4025
+ export interface DescribeBotRecommendationRequest {
4026
+ /**
4027
+ * <p>The unique identifier of the bot associated with the bot
4028
+ * recommendation.</p>
4029
+ */
4030
+ botId: string | undefined;
4031
+ /**
4032
+ * <p>The version of the bot associated with the bot
4033
+ * recommendation.</p>
4034
+ */
4035
+ botVersion: string | undefined;
4036
+ /**
4037
+ * <p>The identifier of the language and locale of the bot recommendation
4038
+ * to describe. The string must match one of the supported locales. For
4039
+ * more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
4040
+ */
4041
+ localeId: string | undefined;
4042
+ /**
4043
+ * <p>The identifier of the bot recommendation to describe.</p>
4044
+ */
4045
+ botRecommendationId: string | undefined;
4046
+ }
4047
+ export declare namespace DescribeBotRecommendationRequest {
4048
+ /**
4049
+ * @internal
4050
+ */
4051
+ const filterSensitiveLog: (obj: DescribeBotRecommendationRequest) => any;
4052
+ }
4053
+ /**
4054
+ * <p>The object representing the passwords that were used to encrypt the
4055
+ * data related to the bot recommendation, as well as the KMS key ARN used
4056
+ * to encrypt the associated metadata.</p>
4057
+ */
4058
+ export interface EncryptionSetting {
4059
+ /**
4060
+ * <p>The KMS key ARN used to encrypt the metadata associated with the bot
4061
+ * recommendation.</p>
4062
+ */
4063
+ kmsKeyArn?: string;
4064
+ /**
4065
+ * <p>The password used to encrypt the recommended bot recommendation
4066
+ * file.</p>
4067
+ */
4068
+ botLocaleExportPassword?: string;
4069
+ /**
4070
+ * <p>The password used to encrypt the associated transcript file.</p>
4071
+ */
4072
+ associatedTranscriptsPassword?: string;
4073
+ }
4074
+ export declare namespace EncryptionSetting {
4075
+ /**
4076
+ * @internal
4077
+ */
4078
+ const filterSensitiveLog: (obj: EncryptionSetting) => any;
4079
+ }
4080
+ /**
4081
+ * <p>The object that contains a path format that will be applied when
4082
+ * Amazon Lex reads the transcript file in the bucket you provide. Specify this
4083
+ * object if you only want Lex to read a subset of files in your Amazon S3
4084
+ * bucket.</p>
4085
+ */
4086
+ export interface PathFormat {
4087
+ /**
4088
+ * <p>A list of Amazon S3 prefixes that points to sub-folders in the Amazon S3
4089
+ * bucket. Specify this list if you only want Lex to read the files under
4090
+ * this set of sub-folders.</p>
4091
+ */
4092
+ objectPrefixes?: string[];
4093
+ }
4094
+ export declare namespace PathFormat {
4095
+ /**
4096
+ * @internal
4097
+ */
4098
+ const filterSensitiveLog: (obj: PathFormat) => any;
4099
+ }
4100
+ /**
4101
+ * <p>The object that contains transcript filter details that are
4102
+ * associated with a bot recommendation.</p>
4103
+ */
4104
+ export interface LexTranscriptFilter {
4105
+ /**
4106
+ * <p>The object that contains a date range filter that will be applied to
4107
+ * the transcript. Specify this object if you want Amazon Lex to only read the
4108
+ * files that are within the date range.</p>
4109
+ */
4110
+ dateRangeFilter?: DateRangeFilter;
4111
+ }
4112
+ export declare namespace LexTranscriptFilter {
4113
+ /**
4114
+ * @internal
4115
+ */
4116
+ const filterSensitiveLog: (obj: LexTranscriptFilter) => any;
4117
+ }
4118
+ /**
4119
+ * <p>The object representing the filter that Amazon Lex will use to select the
4120
+ * appropriate transcript.</p>
4121
+ */
4122
+ export interface TranscriptFilter {
4123
+ /**
4124
+ * <p>The object representing the filter that Amazon Lex will use to select the
4125
+ * appropriate transcript when the transcript format is the Amazon Lex
4126
+ * format.</p>
4127
+ */
4128
+ lexTranscriptFilter?: LexTranscriptFilter;
4129
+ }
4130
+ export declare namespace TranscriptFilter {
4131
+ /**
4132
+ * @internal
4133
+ */
4134
+ const filterSensitiveLog: (obj: TranscriptFilter) => any;
4135
+ }
4136
+ export declare enum TranscriptFormat {
4137
+ Lex = "Lex"
4138
+ }
4139
+ /**
4140
+ * <p>The object representing the Amazon S3 bucket containing the transcript,
4141
+ * as well as the associated metadata.</p>
4142
+ */
4143
+ export interface S3BucketTranscriptSource {
4144
+ /**
4145
+ * <p>The name of the bucket containing the transcript and the associated
4146
+ * metadata.</p>
4147
+ */
4148
+ s3BucketName: string | undefined;
4149
+ /**
4150
+ * <p>The object that contains a path format that will be applied when
4151
+ * Amazon Lex reads the transcript file in the bucket you provide. Specify this
4152
+ * object if you only want Lex to read a subset of files in your Amazon S3
4153
+ * bucket.</p>
4154
+ */
4155
+ pathFormat?: PathFormat;
4156
+ /**
4157
+ * <p>The format of the transcript content. Currently, Genie only supports
4158
+ * the Amazon Lex transcript format.</p>
4159
+ */
4160
+ transcriptFormat: TranscriptFormat | string | undefined;
4161
+ /**
4162
+ * <p>The object that contains the filter which will be applied when Amazon Lex
4163
+ * reads through the Amazon S3 bucket. Specify this object if you want Amazon Lex to
4164
+ * read only a subset of the Amazon S3 bucket based on the filter you
4165
+ * provide.</p>
4166
+ */
4167
+ transcriptFilter?: TranscriptFilter;
4168
+ /**
4169
+ * <p>The ARN of the KMS key that customer use to encrypt their Amazon S3
4170
+ * bucket. Only use this field if your bucket is encrypted using a
4171
+ * customer managed KMS key.</p>
4172
+ */
4173
+ kmsKeyArn?: string;
4174
+ }
4175
+ export declare namespace S3BucketTranscriptSource {
4176
+ /**
4177
+ * @internal
4178
+ */
4179
+ const filterSensitiveLog: (obj: S3BucketTranscriptSource) => any;
4180
+ }
4181
+ /**
4182
+ * <p>Indicates the setting of the location where the transcript is
4183
+ * stored.</p>
4184
+ */
4185
+ export interface TranscriptSourceSetting {
4186
+ /**
4187
+ * <p>Indicates the setting of the Amazon S3 bucket where the transcript is
4188
+ * stored.</p>
4189
+ */
4190
+ s3BucketTranscriptSource?: S3BucketTranscriptSource;
4191
+ }
4192
+ export declare namespace TranscriptSourceSetting {
4193
+ /**
4194
+ * @internal
4195
+ */
4196
+ const filterSensitiveLog: (obj: TranscriptSourceSetting) => any;
4197
+ }
4198
+ export interface DescribeBotRecommendationResponse {
4199
+ /**
4200
+ * <p>The identifier of the bot associated with the bot
4201
+ * recommendation.</p>
4202
+ */
4203
+ botId?: string;
4204
+ /**
4205
+ * <p>The version of the bot associated with the bot
4206
+ * recommendation.</p>
4207
+ */
4208
+ botVersion?: string;
4209
+ /**
4210
+ * <p>The identifier of the language and locale of the bot recommendation
4211
+ * to describe.</p>
4212
+ */
4213
+ localeId?: string;
4214
+ /**
4215
+ * <p>The status of the bot recommendation. If the status is Failed, then
4216
+ * the reasons for the failure are listed in the failureReasons field.
4217
+ * </p>
4218
+ */
4219
+ botRecommendationStatus?: BotRecommendationStatus | string;
4220
+ /**
4221
+ * <p>The identifier of the bot recommendation being described.</p>
4222
+ */
4223
+ botRecommendationId?: string;
4224
+ /**
4225
+ * <p>If botRecommendationStatus is Failed, Amazon Lex explains why.</p>
4226
+ */
4227
+ failureReasons?: string[];
4228
+ /**
4229
+ * <p>The date and time that the bot recommendation was created.</p>
4230
+ */
4231
+ creationDateTime?: Date;
4232
+ /**
4233
+ * <p>The date and time that the bot recommendation was last
4234
+ * updated.</p>
4235
+ */
4236
+ lastUpdatedDateTime?: Date;
4237
+ /**
4238
+ * <p>The object representing the Amazon S3 bucket containing the transcript,
4239
+ * as well as the associated metadata.</p>
4240
+ */
4241
+ transcriptSourceSetting?: TranscriptSourceSetting;
4242
+ /**
4243
+ * <p>The object representing the passwords that were used to encrypt the
4244
+ * data related to the bot recommendation results, as well as the KMS key
4245
+ * ARN used to encrypt the associated metadata.</p>
4246
+ */
4247
+ encryptionSetting?: EncryptionSetting;
4248
+ /**
4249
+ * <p>The object representing the URL of the bot definition, the URL of
4250
+ * the associated transcript and a statistical summary of the bot
4251
+ * recommendation results.</p>
4252
+ */
4253
+ botRecommendationResults?: BotRecommendationResults;
4254
+ }
4255
+ export declare namespace DescribeBotRecommendationResponse {
4256
+ /**
4257
+ * @internal
4258
+ */
4259
+ const filterSensitiveLog: (obj: DescribeBotRecommendationResponse) => any;
4260
+ }
3839
4261
  export interface DescribeBotVersionRequest {
3840
4262
  /**
3841
4263
  * <p>The identifier of the bot containing the version to return metadata
@@ -3977,6 +4399,7 @@ export declare namespace DescribeImportRequest {
3977
4399
  const filterSensitiveLog: (obj: DescribeImportRequest) => any;
3978
4400
  }
3979
4401
  export declare enum MergeStrategy {
4402
+ Append = "Append",
3980
4403
  FailOnConflict = "FailOnConflict",
3981
4404
  Overwrite = "Overwrite"
3982
4405
  }
@@ -5057,6 +5480,81 @@ export declare namespace ListBotLocalesResponse {
5057
5480
  */
5058
5481
  const filterSensitiveLog: (obj: ListBotLocalesResponse) => any;
5059
5482
  }
5483
+ export interface ListBotRecommendationsRequest {
5484
+ /**
5485
+ * <p>The unique identifier of the bot that contains the bot
5486
+ * recommendation list.</p>
5487
+ */
5488
+ botId: string | undefined;
5489
+ /**
5490
+ * <p>The version of the bot that contains the bot recommendation
5491
+ * list.</p>
5492
+ */
5493
+ botVersion: string | undefined;
5494
+ /**
5495
+ * <p>The identifier of the language and locale of the bot recommendation
5496
+ * list.</p>
5497
+ */
5498
+ localeId: string | undefined;
5499
+ /**
5500
+ * <p>The maximum number of bot recommendations to return in each page of
5501
+ * results. If there are fewer results than the max page size, only the
5502
+ * actual number of results are returned.</p>
5503
+ */
5504
+ maxResults?: number;
5505
+ /**
5506
+ * <p>If the response from the ListBotRecommendation operation contains
5507
+ * more results than specified in the maxResults parameter, a token is
5508
+ * returned in the response. Use that token in the nextToken parameter to
5509
+ * return the next page of results.</p>
5510
+ */
5511
+ nextToken?: string;
5512
+ }
5513
+ export declare namespace ListBotRecommendationsRequest {
5514
+ /**
5515
+ * @internal
5516
+ */
5517
+ const filterSensitiveLog: (obj: ListBotRecommendationsRequest) => any;
5518
+ }
5519
+ export interface ListBotRecommendationsResponse {
5520
+ /**
5521
+ * <p>The unique identifier of the bot that contains the bot
5522
+ * recommendation list.</p>
5523
+ */
5524
+ botId?: string;
5525
+ /**
5526
+ * <p>The version of the bot that contains the bot recommendation
5527
+ * list.</p>
5528
+ */
5529
+ botVersion?: string;
5530
+ /**
5531
+ * <p>The identifier of the language and locale of the bot recommendation
5532
+ * list.</p>
5533
+ */
5534
+ localeId?: string;
5535
+ /**
5536
+ * <p>Summary information for the bot recommendations that meet the filter
5537
+ * specified in this request. The length of the list is specified in the
5538
+ * maxResults parameter of the request. If there are more bot
5539
+ * recommendations available, the nextToken field contains a token to get
5540
+ * the next page of results.</p>
5541
+ */
5542
+ botRecommendationSummaries?: BotRecommendationSummary[];
5543
+ /**
5544
+ * <p>A token that indicates whether there are more results to return in a
5545
+ * response to the ListBotRecommendations operation. If the nextToken
5546
+ * field is present, you send the contents as the nextToken parameter of a
5547
+ * ListBotRecommendations operation request to get the next page of
5548
+ * results. </p>
5549
+ */
5550
+ nextToken?: string;
5551
+ }
5552
+ export declare namespace ListBotRecommendationsResponse {
5553
+ /**
5554
+ * @internal
5555
+ */
5556
+ const filterSensitiveLog: (obj: ListBotRecommendationsResponse) => any;
5557
+ }
5060
5558
  export interface ListBotsRequest {
5061
5559
  /**
5062
5560
  * <p>Specifies sorting parameters for the list of bots. You can specify
@@ -5535,6 +6033,116 @@ export declare namespace ListIntentsResponse {
5535
6033
  */
5536
6034
  const filterSensitiveLog: (obj: ListIntentsResponse) => any;
5537
6035
  }
6036
+ export interface ListRecommendedIntentsRequest {
6037
+ /**
6038
+ * <p>The unique identifier of the bot associated with the recommended
6039
+ * intents.</p>
6040
+ */
6041
+ botId: string | undefined;
6042
+ /**
6043
+ * <p>The version of the bot that contains the recommended intents.</p>
6044
+ */
6045
+ botVersion: string | undefined;
6046
+ /**
6047
+ * <p>The identifier of the language and locale of the recommended
6048
+ * intents.</p>
6049
+ */
6050
+ localeId: string | undefined;
6051
+ /**
6052
+ * <p>The identifier of the bot recommendation that contains the
6053
+ * recommended intents.</p>
6054
+ */
6055
+ botRecommendationId: string | undefined;
6056
+ /**
6057
+ * <p>If the response from the ListRecommendedIntents operation contains
6058
+ * more results than specified in the maxResults parameter, a token is
6059
+ * returned in the response. Use that token in the nextToken parameter to
6060
+ * return the next page of results.</p>
6061
+ */
6062
+ nextToken?: string;
6063
+ /**
6064
+ * <p>The maximum number of bot recommendations to return in each page of
6065
+ * results. If there are fewer results than the max page size, only the
6066
+ * actual number of results are returned.</p>
6067
+ */
6068
+ maxResults?: number;
6069
+ }
6070
+ export declare namespace ListRecommendedIntentsRequest {
6071
+ /**
6072
+ * @internal
6073
+ */
6074
+ const filterSensitiveLog: (obj: ListRecommendedIntentsRequest) => any;
6075
+ }
6076
+ /**
6077
+ * <p>An object that contains a summary of a recommended intent.</p>
6078
+ */
6079
+ export interface RecommendedIntentSummary {
6080
+ /**
6081
+ * <p>The unique identifier of a recommended intent associated with the
6082
+ * bot recommendation.</p>
6083
+ */
6084
+ intentId?: string;
6085
+ /**
6086
+ * <p>The name of a recommended intent associated with the bot
6087
+ * recommendation.</p>
6088
+ */
6089
+ intentName?: string;
6090
+ /**
6091
+ * <p>The count of sample utterances of a recommended intent that is
6092
+ * associated with a bot recommendation.</p>
6093
+ */
6094
+ sampleUtterancesCount?: number;
6095
+ }
6096
+ export declare namespace RecommendedIntentSummary {
6097
+ /**
6098
+ * @internal
6099
+ */
6100
+ const filterSensitiveLog: (obj: RecommendedIntentSummary) => any;
6101
+ }
6102
+ export interface ListRecommendedIntentsResponse {
6103
+ /**
6104
+ * <p>The unique identifier of the bot associated with the recommended
6105
+ * intent.</p>
6106
+ */
6107
+ botId?: string;
6108
+ /**
6109
+ * <p>The version of the bot that contains the intent.</p>
6110
+ */
6111
+ botVersion?: string;
6112
+ /**
6113
+ * <p>The identifier of the language and locale of the intents to list.
6114
+ * The string must match one of the supported locales. For more
6115
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
6116
+ */
6117
+ localeId?: string;
6118
+ /**
6119
+ * <p>The identifier of the bot recommendation that contains the
6120
+ * recommended intent.</p>
6121
+ */
6122
+ botRecommendationId?: string;
6123
+ /**
6124
+ * <p>Summary information for the intents that meet the filter criteria
6125
+ * specified in the request. The length of the list is specified in the
6126
+ * maxResults parameter of the request. If there are more intents
6127
+ * available, the nextToken field contains a token to get the next page of
6128
+ * results.</p>
6129
+ */
6130
+ summaryList?: RecommendedIntentSummary[];
6131
+ /**
6132
+ * <p>A token that indicates whether there are more results to return in a
6133
+ * response to the ListRecommendedIntents operation. If the nextToken
6134
+ * field is present, you send the contents as the nextToken parameter of a
6135
+ * ListRecommendedIntents operation request to get the next page of
6136
+ * results.</p>
6137
+ */
6138
+ nextToken?: string;
6139
+ }
6140
+ export declare namespace ListRecommendedIntentsResponse {
6141
+ /**
6142
+ * @internal
6143
+ */
6144
+ const filterSensitiveLog: (obj: ListRecommendedIntentsResponse) => any;
6145
+ }
5538
6146
  export declare enum SlotFilterName {
5539
6147
  SlotName = "SlotName"
5540
6148
  }
@@ -5936,6 +6544,195 @@ export declare namespace ListTagsForResourceResponse {
5936
6544
  */
5937
6545
  const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
5938
6546
  }
6547
+ export declare enum SearchOrder {
6548
+ Ascending = "Ascending",
6549
+ Descending = "Descending"
6550
+ }
6551
+ export interface SearchAssociatedTranscriptsRequest {
6552
+ /**
6553
+ * <p>The unique identifier of the bot associated with the transcripts
6554
+ * that you are searching.</p>
6555
+ */
6556
+ botId: string | undefined;
6557
+ /**
6558
+ * <p>The version of the bot containing the transcripts that you are
6559
+ * searching.</p>
6560
+ */
6561
+ botVersion: string | undefined;
6562
+ /**
6563
+ * <p>The identifier of the language and locale of the transcripts to
6564
+ * search. The string must match one of the supported locales. For more
6565
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
6566
+ * </p>
6567
+ */
6568
+ localeId: string | undefined;
6569
+ /**
6570
+ * <p>The unique identifier of the bot recommendation associated with the
6571
+ * transcripts to search.</p>
6572
+ */
6573
+ botRecommendationId: string | undefined;
6574
+ /**
6575
+ * <p>How SearchResults are ordered. Valid values are Ascending or
6576
+ * Descending. The default is Descending.</p>
6577
+ */
6578
+ searchOrder?: SearchOrder | string;
6579
+ /**
6580
+ * <p>A list of filter objects.</p>
6581
+ */
6582
+ filters: AssociatedTranscriptFilter[] | undefined;
6583
+ /**
6584
+ * <p>The maximum number of bot recommendations to return in each page of
6585
+ * results. If there are fewer results than the max page size, only the
6586
+ * actual number of results are returned.</p>
6587
+ */
6588
+ maxResults?: number;
6589
+ /**
6590
+ * <p>If the response from the SearchAssociatedTranscriptsRequest
6591
+ * operation contains more results than specified in the maxResults
6592
+ * parameter, an index is returned in the response. Use that index in the
6593
+ * nextIndex parameter to return the next page of results.</p>
6594
+ */
6595
+ nextIndex?: number;
6596
+ }
6597
+ export declare namespace SearchAssociatedTranscriptsRequest {
6598
+ /**
6599
+ * @internal
6600
+ */
6601
+ const filterSensitiveLog: (obj: SearchAssociatedTranscriptsRequest) => any;
6602
+ }
6603
+ export interface SearchAssociatedTranscriptsResponse {
6604
+ /**
6605
+ * <p>The unique identifier of the bot associated with the transcripts
6606
+ * that you are searching.</p>
6607
+ */
6608
+ botId?: string;
6609
+ /**
6610
+ * <p>The version of the bot containing the transcripts that you are
6611
+ * searching.</p>
6612
+ */
6613
+ botVersion?: string;
6614
+ /**
6615
+ * <p>The identifier of the language and locale of the transcripts to
6616
+ * search. The string must match one of the supported locales. For more
6617
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
6618
+ * </p>
6619
+ */
6620
+ localeId?: string;
6621
+ /**
6622
+ * <p> The unique identifier of the bot recommendation associated with the
6623
+ * transcripts to search.</p>
6624
+ */
6625
+ botRecommendationId?: string;
6626
+ /**
6627
+ * <p>A index that indicates whether there are more results to return in a
6628
+ * response to the SearchAssociatedTranscripts operation. If the nextIndex
6629
+ * field is present, you send the contents as the nextIndex parameter of a
6630
+ * SearchAssociatedTranscriptsRequest operation to get the next page of
6631
+ * results.</p>
6632
+ */
6633
+ nextIndex?: number;
6634
+ /**
6635
+ * <p>The object that contains the associated transcript that meet the
6636
+ * criteria you specified.</p>
6637
+ */
6638
+ associatedTranscripts?: AssociatedTranscript[];
6639
+ /**
6640
+ * <p>The total number of transcripts returned by the search.</p>
6641
+ */
6642
+ totalResults?: number;
6643
+ }
6644
+ export declare namespace SearchAssociatedTranscriptsResponse {
6645
+ /**
6646
+ * @internal
6647
+ */
6648
+ const filterSensitiveLog: (obj: SearchAssociatedTranscriptsResponse) => any;
6649
+ }
6650
+ export interface StartBotRecommendationRequest {
6651
+ /**
6652
+ * <p>The unique identifier of the bot containing the bot
6653
+ * recommendation.</p>
6654
+ */
6655
+ botId: string | undefined;
6656
+ /**
6657
+ * <p>The version of the bot containing the bot recommendation.</p>
6658
+ */
6659
+ botVersion: string | undefined;
6660
+ /**
6661
+ * <p>The identifier of the language and locale of the bot recommendation
6662
+ * to start. The string must match one of the supported locales. For more
6663
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
6664
+ * </p>
6665
+ */
6666
+ localeId: string | undefined;
6667
+ /**
6668
+ * <p>The object representing the Amazon S3 bucket containing the transcript,
6669
+ * as well as the associated metadata.</p>
6670
+ */
6671
+ transcriptSourceSetting: TranscriptSourceSetting | undefined;
6672
+ /**
6673
+ * <p>The object representing the passwords that will be used to encrypt
6674
+ * the data related to the bot recommendation results, as well as the KMS
6675
+ * key ARN used to encrypt the associated metadata.</p>
6676
+ */
6677
+ encryptionSetting?: EncryptionSetting;
6678
+ }
6679
+ export declare namespace StartBotRecommendationRequest {
6680
+ /**
6681
+ * @internal
6682
+ */
6683
+ const filterSensitiveLog: (obj: StartBotRecommendationRequest) => any;
6684
+ }
6685
+ export interface StartBotRecommendationResponse {
6686
+ /**
6687
+ * <p>The unique identifier of the bot containing the bot
6688
+ * recommendation.</p>
6689
+ */
6690
+ botId?: string;
6691
+ /**
6692
+ * <p>The version of the bot containing the bot recommendation.</p>
6693
+ */
6694
+ botVersion?: string;
6695
+ /**
6696
+ * <p>The identifier of the language and locale of the bot recommendation
6697
+ * to start. The string must match one of the supported locales. For more
6698
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
6699
+ * </p>
6700
+ */
6701
+ localeId?: string;
6702
+ /**
6703
+ * <p>The status of the bot recommendation.</p>
6704
+ * <p>If the status is Failed, then the reasons for the failure are listed
6705
+ * in the failureReasons field. </p>
6706
+ */
6707
+ botRecommendationStatus?: BotRecommendationStatus | string;
6708
+ /**
6709
+ * <p>The identifier of the bot recommendation that you have
6710
+ * created.</p>
6711
+ */
6712
+ botRecommendationId?: string;
6713
+ /**
6714
+ * <p>A timestamp of the date and time that the bot recommendation was
6715
+ * created.</p>
6716
+ */
6717
+ creationDateTime?: Date;
6718
+ /**
6719
+ * <p>The object representing the Amazon S3 bucket containing the transcript,
6720
+ * as well as the associated metadata.</p>
6721
+ */
6722
+ transcriptSourceSetting?: TranscriptSourceSetting;
6723
+ /**
6724
+ * <p>The object representing the passwords that were used to encrypt the
6725
+ * data related to the bot recommendation results, as well as the KMS key
6726
+ * ARN used to encrypt the associated metadata.</p>
6727
+ */
6728
+ encryptionSetting?: EncryptionSetting;
6729
+ }
6730
+ export declare namespace StartBotRecommendationResponse {
6731
+ /**
6732
+ * @internal
6733
+ */
6734
+ const filterSensitiveLog: (obj: StartBotRecommendationResponse) => any;
6735
+ }
5939
6736
  export interface StartImportRequest {
5940
6737
  /**
5941
6738
  * <p>The unique identifier for the import. It is included in the response
@@ -6346,6 +7143,99 @@ export declare namespace UpdateBotLocaleResponse {
6346
7143
  */
6347
7144
  const filterSensitiveLog: (obj: UpdateBotLocaleResponse) => any;
6348
7145
  }
7146
+ export interface UpdateBotRecommendationRequest {
7147
+ /**
7148
+ * <p>The unique identifier of the bot containing the bot recommendation
7149
+ * to be updated.</p>
7150
+ */
7151
+ botId: string | undefined;
7152
+ /**
7153
+ * <p>The version of the bot containing the bot recommendation to be
7154
+ * updated.</p>
7155
+ */
7156
+ botVersion: string | undefined;
7157
+ /**
7158
+ * <p>The identifier of the language and locale of the bot recommendation
7159
+ * to update. The string must match one of the supported locales. For more
7160
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
7161
+ * </p>
7162
+ */
7163
+ localeId: string | undefined;
7164
+ /**
7165
+ * <p>The unique identifier of the bot recommendation to be
7166
+ * updated.</p>
7167
+ */
7168
+ botRecommendationId: string | undefined;
7169
+ /**
7170
+ * <p>The object representing the passwords that will be used to encrypt
7171
+ * the data related to the bot recommendation results, as well as the KMS
7172
+ * key ARN used to encrypt the associated metadata.</p>
7173
+ */
7174
+ encryptionSetting: EncryptionSetting | undefined;
7175
+ }
7176
+ export declare namespace UpdateBotRecommendationRequest {
7177
+ /**
7178
+ * @internal
7179
+ */
7180
+ const filterSensitiveLog: (obj: UpdateBotRecommendationRequest) => any;
7181
+ }
7182
+ export interface UpdateBotRecommendationResponse {
7183
+ /**
7184
+ * <p>The unique identifier of the bot containing the bot recommendation
7185
+ * that has been updated.</p>
7186
+ */
7187
+ botId?: string;
7188
+ /**
7189
+ * <p>The version of the bot containing the bot recommendation that has
7190
+ * been updated.</p>
7191
+ */
7192
+ botVersion?: string;
7193
+ /**
7194
+ * <p>The identifier of the language and locale of the bot recommendation
7195
+ * to update. The string must match one of the supported locales. For more
7196
+ * information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>
7197
+ * </p>
7198
+ */
7199
+ localeId?: string;
7200
+ /**
7201
+ * <p>The status of the bot recommendation.</p>
7202
+ * <p>If the status is Failed, then the reasons for the failure are listed
7203
+ * in the failureReasons field. </p>
7204
+ */
7205
+ botRecommendationStatus?: BotRecommendationStatus | string;
7206
+ /**
7207
+ * <p>The unique identifier of the bot recommendation to be
7208
+ * updated.</p>
7209
+ */
7210
+ botRecommendationId?: string;
7211
+ /**
7212
+ * <p>A timestamp of the date and time that the bot recommendation was
7213
+ * created.</p>
7214
+ */
7215
+ creationDateTime?: Date;
7216
+ /**
7217
+ * <p>A timestamp of the date and time that the bot recommendation was
7218
+ * last updated.</p>
7219
+ */
7220
+ lastUpdatedDateTime?: Date;
7221
+ /**
7222
+ * <p>The object representing the Amazon S3 bucket containing the transcript,
7223
+ * as well as the associated metadata.</p>
7224
+ */
7225
+ transcriptSourceSetting?: TranscriptSourceSetting;
7226
+ /**
7227
+ * <p>The object representing the passwords that were used to encrypt the
7228
+ * data related to the bot recommendation results, as well as the KMS key
7229
+ * ARN used to encrypt the associated metadata.</p>
7230
+ */
7231
+ encryptionSetting?: EncryptionSetting;
7232
+ }
7233
+ export declare namespace UpdateBotRecommendationResponse {
7234
+ /**
7235
+ * @internal
7236
+ */
7237
+ const filterSensitiveLog: (obj: UpdateBotRecommendationResponse) => any;
7238
+ }
6349
7239
  export interface UpdateExportRequest {
6350
7240
  /**
6351
7241
  * <p>The unique identifier Amazon Lex assigned to the export.</p>