aws-sdk-lexmodelsv2 1.26.0 → 1.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -102,6 +102,7 @@ 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
+ CompositeSlotTypeSetting = Shapes::StructureShape.new(name: 'CompositeSlotTypeSetting')
105
106
  Condition = Shapes::StructureShape.new(name: 'Condition')
106
107
  ConditionExpression = Shapes::StringShape.new(name: 'ConditionExpression')
107
108
  ConditionKey = Shapes::StringShape.new(name: 'ConditionKey')
@@ -412,6 +413,7 @@ module Aws::LexModelsV2
412
413
  SlotValueSelectionSetting = Shapes::StructureShape.new(name: 'SlotValueSelectionSetting')
413
414
  SlotValues = Shapes::ListShape.new(name: 'SlotValues')
414
415
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
416
+ Specifications = Shapes::StructureShape.new(name: 'Specifications')
415
417
  StartBotRecommendationRequest = Shapes::StructureShape.new(name: 'StartBotRecommendationRequest')
416
418
  StartBotRecommendationResponse = Shapes::StructureShape.new(name: 'StartBotRecommendationResponse')
417
419
  StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
@@ -423,6 +425,12 @@ module Aws::LexModelsV2
423
425
  StopBotRecommendationResponse = Shapes::StructureShape.new(name: 'StopBotRecommendationResponse')
424
426
  String = Shapes::StringShape.new(name: 'String')
425
427
  StringMap = Shapes::MapShape.new(name: 'StringMap')
428
+ SubSlotExpression = Shapes::StringShape.new(name: 'SubSlotExpression')
429
+ SubSlotSetting = Shapes::StructureShape.new(name: 'SubSlotSetting')
430
+ SubSlotSpecificationMap = Shapes::MapShape.new(name: 'SubSlotSpecificationMap')
431
+ SubSlotTypeComposition = Shapes::StructureShape.new(name: 'SubSlotTypeComposition')
432
+ SubSlotTypeList = Shapes::ListShape.new(name: 'SubSlotTypeList')
433
+ SubSlotValueElicitationSetting = Shapes::StructureShape.new(name: 'SubSlotValueElicitationSetting')
426
434
  SynonymList = Shapes::ListShape.new(name: 'SynonymList')
427
435
  TagKey = Shapes::StringShape.new(name: 'TagKey')
428
436
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -692,6 +700,9 @@ module Aws::LexModelsV2
692
700
  CodeHookSpecification.add_member(:lambda_code_hook, Shapes::ShapeRef.new(shape: LambdaCodeHook, required: true, location_name: "lambdaCodeHook"))
693
701
  CodeHookSpecification.struct_class = Types::CodeHookSpecification
694
702
 
703
+ CompositeSlotTypeSetting.add_member(:sub_slots, Shapes::ShapeRef.new(shape: SubSlotTypeList, location_name: "subSlots"))
704
+ CompositeSlotTypeSetting.struct_class = Types::CompositeSlotTypeSetting
705
+
695
706
  Condition.add_member(:expression_string, Shapes::ShapeRef.new(shape: ConditionExpression, required: true, location_name: "expressionString"))
696
707
  Condition.struct_class = Types::Condition
697
708
 
@@ -876,6 +887,7 @@ module Aws::LexModelsV2
876
887
  CreateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
877
888
  CreateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
878
889
  CreateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
890
+ CreateSlotRequest.add_member(:sub_slot_setting, Shapes::ShapeRef.new(shape: SubSlotSetting, location_name: "subSlotSetting"))
879
891
  CreateSlotRequest.struct_class = Types::CreateSlotRequest
880
892
 
881
893
  CreateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
@@ -890,6 +902,7 @@ module Aws::LexModelsV2
890
902
  CreateSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
891
903
  CreateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
892
904
  CreateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
905
+ CreateSlotResponse.add_member(:sub_slot_setting, Shapes::ShapeRef.new(shape: SubSlotSetting, location_name: "subSlotSetting"))
893
906
  CreateSlotResponse.struct_class = Types::CreateSlotResponse
894
907
 
895
908
  CreateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
@@ -901,6 +914,7 @@ module Aws::LexModelsV2
901
914
  CreateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
902
915
  CreateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
903
916
  CreateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
917
+ CreateSlotTypeRequest.add_member(:composite_slot_type_setting, Shapes::ShapeRef.new(shape: CompositeSlotTypeSetting, location_name: "compositeSlotTypeSetting"))
904
918
  CreateSlotTypeRequest.struct_class = Types::CreateSlotTypeRequest
905
919
 
906
920
  CreateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
@@ -914,6 +928,7 @@ module Aws::LexModelsV2
914
928
  CreateSlotTypeResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
915
929
  CreateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
916
930
  CreateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
931
+ CreateSlotTypeResponse.add_member(:composite_slot_type_setting, Shapes::ShapeRef.new(shape: CompositeSlotTypeSetting, location_name: "compositeSlotTypeSetting"))
917
932
  CreateSlotTypeResponse.struct_class = Types::CreateSlotTypeResponse
918
933
 
919
934
  CreateUploadUrlRequest.struct_class = Types::CreateUploadUrlRequest
@@ -1239,6 +1254,7 @@ module Aws::LexModelsV2
1239
1254
  DescribeSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1240
1255
  DescribeSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1241
1256
  DescribeSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
1257
+ DescribeSlotResponse.add_member(:sub_slot_setting, Shapes::ShapeRef.new(shape: SubSlotSetting, location_name: "subSlotSetting"))
1242
1258
  DescribeSlotResponse.struct_class = Types::DescribeSlotResponse
1243
1259
 
1244
1260
  DescribeSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
@@ -1259,6 +1275,7 @@ module Aws::LexModelsV2
1259
1275
  DescribeSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1260
1276
  DescribeSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1261
1277
  DescribeSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
1278
+ DescribeSlotTypeResponse.add_member(:composite_slot_type_setting, Shapes::ShapeRef.new(shape: CompositeSlotTypeSetting, location_name: "compositeSlotTypeSetting"))
1262
1279
  DescribeSlotTypeResponse.struct_class = Types::DescribeSlotTypeResponse
1263
1280
 
1264
1281
  DialogAction.add_member(:type, Shapes::ShapeRef.new(shape: DialogActionType, required: true, location_name: "type"))
@@ -1917,6 +1934,10 @@ module Aws::LexModelsV2
1917
1934
 
1918
1935
  SlotValues.member = Shapes::ShapeRef.new(shape: SlotValueOverride)
1919
1936
 
1937
+ Specifications.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: BuiltInOrCustomSlotTypeId, required: true, location_name: "slotTypeId"))
1938
+ Specifications.add_member(:value_elicitation_setting, Shapes::ShapeRef.new(shape: SubSlotValueElicitationSetting, required: true, location_name: "valueElicitationSetting"))
1939
+ Specifications.struct_class = Types::Specifications
1940
+
1920
1941
  StartBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1921
1942
  StartBotRecommendationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
1922
1943
  StartBotRecommendationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
@@ -1969,6 +1990,25 @@ module Aws::LexModelsV2
1969
1990
  StringMap.key = Shapes::ShapeRef.new(shape: NonEmptyString)
1970
1991
  StringMap.value = Shapes::ShapeRef.new(shape: String)
1971
1992
 
1993
+ SubSlotSetting.add_member(:expression, Shapes::ShapeRef.new(shape: SubSlotExpression, location_name: "expression"))
1994
+ SubSlotSetting.add_member(:slot_specifications, Shapes::ShapeRef.new(shape: SubSlotSpecificationMap, location_name: "slotSpecifications"))
1995
+ SubSlotSetting.struct_class = Types::SubSlotSetting
1996
+
1997
+ SubSlotSpecificationMap.key = Shapes::ShapeRef.new(shape: Name)
1998
+ SubSlotSpecificationMap.value = Shapes::ShapeRef.new(shape: Specifications)
1999
+
2000
+ SubSlotTypeComposition.add_member(:name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "name"))
2001
+ SubSlotTypeComposition.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: BuiltInOrCustomSlotTypeId, required: true, location_name: "slotTypeId"))
2002
+ SubSlotTypeComposition.struct_class = Types::SubSlotTypeComposition
2003
+
2004
+ SubSlotTypeList.member = Shapes::ShapeRef.new(shape: SubSlotTypeComposition)
2005
+
2006
+ SubSlotValueElicitationSetting.add_member(:default_value_specification, Shapes::ShapeRef.new(shape: SlotDefaultValueSpecification, location_name: "defaultValueSpecification"))
2007
+ SubSlotValueElicitationSetting.add_member(:prompt_specification, Shapes::ShapeRef.new(shape: PromptSpecification, required: true, location_name: "promptSpecification"))
2008
+ SubSlotValueElicitationSetting.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
2009
+ SubSlotValueElicitationSetting.add_member(:wait_and_continue_specification, Shapes::ShapeRef.new(shape: WaitAndContinueSpecification, location_name: "waitAndContinueSpecification"))
2010
+ SubSlotValueElicitationSetting.struct_class = Types::SubSlotValueElicitationSetting
2011
+
1972
2012
  SynonymList.member = Shapes::ShapeRef.new(shape: SampleValue)
1973
2013
 
1974
2014
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -2161,6 +2201,7 @@ module Aws::LexModelsV2
2161
2201
  UpdateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
2162
2202
  UpdateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
2163
2203
  UpdateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
2204
+ UpdateSlotRequest.add_member(:sub_slot_setting, Shapes::ShapeRef.new(shape: SubSlotSetting, location_name: "subSlotSetting"))
2164
2205
  UpdateSlotRequest.struct_class = Types::UpdateSlotRequest
2165
2206
 
2166
2207
  UpdateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
@@ -2176,6 +2217,7 @@ module Aws::LexModelsV2
2176
2217
  UpdateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
2177
2218
  UpdateSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
2178
2219
  UpdateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
2220
+ UpdateSlotResponse.add_member(:sub_slot_setting, Shapes::ShapeRef.new(shape: SubSlotSetting, location_name: "subSlotSetting"))
2179
2221
  UpdateSlotResponse.struct_class = Types::UpdateSlotResponse
2180
2222
 
2181
2223
  UpdateSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
@@ -2188,6 +2230,7 @@ module Aws::LexModelsV2
2188
2230
  UpdateSlotTypeRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
2189
2231
  UpdateSlotTypeRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
2190
2232
  UpdateSlotTypeRequest.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
2233
+ UpdateSlotTypeRequest.add_member(:composite_slot_type_setting, Shapes::ShapeRef.new(shape: CompositeSlotTypeSetting, location_name: "compositeSlotTypeSetting"))
2191
2234
  UpdateSlotTypeRequest.struct_class = Types::UpdateSlotTypeRequest
2192
2235
 
2193
2236
  UpdateSlotTypeResponse.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotTypeId"))
@@ -2202,6 +2245,7 @@ module Aws::LexModelsV2
2202
2245
  UpdateSlotTypeResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
2203
2246
  UpdateSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
2204
2247
  UpdateSlotTypeResponse.add_member(:external_source_setting, Shapes::ShapeRef.new(shape: ExternalSourceSetting, location_name: "externalSourceSetting"))
2248
+ UpdateSlotTypeResponse.add_member(:composite_slot_type_setting, Shapes::ShapeRef.new(shape: CompositeSlotTypeSetting, location_name: "compositeSlotTypeSetting"))
2205
2249
  UpdateSlotTypeResponse.struct_class = Types::UpdateSlotTypeResponse
2206
2250
 
2207
2251
  UtteranceAggregationDuration.add_member(:relative_aggregation_duration, Shapes::ShapeRef.new(shape: RelativeAggregationDuration, required: true, location_name: "relativeAggregationDuration"))