aws-sdk-lexmodelsv2 1.44.0 → 1.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +337 -8
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +194 -0
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +56 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +562 -6
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
@@ -144,6 +144,8 @@ module Aws::LexModelsV2
|
|
144
144
|
BatchDeleteCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchDeleteCustomVocabularyItemResponse')
|
145
145
|
BatchUpdateCustomVocabularyItemRequest = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemRequest')
|
146
146
|
BatchUpdateCustomVocabularyItemResponse = Shapes::StructureShape.new(name: 'BatchUpdateCustomVocabularyItemResponse')
|
147
|
+
BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
|
148
|
+
BedrockModelSpecification = Shapes::StructureShape.new(name: 'BedrockModelSpecification')
|
147
149
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
148
150
|
BotAliasHistoryEvent = Shapes::StructureShape.new(name: 'BotAliasHistoryEvent')
|
149
151
|
BotAliasHistoryEventsList = Shapes::ListShape.new(name: 'BotAliasHistoryEventsList')
|
@@ -198,6 +200,7 @@ module Aws::LexModelsV2
|
|
198
200
|
BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
|
199
201
|
BuildBotLocaleRequest = Shapes::StructureShape.new(name: 'BuildBotLocaleRequest')
|
200
202
|
BuildBotLocaleResponse = Shapes::StructureShape.new(name: 'BuildBotLocaleResponse')
|
203
|
+
BuildtimeSettings = Shapes::StructureShape.new(name: 'BuildtimeSettings')
|
201
204
|
BuiltInIntentSortAttribute = Shapes::StringShape.new(name: 'BuiltInIntentSortAttribute')
|
202
205
|
BuiltInIntentSortBy = Shapes::StructureShape.new(name: 'BuiltInIntentSortBy')
|
203
206
|
BuiltInIntentSummary = Shapes::StructureShape.new(name: 'BuiltInIntentSummary')
|
@@ -317,6 +320,8 @@ module Aws::LexModelsV2
|
|
317
320
|
DescribeBotRecommendationRequest = Shapes::StructureShape.new(name: 'DescribeBotRecommendationRequest')
|
318
321
|
DescribeBotRecommendationResponse = Shapes::StructureShape.new(name: 'DescribeBotRecommendationResponse')
|
319
322
|
DescribeBotRequest = Shapes::StructureShape.new(name: 'DescribeBotRequest')
|
323
|
+
DescribeBotResourceGenerationRequest = Shapes::StructureShape.new(name: 'DescribeBotResourceGenerationRequest')
|
324
|
+
DescribeBotResourceGenerationResponse = Shapes::StructureShape.new(name: 'DescribeBotResourceGenerationResponse')
|
320
325
|
DescribeBotResponse = Shapes::StructureShape.new(name: 'DescribeBotResponse')
|
321
326
|
DescribeBotVersionRequest = Shapes::StructureShape.new(name: 'DescribeBotVersionRequest')
|
322
327
|
DescribeBotVersionResponse = Shapes::StructureShape.new(name: 'DescribeBotVersionResponse')
|
@@ -343,6 +348,7 @@ module Aws::LexModelsV2
|
|
343
348
|
DescribeTestSetRequest = Shapes::StructureShape.new(name: 'DescribeTestSetRequest')
|
344
349
|
DescribeTestSetResponse = Shapes::StructureShape.new(name: 'DescribeTestSetResponse')
|
345
350
|
Description = Shapes::StringShape.new(name: 'Description')
|
351
|
+
DescriptiveBotBuilderSpecification = Shapes::StructureShape.new(name: 'DescriptiveBotBuilderSpecification')
|
346
352
|
DialogAction = Shapes::StructureShape.new(name: 'DialogAction')
|
347
353
|
DialogActionType = Shapes::StringShape.new(name: 'DialogActionType')
|
348
354
|
DialogCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'DialogCodeHookInvocationSetting')
|
@@ -351,6 +357,7 @@ module Aws::LexModelsV2
|
|
351
357
|
DraftBotVersion = Shapes::StringShape.new(name: 'DraftBotVersion')
|
352
358
|
Effect = Shapes::StringShape.new(name: 'Effect')
|
353
359
|
ElicitationCodeHookInvocationSetting = Shapes::StructureShape.new(name: 'ElicitationCodeHookInvocationSetting')
|
360
|
+
Enabled = Shapes::BooleanShape.new(name: 'Enabled')
|
354
361
|
EncryptionSetting = Shapes::StructureShape.new(name: 'EncryptionSetting')
|
355
362
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
356
363
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
@@ -381,6 +388,15 @@ module Aws::LexModelsV2
|
|
381
388
|
FulfillmentUpdateResponseFrequency = Shapes::IntegerShape.new(name: 'FulfillmentUpdateResponseFrequency')
|
382
389
|
FulfillmentUpdateResponseSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdateResponseSpecification')
|
383
390
|
FulfillmentUpdatesSpecification = Shapes::StructureShape.new(name: 'FulfillmentUpdatesSpecification')
|
391
|
+
GenerateBotElementRequest = Shapes::StructureShape.new(name: 'GenerateBotElementRequest')
|
392
|
+
GenerateBotElementResponse = Shapes::StructureShape.new(name: 'GenerateBotElementResponse')
|
393
|
+
GenerationInput = Shapes::StringShape.new(name: 'GenerationInput')
|
394
|
+
GenerationSortBy = Shapes::StructureShape.new(name: 'GenerationSortBy')
|
395
|
+
GenerationSortByAttribute = Shapes::StringShape.new(name: 'GenerationSortByAttribute')
|
396
|
+
GenerationStatus = Shapes::StringShape.new(name: 'GenerationStatus')
|
397
|
+
GenerationSummary = Shapes::StructureShape.new(name: 'GenerationSummary')
|
398
|
+
GenerationSummaryList = Shapes::ListShape.new(name: 'GenerationSummaryList')
|
399
|
+
GenerativeAISettings = Shapes::StructureShape.new(name: 'GenerativeAISettings')
|
384
400
|
GetTestExecutionArtifactsUrlRequest = Shapes::StructureShape.new(name: 'GetTestExecutionArtifactsUrlRequest')
|
385
401
|
GetTestExecutionArtifactsUrlResponse = Shapes::StructureShape.new(name: 'GetTestExecutionArtifactsUrlResponse')
|
386
402
|
GrammarSlotTypeSetting = Shapes::StructureShape.new(name: 'GrammarSlotTypeSetting')
|
@@ -445,6 +461,8 @@ module Aws::LexModelsV2
|
|
445
461
|
ListBotLocalesResponse = Shapes::StructureShape.new(name: 'ListBotLocalesResponse')
|
446
462
|
ListBotRecommendationsRequest = Shapes::StructureShape.new(name: 'ListBotRecommendationsRequest')
|
447
463
|
ListBotRecommendationsResponse = Shapes::StructureShape.new(name: 'ListBotRecommendationsResponse')
|
464
|
+
ListBotResourceGenerationsRequest = Shapes::StructureShape.new(name: 'ListBotResourceGenerationsRequest')
|
465
|
+
ListBotResourceGenerationsResponse = Shapes::StructureShape.new(name: 'ListBotResourceGenerationsResponse')
|
448
466
|
ListBotVersionsRequest = Shapes::StructureShape.new(name: 'ListBotVersionsRequest')
|
449
467
|
ListBotVersionsResponse = Shapes::StructureShape.new(name: 'ListBotVersionsResponse')
|
450
468
|
ListBotsRequest = Shapes::StructureShape.new(name: 'ListBotsRequest')
|
@@ -560,6 +578,7 @@ module Aws::LexModelsV2
|
|
560
578
|
RuntimeHintValue = Shapes::StructureShape.new(name: 'RuntimeHintValue')
|
561
579
|
RuntimeHintValuesList = Shapes::ListShape.new(name: 'RuntimeHintValuesList')
|
562
580
|
RuntimeHints = Shapes::StructureShape.new(name: 'RuntimeHints')
|
581
|
+
RuntimeSettings = Shapes::StructureShape.new(name: 'RuntimeSettings')
|
563
582
|
S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
|
564
583
|
S3BucketLogDestination = Shapes::StructureShape.new(name: 'S3BucketLogDestination')
|
565
584
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
@@ -568,6 +587,7 @@ module Aws::LexModelsV2
|
|
568
587
|
SSMLMessage = Shapes::StructureShape.new(name: 'SSMLMessage')
|
569
588
|
SSMLMessageValue = Shapes::StringShape.new(name: 'SSMLMessageValue')
|
570
589
|
SampleUtterance = Shapes::StructureShape.new(name: 'SampleUtterance')
|
590
|
+
SampleUtteranceGenerationSpecification = Shapes::StructureShape.new(name: 'SampleUtteranceGenerationSpecification')
|
571
591
|
SampleUtterancesCount = Shapes::IntegerShape.new(name: 'SampleUtterancesCount')
|
572
592
|
SampleUtterancesList = Shapes::ListShape.new(name: 'SampleUtterancesList')
|
573
593
|
SampleValue = Shapes::StructureShape.new(name: 'SampleValue')
|
@@ -597,6 +617,9 @@ module Aws::LexModelsV2
|
|
597
617
|
SlotHintsSlotMap = Shapes::MapShape.new(name: 'SlotHintsSlotMap')
|
598
618
|
SlotPrioritiesList = Shapes::ListShape.new(name: 'SlotPrioritiesList')
|
599
619
|
SlotPriority = Shapes::StructureShape.new(name: 'SlotPriority')
|
620
|
+
SlotResolutionImprovementSpecification = Shapes::StructureShape.new(name: 'SlotResolutionImprovementSpecification')
|
621
|
+
SlotResolutionSetting = Shapes::StructureShape.new(name: 'SlotResolutionSetting')
|
622
|
+
SlotResolutionStrategy = Shapes::StringShape.new(name: 'SlotResolutionStrategy')
|
600
623
|
SlotResolutionTestResultItem = Shapes::StructureShape.new(name: 'SlotResolutionTestResultItem')
|
601
624
|
SlotResolutionTestResultItemCounts = Shapes::StructureShape.new(name: 'SlotResolutionTestResultItemCounts')
|
602
625
|
SlotResolutionTestResultItems = Shapes::ListShape.new(name: 'SlotResolutionTestResultItems')
|
@@ -630,6 +653,8 @@ module Aws::LexModelsV2
|
|
630
653
|
Specifications = Shapes::StructureShape.new(name: 'Specifications')
|
631
654
|
StartBotRecommendationRequest = Shapes::StructureShape.new(name: 'StartBotRecommendationRequest')
|
632
655
|
StartBotRecommendationResponse = Shapes::StructureShape.new(name: 'StartBotRecommendationResponse')
|
656
|
+
StartBotResourceGenerationRequest = Shapes::StructureShape.new(name: 'StartBotResourceGenerationRequest')
|
657
|
+
StartBotResourceGenerationResponse = Shapes::StructureShape.new(name: 'StartBotResourceGenerationResponse')
|
633
658
|
StartImportRequest = Shapes::StructureShape.new(name: 'StartImportRequest')
|
634
659
|
StartImportResponse = Shapes::StructureShape.new(name: 'StartImportResponse')
|
635
660
|
StartTestExecutionRequest = Shapes::StructureShape.new(name: 'StartTestExecutionRequest')
|
@@ -1074,6 +1099,9 @@ module Aws::LexModelsV2
|
|
1074
1099
|
BatchUpdateCustomVocabularyItemResponse.add_member(:resources, Shapes::ShapeRef.new(shape: CustomVocabularyItems, location_name: "resources"))
|
1075
1100
|
BatchUpdateCustomVocabularyItemResponse.struct_class = Types::BatchUpdateCustomVocabularyItemResponse
|
1076
1101
|
|
1102
|
+
BedrockModelSpecification.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
1103
|
+
BedrockModelSpecification.struct_class = Types::BedrockModelSpecification
|
1104
|
+
|
1077
1105
|
BotAliasHistoryEvent.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1078
1106
|
BotAliasHistoryEvent.add_member(:start_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startDate"))
|
1079
1107
|
BotAliasHistoryEvent.add_member(:end_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endDate"))
|
@@ -1234,6 +1262,10 @@ module Aws::LexModelsV2
|
|
1234
1262
|
BuildBotLocaleResponse.add_member(:last_build_submitted_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastBuildSubmittedDateTime"))
|
1235
1263
|
BuildBotLocaleResponse.struct_class = Types::BuildBotLocaleResponse
|
1236
1264
|
|
1265
|
+
BuildtimeSettings.add_member(:descriptive_bot_builder, Shapes::ShapeRef.new(shape: DescriptiveBotBuilderSpecification, location_name: "descriptiveBotBuilder"))
|
1266
|
+
BuildtimeSettings.add_member(:sample_utterance_generation, Shapes::ShapeRef.new(shape: SampleUtteranceGenerationSpecification, location_name: "sampleUtteranceGeneration"))
|
1267
|
+
BuildtimeSettings.struct_class = Types::BuildtimeSettings
|
1268
|
+
|
1237
1269
|
BuiltInIntentSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: BuiltInIntentSortAttribute, required: true, location_name: "attribute"))
|
1238
1270
|
BuiltInIntentSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
1239
1271
|
BuiltInIntentSortBy.struct_class = Types::BuiltInIntentSortBy
|
@@ -1371,6 +1403,7 @@ module Aws::LexModelsV2
|
|
1371
1403
|
CreateBotLocaleRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1372
1404
|
CreateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
|
1373
1405
|
CreateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
1406
|
+
CreateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
1374
1407
|
CreateBotLocaleRequest.struct_class = Types::CreateBotLocaleRequest
|
1375
1408
|
|
1376
1409
|
CreateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
@@ -1382,6 +1415,7 @@ module Aws::LexModelsV2
|
|
1382
1415
|
CreateBotLocaleResponse.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
1383
1416
|
CreateBotLocaleResponse.add_member(:bot_locale_status, Shapes::ShapeRef.new(shape: BotLocaleStatus, location_name: "botLocaleStatus"))
|
1384
1417
|
CreateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1418
|
+
CreateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
1385
1419
|
CreateBotLocaleResponse.struct_class = Types::CreateBotLocaleResponse
|
1386
1420
|
|
1387
1421
|
CreateBotRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "botName"))
|
@@ -1757,6 +1791,7 @@ module Aws::LexModelsV2
|
|
1757
1791
|
DescribeBotLocaleResponse.add_member(:last_build_submitted_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastBuildSubmittedDateTime"))
|
1758
1792
|
DescribeBotLocaleResponse.add_member(:bot_locale_history_events, Shapes::ShapeRef.new(shape: BotLocaleHistoryEventsList, location_name: "botLocaleHistoryEvents"))
|
1759
1793
|
DescribeBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
1794
|
+
DescribeBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
1760
1795
|
DescribeBotLocaleResponse.struct_class = Types::DescribeBotLocaleResponse
|
1761
1796
|
|
1762
1797
|
DescribeBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
@@ -1781,6 +1816,25 @@ module Aws::LexModelsV2
|
|
1781
1816
|
DescribeBotRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
1782
1817
|
DescribeBotRequest.struct_class = Types::DescribeBotRequest
|
1783
1818
|
|
1819
|
+
DescribeBotResourceGenerationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
1820
|
+
DescribeBotResourceGenerationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
1821
|
+
DescribeBotResourceGenerationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
1822
|
+
DescribeBotResourceGenerationRequest.add_member(:generation_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "generationId"))
|
1823
|
+
DescribeBotResourceGenerationRequest.struct_class = Types::DescribeBotResourceGenerationRequest
|
1824
|
+
|
1825
|
+
DescribeBotResourceGenerationResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1826
|
+
DescribeBotResourceGenerationResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
1827
|
+
DescribeBotResourceGenerationResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
1828
|
+
DescribeBotResourceGenerationResponse.add_member(:generation_id, Shapes::ShapeRef.new(shape: Id, location_name: "generationId"))
|
1829
|
+
DescribeBotResourceGenerationResponse.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
1830
|
+
DescribeBotResourceGenerationResponse.add_member(:generation_status, Shapes::ShapeRef.new(shape: GenerationStatus, location_name: "generationStatus"))
|
1831
|
+
DescribeBotResourceGenerationResponse.add_member(:generation_input_prompt, Shapes::ShapeRef.new(shape: GenerationInput, location_name: "generationInputPrompt"))
|
1832
|
+
DescribeBotResourceGenerationResponse.add_member(:generated_bot_locale_url, Shapes::ShapeRef.new(shape: PresignedS3Url, location_name: "generatedBotLocaleUrl"))
|
1833
|
+
DescribeBotResourceGenerationResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1834
|
+
DescribeBotResourceGenerationResponse.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, location_name: "modelArn"))
|
1835
|
+
DescribeBotResourceGenerationResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1836
|
+
DescribeBotResourceGenerationResponse.struct_class = Types::DescribeBotResourceGenerationResponse
|
1837
|
+
|
1784
1838
|
DescribeBotResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
1785
1839
|
DescribeBotResponse.add_member(:bot_name, Shapes::ShapeRef.new(shape: Name, location_name: "botName"))
|
1786
1840
|
DescribeBotResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -1993,6 +2047,10 @@ module Aws::LexModelsV2
|
|
1993
2047
|
DescribeTestSetResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1994
2048
|
DescribeTestSetResponse.struct_class = Types::DescribeTestSetResponse
|
1995
2049
|
|
2050
|
+
DescriptiveBotBuilderSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
2051
|
+
DescriptiveBotBuilderSpecification.add_member(:bedrock_model_specification, Shapes::ShapeRef.new(shape: BedrockModelSpecification, location_name: "bedrockModelSpecification"))
|
2052
|
+
DescriptiveBotBuilderSpecification.struct_class = Types::DescriptiveBotBuilderSpecification
|
2053
|
+
|
1996
2054
|
DialogAction.add_member(:type, Shapes::ShapeRef.new(shape: DialogActionType, required: true, location_name: "type"))
|
1997
2055
|
DialogAction.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: Name, location_name: "slotToElicit"))
|
1998
2056
|
DialogAction.add_member(:suppress_next_message, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "suppressNextMessage"))
|
@@ -2088,6 +2146,35 @@ module Aws::LexModelsV2
|
|
2088
2146
|
FulfillmentUpdatesSpecification.add_member(:timeout_in_seconds, Shapes::ShapeRef.new(shape: FulfillmentTimeout, location_name: "timeoutInSeconds"))
|
2089
2147
|
FulfillmentUpdatesSpecification.struct_class = Types::FulfillmentUpdatesSpecification
|
2090
2148
|
|
2149
|
+
GenerateBotElementRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "intentId"))
|
2150
|
+
GenerateBotElementRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
2151
|
+
GenerateBotElementRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
2152
|
+
GenerateBotElementRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
2153
|
+
GenerateBotElementRequest.struct_class = Types::GenerateBotElementRequest
|
2154
|
+
|
2155
|
+
GenerateBotElementResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
2156
|
+
GenerateBotElementResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, location_name: "botVersion"))
|
2157
|
+
GenerateBotElementResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
2158
|
+
GenerateBotElementResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
2159
|
+
GenerateBotElementResponse.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
2160
|
+
GenerateBotElementResponse.struct_class = Types::GenerateBotElementResponse
|
2161
|
+
|
2162
|
+
GenerationSortBy.add_member(:attribute, Shapes::ShapeRef.new(shape: GenerationSortByAttribute, required: true, location_name: "attribute"))
|
2163
|
+
GenerationSortBy.add_member(:order, Shapes::ShapeRef.new(shape: SortOrder, required: true, location_name: "order"))
|
2164
|
+
GenerationSortBy.struct_class = Types::GenerationSortBy
|
2165
|
+
|
2166
|
+
GenerationSummary.add_member(:generation_id, Shapes::ShapeRef.new(shape: Id, location_name: "generationId"))
|
2167
|
+
GenerationSummary.add_member(:generation_status, Shapes::ShapeRef.new(shape: GenerationStatus, location_name: "generationStatus"))
|
2168
|
+
GenerationSummary.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
2169
|
+
GenerationSummary.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
2170
|
+
GenerationSummary.struct_class = Types::GenerationSummary
|
2171
|
+
|
2172
|
+
GenerationSummaryList.member = Shapes::ShapeRef.new(shape: GenerationSummary)
|
2173
|
+
|
2174
|
+
GenerativeAISettings.add_member(:runtime_settings, Shapes::ShapeRef.new(shape: RuntimeSettings, location_name: "runtimeSettings"))
|
2175
|
+
GenerativeAISettings.add_member(:buildtime_settings, Shapes::ShapeRef.new(shape: BuildtimeSettings, location_name: "buildtimeSettings"))
|
2176
|
+
GenerativeAISettings.struct_class = Types::GenerativeAISettings
|
2177
|
+
|
2091
2178
|
GetTestExecutionArtifactsUrlRequest.add_member(:test_execution_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "testExecutionId"))
|
2092
2179
|
GetTestExecutionArtifactsUrlRequest.struct_class = Types::GetTestExecutionArtifactsUrlRequest
|
2093
2180
|
|
@@ -2310,6 +2397,21 @@ module Aws::LexModelsV2
|
|
2310
2397
|
ListBotRecommendationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2311
2398
|
ListBotRecommendationsResponse.struct_class = Types::ListBotRecommendationsResponse
|
2312
2399
|
|
2400
|
+
ListBotResourceGenerationsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
2401
|
+
ListBotResourceGenerationsRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
2402
|
+
ListBotResourceGenerationsRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
2403
|
+
ListBotResourceGenerationsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: GenerationSortBy, location_name: "sortBy"))
|
2404
|
+
ListBotResourceGenerationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
2405
|
+
ListBotResourceGenerationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2406
|
+
ListBotResourceGenerationsRequest.struct_class = Types::ListBotResourceGenerationsRequest
|
2407
|
+
|
2408
|
+
ListBotResourceGenerationsResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
2409
|
+
ListBotResourceGenerationsResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
2410
|
+
ListBotResourceGenerationsResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
2411
|
+
ListBotResourceGenerationsResponse.add_member(:generation_summaries, Shapes::ShapeRef.new(shape: GenerationSummaryList, location_name: "generationSummaries"))
|
2412
|
+
ListBotResourceGenerationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
2413
|
+
ListBotResourceGenerationsResponse.struct_class = Types::ListBotResourceGenerationsResponse
|
2414
|
+
|
2313
2415
|
ListBotVersionsRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
2314
2416
|
ListBotVersionsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: BotVersionSortBy, location_name: "sortBy"))
|
2315
2417
|
ListBotVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
@@ -2749,6 +2851,9 @@ module Aws::LexModelsV2
|
|
2749
2851
|
RuntimeHints.add_member(:slot_hints, Shapes::ShapeRef.new(shape: SlotHintsIntentMap, location_name: "slotHints"))
|
2750
2852
|
RuntimeHints.struct_class = Types::RuntimeHints
|
2751
2853
|
|
2854
|
+
RuntimeSettings.add_member(:slot_resolution_improvement, Shapes::ShapeRef.new(shape: SlotResolutionImprovementSpecification, location_name: "slotResolutionImprovement"))
|
2855
|
+
RuntimeSettings.struct_class = Types::RuntimeSettings
|
2856
|
+
|
2752
2857
|
S3BucketLogDestination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
2753
2858
|
S3BucketLogDestination.add_member(:s3_bucket_arn, Shapes::ShapeRef.new(shape: S3BucketArn, required: true, location_name: "s3BucketArn"))
|
2754
2859
|
S3BucketLogDestination.add_member(:log_prefix, Shapes::ShapeRef.new(shape: LogPrefix, required: true, location_name: "logPrefix"))
|
@@ -2767,6 +2872,10 @@ module Aws::LexModelsV2
|
|
2767
2872
|
SampleUtterance.add_member(:utterance, Shapes::ShapeRef.new(shape: Utterance, required: true, location_name: "utterance"))
|
2768
2873
|
SampleUtterance.struct_class = Types::SampleUtterance
|
2769
2874
|
|
2875
|
+
SampleUtteranceGenerationSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
2876
|
+
SampleUtteranceGenerationSpecification.add_member(:bedrock_model_specification, Shapes::ShapeRef.new(shape: BedrockModelSpecification, location_name: "bedrockModelSpecification"))
|
2877
|
+
SampleUtteranceGenerationSpecification.struct_class = Types::SampleUtteranceGenerationSpecification
|
2878
|
+
|
2770
2879
|
SampleUtterancesList.member = Shapes::ShapeRef.new(shape: SampleUtterance)
|
2771
2880
|
|
2772
2881
|
SampleValue.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "value"))
|
@@ -2855,6 +2964,13 @@ module Aws::LexModelsV2
|
|
2855
2964
|
SlotPriority.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "slotId"))
|
2856
2965
|
SlotPriority.struct_class = Types::SlotPriority
|
2857
2966
|
|
2967
|
+
SlotResolutionImprovementSpecification.add_member(:enabled, Shapes::ShapeRef.new(shape: Enabled, required: true, location_name: "enabled"))
|
2968
|
+
SlotResolutionImprovementSpecification.add_member(:bedrock_model_specification, Shapes::ShapeRef.new(shape: BedrockModelSpecification, location_name: "bedrockModelSpecification"))
|
2969
|
+
SlotResolutionImprovementSpecification.struct_class = Types::SlotResolutionImprovementSpecification
|
2970
|
+
|
2971
|
+
SlotResolutionSetting.add_member(:slot_resolution_strategy, Shapes::ShapeRef.new(shape: SlotResolutionStrategy, required: true, location_name: "slotResolutionStrategy"))
|
2972
|
+
SlotResolutionSetting.struct_class = Types::SlotResolutionSetting
|
2973
|
+
|
2858
2974
|
SlotResolutionTestResultItem.add_member(:slot_name, Shapes::ShapeRef.new(shape: TestResultSlotName, required: true, location_name: "slotName"))
|
2859
2975
|
SlotResolutionTestResultItem.add_member(:result_counts, Shapes::ShapeRef.new(shape: SlotResolutionTestResultItemCounts, required: true, location_name: "resultCounts"))
|
2860
2976
|
SlotResolutionTestResultItem.struct_class = Types::SlotResolutionTestResultItem
|
@@ -2920,6 +3036,7 @@ module Aws::LexModelsV2
|
|
2920
3036
|
SlotValueElicitationSetting.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SampleUtterancesList, location_name: "sampleUtterances"))
|
2921
3037
|
SlotValueElicitationSetting.add_member(:wait_and_continue_specification, Shapes::ShapeRef.new(shape: WaitAndContinueSpecification, location_name: "waitAndContinueSpecification"))
|
2922
3038
|
SlotValueElicitationSetting.add_member(:slot_capture_setting, Shapes::ShapeRef.new(shape: SlotCaptureSetting, location_name: "slotCaptureSetting"))
|
3039
|
+
SlotValueElicitationSetting.add_member(:slot_resolution_setting, Shapes::ShapeRef.new(shape: SlotResolutionSetting, location_name: "slotResolutionSetting"))
|
2923
3040
|
SlotValueElicitationSetting.struct_class = Types::SlotValueElicitationSetting
|
2924
3041
|
|
2925
3042
|
SlotValueOverride.add_member(:shape, Shapes::ShapeRef.new(shape: SlotShape, location_name: "shape"))
|
@@ -2961,6 +3078,21 @@ module Aws::LexModelsV2
|
|
2961
3078
|
StartBotRecommendationResponse.add_member(:encryption_setting, Shapes::ShapeRef.new(shape: EncryptionSetting, location_name: "encryptionSetting"))
|
2962
3079
|
StartBotRecommendationResponse.struct_class = Types::StartBotRecommendationResponse
|
2963
3080
|
|
3081
|
+
StartBotResourceGenerationRequest.add_member(:generation_input_prompt, Shapes::ShapeRef.new(shape: GenerationInput, required: true, location_name: "generationInputPrompt"))
|
3082
|
+
StartBotResourceGenerationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
3083
|
+
StartBotResourceGenerationRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, required: true, location: "uri", location_name: "botVersion"))
|
3084
|
+
StartBotResourceGenerationRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
3085
|
+
StartBotResourceGenerationRequest.struct_class = Types::StartBotResourceGenerationRequest
|
3086
|
+
|
3087
|
+
StartBotResourceGenerationResponse.add_member(:generation_input_prompt, Shapes::ShapeRef.new(shape: GenerationInput, location_name: "generationInputPrompt"))
|
3088
|
+
StartBotResourceGenerationResponse.add_member(:generation_id, Shapes::ShapeRef.new(shape: Id, location_name: "generationId"))
|
3089
|
+
StartBotResourceGenerationResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
3090
|
+
StartBotResourceGenerationResponse.add_member(:bot_version, Shapes::ShapeRef.new(shape: BotVersion, location_name: "botVersion"))
|
3091
|
+
StartBotResourceGenerationResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
3092
|
+
StartBotResourceGenerationResponse.add_member(:generation_status, Shapes::ShapeRef.new(shape: GenerationStatus, location_name: "generationStatus"))
|
3093
|
+
StartBotResourceGenerationResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
3094
|
+
StartBotResourceGenerationResponse.struct_class = Types::StartBotResourceGenerationResponse
|
3095
|
+
|
2964
3096
|
StartImportRequest.add_member(:import_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "importId"))
|
2965
3097
|
StartImportRequest.add_member(:resource_specification, Shapes::ShapeRef.new(shape: ImportResourceSpecification, required: true, location_name: "resourceSpecification"))
|
2966
3098
|
StartImportRequest.add_member(:merge_strategy, Shapes::ShapeRef.new(shape: MergeStrategy, required: true, location_name: "mergeStrategy"))
|
@@ -3236,6 +3368,7 @@ module Aws::LexModelsV2
|
|
3236
3368
|
UpdateBotLocaleRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
3237
3369
|
UpdateBotLocaleRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, required: true, location_name: "nluIntentConfidenceThreshold"))
|
3238
3370
|
UpdateBotLocaleRequest.add_member(:voice_settings, Shapes::ShapeRef.new(shape: VoiceSettings, location_name: "voiceSettings"))
|
3371
|
+
UpdateBotLocaleRequest.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
3239
3372
|
UpdateBotLocaleRequest.struct_class = Types::UpdateBotLocaleRequest
|
3240
3373
|
|
3241
3374
|
UpdateBotLocaleResponse.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, location_name: "botId"))
|
@@ -3250,6 +3383,7 @@ module Aws::LexModelsV2
|
|
3250
3383
|
UpdateBotLocaleResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
3251
3384
|
UpdateBotLocaleResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
3252
3385
|
UpdateBotLocaleResponse.add_member(:recommended_actions, Shapes::ShapeRef.new(shape: RecommendedActions, location_name: "recommendedActions"))
|
3386
|
+
UpdateBotLocaleResponse.add_member(:generative_ai_settings, Shapes::ShapeRef.new(shape: GenerativeAISettings, location_name: "generativeAISettings"))
|
3253
3387
|
UpdateBotLocaleResponse.struct_class = Types::UpdateBotLocaleResponse
|
3254
3388
|
|
3255
3389
|
UpdateBotRecommendationRequest.add_member(:bot_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "botId"))
|
@@ -4018,6 +4152,18 @@ module Aws::LexModelsV2
|
|
4018
4152
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4019
4153
|
end)
|
4020
4154
|
|
4155
|
+
api.add_operation(:describe_bot_resource_generation, Seahorse::Model::Operation.new.tap do |o|
|
4156
|
+
o.name = "DescribeBotResourceGeneration"
|
4157
|
+
o.http_method = "GET"
|
4158
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations/{generationId}"
|
4159
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBotResourceGenerationRequest)
|
4160
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeBotResourceGenerationResponse)
|
4161
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4162
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
4163
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4164
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4165
|
+
end)
|
4166
|
+
|
4021
4167
|
api.add_operation(:describe_bot_version, Seahorse::Model::Operation.new.tap do |o|
|
4022
4168
|
o.name = "DescribeBotVersion"
|
4023
4169
|
o.http_method = "GET"
|
@@ -4170,6 +4316,22 @@ module Aws::LexModelsV2
|
|
4170
4316
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4171
4317
|
end)
|
4172
4318
|
|
4319
|
+
api.add_operation(:generate_bot_element, Seahorse::Model::Operation.new.tap do |o|
|
4320
|
+
o.name = "GenerateBotElement"
|
4321
|
+
o.http_method = "POST"
|
4322
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generate"
|
4323
|
+
o.input = Shapes::ShapeRef.new(shape: GenerateBotElementRequest)
|
4324
|
+
o.output = Shapes::ShapeRef.new(shape: GenerateBotElementResponse)
|
4325
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4326
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
4327
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
4328
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4329
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
4330
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
4331
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
4332
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4333
|
+
end)
|
4334
|
+
|
4173
4335
|
api.add_operation(:get_test_execution_artifacts_url, Seahorse::Model::Operation.new.tap do |o|
|
4174
4336
|
o.name = "GetTestExecutionArtifactsUrl"
|
4175
4337
|
o.http_method = "GET"
|
@@ -4255,6 +4417,24 @@ module Aws::LexModelsV2
|
|
4255
4417
|
)
|
4256
4418
|
end)
|
4257
4419
|
|
4420
|
+
api.add_operation(:list_bot_resource_generations, Seahorse::Model::Operation.new.tap do |o|
|
4421
|
+
o.name = "ListBotResourceGenerations"
|
4422
|
+
o.http_method = "POST"
|
4423
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations"
|
4424
|
+
o.input = Shapes::ShapeRef.new(shape: ListBotResourceGenerationsRequest)
|
4425
|
+
o.output = Shapes::ShapeRef.new(shape: ListBotResourceGenerationsResponse)
|
4426
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4427
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
4428
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
4430
|
+
o[:pager] = Aws::Pager.new(
|
4431
|
+
limit_key: "max_results",
|
4432
|
+
tokens: {
|
4433
|
+
"next_token" => "next_token"
|
4434
|
+
}
|
4435
|
+
)
|
4436
|
+
end)
|
4437
|
+
|
4258
4438
|
api.add_operation(:list_bot_versions, Seahorse::Model::Operation.new.tap do |o|
|
4259
4439
|
o.name = "ListBotVersions"
|
4260
4440
|
o.http_method = "POST"
|
@@ -4695,6 +4875,20 @@ module Aws::LexModelsV2
|
|
4695
4875
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4696
4876
|
end)
|
4697
4877
|
|
4878
|
+
api.add_operation(:start_bot_resource_generation, Seahorse::Model::Operation.new.tap do |o|
|
4879
|
+
o.name = "StartBotResourceGeneration"
|
4880
|
+
o.http_method = "PUT"
|
4881
|
+
o.http_request_uri = "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/startgeneration"
|
4882
|
+
o.input = Shapes::ShapeRef.new(shape: StartBotResourceGenerationRequest)
|
4883
|
+
o.output = Shapes::ShapeRef.new(shape: StartBotResourceGenerationResponse)
|
4884
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
4885
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
4886
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
4887
|
+
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
|
4888
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
4889
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
4890
|
+
end)
|
4891
|
+
|
4698
4892
|
api.add_operation(:start_import, Seahorse::Model::Operation.new.tap do |o|
|
4699
4893
|
o.name = "StartImport"
|
4700
4894
|
o.http_method = "PUT"
|
@@ -488,6 +488,20 @@ module Aws::LexModelsV2
|
|
488
488
|
end
|
489
489
|
end
|
490
490
|
|
491
|
+
class DescribeBotResourceGeneration
|
492
|
+
def self.build(context)
|
493
|
+
unless context.config.regional_endpoint
|
494
|
+
endpoint = context.config.endpoint.to_s
|
495
|
+
end
|
496
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
497
|
+
region: context.config.region,
|
498
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
499
|
+
use_fips: context.config.use_fips_endpoint,
|
500
|
+
endpoint: endpoint,
|
501
|
+
)
|
502
|
+
end
|
503
|
+
end
|
504
|
+
|
491
505
|
class DescribeBotVersion
|
492
506
|
def self.build(context)
|
493
507
|
unless context.config.regional_endpoint
|
@@ -656,6 +670,20 @@ module Aws::LexModelsV2
|
|
656
670
|
end
|
657
671
|
end
|
658
672
|
|
673
|
+
class GenerateBotElement
|
674
|
+
def self.build(context)
|
675
|
+
unless context.config.regional_endpoint
|
676
|
+
endpoint = context.config.endpoint.to_s
|
677
|
+
end
|
678
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
679
|
+
region: context.config.region,
|
680
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
681
|
+
use_fips: context.config.use_fips_endpoint,
|
682
|
+
endpoint: endpoint,
|
683
|
+
)
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
659
687
|
class GetTestExecutionArtifactsUrl
|
660
688
|
def self.build(context)
|
661
689
|
unless context.config.regional_endpoint
|
@@ -726,6 +754,20 @@ module Aws::LexModelsV2
|
|
726
754
|
end
|
727
755
|
end
|
728
756
|
|
757
|
+
class ListBotResourceGenerations
|
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
|
+
|
729
771
|
class ListBotVersions
|
730
772
|
def self.build(context)
|
731
773
|
unless context.config.regional_endpoint
|
@@ -1076,6 +1118,20 @@ module Aws::LexModelsV2
|
|
1076
1118
|
end
|
1077
1119
|
end
|
1078
1120
|
|
1121
|
+
class StartBotResourceGeneration
|
1122
|
+
def self.build(context)
|
1123
|
+
unless context.config.regional_endpoint
|
1124
|
+
endpoint = context.config.endpoint.to_s
|
1125
|
+
end
|
1126
|
+
Aws::LexModelsV2::EndpointParameters.new(
|
1127
|
+
region: context.config.region,
|
1128
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1129
|
+
use_fips: context.config.use_fips_endpoint,
|
1130
|
+
endpoint: endpoint,
|
1131
|
+
)
|
1132
|
+
end
|
1133
|
+
end
|
1134
|
+
|
1079
1135
|
class StartImport
|
1080
1136
|
def self.build(context)
|
1081
1137
|
unless context.config.regional_endpoint
|
@@ -124,6 +124,8 @@ module Aws::LexModelsV2
|
|
124
124
|
Aws::LexModelsV2::Endpoints::DescribeBotLocale.build(context)
|
125
125
|
when :describe_bot_recommendation
|
126
126
|
Aws::LexModelsV2::Endpoints::DescribeBotRecommendation.build(context)
|
127
|
+
when :describe_bot_resource_generation
|
128
|
+
Aws::LexModelsV2::Endpoints::DescribeBotResourceGeneration.build(context)
|
127
129
|
when :describe_bot_version
|
128
130
|
Aws::LexModelsV2::Endpoints::DescribeBotVersion.build(context)
|
129
131
|
when :describe_custom_vocabulary_metadata
|
@@ -148,6 +150,8 @@ module Aws::LexModelsV2
|
|
148
150
|
Aws::LexModelsV2::Endpoints::DescribeTestSetDiscrepancyReport.build(context)
|
149
151
|
when :describe_test_set_generation
|
150
152
|
Aws::LexModelsV2::Endpoints::DescribeTestSetGeneration.build(context)
|
153
|
+
when :generate_bot_element
|
154
|
+
Aws::LexModelsV2::Endpoints::GenerateBotElement.build(context)
|
151
155
|
when :get_test_execution_artifacts_url
|
152
156
|
Aws::LexModelsV2::Endpoints::GetTestExecutionArtifactsUrl.build(context)
|
153
157
|
when :list_aggregated_utterances
|
@@ -158,6 +162,8 @@ module Aws::LexModelsV2
|
|
158
162
|
Aws::LexModelsV2::Endpoints::ListBotLocales.build(context)
|
159
163
|
when :list_bot_recommendations
|
160
164
|
Aws::LexModelsV2::Endpoints::ListBotRecommendations.build(context)
|
165
|
+
when :list_bot_resource_generations
|
166
|
+
Aws::LexModelsV2::Endpoints::ListBotResourceGenerations.build(context)
|
161
167
|
when :list_bot_versions
|
162
168
|
Aws::LexModelsV2::Endpoints::ListBotVersions.build(context)
|
163
169
|
when :list_bots
|
@@ -208,6 +214,8 @@ module Aws::LexModelsV2
|
|
208
214
|
Aws::LexModelsV2::Endpoints::SearchAssociatedTranscripts.build(context)
|
209
215
|
when :start_bot_recommendation
|
210
216
|
Aws::LexModelsV2::Endpoints::StartBotRecommendation.build(context)
|
217
|
+
when :start_bot_resource_generation
|
218
|
+
Aws::LexModelsV2::Endpoints::StartBotResourceGeneration.build(context)
|
211
219
|
when :start_import
|
212
220
|
Aws::LexModelsV2::Endpoints::StartImport.build(context)
|
213
221
|
when :start_test_execution
|