aws-sdk-lexmodelsv2 1.17.0 → 1.21.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')
@@ -196,6 +205,7 @@ module Aws::LexModelsV2
196
205
  ExportStatus = Shapes::StringShape.new(name: 'ExportStatus')
197
206
  ExportSummary = Shapes::StructureShape.new(name: 'ExportSummary')
198
207
  ExportSummaryList = Shapes::ListShape.new(name: 'ExportSummaryList')
208
+ ExternalSourceSetting = Shapes::StructureShape.new(name: 'ExternalSourceSetting')
199
209
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
200
210
  FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
201
211
  FilePassword = Shapes::StringShape.new(name: 'FilePassword')
@@ -208,6 +218,8 @@ module Aws::LexModelsV2
208
218
  FulfillmentUpdateResponseFrequency = Shapes::IntegerShape.new(name: 'FulfillmentUpdateResponseFrequency')
209
219
  FulfillmentUpdateResponseSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdateResponseSpecification')
210
220
  FulfillmentUpdatesSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdatesSpecification')
221
+ GrammarSlotTypeSetting = Shapes::StructureShape.new(name: 'GrammarSlotTypeSetting')
222
+ GrammarSlotTypeSource = Shapes::StructureShape.new(name: 'GrammarSlotTypeSource')
211
223
  HitCount = Shapes::IntegerShape.new(name: 'HitCount')
212
224
  Id = Shapes::StringShape.new(name: 'Id')
213
225
  ImageResponseCard = Shapes::StructureShape.new(name: 'ImageResponseCard')
@@ -218,6 +230,7 @@ module Aws::LexModelsV2
218
230
  ImportFilterOperator = Shapes::StringShape.new(name: 'ImportFilterOperator')
219
231
  ImportFilters = Shapes::ListShape.new(name: 'ImportFilters')
220
232
  ImportResourceSpecification = Shapes::StructureShape.new(name: 'ImportResourceSpecification')
233
+ ImportResourceType = Shapes::StringShape.new(name: 'ImportResourceType')
221
234
  ImportSortAttribute = Shapes::StringShape.new(name: 'ImportSortAttribute')
222
235
  ImportSortBy = Shapes::StructureShape.new(name: 'ImportSortBy')
223
236
  ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
@@ -312,6 +325,8 @@ module Aws::LexModelsV2
312
325
  PromptMaxRetries = Shapes::IntegerShape.new(name: 'PromptMaxRetries')
313
326
  PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
314
327
  QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
328
+ RecommendedAction = Shapes::StringShape.new(name: 'RecommendedAction')
329
+ RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
315
330
  RecommendedIntentSummary = Shapes::StructureShape.new(name: 'RecommendedIntentSummary')
316
331
  RecommendedIntentSummaryList = Shapes::ListShape.new(name: 'RecommendedIntentSummaryList')
317
332
  RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
@@ -326,6 +341,7 @@ module Aws::LexModelsV2
326
341
  S3BucketLogDestination = Shapes::StructureShape.new(name: 'S3BucketLogDestination')
327
342
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
328
343
  S3BucketTranscriptSource = Shapes::StructureShape.new(name: 'S3BucketTranscriptSource')
344
+ S3ObjectPath = Shapes::StringShape.new(name: 'S3ObjectPath')
329
345
  SSMLMessage = Shapes::StructureShape.new(name: 'SSMLMessage')
330
346
  SSMLMessageValue = Shapes::StringShape.new(name: 'SSMLMessageValue')
331
347
  SampleUtterance = Shapes::StructureShape.new(name: 'SampleUtterance')
@@ -356,6 +372,7 @@ module Aws::LexModelsV2
356
372
  SlotSortBy = Shapes::StructureShape.new(name: 'SlotSortBy')
357
373
  SlotSummary = Shapes::StructureShape.new(name: 'SlotSummary')
358
374
  SlotSummaryList = Shapes::ListShape.new(name: 'SlotSummaryList')
375
+ SlotTypeCategory = Shapes::StringShape.new(name: 'SlotTypeCategory')
359
376
  SlotTypeFilter = Shapes::StructureShape.new(name: 'SlotTypeFilter')
360
377
  SlotTypeFilterName = Shapes::StringShape.new(name: 'SlotTypeFilterName')
361
378
  SlotTypeFilterOperator = Shapes::StringShape.new(name: 'SlotTypeFilterOperator')
@@ -427,6 +444,9 @@ module Aws::LexModelsV2
427
444
  VoiceSettings = Shapes::StructureShape.new(name: 'VoiceSettings')
428
445
  WaitAndContinueSpecification = Shapes::StructureShape.new(name: 'WaitAndContinueSpecification')
429
446
 
447
+ AdvancedRecognitionSetting.add_member(:audio_recognition_strategy, Shapes::ShapeRef.new(shape: AudioRecognitionStrategy, location_name: "audioRecognitionStrategy"))
448
+ AdvancedRecognitionSetting.struct_class = Types::AdvancedRecognitionSetting
449
+
430
450
  AggregatedUtterancesFilter.add_member(:name, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterName, required: true, location_name: "name"))
431
451
  AggregatedUtterancesFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
432
452
  AggregatedUtterancesFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterOperator, required: true, location_name: "operator"))
@@ -831,11 +851,12 @@ module Aws::LexModelsV2
831
851
  CreateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
832
852
  CreateSlotTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
833
853
  CreateSlotTypeRequest.add_member(:slot_type_values, Shapes::ShapeRef.new(shape: SlotTypeValues, location_name: "slotTypeValues"))
834
- CreateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, required: true, location_name: "valueSelectionSetting"))
854
+ CreateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, location_name: "valueSelectionSetting"))
835
855
  CreateSlotTypeRequest.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
836
856
  CreateSlotTypeRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
837
857
  CreateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
838
858
  CreateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
859
+ CreateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
839
860
  CreateSlotTypeRequest.struct_class = Types::CreateSlotTypeRequest
840
861
 
841
862
  CreateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
@@ -848,6 +869,7 @@ module Aws::LexModelsV2
848
869
  CreateSlotTypeResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
849
870
  CreateSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
850
871
  CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
872
+ CreateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
851
873
  CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
852
874
 
853
875
  CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
@@ -859,6 +881,16 @@ module Aws::LexModelsV2
859
881
  CustomPayload.add_member(:value, Shapes::ShapeRef.new(shape: CustomPayloadValue, required: true, location_name: "value"))
860
882
  CustomPayload.struct_class = Types::CustomPayload
861
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
+
862
894
  DataPrivacy.add_member(:child_directed, Shapes::ShapeRef.new(shape: ChildDirected, required: true, location_name: "childDirected"))
863
895
  DataPrivacy.struct_class = Types::DataPrivacy
864
896
 
@@ -905,6 +937,17 @@ module Aws::LexModelsV2
905
937
  DeleteBotVersionResponse.add_member(:bot_status, Shapes::ShapeRef.new(shape: BotStatus, location_name: "botStatus"))
906
938
  DeleteBotVersionResponse.struct_class = Types::DeleteBotVersionResponse
907
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
+
908
951
  DeleteExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
909
952
  DeleteExportRequest.struct_class = Types::DeleteExportRequest
910
953
 
@@ -1001,6 +1044,7 @@ module Aws::LexModelsV2
1001
1044
  DescribeBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1002
1045
  DescribeBotLocaleResponse.add_member(:last_build_submitted_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastBuildSubmittedDateTime"))
1003
1046
  DescribeBotLocaleResponse.add_member(:bot_locale_history_events, Shapes::ShapeRef.new(shape: BotLocaleHistoryEventsList, location_name: "botLocaleHistoryEvents"))
1047
+ DescribeBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
1004
1048
  DescribeBotLocaleResponse.struct_class = Types::DescribeBotLocaleResponse
1005
1049
 
1006
1050
  DescribeBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -1052,6 +1096,19 @@ module Aws::LexModelsV2
1052
1096
  DescribeBotVersionResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1053
1097
  DescribeBotVersionResponse.struct_class = Types::DescribeBotVersionResponse
1054
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
+
1055
1112
  DescribeExportRequest.add_member(:export_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "exportId"))
1056
1113
  DescribeExportRequest.struct_class = Types::DescribeExportRequest
1057
1114
 
@@ -1152,6 +1209,7 @@ module Aws::LexModelsV2
1152
1209
  DescribeSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1153
1210
  DescribeSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1154
1211
  DescribeSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1212
+ DescribeSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
1155
1213
  DescribeSlotTypeResponse.struct_class = Types::DescribeSlotTypeResponse
1156
1214
 
1157
1215
  DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
@@ -1171,6 +1229,7 @@ module Aws::LexModelsV2
1171
1229
 
1172
1230
  ExportResourceSpecification.add_member(:bot_export_specification, Shapes::ShapeRef.new(shape: BotExportSpecification, location_name: "botExportSpecification"))
1173
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"))
1174
1233
  ExportResourceSpecification.struct_class = Types::ExportResourceSpecification
1175
1234
 
1176
1235
  ExportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ExportSortAttribute, required: true, location_name: "attribute"))
@@ -1187,6 +1246,9 @@ module Aws::LexModelsV2
1187
1246
 
1188
1247
  ExportSummaryList.member = Shapes::ShapeRef.new(shape: ExportSummary)
1189
1248
 
1249
+ ExternalSourceSetting.add_member(:grammar_slot_type_setting, Shapes::ShapeRef.new(shape: GrammarSlotTypeSetting, location_name: "grammarSlotTypeSetting"))
1250
+ ExternalSourceSetting.struct_class = Types::ExternalSourceSetting
1251
+
1190
1252
  FailureReasons.member = Shapes::ShapeRef.new(shape: FailureReason)
1191
1253
 
1192
1254
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
@@ -1212,6 +1274,14 @@ module Aws::LexModelsV2
1212
1274
  FulfillmentUpdatesSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentTimeout, location_name: "timeoutInSeconds"))
1213
1275
  FulfillmentUpdatesSpecification.struct_class = Types::FulfillmentUpdatesSpecification
1214
1276
 
1277
+ GrammarSlotTypeSetting.add_member(:source, Shapes::ShapeRef.new(shape: GrammarSlotTypeSource, location_name: "source"))
1278
+ GrammarSlotTypeSetting.struct_class = Types::GrammarSlotTypeSetting
1279
+
1280
+ GrammarSlotTypeSource.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, required: true, location_name: "s3BucketName"))
1281
+ GrammarSlotTypeSource.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectPath, required: true, location_name: "s3ObjectKey"))
1282
+ GrammarSlotTypeSource.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
1283
+ GrammarSlotTypeSource.struct_class = Types::GrammarSlotTypeSource
1284
+
1215
1285
  ImageResponseCard.add_member(:title, Shapes::ShapeRef.new(shape: AttachmentTitle, required: true, location_name: "title"))
1216
1286
  ImageResponseCard.add_member(:subtitle, Shapes::ShapeRef.new(shape: AttachmentTitle, location_name: "subtitle"))
1217
1287
  ImageResponseCard.add_member(:image_url, Shapes::ShapeRef.new(shape: AttachmentUrl, location_name: "imageUrl"))
@@ -1227,6 +1297,7 @@ module Aws::LexModelsV2
1227
1297
 
1228
1298
  ImportResourceSpecification.add_member(:bot_import_specification, Shapes::ShapeRef.new(shape: BotImportSpecification, location_name: "botImportSpecification"))
1229
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"))
1230
1301
  ImportResourceSpecification.struct_class = Types::ImportResourceSpecification
1231
1302
 
1232
1303
  ImportSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: ImportSortAttribute, required: true, location_name: "attribute"))
@@ -1240,6 +1311,7 @@ module Aws::LexModelsV2
1240
1311
  ImportSummary.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, location_name: "mergeStrategy"))
1241
1312
  ImportSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1242
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"))
1243
1315
  ImportSummary.struct_class = Types::ImportSummary
1244
1316
 
1245
1317
  ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
@@ -1408,12 +1480,14 @@ module Aws::LexModelsV2
1408
1480
  ListExportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ExportFilters, location_name: "filters"))
1409
1481
  ListExportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1410
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"))
1411
1484
  ListExportsRequest.struct_class = Types::ListExportsRequest
1412
1485
 
1413
1486
  ListExportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1414
1487
  ListExportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1415
1488
  ListExportsResponse.add_member(:export_summaries, Shapes::ShapeRef.new(shape: ExportSummaryList, location_name: "exportSummaries"))
1416
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"))
1417
1491
  ListExportsResponse.struct_class = Types::ListExportsResponse
1418
1492
 
1419
1493
  ListImportsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
@@ -1422,12 +1496,14 @@ module Aws::LexModelsV2
1422
1496
  ListImportsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ImportFilters, location_name: "filters"))
1423
1497
  ListImportsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1424
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"))
1425
1500
  ListImportsRequest.struct_class = Types::ListImportsRequest
1426
1501
 
1427
1502
  ListImportsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1428
1503
  ListImportsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1429
1504
  ListImportsResponse.add_member(:import_summaries, Shapes::ShapeRef.new(shape: ImportSummaryList, location_name: "importSummaries"))
1430
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"))
1431
1507
  ListImportsResponse.struct_class = Types::ListImportsResponse
1432
1508
 
1433
1509
  ListIntentsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -1558,6 +1634,8 @@ module Aws::LexModelsV2
1558
1634
  PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1559
1635
  PromptSpecification.struct_class = Types::PromptSpecification
1560
1636
 
1637
+ RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
1638
+
1561
1639
  RecommendedIntentSummary.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
1562
1640
  RecommendedIntentSummary.add_member(:intent_name, Shapes::ShapeRef.new(shape: Name, location_name: "intentName"))
1563
1641
  RecommendedIntentSummary.add_member(:sample_utterances_count, Shapes::ShapeRef.new(shape: SampleUtterancesCount, location_name: "sampleUtterancesCount"))
@@ -1679,6 +1757,7 @@ module Aws::LexModelsV2
1679
1757
  SlotTypeSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1680
1758
  SlotTypeSummary.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
1681
1759
  SlotTypeSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1760
+ SlotTypeSummary.add_member(:slot_type_category, Shapes::ShapeRef.new(shape: SlotTypeCategory, location_name: "slotTypeCategory"))
1682
1761
  SlotTypeSummary.struct_class = Types::SlotTypeSummary
1683
1762
 
1684
1763
  SlotTypeSummaryList.member = Shapes::ShapeRef.new(shape: SlotTypeSummary)
@@ -1701,6 +1780,7 @@ module Aws::LexModelsV2
1701
1780
 
1702
1781
  SlotValueSelectionSetting.add_member(:resolution_strategy, Shapes::ShapeRef.new(shape: SlotValueResolutionStrategy, required: true, location_name: "resolutionStrategy"))
1703
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"))
1704
1784
  SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
1705
1785
 
1706
1786
  StartBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -1819,6 +1899,7 @@ module Aws::LexModelsV2
1819
1899
  UpdateBotLocaleResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1820
1900
  UpdateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1821
1901
  UpdateBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1902
+ UpdateBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
1822
1903
  UpdateBotLocaleResponse.struct_class = Types::UpdateBotLocaleResponse
1823
1904
 
1824
1905
  UpdateBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
@@ -1949,11 +2030,12 @@ module Aws::LexModelsV2
1949
2030
  UpdateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
1950
2031
  UpdateSlotTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1951
2032
  UpdateSlotTypeRequest.add_member(:slot_type_values, Shapes::ShapeRef.new(shape: SlotTypeValues, location_name: "slotTypeValues"))
1952
- UpdateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, required: true, location_name: "valueSelectionSetting"))
2033
+ UpdateSlotTypeRequest.add_member(:value_selection_setting, Shapes::ShapeRef.new(shape: SlotValueSelectionSetting, location_name: "valueSelectionSetting"))
1953
2034
  UpdateSlotTypeRequest.add_member(:parent_slot_type_signature, Shapes::ShapeRef.new(shape: SlotTypeSignature, location_name: "parentSlotTypeSignature"))
1954
2035
  UpdateSlotTypeRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1955
2036
  UpdateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1956
2037
  UpdateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
2038
+ UpdateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
1957
2039
  UpdateSlotTypeRequest.struct_class = Types::UpdateSlotTypeRequest
1958
2040
 
1959
2041
  UpdateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
@@ -1967,6 +2049,7 @@ module Aws::LexModelsV2
1967
2049
  UpdateSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1968
2050
  UpdateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1969
2051
  UpdateSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
2052
+ UpdateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
1970
2053
  UpdateSlotTypeResponse.struct_class = Types::UpdateSlotTypeResponse
1971
2054
 
1972
2055
  UtteranceAggregationDuration.add_member(:relative_aggregation_duration, Shapes::ShapeRef.new(shape: RelativeAggregationDuration, required: true, location_name: "relativeAggregationDuration"))
@@ -2228,6 +2311,20 @@ module Aws::LexModelsV2
2228
2311
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2229
2312
  end)
2230
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
+
2231
2328
  api.add_operation(:delete_export, Seahorse::Model::Operation.new.tap do |o|
2232
2329
  o.name = "DeleteExport"
2233
2330
  o.http_method = "DELETE"
@@ -2395,6 +2492,19 @@ module Aws::LexModelsV2
2395
2492
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2396
2493
  end)
2397
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
+
2398
2508
  api.add_operation(:describe_export, Seahorse::Model::Operation.new.tap do |o|
2399
2509
  o.name = "DescribeExport"
2400
2510
  o.http_method = "GET"