aws-sdk-lexmodelsv2 1.46.0 → 1.48.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -153,6 +153,9 @@ module Aws::LexModelsV2
153
153
  BotAliasLocaleSettings = Shapes::StructureShape.new(name: 'BotAliasLocaleSettings')
154
154
  BotAliasLocaleSettingsMap = Shapes::MapShape.new(name: 'BotAliasLocaleSettingsMap')
155
155
  BotAliasName = Shapes::StringShape.new(name: 'BotAliasName')
156
+ BotAliasReplicaSummary = Shapes::StructureShape.new(name: 'BotAliasReplicaSummary')
157
+ BotAliasReplicaSummaryList = Shapes::ListShape.new(name: 'BotAliasReplicaSummaryList')
158
+ BotAliasReplicationStatus = Shapes::StringShape.new(name: 'BotAliasReplicationStatus')
156
159
  BotAliasStatus = Shapes::StringShape.new(name: 'BotAliasStatus')
157
160
  BotAliasSummary = Shapes::StructureShape.new(name: 'BotAliasSummary')
158
161
  BotAliasSummaryList = Shapes::ListShape.new(name: 'BotAliasSummaryList')
@@ -184,6 +187,9 @@ module Aws::LexModelsV2
184
187
  BotRecommendationStatus = Shapes::StringShape.new(name: 'BotRecommendationStatus')
185
188
  BotRecommendationSummary = Shapes::StructureShape.new(name: 'BotRecommendationSummary')
186
189
  BotRecommendationSummaryList = Shapes::ListShape.new(name: 'BotRecommendationSummaryList')
190
+ BotReplicaStatus = Shapes::StringShape.new(name: 'BotReplicaStatus')
191
+ BotReplicaSummary = Shapes::StructureShape.new(name: 'BotReplicaSummary')
192
+ BotReplicaSummaryList = Shapes::ListShape.new(name: 'BotReplicaSummaryList')
187
193
  BotSortAttribute = Shapes::StringShape.new(name: 'BotSortAttribute')
188
194
  BotSortBy = Shapes::StructureShape.new(name: 'BotSortBy')
189
195
  BotStatus = Shapes::StringShape.new(name: 'BotStatus')
@@ -193,6 +199,11 @@ module Aws::LexModelsV2
193
199
  BotVersion = Shapes::StringShape.new(name: 'BotVersion')
194
200
  BotVersionLocaleDetails = Shapes::StructureShape.new(name: 'BotVersionLocaleDetails')
195
201
  BotVersionLocaleSpecification = Shapes::MapShape.new(name: 'BotVersionLocaleSpecification')
202
+ BotVersionReplicaSortAttribute = Shapes::StringShape.new(name: 'BotVersionReplicaSortAttribute')
203
+ BotVersionReplicaSortBy = Shapes::StructureShape.new(name: 'BotVersionReplicaSortBy')
204
+ BotVersionReplicaSummary = Shapes::StructureShape.new(name: 'BotVersionReplicaSummary')
205
+ BotVersionReplicaSummaryList = Shapes::ListShape.new(name: 'BotVersionReplicaSummaryList')
206
+ BotVersionReplicationStatus = Shapes::StringShape.new(name: 'BotVersionReplicationStatus')
196
207
  BotVersionSortAttribute = Shapes::StringShape.new(name: 'BotVersionSortAttribute')
197
208
  BotVersionSortBy = Shapes::StructureShape.new(name: 'BotVersionSortBy')
198
209
  BotVersionSummary = Shapes::StructureShape.new(name: 'BotVersionSummary')
@@ -254,6 +265,8 @@ module Aws::LexModelsV2
254
265
  CreateBotAliasResponse = Shapes::StructureShape.new(name: 'CreateBotAliasResponse')
255
266
  CreateBotLocaleRequest = Shapes::StructureShape.new(name: 'CreateBotLocaleRequest')
256
267
  CreateBotLocaleResponse = Shapes::StructureShape.new(name: 'CreateBotLocaleResponse')
268
+ CreateBotReplicaRequest = Shapes::StructureShape.new(name: 'CreateBotReplicaRequest')
269
+ CreateBotReplicaResponse = Shapes::StructureShape.new(name: 'CreateBotReplicaResponse')
257
270
  CreateBotRequest = Shapes::StructureShape.new(name: 'CreateBotRequest')
258
271
  CreateBotResponse = Shapes::StructureShape.new(name: 'CreateBotResponse')
259
272
  CreateBotVersionRequest = Shapes::StructureShape.new(name: 'CreateBotVersionRequest')
@@ -292,6 +305,8 @@ module Aws::LexModelsV2
292
305
  DeleteBotAliasResponse = Shapes::StructureShape.new(name: 'DeleteBotAliasResponse')
293
306
  DeleteBotLocaleRequest = Shapes::StructureShape.new(name: 'DeleteBotLocaleRequest')
294
307
  DeleteBotLocaleResponse = Shapes::StructureShape.new(name: 'DeleteBotLocaleResponse')
308
+ DeleteBotReplicaRequest = Shapes::StructureShape.new(name: 'DeleteBotReplicaRequest')
309
+ DeleteBotReplicaResponse = Shapes::StructureShape.new(name: 'DeleteBotReplicaResponse')
295
310
  DeleteBotRequest = Shapes::StructureShape.new(name: 'DeleteBotRequest')
296
311
  DeleteBotResponse = Shapes::StructureShape.new(name: 'DeleteBotResponse')
297
312
  DeleteBotVersionRequest = Shapes::StructureShape.new(name: 'DeleteBotVersionRequest')
@@ -319,6 +334,8 @@ module Aws::LexModelsV2
319
334
  DescribeBotLocaleResponse = Shapes::StructureShape.new(name: 'DescribeBotLocaleResponse')
320
335
  DescribeBotRecommendationRequest = Shapes::StructureShape.new(name: 'DescribeBotRecommendationRequest')
321
336
  DescribeBotRecommendationResponse = Shapes::StructureShape.new(name: 'DescribeBotRecommendationResponse')
337
+ DescribeBotReplicaRequest = Shapes::StructureShape.new(name: 'DescribeBotReplicaRequest')
338
+ DescribeBotReplicaResponse = Shapes::StructureShape.new(name: 'DescribeBotReplicaResponse')
322
339
  DescribeBotRequest = Shapes::StructureShape.new(name: 'DescribeBotRequest')
323
340
  DescribeBotResourceGenerationRequest = Shapes::StructureShape.new(name: 'DescribeBotResourceGenerationRequest')
324
341
  DescribeBotResourceGenerationResponse = Shapes::StructureShape.new(name: 'DescribeBotResourceGenerationResponse')
@@ -455,14 +472,20 @@ module Aws::LexModelsV2
455
472
  LexTranscriptFilter = Shapes::StructureShape.new(name: 'LexTranscriptFilter')
456
473
  ListAggregatedUtterancesRequest = Shapes::StructureShape.new(name: 'ListAggregatedUtterancesRequest')
457
474
  ListAggregatedUtterancesResponse = Shapes::StructureShape.new(name: 'ListAggregatedUtterancesResponse')
475
+ ListBotAliasReplicasRequest = Shapes::StructureShape.new(name: 'ListBotAliasReplicasRequest')
476
+ ListBotAliasReplicasResponse = Shapes::StructureShape.new(name: 'ListBotAliasReplicasResponse')
458
477
  ListBotAliasesRequest = Shapes::StructureShape.new(name: 'ListBotAliasesRequest')
459
478
  ListBotAliasesResponse = Shapes::StructureShape.new(name: 'ListBotAliasesResponse')
460
479
  ListBotLocalesRequest = Shapes::StructureShape.new(name: 'ListBotLocalesRequest')
461
480
  ListBotLocalesResponse = Shapes::StructureShape.new(name: 'ListBotLocalesResponse')
462
481
  ListBotRecommendationsRequest = Shapes::StructureShape.new(name: 'ListBotRecommendationsRequest')
463
482
  ListBotRecommendationsResponse = Shapes::StructureShape.new(name: 'ListBotRecommendationsResponse')
483
+ ListBotReplicasRequest = Shapes::StructureShape.new(name: 'ListBotReplicasRequest')
484
+ ListBotReplicasResponse = Shapes::StructureShape.new(name: 'ListBotReplicasResponse')
464
485
  ListBotResourceGenerationsRequest = Shapes::StructureShape.new(name: 'ListBotResourceGenerationsRequest')
465
486
  ListBotResourceGenerationsResponse = Shapes::StructureShape.new(name: 'ListBotResourceGenerationsResponse')
487
+ ListBotVersionReplicasRequest = Shapes::StructureShape.new(name: 'ListBotVersionReplicasRequest')
488
+ ListBotVersionReplicasResponse = Shapes::StructureShape.new(name: 'ListBotVersionReplicasResponse')
466
489
  ListBotVersionsRequest = Shapes::StructureShape.new(name: 'ListBotVersionsRequest')
467
490
  ListBotVersionsResponse = Shapes::StructureShape.new(name: 'ListBotVersionsResponse')
468
491
  ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
@@ -567,6 +590,7 @@ module Aws::LexModelsV2
567
590
  RecordNumber = Shapes::IntegerShape.new(name: 'RecordNumber')
568
591
  RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
569
592
  RelativeAggregationDuration = Shapes::StructureShape.new(name: 'RelativeAggregationDuration')
593
+ ReplicaRegion = Shapes::StringShape.new(name: 'ReplicaRegion')
570
594
  ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
571
595
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
572
596
  ResponseSpecification = Shapes::StructureShape.new(name: 'ResponseSpecification')
@@ -1116,6 +1140,16 @@ module Aws::LexModelsV2
1116
1140
  BotAliasLocaleSettingsMap.key = Shapes::ShapeRef.new(shape: LocaleId)
1117
1141
  BotAliasLocaleSettingsMap.value = Shapes::ShapeRef.new(shape: BotAliasLocaleSettings)
1118
1142
 
1143
+ BotAliasReplicaSummary.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, location_name: "botAliasId"))
1144
+ BotAliasReplicaSummary.add_member(:bot_alias_replication_status, Shapes::ShapeRef.new(shape: BotAliasReplicationStatus, location_name: "botAliasReplicationStatus"))
1145
+ BotAliasReplicaSummary.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1146
+ BotAliasReplicaSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1147
+ BotAliasReplicaSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
1148
+ BotAliasReplicaSummary.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1149
+ BotAliasReplicaSummary.struct_class = Types::BotAliasReplicaSummary
1150
+
1151
+ BotAliasReplicaSummaryList.member = Shapes::ShapeRef.new(shape: BotAliasReplicaSummary)
1152
+
1119
1153
  BotAliasSummary.add_member(:bot_alias_id, Shapes::ShapeRef.new(shape: BotAliasId, location_name: "botAliasId"))
1120
1154
  BotAliasSummary.add_member(:bot_alias_name, Shapes::ShapeRef.new(shape: Name, location_name: "botAliasName"))
1121
1155
  BotAliasSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1216,6 +1250,14 @@ module Aws::LexModelsV2
1216
1250
 
1217
1251
  BotRecommendationSummaryList.member = Shapes::ShapeRef.new(shape: BotRecommendationSummary)
1218
1252
 
1253
+ BotReplicaSummary.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
1254
+ BotReplicaSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1255
+ BotReplicaSummary.add_member(:bot_replica_status, Shapes::ShapeRef.new(shape: BotReplicaStatus, location_name: "botReplicaStatus"))
1256
+ BotReplicaSummary.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1257
+ BotReplicaSummary.struct_class = Types::BotReplicaSummary
1258
+
1259
+ BotReplicaSummaryList.member = Shapes::ShapeRef.new(shape: BotReplicaSummary)
1260
+
1219
1261
  BotSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotSortAttribute, required: true, location_name: "attribute"))
1220
1262
  BotSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1221
1263
  BotSortBy.struct_class = Types::BotSortBy
@@ -1237,6 +1279,18 @@ module Aws::LexModelsV2
1237
1279
  BotVersionLocaleSpecification.key = Shapes::ShapeRef.new(shape: LocaleId)
1238
1280
  BotVersionLocaleSpecification.value = Shapes::ShapeRef.new(shape: BotVersionLocaleDetails)
1239
1281
 
1282
+ BotVersionReplicaSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotVersionReplicaSortAttribute, required: true, location_name: "attribute"))
1283
+ BotVersionReplicaSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1284
+ BotVersionReplicaSortBy.struct_class = Types::BotVersionReplicaSortBy
1285
+
1286
+ BotVersionReplicaSummary.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
1287
+ BotVersionReplicaSummary.add_member(:bot_version_replication_status, Shapes::ShapeRef.new(shape: BotVersionReplicationStatus, location_name: "botVersionReplicationStatus"))
1288
+ BotVersionReplicaSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1289
+ BotVersionReplicaSummary.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1290
+ BotVersionReplicaSummary.struct_class = Types::BotVersionReplicaSummary
1291
+
1292
+ BotVersionReplicaSummaryList.member = Shapes::ShapeRef.new(shape: BotVersionReplicaSummary)
1293
+
1240
1294
  BotVersionSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BotVersionSortAttribute, required: true, location_name: "attribute"))
1241
1295
  BotVersionSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
1242
1296
  BotVersionSortBy.struct_class = Types::BotVersionSortBy
@@ -1418,6 +1472,17 @@ module Aws::LexModelsV2
1418
1472
  CreateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
1419
1473
  CreateBotLocaleResponse.struct_class = Types::CreateBotLocaleResponse
1420
1474
 
1475
+ CreateBotReplicaRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1476
+ CreateBotReplicaRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, required: true, location_name: "replicaRegion"))
1477
+ CreateBotReplicaRequest.struct_class = Types::CreateBotReplicaRequest
1478
+
1479
+ CreateBotReplicaResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1480
+ CreateBotReplicaResponse.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
1481
+ CreateBotReplicaResponse.add_member(:source_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "sourceRegion"))
1482
+ CreateBotReplicaResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1483
+ CreateBotReplicaResponse.add_member(:bot_replica_status, Shapes::ShapeRef.new(shape: BotReplicaStatus, location_name: "botReplicaStatus"))
1484
+ CreateBotReplicaResponse.struct_class = Types::CreateBotReplicaResponse
1485
+
1421
1486
  CreateBotRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "botName"))
1422
1487
  CreateBotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1423
1488
  CreateBotRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
@@ -1659,6 +1724,15 @@ module Aws::LexModelsV2
1659
1724
  DeleteBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
1660
1725
  DeleteBotLocaleResponse.struct_class = Types::DeleteBotLocaleResponse
1661
1726
 
1727
+ DeleteBotReplicaRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1728
+ DeleteBotReplicaRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, required: true, location: "uri", location_name: "replicaRegion"))
1729
+ DeleteBotReplicaRequest.struct_class = Types::DeleteBotReplicaRequest
1730
+
1731
+ DeleteBotReplicaResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1732
+ DeleteBotReplicaResponse.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
1733
+ DeleteBotReplicaResponse.add_member(:bot_replica_status, Shapes::ShapeRef.new(shape: BotReplicaStatus, location_name: "botReplicaStatus"))
1734
+ DeleteBotReplicaResponse.struct_class = Types::DeleteBotReplicaResponse
1735
+
1662
1736
  DeleteBotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1663
1737
  DeleteBotRequest.add_member(:skip_resource_in_use_check, Shapes::ShapeRef.new(shape: SkipResourceInUseCheck, location: "querystring", location_name: "skipResourceInUseCheck"))
1664
1738
  DeleteBotRequest.struct_class = Types::DeleteBotRequest
@@ -1813,6 +1887,18 @@ module Aws::LexModelsV2
1813
1887
  DescribeBotRecommendationResponse.add_member(:bot_recommendation_results, Shapes::ShapeRef.new(shape: BotRecommendationResults, location_name: "botRecommendationResults"))
1814
1888
  DescribeBotRecommendationResponse.struct_class = Types::DescribeBotRecommendationResponse
1815
1889
 
1890
+ DescribeBotReplicaRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1891
+ DescribeBotReplicaRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, required: true, location: "uri", location_name: "replicaRegion"))
1892
+ DescribeBotReplicaRequest.struct_class = Types::DescribeBotReplicaRequest
1893
+
1894
+ DescribeBotReplicaResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
1895
+ DescribeBotReplicaResponse.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
1896
+ DescribeBotReplicaResponse.add_member(:source_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "sourceRegion"))
1897
+ DescribeBotReplicaResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
1898
+ DescribeBotReplicaResponse.add_member(:bot_replica_status, Shapes::ShapeRef.new(shape: BotReplicaStatus, location_name: "botReplicaStatus"))
1899
+ DescribeBotReplicaResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
1900
+ DescribeBotReplicaResponse.struct_class = Types::DescribeBotReplicaResponse
1901
+
1816
1902
  DescribeBotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
1817
1903
  DescribeBotRequest.struct_class = Types::DescribeBotRequest
1818
1904
 
@@ -2359,6 +2445,19 @@ module Aws::LexModelsV2
2359
2445
  ListAggregatedUtterancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2360
2446
  ListAggregatedUtterancesResponse.struct_class = Types::ListAggregatedUtterancesResponse
2361
2447
 
2448
+ ListBotAliasReplicasRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2449
+ ListBotAliasReplicasRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, required: true, location: "uri", location_name: "replicaRegion"))
2450
+ ListBotAliasReplicasRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
2451
+ ListBotAliasReplicasRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2452
+ ListBotAliasReplicasRequest.struct_class = Types::ListBotAliasReplicasRequest
2453
+
2454
+ ListBotAliasReplicasResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
2455
+ ListBotAliasReplicasResponse.add_member(:source_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "sourceRegion"))
2456
+ ListBotAliasReplicasResponse.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
2457
+ ListBotAliasReplicasResponse.add_member(:bot_alias_replica_summaries, Shapes::ShapeRef.new(shape: BotAliasReplicaSummaryList, location_name: "botAliasReplicaSummaries"))
2458
+ ListBotAliasReplicasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2459
+ ListBotAliasReplicasResponse.struct_class = Types::ListBotAliasReplicasResponse
2460
+
2362
2461
  ListBotAliasesRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2363
2462
  ListBotAliasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
2364
2463
  ListBotAliasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
@@ -2397,6 +2496,14 @@ module Aws::LexModelsV2
2397
2496
  ListBotRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2398
2497
  ListBotRecommendationsResponse.struct_class = Types::ListBotRecommendationsResponse
2399
2498
 
2499
+ ListBotReplicasRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2500
+ ListBotReplicasRequest.struct_class = Types::ListBotReplicasRequest
2501
+
2502
+ ListBotReplicasResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
2503
+ ListBotReplicasResponse.add_member(:source_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "sourceRegion"))
2504
+ ListBotReplicasResponse.add_member(:bot_replica_summaries, Shapes::ShapeRef.new(shape: BotReplicaSummaryList, location_name: "botReplicaSummaries"))
2505
+ ListBotReplicasResponse.struct_class = Types::ListBotReplicasResponse
2506
+
2400
2507
  ListBotResourceGenerationsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2401
2508
  ListBotResourceGenerationsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
2402
2509
  ListBotResourceGenerationsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
@@ -2412,6 +2519,20 @@ module Aws::LexModelsV2
2412
2519
  ListBotResourceGenerationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2413
2520
  ListBotResourceGenerationsResponse.struct_class = Types::ListBotResourceGenerationsResponse
2414
2521
 
2522
+ ListBotVersionReplicasRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2523
+ ListBotVersionReplicasRequest.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, required: true, location: "uri", location_name: "replicaRegion"))
2524
+ ListBotVersionReplicasRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
2525
+ ListBotVersionReplicasRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2526
+ ListBotVersionReplicasRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: BotVersionReplicaSortBy, location_name: "sortBy"))
2527
+ ListBotVersionReplicasRequest.struct_class = Types::ListBotVersionReplicasRequest
2528
+
2529
+ ListBotVersionReplicasResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
2530
+ ListBotVersionReplicasResponse.add_member(:source_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "sourceRegion"))
2531
+ ListBotVersionReplicasResponse.add_member(:replica_region, Shapes::ShapeRef.new(shape: ReplicaRegion, location_name: "replicaRegion"))
2532
+ ListBotVersionReplicasResponse.add_member(:bot_version_replica_summaries, Shapes::ShapeRef.new(shape: BotVersionReplicaSummaryList, location_name: "botVersionReplicaSummaries"))
2533
+ ListBotVersionReplicasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2534
+ ListBotVersionReplicasResponse.struct_class = Types::ListBotVersionReplicasResponse
2535
+
2415
2536
  ListBotVersionsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
2416
2537
  ListBotVersionsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: BotVersionSortBy, location_name: "sortBy"))
2417
2538
  ListBotVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
@@ -3788,6 +3909,20 @@ module Aws::LexModelsV2
3788
3909
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3789
3910
  end)
3790
3911
 
3912
+ api.add_operation(:create_bot_replica, Seahorse::Model::Operation.new.tap do |o|
3913
+ o.name = "CreateBotReplica"
3914
+ o.http_method = "PUT"
3915
+ o.http_request_uri = "/bots/{botId}/replicas/"
3916
+ o.input = Shapes::ShapeRef.new(shape: CreateBotReplicaRequest)
3917
+ o.output = Shapes::ShapeRef.new(shape: CreateBotReplicaResponse)
3918
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3919
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3920
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3921
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
3922
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3923
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3924
+ end)
3925
+
3791
3926
  api.add_operation(:create_bot_version, Seahorse::Model::Operation.new.tap do |o|
3792
3927
  o.name = "CreateBotVersion"
3793
3928
  o.http_method = "PUT"
@@ -3956,6 +4091,20 @@ module Aws::LexModelsV2
3956
4091
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3957
4092
  end)
3958
4093
 
4094
+ api.add_operation(:delete_bot_replica, Seahorse::Model::Operation.new.tap do |o|
4095
+ o.name = "DeleteBotReplica"
4096
+ o.http_method = "DELETE"
4097
+ o.http_request_uri = "/bots/{botId}/replicas/{replicaRegion}/"
4098
+ o.input = Shapes::ShapeRef.new(shape: DeleteBotReplicaRequest)
4099
+ o.output = Shapes::ShapeRef.new(shape: DeleteBotReplicaResponse)
4100
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4101
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4102
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4103
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
4104
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4105
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4106
+ end)
4107
+
3959
4108
  api.add_operation(:delete_bot_version, Seahorse::Model::Operation.new.tap do |o|
3960
4109
  o.name = "DeleteBotVersion"
3961
4110
  o.http_method = "DELETE"
@@ -4152,6 +4301,19 @@ module Aws::LexModelsV2
4152
4301
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4153
4302
  end)
4154
4303
 
4304
+ api.add_operation(:describe_bot_replica, Seahorse::Model::Operation.new.tap do |o|
4305
+ o.name = "DescribeBotReplica"
4306
+ o.http_method = "GET"
4307
+ o.http_request_uri = "/bots/{botId}/replicas/{replicaRegion}/"
4308
+ o.input = Shapes::ShapeRef.new(shape: DescribeBotReplicaRequest)
4309
+ o.output = Shapes::ShapeRef.new(shape: DescribeBotReplicaResponse)
4310
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4311
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4312
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4313
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4314
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4315
+ end)
4316
+
4155
4317
  api.add_operation(:describe_bot_resource_generation, Seahorse::Model::Operation.new.tap do |o|
4156
4318
  o.name = "DescribeBotResourceGeneration"
4157
4319
  o.http_method = "GET"
@@ -4363,6 +4525,24 @@ module Aws::LexModelsV2
4363
4525
  )
4364
4526
  end)
4365
4527
 
4528
+ api.add_operation(:list_bot_alias_replicas, Seahorse::Model::Operation.new.tap do |o|
4529
+ o.name = "ListBotAliasReplicas"
4530
+ o.http_method = "POST"
4531
+ o.http_request_uri = "/bots/{botId}/replicas/{replicaRegion}/botaliases/"
4532
+ o.input = Shapes::ShapeRef.new(shape: ListBotAliasReplicasRequest)
4533
+ o.output = Shapes::ShapeRef.new(shape: ListBotAliasReplicasResponse)
4534
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4535
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4536
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4537
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4538
+ o[:pager] = Aws::Pager.new(
4539
+ limit_key: "max_results",
4540
+ tokens: {
4541
+ "next_token" => "next_token"
4542
+ }
4543
+ )
4544
+ end)
4545
+
4366
4546
  api.add_operation(:list_bot_aliases, Seahorse::Model::Operation.new.tap do |o|
4367
4547
  o.name = "ListBotAliases"
4368
4548
  o.http_method = "POST"
@@ -4417,6 +4597,18 @@ module Aws::LexModelsV2
4417
4597
  )
4418
4598
  end)
4419
4599
 
4600
+ api.add_operation(:list_bot_replicas, Seahorse::Model::Operation.new.tap do |o|
4601
+ o.name = "ListBotReplicas"
4602
+ o.http_method = "POST"
4603
+ o.http_request_uri = "/bots/{botId}/replicas/"
4604
+ o.input = Shapes::ShapeRef.new(shape: ListBotReplicasRequest)
4605
+ o.output = Shapes::ShapeRef.new(shape: ListBotReplicasResponse)
4606
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4607
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4608
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4609
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4610
+ end)
4611
+
4420
4612
  api.add_operation(:list_bot_resource_generations, Seahorse::Model::Operation.new.tap do |o|
4421
4613
  o.name = "ListBotResourceGenerations"
4422
4614
  o.http_method = "POST"
@@ -4435,6 +4627,24 @@ module Aws::LexModelsV2
4435
4627
  )
4436
4628
  end)
4437
4629
 
4630
+ api.add_operation(:list_bot_version_replicas, Seahorse::Model::Operation.new.tap do |o|
4631
+ o.name = "ListBotVersionReplicas"
4632
+ o.http_method = "POST"
4633
+ o.http_request_uri = "/bots/{botId}/replicas/{replicaRegion}/botversions/"
4634
+ o.input = Shapes::ShapeRef.new(shape: ListBotVersionReplicasRequest)
4635
+ o.output = Shapes::ShapeRef.new(shape: ListBotVersionReplicasResponse)
4636
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4637
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
4638
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4639
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4640
+ o[:pager] = Aws::Pager.new(
4641
+ limit_key: "max_results",
4642
+ tokens: {
4643
+ "next_token" => "next_token"
4644
+ }
4645
+ )
4646
+ end)
4647
+
4438
4648
  api.add_operation(:list_bot_versions, Seahorse::Model::Operation.new.tap do |o|
4439
4649
  o.name = "ListBotVersions"
4440
4650
  o.http_method = "POST"
@@ -110,6 +110,20 @@ module Aws::LexModelsV2
110
110
  end
111
111
  end
112
112
 
113
+ class CreateBotReplica
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::LexModelsV2::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
113
127
  class CreateBotVersion
114
128
  def self.build(context)
115
129
  unless context.config.regional_endpoint
@@ -278,6 +292,20 @@ module Aws::LexModelsV2
278
292
  end
279
293
  end
280
294
 
295
+ class DeleteBotReplica
296
+ def self.build(context)
297
+ unless context.config.regional_endpoint
298
+ endpoint = context.config.endpoint.to_s
299
+ end
300
+ Aws::LexModelsV2::EndpointParameters.new(
301
+ region: context.config.region,
302
+ use_dual_stack: context.config.use_dualstack_endpoint,
303
+ use_fips: context.config.use_fips_endpoint,
304
+ endpoint: endpoint,
305
+ )
306
+ end
307
+ end
308
+
281
309
  class DeleteBotVersion
282
310
  def self.build(context)
283
311
  unless context.config.regional_endpoint
@@ -488,6 +516,20 @@ module Aws::LexModelsV2
488
516
  end
489
517
  end
490
518
 
519
+ class DescribeBotReplica
520
+ def self.build(context)
521
+ unless context.config.regional_endpoint
522
+ endpoint = context.config.endpoint.to_s
523
+ end
524
+ Aws::LexModelsV2::EndpointParameters.new(
525
+ region: context.config.region,
526
+ use_dual_stack: context.config.use_dualstack_endpoint,
527
+ use_fips: context.config.use_fips_endpoint,
528
+ endpoint: endpoint,
529
+ )
530
+ end
531
+ end
532
+
491
533
  class DescribeBotResourceGeneration
492
534
  def self.build(context)
493
535
  unless context.config.regional_endpoint
@@ -712,6 +754,20 @@ module Aws::LexModelsV2
712
754
  end
713
755
  end
714
756
 
757
+ class ListBotAliasReplicas
758
+ def self.build(context)
759
+ unless context.config.regional_endpoint
760
+ endpoint = context.config.endpoint.to_s
761
+ end
762
+ Aws::LexModelsV2::EndpointParameters.new(
763
+ region: context.config.region,
764
+ use_dual_stack: context.config.use_dualstack_endpoint,
765
+ use_fips: context.config.use_fips_endpoint,
766
+ endpoint: endpoint,
767
+ )
768
+ end
769
+ end
770
+
715
771
  class ListBotAliases
716
772
  def self.build(context)
717
773
  unless context.config.regional_endpoint
@@ -754,6 +810,20 @@ module Aws::LexModelsV2
754
810
  end
755
811
  end
756
812
 
813
+ class ListBotReplicas
814
+ def self.build(context)
815
+ unless context.config.regional_endpoint
816
+ endpoint = context.config.endpoint.to_s
817
+ end
818
+ Aws::LexModelsV2::EndpointParameters.new(
819
+ region: context.config.region,
820
+ use_dual_stack: context.config.use_dualstack_endpoint,
821
+ use_fips: context.config.use_fips_endpoint,
822
+ endpoint: endpoint,
823
+ )
824
+ end
825
+ end
826
+
757
827
  class ListBotResourceGenerations
758
828
  def self.build(context)
759
829
  unless context.config.regional_endpoint
@@ -768,6 +838,20 @@ module Aws::LexModelsV2
768
838
  end
769
839
  end
770
840
 
841
+ class ListBotVersionReplicas
842
+ def self.build(context)
843
+ unless context.config.regional_endpoint
844
+ endpoint = context.config.endpoint.to_s
845
+ end
846
+ Aws::LexModelsV2::EndpointParameters.new(
847
+ region: context.config.region,
848
+ use_dual_stack: context.config.use_dualstack_endpoint,
849
+ use_fips: context.config.use_fips_endpoint,
850
+ endpoint: endpoint,
851
+ )
852
+ end
853
+ end
854
+
771
855
  class ListBotVersions
772
856
  def self.build(context)
773
857
  unless context.config.regional_endpoint
@@ -14,6 +14,7 @@ module Aws::LexModelsV2
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::LexModelsV2::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -71,6 +72,8 @@ module Aws::LexModelsV2
71
72
  Aws::LexModelsV2::Endpoints::CreateBotAlias.build(context)
72
73
  when :create_bot_locale
73
74
  Aws::LexModelsV2::Endpoints::CreateBotLocale.build(context)
75
+ when :create_bot_replica
76
+ Aws::LexModelsV2::Endpoints::CreateBotReplica.build(context)
74
77
  when :create_bot_version
75
78
  Aws::LexModelsV2::Endpoints::CreateBotVersion.build(context)
76
79
  when :create_export
@@ -95,6 +98,8 @@ module Aws::LexModelsV2
95
98
  Aws::LexModelsV2::Endpoints::DeleteBotAlias.build(context)
96
99
  when :delete_bot_locale
97
100
  Aws::LexModelsV2::Endpoints::DeleteBotLocale.build(context)
101
+ when :delete_bot_replica
102
+ Aws::LexModelsV2::Endpoints::DeleteBotReplica.build(context)
98
103
  when :delete_bot_version
99
104
  Aws::LexModelsV2::Endpoints::DeleteBotVersion.build(context)
100
105
  when :delete_custom_vocabulary
@@ -125,6 +130,8 @@ module Aws::LexModelsV2
125
130
  Aws::LexModelsV2::Endpoints::DescribeBotLocale.build(context)
126
131
  when :describe_bot_recommendation
127
132
  Aws::LexModelsV2::Endpoints::DescribeBotRecommendation.build(context)
133
+ when :describe_bot_replica
134
+ Aws::LexModelsV2::Endpoints::DescribeBotReplica.build(context)
128
135
  when :describe_bot_resource_generation
129
136
  Aws::LexModelsV2::Endpoints::DescribeBotResourceGeneration.build(context)
130
137
  when :describe_bot_version
@@ -157,14 +164,20 @@ module Aws::LexModelsV2
157
164
  Aws::LexModelsV2::Endpoints::GetTestExecutionArtifactsUrl.build(context)
158
165
  when :list_aggregated_utterances
159
166
  Aws::LexModelsV2::Endpoints::ListAggregatedUtterances.build(context)
167
+ when :list_bot_alias_replicas
168
+ Aws::LexModelsV2::Endpoints::ListBotAliasReplicas.build(context)
160
169
  when :list_bot_aliases
161
170
  Aws::LexModelsV2::Endpoints::ListBotAliases.build(context)
162
171
  when :list_bot_locales
163
172
  Aws::LexModelsV2::Endpoints::ListBotLocales.build(context)
164
173
  when :list_bot_recommendations
165
174
  Aws::LexModelsV2::Endpoints::ListBotRecommendations.build(context)
175
+ when :list_bot_replicas
176
+ Aws::LexModelsV2::Endpoints::ListBotReplicas.build(context)
166
177
  when :list_bot_resource_generations
167
178
  Aws::LexModelsV2::Endpoints::ListBotResourceGenerations.build(context)
179
+ when :list_bot_version_replicas
180
+ Aws::LexModelsV2::Endpoints::ListBotVersionReplicas.build(context)
168
181
  when :list_bot_versions
169
182
  Aws::LexModelsV2::Endpoints::ListBotVersions.build(context)
170
183
  when :list_bots