aws-sdk-lexmodelsv2 1.23.0 → 1.26.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.
@@ -102,11 +102,16 @@ module Aws::LexModelsV2
102
102
  CloudWatchLogGroupLogDestination = Shapes::StructureShape.new(name: 'CloudWatchLogGroupLogDestination')
103
103
  CodeHookInterfaceVersion = Shapes::StringShape.new(name: 'CodeHookInterfaceVersion')
104
104
  CodeHookSpecification = Shapes::StructureShape.new(name: 'CodeHookSpecification')
105
+ Condition = Shapes::StructureShape.new(name: 'Condition')
106
+ ConditionExpression = Shapes::StringShape.new(name: 'ConditionExpression')
105
107
  ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
106
108
  ConditionKeyValueMap = Shapes::MapShape.new(name: 'ConditionKeyValueMap')
107
109
  ConditionMap = Shapes::MapShape.new(name: 'ConditionMap')
108
110
  ConditionOperator = Shapes::StringShape.new(name: 'ConditionOperator')
109
111
  ConditionValue = Shapes::StringShape.new(name: 'ConditionValue')
112
+ ConditionalBranch = Shapes::StructureShape.new(name: 'ConditionalBranch')
113
+ ConditionalBranches = Shapes::ListShape.new(name: 'ConditionalBranches')
114
+ ConditionalSpecification = Shapes::StructureShape.new(name: 'ConditionalSpecification')
110
115
  ConfidenceThreshold = Shapes::FloatShape.new(name: 'ConfidenceThreshold')
111
116
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
112
117
  ContextTimeToLiveInSeconds = Shapes::IntegerShape.new(name: 'ContextTimeToLiveInSeconds')
@@ -142,6 +147,7 @@ module Aws::LexModelsV2
142
147
  CustomVocabularyStatus = Shapes::StringShape.new(name: 'CustomVocabularyStatus')
143
148
  DataPrivacy = Shapes::StructureShape.new(name: 'DataPrivacy')
144
149
  DateRangeFilter = Shapes::StructureShape.new(name: 'DateRangeFilter')
150
+ DefaultConditionalBranch = Shapes::StructureShape.new(name: 'DefaultConditionalBranch')
145
151
  DeleteBotAliasRequest = Shapes::StructureShape.new(name: 'DeleteBotAliasRequest')
146
152
  DeleteBotAliasResponse = Shapes::StructureShape.new(name: 'DeleteBotAliasResponse')
147
153
  DeleteBotLocaleRequest = Shapes::StructureShape.new(name: 'DeleteBotLocaleRequest')
@@ -190,9 +196,14 @@ module Aws::LexModelsV2
190
196
  DescribeSlotTypeRequest = Shapes::StructureShape.new(name: 'DescribeSlotTypeRequest')
191
197
  DescribeSlotTypeResponse = Shapes::StructureShape.new(name: 'DescribeSlotTypeResponse')
192
198
  Description = Shapes::StringShape.new(name: 'Description')
199
+ DialogAction = Shapes::StructureShape.new(name: 'DialogAction')
200
+ DialogActionType = Shapes::StringShape.new(name: 'DialogActionType')
201
+ DialogCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'DialogCodeHookInvocationSetting')
193
202
  DialogCodeHookSettings = Shapes::StructureShape.new(name: 'DialogCodeHookSettings')
203
+ DialogState = Shapes::StructureShape.new(name: 'DialogState')
194
204
  DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
195
205
  Effect = Shapes::StringShape.new(name: 'Effect')
206
+ ElicitationCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'ElicitationCodeHookInvocationSetting')
196
207
  EncryptionSetting = Shapes::StructureShape.new(name: 'EncryptionSetting')
197
208
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
198
209
  ExportFilter = Shapes::StructureShape.new(name: 'ExportFilter')
@@ -237,6 +248,7 @@ module Aws::LexModelsV2
237
248
  ImportSummary = Shapes::StructureShape.new(name: 'ImportSummary')
238
249
  ImportSummaryList = Shapes::ListShape.new(name: 'ImportSummaryList')
239
250
  ImportedResourceId = Shapes::StringShape.new(name: 'ImportedResourceId')
251
+ InitialResponseSetting = Shapes::StructureShape.new(name: 'InitialResponseSetting')
240
252
  InputContext = Shapes::StructureShape.new(name: 'InputContext')
241
253
  InputContextsList = Shapes::ListShape.new(name: 'InputContextsList')
242
254
  IntentClosingSetting = Shapes::StructureShape.new(name: 'IntentClosingSetting')
@@ -245,6 +257,7 @@ module Aws::LexModelsV2
245
257
  IntentFilterName = Shapes::StringShape.new(name: 'IntentFilterName')
246
258
  IntentFilterOperator = Shapes::StringShape.new(name: 'IntentFilterOperator')
247
259
  IntentFilters = Shapes::ListShape.new(name: 'IntentFilters')
260
+ IntentOverride = Shapes::StructureShape.new(name: 'IntentOverride')
248
261
  IntentSignature = Shapes::StringShape.new(name: 'IntentSignature')
249
262
  IntentSortAttribute = Shapes::StringShape.new(name: 'IntentSortAttribute')
250
263
  IntentSortBy = Shapes::StructureShape.new(name: 'IntentSortBy')
@@ -296,12 +309,14 @@ module Aws::LexModelsV2
296
309
  Message = Shapes::StructureShape.new(name: 'Message')
297
310
  MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
298
311
  MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
312
+ MessageSelectionStrategy = Shapes::StringShape.new(name: 'MessageSelectionStrategy')
299
313
  MessageVariationsList = Shapes::ListShape.new(name: 'MessageVariationsList')
300
314
  MissedCount = Shapes::IntegerShape.new(name: 'MissedCount')
301
315
  MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
302
316
  Name = Shapes::StringShape.new(name: 'Name')
303
317
  NextIndex = Shapes::IntegerShape.new(name: 'NextIndex')
304
318
  NextToken = Shapes::StringShape.new(name: 'NextToken')
319
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
305
320
  NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
306
321
  ObfuscationSetting = Shapes::StructureShape.new(name: 'ObfuscationSetting')
307
322
  ObfuscationSettingType = Shapes::StringShape.new(name: 'ObfuscationSettingType')
@@ -315,6 +330,7 @@ module Aws::LexModelsV2
315
330
  PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
316
331
  PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
317
332
  Policy = Shapes::StringShape.new(name: 'Policy')
333
+ PostDialogCodeHookInvocationSpecification = Shapes::StructureShape.new(name: 'PostDialogCodeHookInvocationSpecification')
318
334
  PostFulfillmentStatusSpecification = Shapes::StructureShape.new(name: 'PostFulfillmentStatusSpecification')
319
335
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
320
336
  PresignedS3Url = Shapes::StringShape.new(name: 'PresignedS3Url')
@@ -357,6 +373,7 @@ module Aws::LexModelsV2
357
373
  SessionId = Shapes::StringShape.new(name: 'SessionId')
358
374
  SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
359
375
  SkipResourceInUseCheck = Shapes::BooleanShape.new(name: 'SkipResourceInUseCheck')
376
+ SlotCaptureSetting = Shapes::StructureShape.new(name: 'SlotCaptureSetting')
360
377
  SlotConstraint = Shapes::StringShape.new(name: 'SlotConstraint')
361
378
  SlotDefaultValue = Shapes::StructureShape.new(name: 'SlotDefaultValue')
362
379
  SlotDefaultValueList = Shapes::ListShape.new(name: 'SlotDefaultValueList')
@@ -368,6 +385,7 @@ module Aws::LexModelsV2
368
385
  SlotFilters = Shapes::ListShape.new(name: 'SlotFilters')
369
386
  SlotPrioritiesList = Shapes::ListShape.new(name: 'SlotPrioritiesList')
370
387
  SlotPriority = Shapes::StructureShape.new(name: 'SlotPriority')
388
+ SlotShape = Shapes::StringShape.new(name: 'SlotShape')
371
389
  SlotSortAttribute = Shapes::StringShape.new(name: 'SlotSortAttribute')
372
390
  SlotSortBy = Shapes::StructureShape.new(name: 'SlotSortBy')
373
391
  SlotSummary = Shapes::StructureShape.new(name: 'SlotSummary')
@@ -385,10 +403,14 @@ module Aws::LexModelsV2
385
403
  SlotTypeSummaryList = Shapes::ListShape.new(name: 'SlotTypeSummaryList')
386
404
  SlotTypeValue = Shapes::StructureShape.new(name: 'SlotTypeValue')
387
405
  SlotTypeValues = Shapes::ListShape.new(name: 'SlotTypeValues')
406
+ SlotValue = Shapes::StructureShape.new(name: 'SlotValue')
388
407
  SlotValueElicitationSetting = Shapes::StructureShape.new(name: 'SlotValueElicitationSetting')
408
+ SlotValueOverride = Shapes::StructureShape.new(name: 'SlotValueOverride')
409
+ SlotValueOverrideMap = Shapes::MapShape.new(name: 'SlotValueOverrideMap')
389
410
  SlotValueRegexFilter = Shapes::StructureShape.new(name: 'SlotValueRegexFilter')
390
411
  SlotValueResolutionStrategy = Shapes::StringShape.new(name: 'SlotValueResolutionStrategy')
391
412
  SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
413
+ SlotValues = Shapes::ListShape.new(name: 'SlotValues')
392
414
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
393
415
  StartBotRecommendationRequest = Shapes::StructureShape.new(name: 'StartBotRecommendationRequest')
394
416
  StartBotRecommendationResponse = Shapes::StructureShape.new(name: 'StartBotRecommendationResponse')
@@ -397,6 +419,10 @@ module Aws::LexModelsV2
397
419
  StillWaitingResponseFrequency = Shapes::IntegerShape.new(name: 'StillWaitingResponseFrequency')
398
420
  StillWaitingResponseSpecification = Shapes::StructureShape.new(name: 'StillWaitingResponseSpecification')
399
421
  StillWaitingResponseTimeout = Shapes::IntegerShape.new(name: 'StillWaitingResponseTimeout')
422
+ StopBotRecommendationRequest = Shapes::StructureShape.new(name: 'StopBotRecommendationRequest')
423
+ StopBotRecommendationResponse = Shapes::StructureShape.new(name: 'StopBotRecommendationResponse')
424
+ String = Shapes::StringShape.new(name: 'String')
425
+ StringMap = Shapes::MapShape.new(name: 'StringMap')
400
426
  SynonymList = Shapes::ListShape.new(name: 'SynonymList')
401
427
  TagKey = Shapes::StringShape.new(name: 'TagKey')
402
428
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -666,12 +692,28 @@ module Aws::LexModelsV2
666
692
  CodeHookSpecification.add_member(:lambda_code_hook, Shapes::ShapeRef.new(shape: LambdaCodeHook, required: true, location_name: "lambdaCodeHook"))
667
693
  CodeHookSpecification.struct_class = Types::CodeHookSpecification
668
694
 
695
+ Condition.add_member(:expression_string, Shapes::ShapeRef.new(shape: ConditionExpression, required: true, location_name: "expressionString"))
696
+ Condition.struct_class = Types::Condition
697
+
669
698
  ConditionKeyValueMap.key = Shapes::ShapeRef.new(shape: ConditionKey)
670
699
  ConditionKeyValueMap.value = Shapes::ShapeRef.new(shape: ConditionValue)
671
700
 
672
701
  ConditionMap.key = Shapes::ShapeRef.new(shape: ConditionOperator)
673
702
  ConditionMap.value = Shapes::ShapeRef.new(shape: ConditionKeyValueMap)
674
703
 
704
+ ConditionalBranch.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
705
+ ConditionalBranch.add_member(:condition, Shapes::ShapeRef.new(shape: Condition, required: true, location_name: "condition"))
706
+ ConditionalBranch.add_member(:next_step, Shapes::ShapeRef.new(shape: DialogState, required: true, location_name: "nextStep"))
707
+ ConditionalBranch.add_member(:response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "response"))
708
+ ConditionalBranch.struct_class = Types::ConditionalBranch
709
+
710
+ ConditionalBranches.member = Shapes::ShapeRef.new(shape: ConditionalBranch)
711
+
712
+ ConditionalSpecification.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "active"))
713
+ ConditionalSpecification.add_member(:conditional_branches, Shapes::ShapeRef.new(shape: ConditionalBranches, required: true, location_name: "conditionalBranches"))
714
+ ConditionalSpecification.add_member(:default_branch, Shapes::ShapeRef.new(shape: DefaultConditionalBranch, required: true, location_name: "defaultBranch"))
715
+ ConditionalSpecification.struct_class = Types::ConditionalSpecification
716
+
675
717
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
676
718
  ConflictException.struct_class = Types::ConflictException
677
719
 
@@ -781,6 +823,7 @@ module Aws::LexModelsV2
781
823
  CreateIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
782
824
  CreateIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
783
825
  CreateIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
826
+ CreateIntentRequest.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
784
827
  CreateIntentRequest.struct_class = Types::CreateIntentRequest
785
828
 
786
829
  CreateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
@@ -799,6 +842,7 @@ module Aws::LexModelsV2
799
842
  CreateIntentResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
800
843
  CreateIntentResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
801
844
  CreateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
845
+ CreateIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
802
846
  CreateIntentResponse.struct_class = Types::CreateIntentResponse
803
847
 
804
848
  CreateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -898,6 +942,10 @@ module Aws::LexModelsV2
898
942
  DateRangeFilter.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endDateTime"))
899
943
  DateRangeFilter.struct_class = Types::DateRangeFilter
900
944
 
945
+ DefaultConditionalBranch.add_member(:next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "nextStep"))
946
+ DefaultConditionalBranch.add_member(:response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "response"))
947
+ DefaultConditionalBranch.struct_class = Types::DefaultConditionalBranch
948
+
901
949
  DeleteBotAliasRequest.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, required: true, location: "uri", location_name: "botAliasId"))
902
950
  DeleteBotAliasRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
903
951
  DeleteBotAliasRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: SkipResourceInUseCheck, location: "querystring", location_name: "skipResourceInUseCheck"))
@@ -1160,6 +1208,7 @@ module Aws::LexModelsV2
1160
1208
  DescribeIntentResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1161
1209
  DescribeIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1162
1210
  DescribeIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1211
+ DescribeIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
1163
1212
  DescribeIntentResponse.struct_class = Types::DescribeIntentResponse
1164
1213
 
1165
1214
  DescribeResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -1212,9 +1261,29 @@ module Aws::LexModelsV2
1212
1261
  DescribeSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
1213
1262
  DescribeSlotTypeResponse.struct_class = Types::DescribeSlotTypeResponse
1214
1263
 
1264
+ DialogAction.add_member(:type, Shapes::ShapeRef.new(shape: DialogActionType, required: true, location_name: "type"))
1265
+ DialogAction.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: Name, location_name: "slotToElicit"))
1266
+ DialogAction.add_member(:suppress_next_message, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "suppressNextMessage"))
1267
+ DialogAction.struct_class = Types::DialogAction
1268
+
1269
+ DialogCodeHookInvocationSetting.add_member(:enable_code_hook_invocation, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "enableCodeHookInvocation"))
1270
+ DialogCodeHookInvocationSetting.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "active"))
1271
+ DialogCodeHookInvocationSetting.add_member(:invocation_label, Shapes::ShapeRef.new(shape: Name, location_name: "invocationLabel"))
1272
+ DialogCodeHookInvocationSetting.add_member(:post_code_hook_specification, Shapes::ShapeRef.new(shape: PostDialogCodeHookInvocationSpecification, required: true, location_name: "postCodeHookSpecification"))
1273
+ DialogCodeHookInvocationSetting.struct_class = Types::DialogCodeHookInvocationSetting
1274
+
1215
1275
  DialogCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
1216
1276
  DialogCodeHookSettings.struct_class = Types::DialogCodeHookSettings
1217
1277
 
1278
+ DialogState.add_member(:dialog_action, Shapes::ShapeRef.new(shape: DialogAction, location_name: "dialogAction"))
1279
+ DialogState.add_member(:intent, Shapes::ShapeRef.new(shape: IntentOverride, location_name: "intent"))
1280
+ DialogState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: StringMap, location_name: "sessionAttributes"))
1281
+ DialogState.struct_class = Types::DialogState
1282
+
1283
+ ElicitationCodeHookInvocationSetting.add_member(:enable_code_hook_invocation, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "enableCodeHookInvocation"))
1284
+ ElicitationCodeHookInvocationSetting.add_member(:invocation_label, Shapes::ShapeRef.new(shape: Name, location_name: "invocationLabel"))
1285
+ ElicitationCodeHookInvocationSetting.struct_class = Types::ElicitationCodeHookInvocationSetting
1286
+
1218
1287
  EncryptionSetting.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
1219
1288
  EncryptionSetting.add_member(:bot_locale_export_password, Shapes::ShapeRef.new(shape: FilePassword, location_name: "botLocaleExportPassword"))
1220
1289
  EncryptionSetting.add_member(:associated_transcripts_password, Shapes::ShapeRef.new(shape: FilePassword, location_name: "associatedTranscriptsPassword"))
@@ -1256,6 +1325,7 @@ module Aws::LexModelsV2
1256
1325
  FulfillmentCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
1257
1326
  FulfillmentCodeHookSettings.add_member(:post_fulfillment_status_specification, Shapes::ShapeRef.new(shape: PostFulfillmentStatusSpecification, location_name: "postFulfillmentStatusSpecification"))
1258
1327
  FulfillmentCodeHookSettings.add_member(:fulfillment_updates_specification, Shapes::ShapeRef.new(shape: FulfillmentUpdatesSpecification, location_name: "fulfillmentUpdatesSpecification"))
1328
+ FulfillmentCodeHookSettings.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "active"))
1259
1329
  FulfillmentCodeHookSettings.struct_class = Types::FulfillmentCodeHookSettings
1260
1330
 
1261
1331
  FulfillmentStartResponseSpecification.add_member(:delay_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentStartResponseDelay, required: true, location_name: "delayInSeconds"))
@@ -1316,18 +1386,36 @@ module Aws::LexModelsV2
1316
1386
 
1317
1387
  ImportSummaryList.member = Shapes::ShapeRef.new(shape: ImportSummary)
1318
1388
 
1389
+ InitialResponseSetting.add_member(:initial_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "initialResponse"))
1390
+ InitialResponseSetting.add_member(:next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "nextStep"))
1391
+ InitialResponseSetting.add_member(:conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "conditional"))
1392
+ InitialResponseSetting.add_member(:code_hook, Shapes::ShapeRef.new(shape: DialogCodeHookInvocationSetting, location_name: "codeHook"))
1393
+ InitialResponseSetting.struct_class = Types::InitialResponseSetting
1394
+
1319
1395
  InputContext.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
1320
1396
  InputContext.struct_class = Types::InputContext
1321
1397
 
1322
1398
  InputContextsList.member = Shapes::ShapeRef.new(shape: InputContext)
1323
1399
 
1324
- IntentClosingSetting.add_member(:closing_response, Shapes::ShapeRef.new(shape: ResponseSpecification, required: true, location_name: "closingResponse"))
1400
+ IntentClosingSetting.add_member(:closing_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "closingResponse"))
1325
1401
  IntentClosingSetting.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "active"))
1402
+ IntentClosingSetting.add_member(:next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "nextStep"))
1403
+ IntentClosingSetting.add_member(:conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "conditional"))
1326
1404
  IntentClosingSetting.struct_class = Types::IntentClosingSetting
1327
1405
 
1328
1406
  IntentConfirmationSetting.add_member(:prompt_specification, Shapes::ShapeRef.new(shape: PromptSpecification, required: true, location_name: "promptSpecification"))
1329
- IntentConfirmationSetting.add_member(:declination_response, Shapes::ShapeRef.new(shape: ResponseSpecification, required: true, location_name: "declinationResponse"))
1407
+ IntentConfirmationSetting.add_member(:declination_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "declinationResponse"))
1330
1408
  IntentConfirmationSetting.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "active"))
1409
+ IntentConfirmationSetting.add_member(:confirmation_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "confirmationResponse"))
1410
+ IntentConfirmationSetting.add_member(:confirmation_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "confirmationNextStep"))
1411
+ IntentConfirmationSetting.add_member(:confirmation_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "confirmationConditional"))
1412
+ IntentConfirmationSetting.add_member(:declination_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "declinationNextStep"))
1413
+ IntentConfirmationSetting.add_member(:declination_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "declinationConditional"))
1414
+ IntentConfirmationSetting.add_member(:failure_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "failureResponse"))
1415
+ IntentConfirmationSetting.add_member(:failure_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "failureNextStep"))
1416
+ IntentConfirmationSetting.add_member(:failure_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "failureConditional"))
1417
+ IntentConfirmationSetting.add_member(:code_hook, Shapes::ShapeRef.new(shape: DialogCodeHookInvocationSetting, location_name: "codeHook"))
1418
+ IntentConfirmationSetting.add_member(:elicitation_code_hook, Shapes::ShapeRef.new(shape: ElicitationCodeHookInvocationSetting, location_name: "elicitationCodeHook"))
1331
1419
  IntentConfirmationSetting.struct_class = Types::IntentConfirmationSetting
1332
1420
 
1333
1421
  IntentFilter.add_member(:name, Shapes::ShapeRef.new(shape: IntentFilterName, required: true, location_name: "name"))
@@ -1337,6 +1425,10 @@ module Aws::LexModelsV2
1337
1425
 
1338
1426
  IntentFilters.member = Shapes::ShapeRef.new(shape: IntentFilter)
1339
1427
 
1428
+ IntentOverride.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
1429
+ IntentOverride.add_member(:slots, Shapes::ShapeRef.new(shape: SlotValueOverrideMap, location_name: "slots"))
1430
+ IntentOverride.struct_class = Types::IntentOverride
1431
+
1340
1432
  IntentSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: IntentSortAttribute, required: true, location_name: "attribute"))
1341
1433
  IntentSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1342
1434
  IntentSortBy.struct_class = Types::IntentSortBy
@@ -1615,9 +1707,26 @@ module Aws::LexModelsV2
1615
1707
  PlainTextMessage.add_member(:value, Shapes::ShapeRef.new(shape: PlainTextMessageValue, required: true, location_name: "value"))
1616
1708
  PlainTextMessage.struct_class = Types::PlainTextMessage
1617
1709
 
1710
+ PostDialogCodeHookInvocationSpecification.add_member(:success_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "successResponse"))
1711
+ PostDialogCodeHookInvocationSpecification.add_member(:success_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "successNextStep"))
1712
+ PostDialogCodeHookInvocationSpecification.add_member(:success_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "successConditional"))
1713
+ PostDialogCodeHookInvocationSpecification.add_member(:failure_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "failureResponse"))
1714
+ PostDialogCodeHookInvocationSpecification.add_member(:failure_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "failureNextStep"))
1715
+ PostDialogCodeHookInvocationSpecification.add_member(:failure_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "failureConditional"))
1716
+ PostDialogCodeHookInvocationSpecification.add_member(:timeout_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "timeoutResponse"))
1717
+ PostDialogCodeHookInvocationSpecification.add_member(:timeout_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "timeoutNextStep"))
1718
+ PostDialogCodeHookInvocationSpecification.add_member(:timeout_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "timeoutConditional"))
1719
+ PostDialogCodeHookInvocationSpecification.struct_class = Types::PostDialogCodeHookInvocationSpecification
1720
+
1618
1721
  PostFulfillmentStatusSpecification.add_member(:success_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "successResponse"))
1619
1722
  PostFulfillmentStatusSpecification.add_member(:failure_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "failureResponse"))
1620
1723
  PostFulfillmentStatusSpecification.add_member(:timeout_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "timeoutResponse"))
1724
+ PostFulfillmentStatusSpecification.add_member(:success_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "successNextStep"))
1725
+ PostFulfillmentStatusSpecification.add_member(:success_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "successConditional"))
1726
+ PostFulfillmentStatusSpecification.add_member(:failure_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "failureNextStep"))
1727
+ PostFulfillmentStatusSpecification.add_member(:failure_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "failureConditional"))
1728
+ PostFulfillmentStatusSpecification.add_member(:timeout_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "timeoutNextStep"))
1729
+ PostFulfillmentStatusSpecification.add_member(:timeout_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "timeoutConditional"))
1621
1730
  PostFulfillmentStatusSpecification.struct_class = Types::PostFulfillmentStatusSpecification
1622
1731
 
1623
1732
  PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
@@ -1632,6 +1741,7 @@ module Aws::LexModelsV2
1632
1741
  PromptSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1633
1742
  PromptSpecification.add_member(:max_retries, Shapes::ShapeRef.new(shape: PromptMaxRetries, required: true, location_name: "maxRetries"))
1634
1743
  PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1744
+ PromptSpecification.add_member(:message_selection_strategy, Shapes::ShapeRef.new(shape: MessageSelectionStrategy, location_name: "messageSelectionStrategy"))
1635
1745
  PromptSpecification.struct_class = Types::PromptSpecification
1636
1746
 
1637
1747
  RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
@@ -1702,6 +1812,16 @@ module Aws::LexModelsV2
1702
1812
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1703
1813
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1704
1814
 
1815
+ SlotCaptureSetting.add_member(:capture_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "captureResponse"))
1816
+ SlotCaptureSetting.add_member(:capture_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "captureNextStep"))
1817
+ SlotCaptureSetting.add_member(:capture_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "captureConditional"))
1818
+ SlotCaptureSetting.add_member(:failure_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "failureResponse"))
1819
+ SlotCaptureSetting.add_member(:failure_next_step, Shapes::ShapeRef.new(shape: DialogState, location_name: "failureNextStep"))
1820
+ SlotCaptureSetting.add_member(:failure_conditional, Shapes::ShapeRef.new(shape: ConditionalSpecification, location_name: "failureConditional"))
1821
+ SlotCaptureSetting.add_member(:code_hook, Shapes::ShapeRef.new(shape: DialogCodeHookInvocationSetting, location_name: "codeHook"))
1822
+ SlotCaptureSetting.add_member(:elicitation_code_hook, Shapes::ShapeRef.new(shape: ElicitationCodeHookInvocationSetting, location_name: "elicitationCodeHook"))
1823
+ SlotCaptureSetting.struct_class = Types::SlotCaptureSetting
1824
+
1705
1825
  SlotDefaultValue.add_member(:default_value, Shapes::ShapeRef.new(shape: SlotDefaultValueString, required: true, location_name: "defaultValue"))
1706
1826
  SlotDefaultValue.struct_class = Types::SlotDefaultValue
1707
1827
 
@@ -1768,13 +1888,25 @@ module Aws::LexModelsV2
1768
1888
 
1769
1889
  SlotTypeValues.member = Shapes::ShapeRef.new(shape: SlotTypeValue)
1770
1890
 
1891
+ SlotValue.add_member(:interpreted_value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "interpretedValue"))
1892
+ SlotValue.struct_class = Types::SlotValue
1893
+
1771
1894
  SlotValueElicitationSetting.add_member(:default_value_specification, Shapes::ShapeRef.new(shape: SlotDefaultValueSpecification, location_name: "defaultValueSpecification"))
1772
1895
  SlotValueElicitationSetting.add_member(:slot_constraint, Shapes::ShapeRef.new(shape: SlotConstraint, required: true, location_name: "slotConstraint"))
1773
1896
  SlotValueElicitationSetting.add_member(:prompt_specification, Shapes::ShapeRef.new(shape: PromptSpecification, location_name: "promptSpecification"))
1774
1897
  SlotValueElicitationSetting.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
1775
1898
  SlotValueElicitationSetting.add_member(:wait_and_continue_specification, Shapes::ShapeRef.new(shape: WaitAndContinueSpecification, location_name: "waitAndContinueSpecification"))
1899
+ SlotValueElicitationSetting.add_member(:slot_capture_setting, Shapes::ShapeRef.new(shape: SlotCaptureSetting, location_name: "slotCaptureSetting"))
1776
1900
  SlotValueElicitationSetting.struct_class = Types::SlotValueElicitationSetting
1777
1901
 
1902
+ SlotValueOverride.add_member(:shape, Shapes::ShapeRef.new(shape: SlotShape, location_name: "shape"))
1903
+ SlotValueOverride.add_member(:value, Shapes::ShapeRef.new(shape: SlotValue, location_name: "value"))
1904
+ SlotValueOverride.add_member(:values, Shapes::ShapeRef.new(shape: SlotValues, location_name: "values"))
1905
+ SlotValueOverride.struct_class = Types::SlotValueOverride
1906
+
1907
+ SlotValueOverrideMap.key = Shapes::ShapeRef.new(shape: Name)
1908
+ SlotValueOverrideMap.value = Shapes::ShapeRef.new(shape: SlotValueOverride)
1909
+
1778
1910
  SlotValueRegexFilter.add_member(:pattern, Shapes::ShapeRef.new(shape: RegexPattern, required: true, location_name: "pattern"))
1779
1911
  SlotValueRegexFilter.struct_class = Types::SlotValueRegexFilter
1780
1912
 
@@ -1783,6 +1915,8 @@ module Aws::LexModelsV2
1783
1915
  SlotValueSelectionSetting.add_member(:advanced_recognition_setting, Shapes::ShapeRef.new(shape: AdvancedRecognitionSetting, location_name: "advancedRecognitionSetting"))
1784
1916
  SlotValueSelectionSetting.struct_class = Types::SlotValueSelectionSetting
1785
1917
 
1918
+ SlotValues.member = Shapes::ShapeRef.new(shape: SlotValueOverride)
1919
+
1786
1920
  StartBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1787
1921
  StartBotRecommendationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1788
1922
  StartBotRecommendationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
@@ -1819,6 +1953,22 @@ module Aws::LexModelsV2
1819
1953
  StillWaitingResponseSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1820
1954
  StillWaitingResponseSpecification.struct_class = Types::StillWaitingResponseSpecification
1821
1955
 
1956
+ StopBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1957
+ StopBotRecommendationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1958
+ StopBotRecommendationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
1959
+ StopBotRecommendationRequest.add_member(:bot_recommendation_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botRecommendationId"))
1960
+ StopBotRecommendationRequest.struct_class = Types::StopBotRecommendationRequest
1961
+
1962
+ StopBotRecommendationResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1963
+ StopBotRecommendationResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
1964
+ StopBotRecommendationResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1965
+ StopBotRecommendationResponse.add_member(:bot_recommendation_status, Shapes::ShapeRef.new(shape: BotRecommendationStatus, location_name: "botRecommendationStatus"))
1966
+ StopBotRecommendationResponse.add_member(:bot_recommendation_id, Shapes::ShapeRef.new(shape: Id, location_name: "botRecommendationId"))
1967
+ StopBotRecommendationResponse.struct_class = Types::StopBotRecommendationResponse
1968
+
1969
+ StringMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
1970
+ StringMap.value = Shapes::ShapeRef.new(shape: String)
1971
+
1822
1972
  SynonymList.member = Shapes::ShapeRef.new(shape: SampleValue)
1823
1973
 
1824
1974
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -1967,6 +2117,7 @@ module Aws::LexModelsV2
1967
2117
  UpdateIntentRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1968
2118
  UpdateIntentRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1969
2119
  UpdateIntentRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
2120
+ UpdateIntentRequest.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
1970
2121
  UpdateIntentRequest.struct_class = Types::UpdateIntentRequest
1971
2122
 
1972
2123
  UpdateIntentResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
@@ -1987,6 +2138,7 @@ module Aws::LexModelsV2
1987
2138
  UpdateIntentResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1988
2139
  UpdateIntentResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1989
2140
  UpdateIntentResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
2141
+ UpdateIntentResponse.add_member(:initial_response_setting, Shapes::ShapeRef.new(shape: InitialResponseSetting, location_name: "initialResponseSetting"))
1990
2142
  UpdateIntentResponse.struct_class = Types::UpdateIntentResponse
1991
2143
 
1992
2144
  UpdateResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
@@ -2885,6 +3037,22 @@ module Aws::LexModelsV2
2885
3037
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2886
3038
  end)
2887
3039
 
3040
+ api.add_operation(:stop_bot_recommendation, Seahorse::Model::Operation.new.tap do |o|
3041
+ o.name = "StopBotRecommendation"
3042
+ o.http_method = "PUT"
3043
+ o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation"
3044
+ o.input = Shapes::ShapeRef.new(shape: StopBotRecommendationRequest)
3045
+ o.output = Shapes::ShapeRef.new(shape: StopBotRecommendationResponse)
3046
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3047
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3048
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3049
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3050
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3051
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3052
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3053
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3054
+ end)
3055
+
2888
3056
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2889
3057
  o.name = "TagResource"
2890
3058
  o.http_method = "POST"