aws-sdk-lexmodelsv2 1.33.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +913 -20
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +812 -0
- data/lib/aws-sdk-lexmodelsv2/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-lexmodelsv2/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-lexmodelsv2/endpoints.rb +197 -0
- data/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb +28 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +2424 -196
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
|
@@ -1121,8 +1121,11 @@ module Aws::LexModelsV2
|
|
|
1121
1121
|
# bot_version: "BotVersion", # required
|
|
1122
1122
|
# locale_id: "LocaleId", # required
|
|
1123
1123
|
# },
|
|
1124
|
+
# test_set_export_specification: {
|
|
1125
|
+
# test_set_id: "Id", # required
|
|
1126
|
+
# },
|
|
1124
1127
|
# },
|
|
1125
|
-
# file_format: "LexJson", # required, accepts LexJson, TSV
|
|
1128
|
+
# file_format: "LexJson", # required, accepts LexJson, TSV, CSV
|
|
1126
1129
|
# file_password: "ImportExportFilePassword",
|
|
1127
1130
|
# })
|
|
1128
1131
|
#
|
|
@@ -1137,7 +1140,8 @@ module Aws::LexModelsV2
|
|
|
1137
1140
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
|
1138
1141
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
|
1139
1142
|
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
|
1140
|
-
# resp.
|
|
1143
|
+
# resp.resource_specification.test_set_export_specification.test_set_id #=> String
|
|
1144
|
+
# resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
|
|
1141
1145
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
|
1142
1146
|
# resp.creation_date_time #=> Time
|
|
1143
1147
|
#
|
|
@@ -1273,7 +1277,7 @@ module Aws::LexModelsV2
|
|
|
1273
1277
|
# The identifier of the bot associated with this intent.
|
|
1274
1278
|
#
|
|
1275
1279
|
# @option params [required, String] :bot_version
|
|
1276
|
-
# The
|
|
1280
|
+
# The version of the bot associated with this intent.
|
|
1277
1281
|
#
|
|
1278
1282
|
# @option params [required, String] :locale_id
|
|
1279
1283
|
# The identifier of the language and locale where this intent is used.
|
|
@@ -1387,9 +1391,10 @@ module Aws::LexModelsV2
|
|
|
1387
1391
|
# resource.
|
|
1388
1392
|
#
|
|
1389
1393
|
# @option params [required, Array<Types::Principal>] :principal
|
|
1390
|
-
# An IAM principal, such as an IAM
|
|
1391
|
-
# that is allowed or denied access to a resource. For
|
|
1392
|
-
# see [
|
|
1394
|
+
# An IAM principal, such as an IAM user, IAM role, or Amazon Web
|
|
1395
|
+
# Services services that is allowed or denied access to a resource. For
|
|
1396
|
+
# more information, see [Amazon Web Services JSON policy elements:
|
|
1397
|
+
# Principal][1].
|
|
1393
1398
|
#
|
|
1394
1399
|
#
|
|
1395
1400
|
#
|
|
@@ -1515,7 +1520,7 @@ module Aws::LexModelsV2
|
|
|
1515
1520
|
#
|
|
1516
1521
|
# @option params [Types::MultipleValuesSetting] :multiple_values_setting
|
|
1517
1522
|
# Indicates whether the slot returns multiple values in one response.
|
|
1518
|
-
# Multi-value slots are only available in the en-US locale. If you set
|
|
1523
|
+
# Multi-value slots are only available in the `en-US` locale. If you set
|
|
1519
1524
|
# this value to `true` in any other locale, Amazon Lex throws a
|
|
1520
1525
|
# `ValidationException`.
|
|
1521
1526
|
#
|
|
@@ -2292,7 +2297,7 @@ module Aws::LexModelsV2
|
|
|
2292
2297
|
#
|
|
2293
2298
|
# @option params [required, String] :slot_type_name
|
|
2294
2299
|
# The name for the slot. A slot type name must be unique within the
|
|
2295
|
-
#
|
|
2300
|
+
# intent.
|
|
2296
2301
|
#
|
|
2297
2302
|
# @option params [String] :description
|
|
2298
2303
|
# A description of the slot type. Use the description to help identify
|
|
@@ -2309,15 +2314,15 @@ module Aws::LexModelsV2
|
|
|
2309
2314
|
# the list of possible values. The field can be set to one of the
|
|
2310
2315
|
# following values:
|
|
2311
2316
|
#
|
|
2312
|
-
# * `
|
|
2313
|
-
# value is similar to the slot value.
|
|
2317
|
+
# * `ORIGINAL_VALUE` - Returns the value entered by the user, if the
|
|
2318
|
+
# user value is similar to the slot value.
|
|
2314
2319
|
#
|
|
2315
|
-
# * `
|
|
2316
|
-
# the first value in the resolution list. If there is no
|
|
2317
|
-
# list, return null.
|
|
2320
|
+
# * `TOP_RESOLUTION` - If there is a resolution list for the slot,
|
|
2321
|
+
# return the first value in the resolution list. If there is no
|
|
2322
|
+
# resolution list, return null.
|
|
2318
2323
|
#
|
|
2319
2324
|
# If you don't specify the `valueSelectionSetting` parameter, the
|
|
2320
|
-
# default is `
|
|
2325
|
+
# default is `ORIGINAL_VALUE`.
|
|
2321
2326
|
#
|
|
2322
2327
|
# @option params [String] :parent_slot_type_signature
|
|
2323
2328
|
# The built-in slot type used as a parent of this slot type. When you
|
|
@@ -2445,6 +2450,53 @@ module Aws::LexModelsV2
|
|
|
2445
2450
|
req.send_request(options)
|
|
2446
2451
|
end
|
|
2447
2452
|
|
|
2453
|
+
# Create a report that describes the differences between the bot and the
|
|
2454
|
+
# test set.
|
|
2455
|
+
#
|
|
2456
|
+
# @option params [required, String] :test_set_id
|
|
2457
|
+
# The test set Id for the test set discrepancy report.
|
|
2458
|
+
#
|
|
2459
|
+
# @option params [required, Types::TestSetDiscrepancyReportResourceTarget] :target
|
|
2460
|
+
# The target bot for the test set discrepancy report.
|
|
2461
|
+
#
|
|
2462
|
+
# @return [Types::CreateTestSetDiscrepancyReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2463
|
+
#
|
|
2464
|
+
# * {Types::CreateTestSetDiscrepancyReportResponse#test_set_discrepancy_report_id #test_set_discrepancy_report_id} => String
|
|
2465
|
+
# * {Types::CreateTestSetDiscrepancyReportResponse#creation_date_time #creation_date_time} => Time
|
|
2466
|
+
# * {Types::CreateTestSetDiscrepancyReportResponse#test_set_id #test_set_id} => String
|
|
2467
|
+
# * {Types::CreateTestSetDiscrepancyReportResponse#target #target} => Types::TestSetDiscrepancyReportResourceTarget
|
|
2468
|
+
#
|
|
2469
|
+
# @example Request syntax with placeholder values
|
|
2470
|
+
#
|
|
2471
|
+
# resp = client.create_test_set_discrepancy_report({
|
|
2472
|
+
# test_set_id: "Id", # required
|
|
2473
|
+
# target: { # required
|
|
2474
|
+
# bot_alias_target: {
|
|
2475
|
+
# bot_id: "Id", # required
|
|
2476
|
+
# bot_alias_id: "BotAliasId", # required
|
|
2477
|
+
# locale_id: "LocaleId", # required
|
|
2478
|
+
# },
|
|
2479
|
+
# },
|
|
2480
|
+
# })
|
|
2481
|
+
#
|
|
2482
|
+
# @example Response structure
|
|
2483
|
+
#
|
|
2484
|
+
# resp.test_set_discrepancy_report_id #=> String
|
|
2485
|
+
# resp.creation_date_time #=> Time
|
|
2486
|
+
# resp.test_set_id #=> String
|
|
2487
|
+
# resp.target.bot_alias_target.bot_id #=> String
|
|
2488
|
+
# resp.target.bot_alias_target.bot_alias_id #=> String
|
|
2489
|
+
# resp.target.bot_alias_target.locale_id #=> String
|
|
2490
|
+
#
|
|
2491
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReport AWS API Documentation
|
|
2492
|
+
#
|
|
2493
|
+
# @overload create_test_set_discrepancy_report(params = {})
|
|
2494
|
+
# @param [Hash] params ({})
|
|
2495
|
+
def create_test_set_discrepancy_report(params = {}, options = {})
|
|
2496
|
+
req = build_request(:create_test_set_discrepancy_report, params)
|
|
2497
|
+
req.send_request(options)
|
|
2498
|
+
end
|
|
2499
|
+
|
|
2448
2500
|
# Gets a pre-signed S3 write URL that you use to upload the zip archive
|
|
2449
2501
|
# when importing a bot or a bot locale.
|
|
2450
2502
|
#
|
|
@@ -2990,6 +3042,28 @@ module Aws::LexModelsV2
|
|
|
2990
3042
|
req.send_request(options)
|
|
2991
3043
|
end
|
|
2992
3044
|
|
|
3045
|
+
# The action to delete the selected test set.
|
|
3046
|
+
#
|
|
3047
|
+
# @option params [required, String] :test_set_id
|
|
3048
|
+
# The test set Id of the test set to be deleted.
|
|
3049
|
+
#
|
|
3050
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3051
|
+
#
|
|
3052
|
+
# @example Request syntax with placeholder values
|
|
3053
|
+
#
|
|
3054
|
+
# resp = client.delete_test_set({
|
|
3055
|
+
# test_set_id: "Id", # required
|
|
3056
|
+
# })
|
|
3057
|
+
#
|
|
3058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteTestSet AWS API Documentation
|
|
3059
|
+
#
|
|
3060
|
+
# @overload delete_test_set(params = {})
|
|
3061
|
+
# @param [Hash] params ({})
|
|
3062
|
+
def delete_test_set(params = {}, options = {})
|
|
3063
|
+
req = build_request(:delete_test_set, params)
|
|
3064
|
+
req.send_request(options)
|
|
3065
|
+
end
|
|
3066
|
+
|
|
2993
3067
|
# Deletes stored utterances.
|
|
2994
3068
|
#
|
|
2995
3069
|
# Amazon Lex stores the utterances that users send to your bot.
|
|
@@ -3193,7 +3267,7 @@ module Aws::LexModelsV2
|
|
|
3193
3267
|
# The identifier of the bot associated with the locale.
|
|
3194
3268
|
#
|
|
3195
3269
|
# @option params [required, String] :bot_version
|
|
3196
|
-
# The
|
|
3270
|
+
# The version of the bot associated with the locale.
|
|
3197
3271
|
#
|
|
3198
3272
|
# @option params [required, String] :locale_id
|
|
3199
3273
|
# The unique identifier of the locale to describe. The string must match
|
|
@@ -3504,7 +3578,8 @@ module Aws::LexModelsV2
|
|
|
3504
3578
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
|
3505
3579
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
|
3506
3580
|
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
|
3507
|
-
# resp.
|
|
3581
|
+
# resp.resource_specification.test_set_export_specification.test_set_id #=> String
|
|
3582
|
+
# resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
|
|
3508
3583
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
|
3509
3584
|
# resp.failure_reasons #=> Array
|
|
3510
3585
|
# resp.failure_reasons[0] #=> String
|
|
@@ -3569,6 +3644,17 @@ module Aws::LexModelsV2
|
|
|
3569
3644
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
3570
3645
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
3571
3646
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
3647
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_name #=> String
|
|
3648
|
+
# resp.resource_specification.test_set_import_resource_specification.description #=> String
|
|
3649
|
+
# resp.resource_specification.test_set_import_resource_specification.role_arn #=> String
|
|
3650
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.s3_bucket_name #=> String
|
|
3651
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.s3_path #=> String
|
|
3652
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.kms_key_arn #=> String
|
|
3653
|
+
# resp.resource_specification.test_set_import_resource_specification.import_input_location.s3_bucket_name #=> String
|
|
3654
|
+
# resp.resource_specification.test_set_import_resource_specification.import_input_location.s3_path #=> String
|
|
3655
|
+
# resp.resource_specification.test_set_import_resource_specification.modality #=> String, one of "Text", "Audio"
|
|
3656
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_tags #=> Hash
|
|
3657
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_tags["TagKey"] #=> String
|
|
3572
3658
|
# resp.imported_resource_id #=> String
|
|
3573
3659
|
# resp.imported_resource_name #=> String
|
|
3574
3660
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
|
@@ -4557,6 +4643,243 @@ module Aws::LexModelsV2
|
|
|
4557
4643
|
req.send_request(options)
|
|
4558
4644
|
end
|
|
4559
4645
|
|
|
4646
|
+
# Gets metadata information about the test execution.
|
|
4647
|
+
#
|
|
4648
|
+
# @option params [required, String] :test_execution_id
|
|
4649
|
+
# The execution Id of the test set execution.
|
|
4650
|
+
#
|
|
4651
|
+
# @return [Types::DescribeTestExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4652
|
+
#
|
|
4653
|
+
# * {Types::DescribeTestExecutionResponse#test_execution_id #test_execution_id} => String
|
|
4654
|
+
# * {Types::DescribeTestExecutionResponse#creation_date_time #creation_date_time} => Time
|
|
4655
|
+
# * {Types::DescribeTestExecutionResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
4656
|
+
# * {Types::DescribeTestExecutionResponse#test_execution_status #test_execution_status} => String
|
|
4657
|
+
# * {Types::DescribeTestExecutionResponse#test_set_id #test_set_id} => String
|
|
4658
|
+
# * {Types::DescribeTestExecutionResponse#test_set_name #test_set_name} => String
|
|
4659
|
+
# * {Types::DescribeTestExecutionResponse#target #target} => Types::TestExecutionTarget
|
|
4660
|
+
# * {Types::DescribeTestExecutionResponse#api_mode #api_mode} => String
|
|
4661
|
+
# * {Types::DescribeTestExecutionResponse#test_execution_modality #test_execution_modality} => String
|
|
4662
|
+
# * {Types::DescribeTestExecutionResponse#failure_reasons #failure_reasons} => Array<String>
|
|
4663
|
+
#
|
|
4664
|
+
# @example Request syntax with placeholder values
|
|
4665
|
+
#
|
|
4666
|
+
# resp = client.describe_test_execution({
|
|
4667
|
+
# test_execution_id: "Id", # required
|
|
4668
|
+
# })
|
|
4669
|
+
#
|
|
4670
|
+
# @example Response structure
|
|
4671
|
+
#
|
|
4672
|
+
# resp.test_execution_id #=> String
|
|
4673
|
+
# resp.creation_date_time #=> Time
|
|
4674
|
+
# resp.last_updated_date_time #=> Time
|
|
4675
|
+
# resp.test_execution_status #=> String, one of "Pending", "Waiting", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
|
4676
|
+
# resp.test_set_id #=> String
|
|
4677
|
+
# resp.test_set_name #=> String
|
|
4678
|
+
# resp.target.bot_alias_target.bot_id #=> String
|
|
4679
|
+
# resp.target.bot_alias_target.bot_alias_id #=> String
|
|
4680
|
+
# resp.target.bot_alias_target.locale_id #=> String
|
|
4681
|
+
# resp.api_mode #=> String, one of "Streaming", "NonStreaming"
|
|
4682
|
+
# resp.test_execution_modality #=> String, one of "Text", "Audio"
|
|
4683
|
+
# resp.failure_reasons #=> Array
|
|
4684
|
+
# resp.failure_reasons[0] #=> String
|
|
4685
|
+
#
|
|
4686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestExecution AWS API Documentation
|
|
4687
|
+
#
|
|
4688
|
+
# @overload describe_test_execution(params = {})
|
|
4689
|
+
# @param [Hash] params ({})
|
|
4690
|
+
def describe_test_execution(params = {}, options = {})
|
|
4691
|
+
req = build_request(:describe_test_execution, params)
|
|
4692
|
+
req.send_request(options)
|
|
4693
|
+
end
|
|
4694
|
+
|
|
4695
|
+
# Gets metadata information about the test set.
|
|
4696
|
+
#
|
|
4697
|
+
# @option params [required, String] :test_set_id
|
|
4698
|
+
# The test set Id for the test set request.
|
|
4699
|
+
#
|
|
4700
|
+
# @return [Types::DescribeTestSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4701
|
+
#
|
|
4702
|
+
# * {Types::DescribeTestSetResponse#test_set_id #test_set_id} => String
|
|
4703
|
+
# * {Types::DescribeTestSetResponse#test_set_name #test_set_name} => String
|
|
4704
|
+
# * {Types::DescribeTestSetResponse#description #description} => String
|
|
4705
|
+
# * {Types::DescribeTestSetResponse#modality #modality} => String
|
|
4706
|
+
# * {Types::DescribeTestSetResponse#status #status} => String
|
|
4707
|
+
# * {Types::DescribeTestSetResponse#role_arn #role_arn} => String
|
|
4708
|
+
# * {Types::DescribeTestSetResponse#num_turns #num_turns} => Integer
|
|
4709
|
+
# * {Types::DescribeTestSetResponse#storage_location #storage_location} => Types::TestSetStorageLocation
|
|
4710
|
+
# * {Types::DescribeTestSetResponse#creation_date_time #creation_date_time} => Time
|
|
4711
|
+
# * {Types::DescribeTestSetResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
4712
|
+
#
|
|
4713
|
+
# @example Request syntax with placeholder values
|
|
4714
|
+
#
|
|
4715
|
+
# resp = client.describe_test_set({
|
|
4716
|
+
# test_set_id: "Id", # required
|
|
4717
|
+
# })
|
|
4718
|
+
#
|
|
4719
|
+
# @example Response structure
|
|
4720
|
+
#
|
|
4721
|
+
# resp.test_set_id #=> String
|
|
4722
|
+
# resp.test_set_name #=> String
|
|
4723
|
+
# resp.description #=> String
|
|
4724
|
+
# resp.modality #=> String, one of "Text", "Audio"
|
|
4725
|
+
# resp.status #=> String, one of "Importing", "PendingAnnotation", "Deleting", "ValidationError", "Ready"
|
|
4726
|
+
# resp.role_arn #=> String
|
|
4727
|
+
# resp.num_turns #=> Integer
|
|
4728
|
+
# resp.storage_location.s3_bucket_name #=> String
|
|
4729
|
+
# resp.storage_location.s3_path #=> String
|
|
4730
|
+
# resp.storage_location.kms_key_arn #=> String
|
|
4731
|
+
# resp.creation_date_time #=> Time
|
|
4732
|
+
# resp.last_updated_date_time #=> Time
|
|
4733
|
+
#
|
|
4734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSet AWS API Documentation
|
|
4735
|
+
#
|
|
4736
|
+
# @overload describe_test_set(params = {})
|
|
4737
|
+
# @param [Hash] params ({})
|
|
4738
|
+
def describe_test_set(params = {}, options = {})
|
|
4739
|
+
req = build_request(:describe_test_set, params)
|
|
4740
|
+
req.send_request(options)
|
|
4741
|
+
end
|
|
4742
|
+
|
|
4743
|
+
# Gets metadata information about the test set discrepancy report.
|
|
4744
|
+
#
|
|
4745
|
+
# @option params [required, String] :test_set_discrepancy_report_id
|
|
4746
|
+
# The unique identifier of the test set discrepancy report.
|
|
4747
|
+
#
|
|
4748
|
+
# @return [Types::DescribeTestSetDiscrepancyReportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4749
|
+
#
|
|
4750
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#test_set_discrepancy_report_id #test_set_discrepancy_report_id} => String
|
|
4751
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#test_set_id #test_set_id} => String
|
|
4752
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#creation_date_time #creation_date_time} => Time
|
|
4753
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#target #target} => Types::TestSetDiscrepancyReportResourceTarget
|
|
4754
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#test_set_discrepancy_report_status #test_set_discrepancy_report_status} => String
|
|
4755
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#last_updated_data_time #last_updated_data_time} => Time
|
|
4756
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#test_set_discrepancy_top_errors #test_set_discrepancy_top_errors} => Types::TestSetDiscrepancyErrors
|
|
4757
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#test_set_discrepancy_raw_output_url #test_set_discrepancy_raw_output_url} => String
|
|
4758
|
+
# * {Types::DescribeTestSetDiscrepancyReportResponse#failure_reasons #failure_reasons} => Array<String>
|
|
4759
|
+
#
|
|
4760
|
+
# @example Request syntax with placeholder values
|
|
4761
|
+
#
|
|
4762
|
+
# resp = client.describe_test_set_discrepancy_report({
|
|
4763
|
+
# test_set_discrepancy_report_id: "Id", # required
|
|
4764
|
+
# })
|
|
4765
|
+
#
|
|
4766
|
+
# @example Response structure
|
|
4767
|
+
#
|
|
4768
|
+
# resp.test_set_discrepancy_report_id #=> String
|
|
4769
|
+
# resp.test_set_id #=> String
|
|
4770
|
+
# resp.creation_date_time #=> Time
|
|
4771
|
+
# resp.target.bot_alias_target.bot_id #=> String
|
|
4772
|
+
# resp.target.bot_alias_target.bot_alias_id #=> String
|
|
4773
|
+
# resp.target.bot_alias_target.locale_id #=> String
|
|
4774
|
+
# resp.test_set_discrepancy_report_status #=> String, one of "InProgress", "Completed", "Failed"
|
|
4775
|
+
# resp.last_updated_data_time #=> Time
|
|
4776
|
+
# resp.test_set_discrepancy_top_errors.intent_discrepancies #=> Array
|
|
4777
|
+
# resp.test_set_discrepancy_top_errors.intent_discrepancies[0].intent_name #=> String
|
|
4778
|
+
# resp.test_set_discrepancy_top_errors.intent_discrepancies[0].error_message #=> String
|
|
4779
|
+
# resp.test_set_discrepancy_top_errors.slot_discrepancies #=> Array
|
|
4780
|
+
# resp.test_set_discrepancy_top_errors.slot_discrepancies[0].intent_name #=> String
|
|
4781
|
+
# resp.test_set_discrepancy_top_errors.slot_discrepancies[0].slot_name #=> String
|
|
4782
|
+
# resp.test_set_discrepancy_top_errors.slot_discrepancies[0].error_message #=> String
|
|
4783
|
+
# resp.test_set_discrepancy_raw_output_url #=> String
|
|
4784
|
+
# resp.failure_reasons #=> Array
|
|
4785
|
+
# resp.failure_reasons[0] #=> String
|
|
4786
|
+
#
|
|
4787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetDiscrepancyReport AWS API Documentation
|
|
4788
|
+
#
|
|
4789
|
+
# @overload describe_test_set_discrepancy_report(params = {})
|
|
4790
|
+
# @param [Hash] params ({})
|
|
4791
|
+
def describe_test_set_discrepancy_report(params = {}, options = {})
|
|
4792
|
+
req = build_request(:describe_test_set_discrepancy_report, params)
|
|
4793
|
+
req.send_request(options)
|
|
4794
|
+
end
|
|
4795
|
+
|
|
4796
|
+
# Gets metadata information about the test set generation.
|
|
4797
|
+
#
|
|
4798
|
+
# @option params [required, String] :test_set_generation_id
|
|
4799
|
+
# The unique identifier of the test set generation.
|
|
4800
|
+
#
|
|
4801
|
+
# @return [Types::DescribeTestSetGenerationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4802
|
+
#
|
|
4803
|
+
# * {Types::DescribeTestSetGenerationResponse#test_set_generation_id #test_set_generation_id} => String
|
|
4804
|
+
# * {Types::DescribeTestSetGenerationResponse#test_set_generation_status #test_set_generation_status} => String
|
|
4805
|
+
# * {Types::DescribeTestSetGenerationResponse#failure_reasons #failure_reasons} => Array<String>
|
|
4806
|
+
# * {Types::DescribeTestSetGenerationResponse#test_set_id #test_set_id} => String
|
|
4807
|
+
# * {Types::DescribeTestSetGenerationResponse#test_set_name #test_set_name} => String
|
|
4808
|
+
# * {Types::DescribeTestSetGenerationResponse#description #description} => String
|
|
4809
|
+
# * {Types::DescribeTestSetGenerationResponse#storage_location #storage_location} => Types::TestSetStorageLocation
|
|
4810
|
+
# * {Types::DescribeTestSetGenerationResponse#generation_data_source #generation_data_source} => Types::TestSetGenerationDataSource
|
|
4811
|
+
# * {Types::DescribeTestSetGenerationResponse#role_arn #role_arn} => String
|
|
4812
|
+
# * {Types::DescribeTestSetGenerationResponse#creation_date_time #creation_date_time} => Time
|
|
4813
|
+
# * {Types::DescribeTestSetGenerationResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
4814
|
+
#
|
|
4815
|
+
# @example Request syntax with placeholder values
|
|
4816
|
+
#
|
|
4817
|
+
# resp = client.describe_test_set_generation({
|
|
4818
|
+
# test_set_generation_id: "Id", # required
|
|
4819
|
+
# })
|
|
4820
|
+
#
|
|
4821
|
+
# @example Response structure
|
|
4822
|
+
#
|
|
4823
|
+
# resp.test_set_generation_id #=> String
|
|
4824
|
+
# resp.test_set_generation_status #=> String, one of "Generating", "Ready", "Failed", "Pending"
|
|
4825
|
+
# resp.failure_reasons #=> Array
|
|
4826
|
+
# resp.failure_reasons[0] #=> String
|
|
4827
|
+
# resp.test_set_id #=> String
|
|
4828
|
+
# resp.test_set_name #=> String
|
|
4829
|
+
# resp.description #=> String
|
|
4830
|
+
# resp.storage_location.s3_bucket_name #=> String
|
|
4831
|
+
# resp.storage_location.s3_path #=> String
|
|
4832
|
+
# resp.storage_location.kms_key_arn #=> String
|
|
4833
|
+
# resp.generation_data_source.conversation_logs_data_source.bot_id #=> String
|
|
4834
|
+
# resp.generation_data_source.conversation_logs_data_source.bot_alias_id #=> String
|
|
4835
|
+
# resp.generation_data_source.conversation_logs_data_source.locale_id #=> String
|
|
4836
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.start_time #=> Time
|
|
4837
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.end_time #=> Time
|
|
4838
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.input_mode #=> String, one of "Speech", "Text"
|
|
4839
|
+
# resp.role_arn #=> String
|
|
4840
|
+
# resp.creation_date_time #=> Time
|
|
4841
|
+
# resp.last_updated_date_time #=> Time
|
|
4842
|
+
#
|
|
4843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetGeneration AWS API Documentation
|
|
4844
|
+
#
|
|
4845
|
+
# @overload describe_test_set_generation(params = {})
|
|
4846
|
+
# @param [Hash] params ({})
|
|
4847
|
+
def describe_test_set_generation(params = {}, options = {})
|
|
4848
|
+
req = build_request(:describe_test_set_generation, params)
|
|
4849
|
+
req.send_request(options)
|
|
4850
|
+
end
|
|
4851
|
+
|
|
4852
|
+
# The pre-signed Amazon S3 URL to download the test execution result
|
|
4853
|
+
# artifacts.
|
|
4854
|
+
#
|
|
4855
|
+
# @option params [required, String] :test_execution_id
|
|
4856
|
+
# The unique identifier of the completed test execution.
|
|
4857
|
+
#
|
|
4858
|
+
# @return [Types::GetTestExecutionArtifactsUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4859
|
+
#
|
|
4860
|
+
# * {Types::GetTestExecutionArtifactsUrlResponse#test_execution_id #test_execution_id} => String
|
|
4861
|
+
# * {Types::GetTestExecutionArtifactsUrlResponse#download_artifacts_url #download_artifacts_url} => String
|
|
4862
|
+
#
|
|
4863
|
+
# @example Request syntax with placeholder values
|
|
4864
|
+
#
|
|
4865
|
+
# resp = client.get_test_execution_artifacts_url({
|
|
4866
|
+
# test_execution_id: "Id", # required
|
|
4867
|
+
# })
|
|
4868
|
+
#
|
|
4869
|
+
# @example Response structure
|
|
4870
|
+
#
|
|
4871
|
+
# resp.test_execution_id #=> String
|
|
4872
|
+
# resp.download_artifacts_url #=> String
|
|
4873
|
+
#
|
|
4874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GetTestExecutionArtifactsUrl AWS API Documentation
|
|
4875
|
+
#
|
|
4876
|
+
# @overload get_test_execution_artifacts_url(params = {})
|
|
4877
|
+
# @param [Hash] params ({})
|
|
4878
|
+
def get_test_execution_artifacts_url(params = {}, options = {})
|
|
4879
|
+
req = build_request(:get_test_execution_artifacts_url, params)
|
|
4880
|
+
req.send_request(options)
|
|
4881
|
+
end
|
|
4882
|
+
|
|
4560
4883
|
# Provides a list of utterances that users have sent to the bot.
|
|
4561
4884
|
#
|
|
4562
4885
|
# Utterances are aggregated by the text of the utterance. For example,
|
|
@@ -5321,7 +5644,8 @@ module Aws::LexModelsV2
|
|
|
5321
5644
|
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
|
5322
5645
|
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
|
5323
5646
|
# resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
|
5324
|
-
# resp.export_summaries[0].
|
|
5647
|
+
# resp.export_summaries[0].resource_specification.test_set_export_specification.test_set_id #=> String
|
|
5648
|
+
# resp.export_summaries[0].file_format #=> String, one of "LexJson", "TSV", "CSV"
|
|
5325
5649
|
# resp.export_summaries[0].export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
|
5326
5650
|
# resp.export_summaries[0].creation_date_time #=> Time
|
|
5327
5651
|
# resp.export_summaries[0].last_updated_date_time #=> Time
|
|
@@ -5419,7 +5743,7 @@ module Aws::LexModelsV2
|
|
|
5419
5743
|
# resp.import_summaries[0].merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
|
5420
5744
|
# resp.import_summaries[0].creation_date_time #=> Time
|
|
5421
5745
|
# resp.import_summaries[0].last_updated_date_time #=> Time
|
|
5422
|
-
# resp.import_summaries[0].imported_resource_type #=> String, one of "Bot", "BotLocale", "CustomVocabulary"
|
|
5746
|
+
# resp.import_summaries[0].imported_resource_type #=> String, one of "Bot", "BotLocale", "CustomVocabulary", "TestSet"
|
|
5423
5747
|
# resp.next_token #=> String
|
|
5424
5748
|
# resp.locale_id #=> String
|
|
5425
5749
|
#
|
|
@@ -5861,6 +6185,333 @@ module Aws::LexModelsV2
|
|
|
5861
6185
|
req.send_request(options)
|
|
5862
6186
|
end
|
|
5863
6187
|
|
|
6188
|
+
# Gets a list of test execution result items.
|
|
6189
|
+
#
|
|
6190
|
+
# @option params [required, String] :test_execution_id
|
|
6191
|
+
# The unique identifier of the test execution to list the result items.
|
|
6192
|
+
#
|
|
6193
|
+
# @option params [required, Types::TestExecutionResultFilterBy] :result_filter_by
|
|
6194
|
+
# The filter for the list of results from the test set execution.
|
|
6195
|
+
#
|
|
6196
|
+
# @option params [Integer] :max_results
|
|
6197
|
+
# The maximum number of test execution result items to return in each
|
|
6198
|
+
# page. If there are fewer results than the max page size, only the
|
|
6199
|
+
# actual number of results are returned.
|
|
6200
|
+
#
|
|
6201
|
+
# @option params [String] :next_token
|
|
6202
|
+
# If the response from the `ListTestExecutionResultItems` operation
|
|
6203
|
+
# contains more results than specified in the `maxResults` parameter, a
|
|
6204
|
+
# token is returned in the response. Use that token in the `nextToken`
|
|
6205
|
+
# parameter to return the next page of results.
|
|
6206
|
+
#
|
|
6207
|
+
# @return [Types::ListTestExecutionResultItemsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6208
|
+
#
|
|
6209
|
+
# * {Types::ListTestExecutionResultItemsResponse#test_execution_results #test_execution_results} => Types::TestExecutionResultItems
|
|
6210
|
+
# * {Types::ListTestExecutionResultItemsResponse#next_token #next_token} => String
|
|
6211
|
+
#
|
|
6212
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
6213
|
+
#
|
|
6214
|
+
# @example Request syntax with placeholder values
|
|
6215
|
+
#
|
|
6216
|
+
# resp = client.list_test_execution_result_items({
|
|
6217
|
+
# test_execution_id: "Id", # required
|
|
6218
|
+
# result_filter_by: { # required
|
|
6219
|
+
# result_type_filter: "OverallTestResults", # required, accepts OverallTestResults, ConversationLevelTestResults, IntentClassificationTestResults, SlotResolutionTestResults, UtteranceLevelResults
|
|
6220
|
+
# conversation_level_test_results_filter_by: {
|
|
6221
|
+
# end_to_end_result: "Matched", # accepts Matched, Mismatched, ExecutionError
|
|
6222
|
+
# },
|
|
6223
|
+
# },
|
|
6224
|
+
# max_results: 1,
|
|
6225
|
+
# next_token: "NextToken",
|
|
6226
|
+
# })
|
|
6227
|
+
#
|
|
6228
|
+
# @example Response structure
|
|
6229
|
+
#
|
|
6230
|
+
# resp.test_execution_results.overall_test_results.items #=> Array
|
|
6231
|
+
# resp.test_execution_results.overall_test_results.items[0].multi_turn_conversation #=> Boolean
|
|
6232
|
+
# resp.test_execution_results.overall_test_results.items[0].total_result_count #=> Integer
|
|
6233
|
+
# resp.test_execution_results.overall_test_results.items[0].speech_transcription_result_counts #=> Hash
|
|
6234
|
+
# resp.test_execution_results.overall_test_results.items[0].speech_transcription_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6235
|
+
# resp.test_execution_results.overall_test_results.items[0].end_to_end_result_counts #=> Hash
|
|
6236
|
+
# resp.test_execution_results.overall_test_results.items[0].end_to_end_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6237
|
+
# resp.test_execution_results.conversation_level_test_results.items #=> Array
|
|
6238
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].conversation_id #=> String
|
|
6239
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].end_to_end_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6240
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].speech_transcription_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6241
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].intent_classification_results #=> Array
|
|
6242
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].intent_classification_results[0].intent_name #=> String
|
|
6243
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].intent_classification_results[0].match_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6244
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].slot_resolution_results #=> Array
|
|
6245
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].slot_resolution_results[0].intent_name #=> String
|
|
6246
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].slot_resolution_results[0].slot_name #=> String
|
|
6247
|
+
# resp.test_execution_results.conversation_level_test_results.items[0].slot_resolution_results[0].match_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6248
|
+
# resp.test_execution_results.intent_classification_test_results.items #=> Array
|
|
6249
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].intent_name #=> String
|
|
6250
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].multi_turn_conversation #=> Boolean
|
|
6251
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].result_counts.total_result_count #=> Integer
|
|
6252
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].result_counts.speech_transcription_result_counts #=> Hash
|
|
6253
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].result_counts.speech_transcription_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6254
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].result_counts.intent_match_result_counts #=> Hash
|
|
6255
|
+
# resp.test_execution_results.intent_classification_test_results.items[0].result_counts.intent_match_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6256
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items #=> Array
|
|
6257
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].intent_name #=> String
|
|
6258
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].multi_turn_conversation #=> Boolean
|
|
6259
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results #=> Array
|
|
6260
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].slot_name #=> String
|
|
6261
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].result_counts.total_result_count #=> Integer
|
|
6262
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].result_counts.speech_transcription_result_counts #=> Hash
|
|
6263
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].result_counts.speech_transcription_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6264
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].result_counts.slot_match_result_counts #=> Hash
|
|
6265
|
+
# resp.test_execution_results.intent_level_slot_resolution_test_results.items[0].slot_resolution_results[0].result_counts.slot_match_result_counts["TestResultMatchStatus"] #=> Integer
|
|
6266
|
+
# resp.test_execution_results.utterance_level_test_results.items #=> Array
|
|
6267
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].record_number #=> Integer
|
|
6268
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].conversation_id #=> String
|
|
6269
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.expected_agent_prompt #=> String
|
|
6270
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.actual_agent_prompt #=> String
|
|
6271
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.error_details.error_code #=> String
|
|
6272
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.error_details.error_message #=> String
|
|
6273
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.actual_elicited_slot #=> String
|
|
6274
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.agent.actual_intent #=> String
|
|
6275
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.utterance_input.text_input #=> String
|
|
6276
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.utterance_input.audio_input.audio_file_s3_location #=> String
|
|
6277
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.request_attributes #=> Hash
|
|
6278
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.request_attributes["NonEmptyString"] #=> String
|
|
6279
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.session_attributes #=> Hash
|
|
6280
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.session_attributes["NonEmptyString"] #=> String
|
|
6281
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.active_contexts #=> Array
|
|
6282
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.active_contexts[0].name #=> String
|
|
6283
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.runtime_hints.slot_hints #=> Hash
|
|
6284
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.runtime_hints.slot_hints["Name"] #=> Hash
|
|
6285
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.runtime_hints.slot_hints["Name"]["Name"].runtime_hint_values #=> Array
|
|
6286
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.runtime_hints.slot_hints["Name"]["Name"].runtime_hint_values[0].phrase #=> String
|
|
6287
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.input.session_state.runtime_hints.slot_hints["Name"]["Name"].sub_slot_hints #=> Types::SlotHintsSlotMap
|
|
6288
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.name #=> String
|
|
6289
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.slots #=> Hash
|
|
6290
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.slots["Name"].value #=> String
|
|
6291
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.slots["Name"].values #=> Array
|
|
6292
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.slots["Name"].values[0] #=> Types::UserTurnSlotOutput
|
|
6293
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.intent.slots["Name"].sub_slots #=> Types::UserTurnSlotOutputMap
|
|
6294
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.active_contexts #=> Array
|
|
6295
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.active_contexts[0].name #=> String
|
|
6296
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.expected_output.transcript #=> String
|
|
6297
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.name #=> String
|
|
6298
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.slots #=> Hash
|
|
6299
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.slots["Name"].value #=> String
|
|
6300
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.slots["Name"].values #=> Array
|
|
6301
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.slots["Name"].values[0] #=> Types::UserTurnSlotOutput
|
|
6302
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.intent.slots["Name"].sub_slots #=> Types::UserTurnSlotOutputMap
|
|
6303
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.active_contexts #=> Array
|
|
6304
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.active_contexts[0].name #=> String
|
|
6305
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.actual_output.transcript #=> String
|
|
6306
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.error_details.error_code #=> String
|
|
6307
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.error_details.error_message #=> String
|
|
6308
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.end_to_end_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6309
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.intent_match_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6310
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.slot_match_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6311
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.speech_transcription_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6312
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.conversation_level_result.end_to_end_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6313
|
+
# resp.test_execution_results.utterance_level_test_results.items[0].turn_result.user.conversation_level_result.speech_transcription_result #=> String, one of "Matched", "Mismatched", "ExecutionError"
|
|
6314
|
+
# resp.next_token #=> String
|
|
6315
|
+
#
|
|
6316
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionResultItems AWS API Documentation
|
|
6317
|
+
#
|
|
6318
|
+
# @overload list_test_execution_result_items(params = {})
|
|
6319
|
+
# @param [Hash] params ({})
|
|
6320
|
+
def list_test_execution_result_items(params = {}, options = {})
|
|
6321
|
+
req = build_request(:list_test_execution_result_items, params)
|
|
6322
|
+
req.send_request(options)
|
|
6323
|
+
end
|
|
6324
|
+
|
|
6325
|
+
# The list of test set executions.
|
|
6326
|
+
#
|
|
6327
|
+
# @option params [Types::TestExecutionSortBy] :sort_by
|
|
6328
|
+
# The sort order of the test set executions.
|
|
6329
|
+
#
|
|
6330
|
+
# @option params [Integer] :max_results
|
|
6331
|
+
# The maximum number of test executions to return in each page. If there
|
|
6332
|
+
# are fewer results than the max page size, only the actual number of
|
|
6333
|
+
# results are returned.
|
|
6334
|
+
#
|
|
6335
|
+
# @option params [String] :next_token
|
|
6336
|
+
# If the response from the ListTestExecutions operation contains more
|
|
6337
|
+
# results than specified in the maxResults parameter, a token is
|
|
6338
|
+
# returned in the response. Use that token in the nextToken parameter to
|
|
6339
|
+
# return the next page of results.
|
|
6340
|
+
#
|
|
6341
|
+
# @return [Types::ListTestExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6342
|
+
#
|
|
6343
|
+
# * {Types::ListTestExecutionsResponse#test_executions #test_executions} => Array<Types::TestExecutionSummary>
|
|
6344
|
+
# * {Types::ListTestExecutionsResponse#next_token #next_token} => String
|
|
6345
|
+
#
|
|
6346
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
6347
|
+
#
|
|
6348
|
+
# @example Request syntax with placeholder values
|
|
6349
|
+
#
|
|
6350
|
+
# resp = client.list_test_executions({
|
|
6351
|
+
# sort_by: {
|
|
6352
|
+
# attribute: "TestSetName", # required, accepts TestSetName, CreationDateTime
|
|
6353
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
|
6354
|
+
# },
|
|
6355
|
+
# max_results: 1,
|
|
6356
|
+
# next_token: "NextToken",
|
|
6357
|
+
# })
|
|
6358
|
+
#
|
|
6359
|
+
# @example Response structure
|
|
6360
|
+
#
|
|
6361
|
+
# resp.test_executions #=> Array
|
|
6362
|
+
# resp.test_executions[0].test_execution_id #=> String
|
|
6363
|
+
# resp.test_executions[0].creation_date_time #=> Time
|
|
6364
|
+
# resp.test_executions[0].last_updated_date_time #=> Time
|
|
6365
|
+
# resp.test_executions[0].test_execution_status #=> String, one of "Pending", "Waiting", "InProgress", "Completed", "Failed", "Stopping", "Stopped"
|
|
6366
|
+
# resp.test_executions[0].test_set_id #=> String
|
|
6367
|
+
# resp.test_executions[0].test_set_name #=> String
|
|
6368
|
+
# resp.test_executions[0].target.bot_alias_target.bot_id #=> String
|
|
6369
|
+
# resp.test_executions[0].target.bot_alias_target.bot_alias_id #=> String
|
|
6370
|
+
# resp.test_executions[0].target.bot_alias_target.locale_id #=> String
|
|
6371
|
+
# resp.test_executions[0].api_mode #=> String, one of "Streaming", "NonStreaming"
|
|
6372
|
+
# resp.test_executions[0].test_execution_modality #=> String, one of "Text", "Audio"
|
|
6373
|
+
# resp.next_token #=> String
|
|
6374
|
+
#
|
|
6375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutions AWS API Documentation
|
|
6376
|
+
#
|
|
6377
|
+
# @overload list_test_executions(params = {})
|
|
6378
|
+
# @param [Hash] params ({})
|
|
6379
|
+
def list_test_executions(params = {}, options = {})
|
|
6380
|
+
req = build_request(:list_test_executions, params)
|
|
6381
|
+
req.send_request(options)
|
|
6382
|
+
end
|
|
6383
|
+
|
|
6384
|
+
# The list of test set records.
|
|
6385
|
+
#
|
|
6386
|
+
# @option params [required, String] :test_set_id
|
|
6387
|
+
# The identifier of the test set to list its test set records.
|
|
6388
|
+
#
|
|
6389
|
+
# @option params [Integer] :max_results
|
|
6390
|
+
# The maximum number of test set records to return in each page. If
|
|
6391
|
+
# there are fewer records than the max page size, only the actual number
|
|
6392
|
+
# of records are returned.
|
|
6393
|
+
#
|
|
6394
|
+
# @option params [String] :next_token
|
|
6395
|
+
# If the response from the ListTestSetRecords operation contains more
|
|
6396
|
+
# results than specified in the maxResults parameter, a token is
|
|
6397
|
+
# returned in the response. Use that token in the nextToken parameter to
|
|
6398
|
+
# return the next page of results.
|
|
6399
|
+
#
|
|
6400
|
+
# @return [Types::ListTestSetRecordsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6401
|
+
#
|
|
6402
|
+
# * {Types::ListTestSetRecordsResponse#test_set_records #test_set_records} => Array<Types::TestSetTurnRecord>
|
|
6403
|
+
# * {Types::ListTestSetRecordsResponse#next_token #next_token} => String
|
|
6404
|
+
#
|
|
6405
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
6406
|
+
#
|
|
6407
|
+
# @example Request syntax with placeholder values
|
|
6408
|
+
#
|
|
6409
|
+
# resp = client.list_test_set_records({
|
|
6410
|
+
# test_set_id: "Id", # required
|
|
6411
|
+
# max_results: 1,
|
|
6412
|
+
# next_token: "NextToken",
|
|
6413
|
+
# })
|
|
6414
|
+
#
|
|
6415
|
+
# @example Response structure
|
|
6416
|
+
#
|
|
6417
|
+
# resp.test_set_records #=> Array
|
|
6418
|
+
# resp.test_set_records[0].record_number #=> Integer
|
|
6419
|
+
# resp.test_set_records[0].conversation_id #=> String
|
|
6420
|
+
# resp.test_set_records[0].turn_number #=> Integer
|
|
6421
|
+
# resp.test_set_records[0].turn_specification.agent_turn.agent_prompt #=> String
|
|
6422
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.utterance_input.text_input #=> String
|
|
6423
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.utterance_input.audio_input.audio_file_s3_location #=> String
|
|
6424
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.request_attributes #=> Hash
|
|
6425
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.request_attributes["NonEmptyString"] #=> String
|
|
6426
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.session_attributes #=> Hash
|
|
6427
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.session_attributes["NonEmptyString"] #=> String
|
|
6428
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.active_contexts #=> Array
|
|
6429
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.active_contexts[0].name #=> String
|
|
6430
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.runtime_hints.slot_hints #=> Hash
|
|
6431
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.runtime_hints.slot_hints["Name"] #=> Hash
|
|
6432
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.runtime_hints.slot_hints["Name"]["Name"].runtime_hint_values #=> Array
|
|
6433
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.runtime_hints.slot_hints["Name"]["Name"].runtime_hint_values[0].phrase #=> String
|
|
6434
|
+
# resp.test_set_records[0].turn_specification.user_turn.input.session_state.runtime_hints.slot_hints["Name"]["Name"].sub_slot_hints #=> Types::SlotHintsSlotMap
|
|
6435
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.name #=> String
|
|
6436
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.slots #=> Hash
|
|
6437
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.slots["Name"].value #=> String
|
|
6438
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.slots["Name"].values #=> Array
|
|
6439
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.slots["Name"].values[0] #=> Types::UserTurnSlotOutput
|
|
6440
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.intent.slots["Name"].sub_slots #=> Types::UserTurnSlotOutputMap
|
|
6441
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.active_contexts #=> Array
|
|
6442
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.active_contexts[0].name #=> String
|
|
6443
|
+
# resp.test_set_records[0].turn_specification.user_turn.expected.transcript #=> String
|
|
6444
|
+
# resp.next_token #=> String
|
|
6445
|
+
#
|
|
6446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetRecords AWS API Documentation
|
|
6447
|
+
#
|
|
6448
|
+
# @overload list_test_set_records(params = {})
|
|
6449
|
+
# @param [Hash] params ({})
|
|
6450
|
+
def list_test_set_records(params = {}, options = {})
|
|
6451
|
+
req = build_request(:list_test_set_records, params)
|
|
6452
|
+
req.send_request(options)
|
|
6453
|
+
end
|
|
6454
|
+
|
|
6455
|
+
# The list of the test sets
|
|
6456
|
+
#
|
|
6457
|
+
# @option params [Types::TestSetSortBy] :sort_by
|
|
6458
|
+
# The sort order for the list of test sets.
|
|
6459
|
+
#
|
|
6460
|
+
# @option params [Integer] :max_results
|
|
6461
|
+
# The maximum number of test sets to return in each page. If there are
|
|
6462
|
+
# fewer results than the max page size, only the actual number of
|
|
6463
|
+
# results are returned.
|
|
6464
|
+
#
|
|
6465
|
+
# @option params [String] :next_token
|
|
6466
|
+
# If the response from the ListTestSets operation contains more results
|
|
6467
|
+
# than specified in the maxResults parameter, a token is returned in the
|
|
6468
|
+
# response. Use that token in the nextToken parameter to return the next
|
|
6469
|
+
# page of results.
|
|
6470
|
+
#
|
|
6471
|
+
# @return [Types::ListTestSetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6472
|
+
#
|
|
6473
|
+
# * {Types::ListTestSetsResponse#test_sets #test_sets} => Array<Types::TestSetSummary>
|
|
6474
|
+
# * {Types::ListTestSetsResponse#next_token #next_token} => String
|
|
6475
|
+
#
|
|
6476
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
6477
|
+
#
|
|
6478
|
+
# @example Request syntax with placeholder values
|
|
6479
|
+
#
|
|
6480
|
+
# resp = client.list_test_sets({
|
|
6481
|
+
# sort_by: {
|
|
6482
|
+
# attribute: "TestSetName", # required, accepts TestSetName, LastUpdatedDateTime
|
|
6483
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
|
6484
|
+
# },
|
|
6485
|
+
# max_results: 1,
|
|
6486
|
+
# next_token: "NextToken",
|
|
6487
|
+
# })
|
|
6488
|
+
#
|
|
6489
|
+
# @example Response structure
|
|
6490
|
+
#
|
|
6491
|
+
# resp.test_sets #=> Array
|
|
6492
|
+
# resp.test_sets[0].test_set_id #=> String
|
|
6493
|
+
# resp.test_sets[0].test_set_name #=> String
|
|
6494
|
+
# resp.test_sets[0].description #=> String
|
|
6495
|
+
# resp.test_sets[0].modality #=> String, one of "Text", "Audio"
|
|
6496
|
+
# resp.test_sets[0].status #=> String, one of "Importing", "PendingAnnotation", "Deleting", "ValidationError", "Ready"
|
|
6497
|
+
# resp.test_sets[0].role_arn #=> String
|
|
6498
|
+
# resp.test_sets[0].num_turns #=> Integer
|
|
6499
|
+
# resp.test_sets[0].storage_location.s3_bucket_name #=> String
|
|
6500
|
+
# resp.test_sets[0].storage_location.s3_path #=> String
|
|
6501
|
+
# resp.test_sets[0].storage_location.kms_key_arn #=> String
|
|
6502
|
+
# resp.test_sets[0].creation_date_time #=> Time
|
|
6503
|
+
# resp.test_sets[0].last_updated_date_time #=> Time
|
|
6504
|
+
# resp.next_token #=> String
|
|
6505
|
+
#
|
|
6506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSets AWS API Documentation
|
|
6507
|
+
#
|
|
6508
|
+
# @overload list_test_sets(params = {})
|
|
6509
|
+
# @param [Hash] params ({})
|
|
6510
|
+
def list_test_sets(params = {}, options = {})
|
|
6511
|
+
req = build_request(:list_test_sets, params)
|
|
6512
|
+
req.send_request(options)
|
|
6513
|
+
end
|
|
6514
|
+
|
|
5864
6515
|
# Search for associated transcripts that meet the specified criteria.
|
|
5865
6516
|
#
|
|
5866
6517
|
# @option params [required, String] :bot_id
|
|
@@ -6114,6 +6765,24 @@ module Aws::LexModelsV2
|
|
|
6114
6765
|
# bot_version: "DraftBotVersion", # required
|
|
6115
6766
|
# locale_id: "LocaleId", # required
|
|
6116
6767
|
# },
|
|
6768
|
+
# test_set_import_resource_specification: {
|
|
6769
|
+
# test_set_name: "Name", # required
|
|
6770
|
+
# description: "Description",
|
|
6771
|
+
# role_arn: "RoleArn", # required
|
|
6772
|
+
# storage_location: { # required
|
|
6773
|
+
# s3_bucket_name: "S3BucketName", # required
|
|
6774
|
+
# s3_path: "S3ObjectPath", # required
|
|
6775
|
+
# kms_key_arn: "KmsKeyArn",
|
|
6776
|
+
# },
|
|
6777
|
+
# import_input_location: { # required
|
|
6778
|
+
# s3_bucket_name: "S3BucketName", # required
|
|
6779
|
+
# s3_path: "S3ObjectPath", # required
|
|
6780
|
+
# },
|
|
6781
|
+
# modality: "Text", # required, accepts Text, Audio
|
|
6782
|
+
# test_set_tags: {
|
|
6783
|
+
# "TagKey" => "TagValue",
|
|
6784
|
+
# },
|
|
6785
|
+
# },
|
|
6117
6786
|
# },
|
|
6118
6787
|
# merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
|
|
6119
6788
|
# file_password: "ImportExportFilePassword",
|
|
@@ -6139,6 +6808,17 @@ module Aws::LexModelsV2
|
|
|
6139
6808
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
|
|
6140
6809
|
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
|
|
6141
6810
|
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
|
|
6811
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_name #=> String
|
|
6812
|
+
# resp.resource_specification.test_set_import_resource_specification.description #=> String
|
|
6813
|
+
# resp.resource_specification.test_set_import_resource_specification.role_arn #=> String
|
|
6814
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.s3_bucket_name #=> String
|
|
6815
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.s3_path #=> String
|
|
6816
|
+
# resp.resource_specification.test_set_import_resource_specification.storage_location.kms_key_arn #=> String
|
|
6817
|
+
# resp.resource_specification.test_set_import_resource_specification.import_input_location.s3_bucket_name #=> String
|
|
6818
|
+
# resp.resource_specification.test_set_import_resource_specification.import_input_location.s3_path #=> String
|
|
6819
|
+
# resp.resource_specification.test_set_import_resource_specification.modality #=> String, one of "Text", "Audio"
|
|
6820
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_tags #=> Hash
|
|
6821
|
+
# resp.resource_specification.test_set_import_resource_specification.test_set_tags["TagKey"] #=> String
|
|
6142
6822
|
# resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
|
|
6143
6823
|
# resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
|
6144
6824
|
# resp.creation_date_time #=> Time
|
|
@@ -6152,6 +6832,160 @@ module Aws::LexModelsV2
|
|
|
6152
6832
|
req.send_request(options)
|
|
6153
6833
|
end
|
|
6154
6834
|
|
|
6835
|
+
# The action to start test set execution.
|
|
6836
|
+
#
|
|
6837
|
+
# @option params [required, String] :test_set_id
|
|
6838
|
+
# The test set Id for the test set execution.
|
|
6839
|
+
#
|
|
6840
|
+
# @option params [required, Types::TestExecutionTarget] :target
|
|
6841
|
+
# The target bot for the test set execution.
|
|
6842
|
+
#
|
|
6843
|
+
# @option params [required, String] :api_mode
|
|
6844
|
+
# Indicates whether we use streaming or non-streaming APIs for the test
|
|
6845
|
+
# set execution. For streaming, StartConversation Runtime API is used.
|
|
6846
|
+
# Whereas, for non-streaming, RecognizeUtterance and RecognizeText
|
|
6847
|
+
# Amazon Lex Runtime API are used.
|
|
6848
|
+
#
|
|
6849
|
+
# @option params [String] :test_execution_modality
|
|
6850
|
+
# Indicates whether audio or text is used.
|
|
6851
|
+
#
|
|
6852
|
+
# @return [Types::StartTestExecutionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6853
|
+
#
|
|
6854
|
+
# * {Types::StartTestExecutionResponse#test_execution_id #test_execution_id} => String
|
|
6855
|
+
# * {Types::StartTestExecutionResponse#creation_date_time #creation_date_time} => Time
|
|
6856
|
+
# * {Types::StartTestExecutionResponse#test_set_id #test_set_id} => String
|
|
6857
|
+
# * {Types::StartTestExecutionResponse#target #target} => Types::TestExecutionTarget
|
|
6858
|
+
# * {Types::StartTestExecutionResponse#api_mode #api_mode} => String
|
|
6859
|
+
# * {Types::StartTestExecutionResponse#test_execution_modality #test_execution_modality} => String
|
|
6860
|
+
#
|
|
6861
|
+
# @example Request syntax with placeholder values
|
|
6862
|
+
#
|
|
6863
|
+
# resp = client.start_test_execution({
|
|
6864
|
+
# test_set_id: "Id", # required
|
|
6865
|
+
# target: { # required
|
|
6866
|
+
# bot_alias_target: {
|
|
6867
|
+
# bot_id: "Id", # required
|
|
6868
|
+
# bot_alias_id: "BotAliasId", # required
|
|
6869
|
+
# locale_id: "LocaleId", # required
|
|
6870
|
+
# },
|
|
6871
|
+
# },
|
|
6872
|
+
# api_mode: "Streaming", # required, accepts Streaming, NonStreaming
|
|
6873
|
+
# test_execution_modality: "Text", # accepts Text, Audio
|
|
6874
|
+
# })
|
|
6875
|
+
#
|
|
6876
|
+
# @example Response structure
|
|
6877
|
+
#
|
|
6878
|
+
# resp.test_execution_id #=> String
|
|
6879
|
+
# resp.creation_date_time #=> Time
|
|
6880
|
+
# resp.test_set_id #=> String
|
|
6881
|
+
# resp.target.bot_alias_target.bot_id #=> String
|
|
6882
|
+
# resp.target.bot_alias_target.bot_alias_id #=> String
|
|
6883
|
+
# resp.target.bot_alias_target.locale_id #=> String
|
|
6884
|
+
# resp.api_mode #=> String, one of "Streaming", "NonStreaming"
|
|
6885
|
+
# resp.test_execution_modality #=> String, one of "Text", "Audio"
|
|
6886
|
+
#
|
|
6887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestExecution AWS API Documentation
|
|
6888
|
+
#
|
|
6889
|
+
# @overload start_test_execution(params = {})
|
|
6890
|
+
# @param [Hash] params ({})
|
|
6891
|
+
def start_test_execution(params = {}, options = {})
|
|
6892
|
+
req = build_request(:start_test_execution, params)
|
|
6893
|
+
req.send_request(options)
|
|
6894
|
+
end
|
|
6895
|
+
|
|
6896
|
+
# The action to start the generation of test set.
|
|
6897
|
+
#
|
|
6898
|
+
# @option params [required, String] :test_set_name
|
|
6899
|
+
# The test set name for the test set generation request.
|
|
6900
|
+
#
|
|
6901
|
+
# @option params [String] :description
|
|
6902
|
+
# The test set description for the test set generation request.
|
|
6903
|
+
#
|
|
6904
|
+
# @option params [required, Types::TestSetStorageLocation] :storage_location
|
|
6905
|
+
# The Amazon S3 storage location for the test set generation.
|
|
6906
|
+
#
|
|
6907
|
+
# @option params [required, Types::TestSetGenerationDataSource] :generation_data_source
|
|
6908
|
+
# The data source for the test set generation.
|
|
6909
|
+
#
|
|
6910
|
+
# @option params [required, String] :role_arn
|
|
6911
|
+
# The roleARN used for any operation in the test set to access resources
|
|
6912
|
+
# in the Amazon Web Services account.
|
|
6913
|
+
#
|
|
6914
|
+
# @option params [Hash<String,String>] :test_set_tags
|
|
6915
|
+
# A list of tags to add to the test set. You can only add tags when you
|
|
6916
|
+
# import/generate a new test set. You can't use the `UpdateTestSet`
|
|
6917
|
+
# operation to update tags. To update tags, use the `TagResource`
|
|
6918
|
+
# operation.
|
|
6919
|
+
#
|
|
6920
|
+
# @return [Types::StartTestSetGenerationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6921
|
+
#
|
|
6922
|
+
# * {Types::StartTestSetGenerationResponse#test_set_generation_id #test_set_generation_id} => String
|
|
6923
|
+
# * {Types::StartTestSetGenerationResponse#creation_date_time #creation_date_time} => Time
|
|
6924
|
+
# * {Types::StartTestSetGenerationResponse#test_set_generation_status #test_set_generation_status} => String
|
|
6925
|
+
# * {Types::StartTestSetGenerationResponse#test_set_name #test_set_name} => String
|
|
6926
|
+
# * {Types::StartTestSetGenerationResponse#description #description} => String
|
|
6927
|
+
# * {Types::StartTestSetGenerationResponse#storage_location #storage_location} => Types::TestSetStorageLocation
|
|
6928
|
+
# * {Types::StartTestSetGenerationResponse#generation_data_source #generation_data_source} => Types::TestSetGenerationDataSource
|
|
6929
|
+
# * {Types::StartTestSetGenerationResponse#role_arn #role_arn} => String
|
|
6930
|
+
# * {Types::StartTestSetGenerationResponse#test_set_tags #test_set_tags} => Hash<String,String>
|
|
6931
|
+
#
|
|
6932
|
+
# @example Request syntax with placeholder values
|
|
6933
|
+
#
|
|
6934
|
+
# resp = client.start_test_set_generation({
|
|
6935
|
+
# test_set_name: "Name", # required
|
|
6936
|
+
# description: "Description",
|
|
6937
|
+
# storage_location: { # required
|
|
6938
|
+
# s3_bucket_name: "S3BucketName", # required
|
|
6939
|
+
# s3_path: "S3ObjectPath", # required
|
|
6940
|
+
# kms_key_arn: "KmsKeyArn",
|
|
6941
|
+
# },
|
|
6942
|
+
# generation_data_source: { # required
|
|
6943
|
+
# conversation_logs_data_source: {
|
|
6944
|
+
# bot_id: "Id", # required
|
|
6945
|
+
# bot_alias_id: "BotAliasId", # required
|
|
6946
|
+
# locale_id: "LocaleId", # required
|
|
6947
|
+
# filter: { # required
|
|
6948
|
+
# start_time: Time.now, # required
|
|
6949
|
+
# end_time: Time.now, # required
|
|
6950
|
+
# input_mode: "Speech", # required, accepts Speech, Text
|
|
6951
|
+
# },
|
|
6952
|
+
# },
|
|
6953
|
+
# },
|
|
6954
|
+
# role_arn: "RoleArn", # required
|
|
6955
|
+
# test_set_tags: {
|
|
6956
|
+
# "TagKey" => "TagValue",
|
|
6957
|
+
# },
|
|
6958
|
+
# })
|
|
6959
|
+
#
|
|
6960
|
+
# @example Response structure
|
|
6961
|
+
#
|
|
6962
|
+
# resp.test_set_generation_id #=> String
|
|
6963
|
+
# resp.creation_date_time #=> Time
|
|
6964
|
+
# resp.test_set_generation_status #=> String, one of "Generating", "Ready", "Failed", "Pending"
|
|
6965
|
+
# resp.test_set_name #=> String
|
|
6966
|
+
# resp.description #=> String
|
|
6967
|
+
# resp.storage_location.s3_bucket_name #=> String
|
|
6968
|
+
# resp.storage_location.s3_path #=> String
|
|
6969
|
+
# resp.storage_location.kms_key_arn #=> String
|
|
6970
|
+
# resp.generation_data_source.conversation_logs_data_source.bot_id #=> String
|
|
6971
|
+
# resp.generation_data_source.conversation_logs_data_source.bot_alias_id #=> String
|
|
6972
|
+
# resp.generation_data_source.conversation_logs_data_source.locale_id #=> String
|
|
6973
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.start_time #=> Time
|
|
6974
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.end_time #=> Time
|
|
6975
|
+
# resp.generation_data_source.conversation_logs_data_source.filter.input_mode #=> String, one of "Speech", "Text"
|
|
6976
|
+
# resp.role_arn #=> String
|
|
6977
|
+
# resp.test_set_tags #=> Hash
|
|
6978
|
+
# resp.test_set_tags["TagKey"] #=> String
|
|
6979
|
+
#
|
|
6980
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestSetGeneration AWS API Documentation
|
|
6981
|
+
#
|
|
6982
|
+
# @overload start_test_set_generation(params = {})
|
|
6983
|
+
# @param [Hash] params ({})
|
|
6984
|
+
def start_test_set_generation(params = {}, options = {})
|
|
6985
|
+
req = build_request(:start_test_set_generation, params)
|
|
6986
|
+
req.send_request(options)
|
|
6987
|
+
end
|
|
6988
|
+
|
|
6155
6989
|
# Stop an already running Bot Recommendation request.
|
|
6156
6990
|
#
|
|
6157
6991
|
# @option params [required, String] :bot_id
|
|
@@ -6710,7 +7544,8 @@ module Aws::LexModelsV2
|
|
|
6710
7544
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
|
|
6711
7545
|
# resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
|
|
6712
7546
|
# resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
|
|
6713
|
-
# resp.
|
|
7547
|
+
# resp.resource_specification.test_set_export_specification.test_set_id #=> String
|
|
7548
|
+
# resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
|
|
6714
7549
|
# resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
|
|
6715
7550
|
# resp.creation_date_time #=> Time
|
|
6716
7551
|
# resp.last_updated_date_time #=> Time
|
|
@@ -6789,6 +7624,8 @@ module Aws::LexModelsV2
|
|
|
6789
7624
|
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
|
6790
7625
|
#
|
|
6791
7626
|
# @option params [Types::InitialResponseSetting] :initial_response_setting
|
|
7627
|
+
# Configuration settings for a response sent to the user before Amazon
|
|
7628
|
+
# Lex starts eliciting slots.
|
|
6792
7629
|
#
|
|
6793
7630
|
# @return [Types::UpdateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6794
7631
|
#
|
|
@@ -7836,6 +8673,62 @@ module Aws::LexModelsV2
|
|
|
7836
8673
|
req.send_request(options)
|
|
7837
8674
|
end
|
|
7838
8675
|
|
|
8676
|
+
# The action to update the test set.
|
|
8677
|
+
#
|
|
8678
|
+
# @option params [required, String] :test_set_id
|
|
8679
|
+
# The test set Id for which update test operation to be performed.
|
|
8680
|
+
#
|
|
8681
|
+
# @option params [required, String] :test_set_name
|
|
8682
|
+
# The new test set name.
|
|
8683
|
+
#
|
|
8684
|
+
# @option params [String] :description
|
|
8685
|
+
# The new test set description.
|
|
8686
|
+
#
|
|
8687
|
+
# @return [Types::UpdateTestSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8688
|
+
#
|
|
8689
|
+
# * {Types::UpdateTestSetResponse#test_set_id #test_set_id} => String
|
|
8690
|
+
# * {Types::UpdateTestSetResponse#test_set_name #test_set_name} => String
|
|
8691
|
+
# * {Types::UpdateTestSetResponse#description #description} => String
|
|
8692
|
+
# * {Types::UpdateTestSetResponse#modality #modality} => String
|
|
8693
|
+
# * {Types::UpdateTestSetResponse#status #status} => String
|
|
8694
|
+
# * {Types::UpdateTestSetResponse#role_arn #role_arn} => String
|
|
8695
|
+
# * {Types::UpdateTestSetResponse#num_turns #num_turns} => Integer
|
|
8696
|
+
# * {Types::UpdateTestSetResponse#storage_location #storage_location} => Types::TestSetStorageLocation
|
|
8697
|
+
# * {Types::UpdateTestSetResponse#creation_date_time #creation_date_time} => Time
|
|
8698
|
+
# * {Types::UpdateTestSetResponse#last_updated_date_time #last_updated_date_time} => Time
|
|
8699
|
+
#
|
|
8700
|
+
# @example Request syntax with placeholder values
|
|
8701
|
+
#
|
|
8702
|
+
# resp = client.update_test_set({
|
|
8703
|
+
# test_set_id: "Id", # required
|
|
8704
|
+
# test_set_name: "Name", # required
|
|
8705
|
+
# description: "Description",
|
|
8706
|
+
# })
|
|
8707
|
+
#
|
|
8708
|
+
# @example Response structure
|
|
8709
|
+
#
|
|
8710
|
+
# resp.test_set_id #=> String
|
|
8711
|
+
# resp.test_set_name #=> String
|
|
8712
|
+
# resp.description #=> String
|
|
8713
|
+
# resp.modality #=> String, one of "Text", "Audio"
|
|
8714
|
+
# resp.status #=> String, one of "Importing", "PendingAnnotation", "Deleting", "ValidationError", "Ready"
|
|
8715
|
+
# resp.role_arn #=> String
|
|
8716
|
+
# resp.num_turns #=> Integer
|
|
8717
|
+
# resp.storage_location.s3_bucket_name #=> String
|
|
8718
|
+
# resp.storage_location.s3_path #=> String
|
|
8719
|
+
# resp.storage_location.kms_key_arn #=> String
|
|
8720
|
+
# resp.creation_date_time #=> Time
|
|
8721
|
+
# resp.last_updated_date_time #=> Time
|
|
8722
|
+
#
|
|
8723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateTestSet AWS API Documentation
|
|
8724
|
+
#
|
|
8725
|
+
# @overload update_test_set(params = {})
|
|
8726
|
+
# @param [Hash] params ({})
|
|
8727
|
+
def update_test_set(params = {}, options = {})
|
|
8728
|
+
req = build_request(:update_test_set, params)
|
|
8729
|
+
req.send_request(options)
|
|
8730
|
+
end
|
|
8731
|
+
|
|
7839
8732
|
# @!endgroup
|
|
7840
8733
|
|
|
7841
8734
|
# @param params ({})
|
|
@@ -7849,7 +8742,7 @@ module Aws::LexModelsV2
|
|
|
7849
8742
|
params: params,
|
|
7850
8743
|
config: config)
|
|
7851
8744
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
|
7852
|
-
context[:gem_version] = '1.
|
|
8745
|
+
context[:gem_version] = '1.35.0'
|
|
7853
8746
|
Seahorse::Client::Request.new(handlers, context)
|
|
7854
8747
|
end
|
|
7855
8748
|
|