aws-sdk-lexmodelsv2 1.19.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module Aws::LexModelsV2
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AdvancedRecognitionSetting = Shapes::StructureShape.new(name: 'AdvancedRecognitionSetting')
16
17
  AggregatedUtterancesFilter = Shapes::StructureShape.new(name: 'AggregatedUtterancesFilter')
17
18
  AggregatedUtterancesFilterName = Shapes::StringShape.new(name: 'AggregatedUtterancesFilterName')
18
19
  AggregatedUtterancesFilterOperator = Shapes::StringShape.new(name: 'AggregatedUtterancesFilterOperator')
@@ -32,6 +33,7 @@ module Aws::LexModelsV2
32
33
  AudioLogDestination = Shapes::StructureShape.new(name: 'AudioLogDestination')
33
34
  AudioLogSetting = Shapes::StructureShape.new(name: 'AudioLogSetting')
34
35
  AudioLogSettingsList = Shapes::ListShape.new(name: 'AudioLogSettingsList')
36
+ AudioRecognitionStrategy = Shapes::StringShape.new(name: 'AudioRecognitionStrategy')
35
37
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
36
38
  BotAliasHistoryEvent = Shapes::StructureShape.new(name: 'BotAliasHistoryEvent')
37
39
  BotAliasHistoryEventsList = Shapes::ListShape.new(name: 'BotAliasHistoryEventsList')
@@ -135,6 +137,9 @@ module Aws::LexModelsV2
135
137
  CreateUploadUrlResponse = Shapes::StructureShape.new(name: 'CreateUploadUrlResponse')
136
138
  CustomPayload = Shapes::StructureShape.new(name: 'CustomPayload')
137
139
  CustomPayloadValue = Shapes::StringShape.new(name: 'CustomPayloadValue')
140
+ CustomVocabularyExportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyExportSpecification')
141
+ CustomVocabularyImportSpecification = Shapes::StructureShape.new(name: 'CustomVocabularyImportSpecification')
142
+ CustomVocabularyStatus = Shapes::StringShape.new(name: 'CustomVocabularyStatus')
138
143
  DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
139
144
  DateRangeFilter = Shapes::StructureShape.new(name: 'DateRangeFilter')
140
145
  DeleteBotAliasRequest = Shapes::StructureShape.new(name: 'DeleteBotAliasRequest')
@@ -145,6 +150,8 @@ module Aws::LexModelsV2
145
150
  DeleteBotResponse = Shapes::StructureShape.new(name: 'DeleteBotResponse')
146
151
  DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
147
152
  DeleteBotVersionResponse = Shapes::StructureShape.new(name: 'DeleteBotVersionResponse')
153
+ DeleteCustomVocabularyRequest = Shapes::StructureShape.new(name: 'DeleteCustomVocabularyRequest')
154
+ DeleteCustomVocabularyResponse = Shapes::StructureShape.new(name: 'DeleteCustomVocabularyResponse')
148
155
  DeleteExportRequest = Shapes::StructureShape.new(name: 'DeleteExportRequest')
149
156
  DeleteExportResponse = Shapes::StructureShape.new(name: 'DeleteExportResponse')
150
157
  DeleteImportRequest = Shapes::StructureShape.new(name: 'DeleteImportRequest')
@@ -168,6 +175,8 @@ module Aws::LexModelsV2
168
175
  DescribeBotResponse = Shapes::StructureShape.new(name: 'DescribeBotResponse')
169
176
  DescribeBotVersionRequest = Shapes::StructureShape.new(name: 'DescribeBotVersionRequest')
170
177
  DescribeBotVersionResponse = Shapes::StructureShape.new(name: 'DescribeBotVersionResponse')
178
+ DescribeCustomVocabularyMetadataRequest = Shapes::StructureShape.new(name: 'DescribeCustomVocabularyMetadataRequest')
179
+ DescribeCustomVocabularyMetadataResponse = Shapes::StructureShape.new(name: 'DescribeCustomVocabularyMetadataResponse')
171
180
  DescribeExportRequest = Shapes::StructureShape.new(name: 'DescribeExportRequest')
172
181
  DescribeExportResponse = Shapes::StructureShape.new(name: 'DescribeExportResponse')
173
182
  DescribeImportRequest = Shapes::StructureShape.new(name: 'DescribeImportRequest')
@@ -221,6 +230,7 @@ module Aws::LexModelsV2
221
230
  ImportFilterOperator = Shapes::StringShape.new(name: 'ImportFilterOperator')
222
231
  ImportFilters = Shapes::ListShape.new(name: 'ImportFilters')
223
232
  ImportResourceSpecification = Shapes::StructureShape.new(name: 'ImportResourceSpecification')
233
+ ImportResourceType = Shapes::StringShape.new(name: 'ImportResourceType')
224
234
  ImportSortAttribute = Shapes::StringShape.new(name: 'ImportSortAttribute')
225
235
  ImportSortBy = Shapes::StructureShape.new(name: 'ImportSortBy')
226
236
  ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
@@ -434,6 +444,9 @@ module Aws::LexModelsV2
434
444
  VoiceSettings = Shapes::StructureShape.new(name: 'VoiceSettings')
435
445
  WaitAndContinueSpecification = Shapes::StructureShape.new(name: 'WaitAndContinueSpecification')
436
446
 
447
+ AdvancedRecognitionSetting.add_member(:audio_recognition_strategy, Shapes::ShapeRef.new(shape: AudioRecognitionStrategy, location_name: "audioRecognitionStrategy"))
448
+ AdvancedRecognitionSetting.struct_class = Types::AdvancedRecognitionSetting
449
+
437
450
  AggregatedUtterancesFilter.add_member(:name, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterName, required: true, location_name: "name"))
438
451
  AggregatedUtterancesFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
439
452
  AggregatedUtterancesFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterOperator, required: true, location_name: "operator"))
@@ -868,6 +881,16 @@ module Aws::LexModelsV2
868
881
  CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
869
882
  CustomPayload.struct_class = Types::CustomPayload
870
883
 
884
+ CustomVocabularyExportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
885
+ CustomVocabularyExportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location_name: "botVersion"))
886
+ CustomVocabularyExportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
887
+ CustomVocabularyExportSpecification.struct_class = Types::CustomVocabularyExportSpecification
888
+
889
+ CustomVocabularyImportSpecification.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "botId"))
890
+ CustomVocabularyImportSpecification.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location_name: "botVersion"))
891
+ CustomVocabularyImportSpecification.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
892
+ CustomVocabularyImportSpecification.struct_class = Types::CustomVocabularyImportSpecification
893
+
871
894
  DataPrivacy.add_member(:child_directed, Shapes::ShapeRef.new(shape: ChildDirected, required: true, location_name: "childDirected"))
872
895
  DataPrivacy.struct_class = Types::DataPrivacy
873
896
 
@@ -914,6 +937,17 @@ module Aws::LexModelsV2
914
937
  DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
915
938
  DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
916
939
 
940
+ DeleteCustomVocabularyRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
941
+ DeleteCustomVocabularyRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
942
+ DeleteCustomVocabularyRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
943
+ DeleteCustomVocabularyRequest.struct_class = Types::DeleteCustomVocabularyRequest
944
+
945
+ DeleteCustomVocabularyResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
946
+ DeleteCustomVocabularyResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
947
+ DeleteCustomVocabularyResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
948
+ DeleteCustomVocabularyResponse.add_member(:custom_vocabulary_status, Shapes::ShapeRef.new(shape: CustomVocabularyStatus, location_name: "customVocabularyStatus"))
949
+ DeleteCustomVocabularyResponse.struct_class = Types::DeleteCustomVocabularyResponse
950
+
917
951
  DeleteExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
918
952
  DeleteExportRequest.struct_class = Types::DeleteExportRequest
919
953
 
@@ -1062,6 +1096,19 @@ module Aws::LexModelsV2
1062
1096
  DescribeBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1063
1097
  DescribeBotVersionResponse.struct_class = Types::DescribeBotVersionResponse
1064
1098
 
1099
+ DescribeCustomVocabularyMetadataRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1100
+ DescribeCustomVocabularyMetadataRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
1101
+ DescribeCustomVocabularyMetadataRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
1102
+ DescribeCustomVocabularyMetadataRequest.struct_class = Types::DescribeCustomVocabularyMetadataRequest
1103
+
1104
+ DescribeCustomVocabularyMetadataResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1105
+ DescribeCustomVocabularyMetadataResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1106
+ DescribeCustomVocabularyMetadataResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1107
+ DescribeCustomVocabularyMetadataResponse.add_member(:custom_vocabulary_status, Shapes::ShapeRef.new(shape: CustomVocabularyStatus, location_name: "customVocabularyStatus"))
1108
+ DescribeCustomVocabularyMetadataResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1109
+ DescribeCustomVocabularyMetadataResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1110
+ DescribeCustomVocabularyMetadataResponse.struct_class = Types::DescribeCustomVocabularyMetadataResponse
1111
+
1065
1112
  DescribeExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
1066
1113
  DescribeExportRequest.struct_class = Types::DescribeExportRequest
1067
1114
 
@@ -1182,6 +1229,7 @@ module Aws::LexModelsV2
1182
1229
 
1183
1230
  ExportResourceSpecification.add_member(:bot_export_specification, Shapes::ShapeRef.new(shape: BotExportSpecification, location_name: "botExportSpecification"))
1184
1231
  ExportResourceSpecification.add_member(:bot_locale_export_specification, Shapes::ShapeRef.new(shape: BotLocaleExportSpecification, location_name: "botLocaleExportSpecification"))
1232
+ ExportResourceSpecification.add_member(:custom_vocabulary_export_specification, Shapes::ShapeRef.new(shape: CustomVocabularyExportSpecification, location_name: "customVocabularyExportSpecification"))
1185
1233
  ExportResourceSpecification.struct_class = Types::ExportResourceSpecification
1186
1234
 
1187
1235
  ExportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ExportSortAttribute, required: true, location_name: "attribute"))
@@ -1249,6 +1297,7 @@ module Aws::LexModelsV2
1249
1297
 
1250
1298
  ImportResourceSpecification.add_member(:bot_import_specification, Shapes::ShapeRef.new(shape: BotImportSpecification, location_name: "botImportSpecification"))
1251
1299
  ImportResourceSpecification.add_member(:bot_locale_import_specification, Shapes::ShapeRef.new(shape: BotLocaleImportSpecification, location_name: "botLocaleImportSpecification"))
1300
+ ImportResourceSpecification.add_member(:custom_vocabulary_import_specification, Shapes::ShapeRef.new(shape: CustomVocabularyImportSpecification, location_name: "customVocabularyImportSpecification"))
1252
1301
  ImportResourceSpecification.struct_class = Types::ImportResourceSpecification
1253
1302
 
1254
1303
  ImportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ImportSortAttribute, required: true, location_name: "attribute"))
@@ -1262,6 +1311,7 @@ module Aws::LexModelsV2
1262
1311
  ImportSummary.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
1263
1312
  ImportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1264
1313
  ImportSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1314
+ ImportSummary.add_member(:imported_resource_type, Shapes::ShapeRef.new(shape: ImportResourceType, location_name: "importedResourceType"))
1265
1315
  ImportSummary.struct_class = Types::ImportSummary
1266
1316
 
1267
1317
  ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
@@ -1430,12 +1480,14 @@ module Aws::LexModelsV2
1430
1480
  ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
1431
1481
  ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1432
1482
  ListExportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1483
+ ListExportsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1433
1484
  ListExportsRequest.struct_class = Types::ListExportsRequest
1434
1485
 
1435
1486
  ListExportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1436
1487
  ListExportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1437
1488
  ListExportsResponse.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaryList, location_name: "exportSummaries"))
1438
1489
  ListExportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1490
+ ListExportsResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1439
1491
  ListExportsResponse.struct_class = Types::ListExportsResponse
1440
1492
 
1441
1493
  ListImportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
@@ -1444,12 +1496,14 @@ module Aws::LexModelsV2
1444
1496
  ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ImportFilters, location_name: "filters"))
1445
1497
  ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1446
1498
  ListImportsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1499
+ ListImportsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1447
1500
  ListImportsRequest.struct_class = Types::ListImportsRequest
1448
1501
 
1449
1502
  ListImportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1450
1503
  ListImportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1451
1504
  ListImportsResponse.add_member(:import_summaries, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "importSummaries"))
1452
1505
  ListImportsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1506
+ ListImportsResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1453
1507
  ListImportsResponse.struct_class = Types::ListImportsResponse
1454
1508
 
1455
1509
  ListIntentsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -1726,6 +1780,7 @@ module Aws::LexModelsV2
1726
1780
 
1727
1781
  SlotValueSelectionSetting.add_member(:resolution_strategy, Shapes::ShapeRef.new(shape: SlotValueResolutionStrategy, required: true, location_name: "resolutionStrategy"))
1728
1782
  SlotValueSelectionSetting.add_member(:regex_filter, Shapes::ShapeRef.new(shape: SlotValueRegexFilter, location_name: "regexFilter"))
1783
+ SlotValueSelectionSetting.add_member(:advanced_recognition_setting, Shapes::ShapeRef.new(shape: AdvancedRecognitionSetting, location_name: "advancedRecognitionSetting"))
1729
1784
  SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
1730
1785
 
1731
1786
  StartBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -2256,6 +2311,20 @@ module Aws::LexModelsV2
2256
2311
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2257
2312
  end)
2258
2313
 
2314
+ api.add_operation(:delete_custom_vocabulary, Seahorse::Model::Operation.new.tap do |o|
2315
+ o.name = "DeleteCustomVocabulary"
2316
+ o.http_method = "DELETE"
2317
+ o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary"
2318
+ o.input = Shapes::ShapeRef.new(shape: DeleteCustomVocabularyRequest)
2319
+ o.output = Shapes::ShapeRef.new(shape: DeleteCustomVocabularyResponse)
2320
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2321
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2322
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2323
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2324
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2325
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2326
+ end)
2327
+
2259
2328
  api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
2260
2329
  o.name = "DeleteExport"
2261
2330
  o.http_method = "DELETE"
@@ -2423,6 +2492,19 @@ module Aws::LexModelsV2
2423
2492
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2424
2493
  end)
2425
2494
 
2495
+ api.add_operation(:describe_custom_vocabulary_metadata, Seahorse::Model::Operation.new.tap do |o|
2496
+ o.name = "DescribeCustomVocabularyMetadata"
2497
+ o.http_method = "GET"
2498
+ o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/customvocabulary/DEFAULT/metadata"
2499
+ o.input = Shapes::ShapeRef.new(shape: DescribeCustomVocabularyMetadataRequest)
2500
+ o.output = Shapes::ShapeRef.new(shape: DescribeCustomVocabularyMetadataResponse)
2501
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2502
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2503
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2504
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2505
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2506
+ end)
2507
+
2426
2508
  api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
2427
2509
  o.name = "DescribeExport"
2428
2510
  o.http_method = "GET"