aws-sdk-lexmodelsv2 1.10.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,14 @@ module Aws::LexModelsV2
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AggregatedUtterancesFilter = Shapes::StructureShape.new(name: 'AggregatedUtterancesFilter')
17
+ AggregatedUtterancesFilterName = Shapes::StringShape.new(name: 'AggregatedUtterancesFilterName')
18
+ AggregatedUtterancesFilterOperator = Shapes::StringShape.new(name: 'AggregatedUtterancesFilterOperator')
19
+ AggregatedUtterancesFilters = Shapes::ListShape.new(name: 'AggregatedUtterancesFilters')
20
+ AggregatedUtterancesSortAttribute = Shapes::StringShape.new(name: 'AggregatedUtterancesSortAttribute')
21
+ AggregatedUtterancesSortBy = Shapes::StructureShape.new(name: 'AggregatedUtterancesSortBy')
22
+ AggregatedUtterancesSummary = Shapes::StructureShape.new(name: 'AggregatedUtterancesSummary')
23
+ AggregatedUtterancesSummaryList = Shapes::ListShape.new(name: 'AggregatedUtterancesSummaryList')
16
24
  AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
25
  AttachmentTitle = Shapes::StringShape.new(name: 'AttachmentTitle')
18
26
  AttachmentUrl = Shapes::StringShape.new(name: 'AttachmentUrl')
@@ -136,6 +144,8 @@ module Aws::LexModelsV2
136
144
  DeleteResourcePolicyStatementResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyStatementResponse')
137
145
  DeleteSlotRequest = Shapes::StructureShape.new(name: 'DeleteSlotRequest')
138
146
  DeleteSlotTypeRequest = Shapes::StructureShape.new(name: 'DeleteSlotTypeRequest')
147
+ DeleteUtterancesRequest = Shapes::StructureShape.new(name: 'DeleteUtterancesRequest')
148
+ DeleteUtterancesResponse = Shapes::StructureShape.new(name: 'DeleteUtterancesResponse')
139
149
  DescribeBotAliasRequest = Shapes::StructureShape.new(name: 'DescribeBotAliasRequest')
140
150
  DescribeBotAliasResponse = Shapes::StructureShape.new(name: 'DescribeBotAliasResponse')
141
151
  DescribeBotLocaleRequest = Shapes::StructureShape.new(name: 'DescribeBotLocaleRequest')
@@ -176,6 +186,13 @@ module Aws::LexModelsV2
176
186
  FilterValue = Shapes::StringShape.new(name: 'FilterValue')
177
187
  FilterValues = Shapes::ListShape.new(name: 'FilterValues')
178
188
  FulfillmentCodeHookSettings = Shapes::StructureShape.new(name: 'FulfillmentCodeHookSettings')
189
+ FulfillmentStartResponseDelay = Shapes::IntegerShape.new(name: 'FulfillmentStartResponseDelay')
190
+ FulfillmentStartResponseSpecification = Shapes::StructureShape.new(name: 'FulfillmentStartResponseSpecification')
191
+ FulfillmentTimeout = Shapes::IntegerShape.new(name: 'FulfillmentTimeout')
192
+ FulfillmentUpdateResponseFrequency = Shapes::IntegerShape.new(name: 'FulfillmentUpdateResponseFrequency')
193
+ FulfillmentUpdateResponseSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdateResponseSpecification')
194
+ FulfillmentUpdatesSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdatesSpecification')
195
+ HitCount = Shapes::IntegerShape.new(name: 'HitCount')
179
196
  Id = Shapes::StringShape.new(name: 'Id')
180
197
  ImageResponseCard = Shapes::StructureShape.new(name: 'ImageResponseCard')
181
198
  ImportExportFileFormat = Shapes::StringShape.new(name: 'ImportExportFileFormat')
@@ -210,6 +227,8 @@ module Aws::LexModelsV2
210
227
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
211
228
  LambdaARN = Shapes::StringShape.new(name: 'LambdaARN')
212
229
  LambdaCodeHook = Shapes::StructureShape.new(name: 'LambdaCodeHook')
230
+ ListAggregatedUtterancesRequest = Shapes::StructureShape.new(name: 'ListAggregatedUtterancesRequest')
231
+ ListAggregatedUtterancesResponse = Shapes::StructureShape.new(name: 'ListAggregatedUtterancesResponse')
213
232
  ListBotAliasesRequest = Shapes::StructureShape.new(name: 'ListBotAliasesRequest')
214
233
  ListBotAliasesResponse = Shapes::StructureShape.new(name: 'ListBotAliasesResponse')
215
234
  ListBotLocalesRequest = Shapes::StructureShape.new(name: 'ListBotLocalesRequest')
@@ -243,6 +262,7 @@ module Aws::LexModelsV2
243
262
  MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
244
263
  MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
245
264
  MessageVariationsList = Shapes::ListShape.new(name: 'MessageVariationsList')
265
+ MissedCount = Shapes::IntegerShape.new(name: 'MissedCount')
246
266
  MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
247
267
  Name = Shapes::StringShape.new(name: 'Name')
248
268
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -256,6 +276,7 @@ module Aws::LexModelsV2
256
276
  PlainTextMessage = Shapes::StructureShape.new(name: 'PlainTextMessage')
257
277
  PlainTextMessageValue = Shapes::StringShape.new(name: 'PlainTextMessageValue')
258
278
  Policy = Shapes::StringShape.new(name: 'Policy')
279
+ PostFulfillmentStatusSpecification = Shapes::StructureShape.new(name: 'PostFulfillmentStatusSpecification')
259
280
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
260
281
  PresignedS3Url = Shapes::StringShape.new(name: 'PresignedS3Url')
261
282
  Principal = Shapes::StructureShape.new(name: 'Principal')
@@ -266,6 +287,7 @@ module Aws::LexModelsV2
266
287
  PromptSpecification = Shapes::StructureShape.new(name: 'PromptSpecification')
267
288
  QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
268
289
  RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
290
+ RelativeAggregationDuration = Shapes::StructureShape.new(name: 'RelativeAggregationDuration')
269
291
  ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
270
292
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
271
293
  ResponseSpecification = Shapes::StructureShape.new(name: 'ResponseSpecification')
@@ -282,6 +304,7 @@ module Aws::LexModelsV2
282
304
  SentimentAnalysisSettings = Shapes::StructureShape.new(name: 'SentimentAnalysisSettings')
283
305
  ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
284
306
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
307
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
285
308
  SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
286
309
  SkipResourceInUseCheck = Shapes::BooleanShape.new(name: 'SkipResourceInUseCheck')
287
310
  SlotConstraint = Shapes::StringShape.new(name: 'SlotConstraint')
@@ -331,6 +354,8 @@ module Aws::LexModelsV2
331
354
  TextLogSetting = Shapes::StructureShape.new(name: 'TextLogSetting')
332
355
  TextLogSettingsList = Shapes::ListShape.new(name: 'TextLogSettingsList')
333
356
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
357
+ TimeDimension = Shapes::StringShape.new(name: 'TimeDimension')
358
+ TimeValue = Shapes::IntegerShape.new(name: 'TimeValue')
334
359
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
335
360
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
336
361
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
@@ -351,12 +376,34 @@ module Aws::LexModelsV2
351
376
  UpdateSlotTypeRequest = Shapes::StructureShape.new(name: 'UpdateSlotTypeRequest')
352
377
  UpdateSlotTypeResponse = Shapes::StructureShape.new(name: 'UpdateSlotTypeResponse')
353
378
  Utterance = Shapes::StringShape.new(name: 'Utterance')
379
+ UtteranceAggregationDuration = Shapes::StructureShape.new(name: 'UtteranceAggregationDuration')
354
380
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
355
381
  Value = Shapes::StringShape.new(name: 'Value')
356
382
  VoiceId = Shapes::StringShape.new(name: 'VoiceId')
357
383
  VoiceSettings = Shapes::StructureShape.new(name: 'VoiceSettings')
358
384
  WaitAndContinueSpecification = Shapes::StructureShape.new(name: 'WaitAndContinueSpecification')
359
385
 
386
+ AggregatedUtterancesFilter.add_member(:name, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterName, required: true, location_name: "name"))
387
+ AggregatedUtterancesFilter.add_member(:values, Shapes::ShapeRef.new(shape: FilterValues, required: true, location_name: "values"))
388
+ AggregatedUtterancesFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilterOperator, required: true, location_name: "operator"))
389
+ AggregatedUtterancesFilter.struct_class = Types::AggregatedUtterancesFilter
390
+
391
+ AggregatedUtterancesFilters.member = Shapes::ShapeRef.new(shape: AggregatedUtterancesFilter)
392
+
393
+ AggregatedUtterancesSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: AggregatedUtterancesSortAttribute, required: true, location_name: "attribute"))
394
+ AggregatedUtterancesSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
395
+ AggregatedUtterancesSortBy.struct_class = Types::AggregatedUtterancesSortBy
396
+
397
+ AggregatedUtterancesSummary.add_member(:utterance, Shapes::ShapeRef.new(shape: Utterance, location_name: "utterance"))
398
+ AggregatedUtterancesSummary.add_member(:hit_count, Shapes::ShapeRef.new(shape: HitCount, location_name: "hitCount"))
399
+ AggregatedUtterancesSummary.add_member(:missed_count, Shapes::ShapeRef.new(shape: MissedCount, location_name: "missedCount"))
400
+ AggregatedUtterancesSummary.add_member(:utterance_first_recorded_in_aggregation_duration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "utteranceFirstRecordedInAggregationDuration"))
401
+ AggregatedUtterancesSummary.add_member(:utterance_last_recorded_in_aggregation_duration, Shapes::ShapeRef.new(shape: Timestamp, location_name: "utteranceLastRecordedInAggregationDuration"))
402
+ AggregatedUtterancesSummary.add_member(:contains_data_from_deleted_resources, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "containsDataFromDeletedResources"))
403
+ AggregatedUtterancesSummary.struct_class = Types::AggregatedUtterancesSummary
404
+
405
+ AggregatedUtterancesSummaryList.member = Shapes::ShapeRef.new(shape: AggregatedUtterancesSummary)
406
+
360
407
  AudioLogDestination.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketLogDestination, required: true, location_name: "s3Bucket"))
361
408
  AudioLogDestination.struct_class = Types::AudioLogDestination
362
409
 
@@ -833,6 +880,13 @@ module Aws::LexModelsV2
833
880
  DeleteSlotTypeRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: SkipResourceInUseCheck, location: "querystring", location_name: "skipResourceInUseCheck"))
834
881
  DeleteSlotTypeRequest.struct_class = Types::DeleteSlotTypeRequest
835
882
 
883
+ DeleteUtterancesRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
884
+ DeleteUtterancesRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location: "querystring", location_name: "localeId"))
885
+ DeleteUtterancesRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location: "querystring", location_name: "sessionId"))
886
+ DeleteUtterancesRequest.struct_class = Types::DeleteUtterancesRequest
887
+
888
+ DeleteUtterancesResponse.struct_class = Types::DeleteUtterancesResponse
889
+
836
890
  DescribeBotAliasRequest.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, required: true, location: "uri", location_name: "botAliasId"))
837
891
  DescribeBotAliasRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
838
892
  DescribeBotAliasRequest.struct_class = Types::DescribeBotAliasRequest
@@ -1038,8 +1092,26 @@ module Aws::LexModelsV2
1038
1092
  FilterValues.member = Shapes::ShapeRef.new(shape: FilterValue)
1039
1093
 
1040
1094
  FulfillmentCodeHookSettings.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
1095
+ FulfillmentCodeHookSettings.add_member(:post_fulfillment_status_specification, Shapes::ShapeRef.new(shape: PostFulfillmentStatusSpecification, location_name: "postFulfillmentStatusSpecification"))
1096
+ FulfillmentCodeHookSettings.add_member(:fulfillment_updates_specification, Shapes::ShapeRef.new(shape: FulfillmentUpdatesSpecification, location_name: "fulfillmentUpdatesSpecification"))
1041
1097
  FulfillmentCodeHookSettings.struct_class = Types::FulfillmentCodeHookSettings
1042
1098
 
1099
+ FulfillmentStartResponseSpecification.add_member(:delay_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentStartResponseDelay, required: true, location_name: "delayInSeconds"))
1100
+ FulfillmentStartResponseSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1101
+ FulfillmentStartResponseSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1102
+ FulfillmentStartResponseSpecification.struct_class = Types::FulfillmentStartResponseSpecification
1103
+
1104
+ FulfillmentUpdateResponseSpecification.add_member(:frequency_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentUpdateResponseFrequency, required: true, location_name: "frequencyInSeconds"))
1105
+ FulfillmentUpdateResponseSpecification.add_member(:message_groups, Shapes::ShapeRef.new(shape: MessageGroupsList, required: true, location_name: "messageGroups"))
1106
+ FulfillmentUpdateResponseSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1107
+ FulfillmentUpdateResponseSpecification.struct_class = Types::FulfillmentUpdateResponseSpecification
1108
+
1109
+ FulfillmentUpdatesSpecification.add_member(:active, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "active"))
1110
+ FulfillmentUpdatesSpecification.add_member(:start_response, Shapes::ShapeRef.new(shape: FulfillmentStartResponseSpecification, location_name: "startResponse"))
1111
+ FulfillmentUpdatesSpecification.add_member(:update_response, Shapes::ShapeRef.new(shape: FulfillmentUpdateResponseSpecification, location_name: "updateResponse"))
1112
+ FulfillmentUpdatesSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentTimeout, location_name: "timeoutInSeconds"))
1113
+ FulfillmentUpdatesSpecification.struct_class = Types::FulfillmentUpdatesSpecification
1114
+
1043
1115
  ImageResponseCard.add_member(:title, Shapes::ShapeRef.new(shape: AttachmentTitle, required: true, location_name: "title"))
1044
1116
  ImageResponseCard.add_member(:subtitle, Shapes::ShapeRef.new(shape: AttachmentTitle, location_name: "subtitle"))
1045
1117
  ImageResponseCard.add_member(:image_url, Shapes::ShapeRef.new(shape: AttachmentUrl, location_name: "imageUrl"))
@@ -1120,6 +1192,29 @@ module Aws::LexModelsV2
1120
1192
  LambdaCodeHook.add_member(:code_hook_interface_version, Shapes::ShapeRef.new(shape: CodeHookInterfaceVersion, required: true, location_name: "codeHookInterfaceVersion"))
1121
1193
  LambdaCodeHook.struct_class = Types::LambdaCodeHook
1122
1194
 
1195
+ ListAggregatedUtterancesRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1196
+ ListAggregatedUtterancesRequest.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, location_name: "botAliasId"))
1197
+ ListAggregatedUtterancesRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1198
+ ListAggregatedUtterancesRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location_name: "localeId"))
1199
+ ListAggregatedUtterancesRequest.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: UtteranceAggregationDuration, required: true, location_name: "aggregationDuration"))
1200
+ ListAggregatedUtterancesRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: AggregatedUtterancesSortBy, location_name: "sortBy"))
1201
+ ListAggregatedUtterancesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: AggregatedUtterancesFilters, location_name: "filters"))
1202
+ ListAggregatedUtterancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1203
+ ListAggregatedUtterancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1204
+ ListAggregatedUtterancesRequest.struct_class = Types::ListAggregatedUtterancesRequest
1205
+
1206
+ ListAggregatedUtterancesResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1207
+ ListAggregatedUtterancesResponse.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, location_name: "botAliasId"))
1208
+ ListAggregatedUtterancesResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1209
+ ListAggregatedUtterancesResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
1210
+ ListAggregatedUtterancesResponse.add_member(:aggregation_duration, Shapes::ShapeRef.new(shape: UtteranceAggregationDuration, location_name: "aggregationDuration"))
1211
+ ListAggregatedUtterancesResponse.add_member(:aggregation_window_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "aggregationWindowStartTime"))
1212
+ ListAggregatedUtterancesResponse.add_member(:aggregation_window_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "aggregationWindowEndTime"))
1213
+ ListAggregatedUtterancesResponse.add_member(:aggregation_last_refreshed_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "aggregationLastRefreshedDateTime"))
1214
+ ListAggregatedUtterancesResponse.add_member(:aggregated_utterances_summaries, Shapes::ShapeRef.new(shape: AggregatedUtterancesSummaryList, location_name: "aggregatedUtterancesSummaries"))
1215
+ ListAggregatedUtterancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1216
+ ListAggregatedUtterancesResponse.struct_class = Types::ListAggregatedUtterancesResponse
1217
+
1123
1218
  ListBotAliasesRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1124
1219
  ListBotAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
1125
1220
  ListBotAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -1303,6 +1398,11 @@ module Aws::LexModelsV2
1303
1398
  PlainTextMessage.add_member(:value, Shapes::ShapeRef.new(shape: PlainTextMessageValue, required: true, location_name: "value"))
1304
1399
  PlainTextMessage.struct_class = Types::PlainTextMessage
1305
1400
 
1401
+ PostFulfillmentStatusSpecification.add_member(:success_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "successResponse"))
1402
+ PostFulfillmentStatusSpecification.add_member(:failure_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "failureResponse"))
1403
+ PostFulfillmentStatusSpecification.add_member(:timeout_response, Shapes::ShapeRef.new(shape: ResponseSpecification, location_name: "timeoutResponse"))
1404
+ PostFulfillmentStatusSpecification.struct_class = Types::PostFulfillmentStatusSpecification
1405
+
1306
1406
  PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1307
1407
  PreconditionFailedException.struct_class = Types::PreconditionFailedException
1308
1408
 
@@ -1317,6 +1417,10 @@ module Aws::LexModelsV2
1317
1417
  PromptSpecification.add_member(:allow_interrupt, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "allowInterrupt"))
1318
1418
  PromptSpecification.struct_class = Types::PromptSpecification
1319
1419
 
1420
+ RelativeAggregationDuration.add_member(:time_dimension, Shapes::ShapeRef.new(shape: TimeDimension, required: true, location_name: "timeDimension"))
1421
+ RelativeAggregationDuration.add_member(:time_value, Shapes::ShapeRef.new(shape: TimeValue, required: true, location_name: "timeValue"))
1422
+ RelativeAggregationDuration.struct_class = Types::RelativeAggregationDuration
1423
+
1320
1424
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1321
1425
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1322
1426
 
@@ -1647,6 +1751,9 @@ module Aws::LexModelsV2
1647
1751
  UpdateSlotTypeResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1648
1752
  UpdateSlotTypeResponse.struct_class = Types::UpdateSlotTypeResponse
1649
1753
 
1754
+ UtteranceAggregationDuration.add_member(:relative_aggregation_duration, Shapes::ShapeRef.new(shape: RelativeAggregationDuration, required: true, location_name: "relativeAggregationDuration"))
1755
+ UtteranceAggregationDuration.struct_class = Types::UtteranceAggregationDuration
1756
+
1650
1757
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
1651
1758
  ValidationException.struct_class = Types::ValidationException
1652
1759
 
@@ -1994,6 +2101,17 @@ module Aws::LexModelsV2
1994
2101
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1995
2102
  end)
1996
2103
 
2104
+ api.add_operation(:delete_utterances, Seahorse::Model::Operation.new.tap do |o|
2105
+ o.name = "DeleteUtterances"
2106
+ o.http_method = "DELETE"
2107
+ o.http_request_uri = "/bots/{botId}/utterances/"
2108
+ o.input = Shapes::ShapeRef.new(shape: DeleteUtterancesRequest)
2109
+ o.output = Shapes::ShapeRef.new(shape: DeleteUtterancesResponse)
2110
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2111
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2112
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2113
+ end)
2114
+
1997
2115
  api.add_operation(:describe_bot, Seahorse::Model::Operation.new.tap do |o|
1998
2116
  o.name = "DescribeBot"
1999
2117
  o.http_method = "GET"
@@ -2120,6 +2238,24 @@ module Aws::LexModelsV2
2120
2238
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2121
2239
  end)
2122
2240
 
2241
+ api.add_operation(:list_aggregated_utterances, Seahorse::Model::Operation.new.tap do |o|
2242
+ o.name = "ListAggregatedUtterances"
2243
+ o.http_method = "POST"
2244
+ o.http_request_uri = "/bots/{botId}/aggregatedutterances/"
2245
+ o.input = Shapes::ShapeRef.new(shape: ListAggregatedUtterancesRequest)
2246
+ o.output = Shapes::ShapeRef.new(shape: ListAggregatedUtterancesResponse)
2247
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2248
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
2249
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2250
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2251
+ o[:pager] = Aws::Pager.new(
2252
+ limit_key: "max_results",
2253
+ tokens: {
2254
+ "next_token" => "next_token"
2255
+ }
2256
+ )
2257
+ end)
2258
+
2123
2259
  api.add_operation(:list_bot_aliases, Seahorse::Model::Operation.new.tap do |o|
2124
2260
  o.name = "ListBotAliases"
2125
2261
  o.http_method = "POST"