aws-sdk-lexmodelsv2 1.32.0 → 1.34.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.
@@ -275,6 +275,11 @@ module Aws::LexModelsV2
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -1116,8 +1121,11 @@ module Aws::LexModelsV2
1116
1121
  # bot_version: "BotVersion", # required
1117
1122
  # locale_id: "LocaleId", # required
1118
1123
  # },
1124
+ # test_set_export_specification: {
1125
+ # test_set_id: "Id", # required
1126
+ # },
1119
1127
  # },
1120
- # file_format: "LexJson", # required, accepts LexJson, TSV
1128
+ # file_format: "LexJson", # required, accepts LexJson, TSV, CSV
1121
1129
  # file_password: "ImportExportFilePassword",
1122
1130
  # })
1123
1131
  #
@@ -1132,7 +1140,8 @@ module Aws::LexModelsV2
1132
1140
  # resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
1133
1141
  # resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
1134
1142
  # resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
1135
- # resp.file_format #=> String, one of "LexJson", "TSV"
1143
+ # resp.resource_specification.test_set_export_specification.test_set_id #=> String
1144
+ # resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
1136
1145
  # resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
1137
1146
  # resp.creation_date_time #=> Time
1138
1147
  #
@@ -1268,7 +1277,7 @@ module Aws::LexModelsV2
1268
1277
  # The identifier of the bot associated with this intent.
1269
1278
  #
1270
1279
  # @option params [required, String] :bot_version
1271
- # The identifier of the version of the bot associated with this intent.
1280
+ # The version of the bot associated with this intent.
1272
1281
  #
1273
1282
  # @option params [required, String] :locale_id
1274
1283
  # The identifier of the language and locale where this intent is used.
@@ -1382,9 +1391,10 @@ module Aws::LexModelsV2
1382
1391
  # resource.
1383
1392
  #
1384
1393
  # @option params [required, Array<Types::Principal>] :principal
1385
- # An IAM principal, such as an IAM users, IAM roles, or AWS services
1386
- # that is allowed or denied access to a resource. For more information,
1387
- # see [AWS JSON policy elements: Principal][1].
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].
1388
1398
  #
1389
1399
  #
1390
1400
  #
@@ -1510,7 +1520,7 @@ module Aws::LexModelsV2
1510
1520
  #
1511
1521
  # @option params [Types::MultipleValuesSetting] :multiple_values_setting
1512
1522
  # Indicates whether the slot returns multiple values in one response.
1513
- # 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
1514
1524
  # this value to `true` in any other locale, Amazon Lex throws a
1515
1525
  # `ValidationException`.
1516
1526
  #
@@ -2287,7 +2297,7 @@ module Aws::LexModelsV2
2287
2297
  #
2288
2298
  # @option params [required, String] :slot_type_name
2289
2299
  # The name for the slot. A slot type name must be unique within the
2290
- # account.
2300
+ # intent.
2291
2301
  #
2292
2302
  # @option params [String] :description
2293
2303
  # A description of the slot type. Use the description to help identify
@@ -2304,15 +2314,15 @@ module Aws::LexModelsV2
2304
2314
  # the list of possible values. The field can be set to one of the
2305
2315
  # following values:
2306
2316
  #
2307
- # * `OriginalValue` - Returns the value entered by the user, if the user
2308
- # 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.
2309
2319
  #
2310
- # * `TopResolution` - If there is a resolution list for the slot, return
2311
- # the first value in the resolution list. If there is no resolution
2312
- # 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.
2313
2323
  #
2314
2324
  # If you don't specify the `valueSelectionSetting` parameter, the
2315
- # default is `OriginalValue`.
2325
+ # default is `ORIGINAL_VALUE`.
2316
2326
  #
2317
2327
  # @option params [String] :parent_slot_type_signature
2318
2328
  # The built-in slot type used as a parent of this slot type. When you
@@ -2440,6 +2450,53 @@ module Aws::LexModelsV2
2440
2450
  req.send_request(options)
2441
2451
  end
2442
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
+
2443
2500
  # Gets a pre-signed S3 write URL that you use to upload the zip archive
2444
2501
  # when importing a bot or a bot locale.
2445
2502
  #
@@ -2985,6 +3042,28 @@ module Aws::LexModelsV2
2985
3042
  req.send_request(options)
2986
3043
  end
2987
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
+
2988
3067
  # Deletes stored utterances.
2989
3068
  #
2990
3069
  # Amazon Lex stores the utterances that users send to your bot.
@@ -3188,7 +3267,7 @@ module Aws::LexModelsV2
3188
3267
  # The identifier of the bot associated with the locale.
3189
3268
  #
3190
3269
  # @option params [required, String] :bot_version
3191
- # The identifier of the version of the bot associated with the locale.
3270
+ # The version of the bot associated with the locale.
3192
3271
  #
3193
3272
  # @option params [required, String] :locale_id
3194
3273
  # The unique identifier of the locale to describe. The string must match
@@ -3499,7 +3578,8 @@ module Aws::LexModelsV2
3499
3578
  # resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
3500
3579
  # resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
3501
3580
  # resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
3502
- # resp.file_format #=> String, one of "LexJson", "TSV"
3581
+ # resp.resource_specification.test_set_export_specification.test_set_id #=> String
3582
+ # resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
3503
3583
  # resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
3504
3584
  # resp.failure_reasons #=> Array
3505
3585
  # resp.failure_reasons[0] #=> String
@@ -3564,6 +3644,17 @@ module Aws::LexModelsV2
3564
3644
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
3565
3645
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
3566
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
3567
3658
  # resp.imported_resource_id #=> String
3568
3659
  # resp.imported_resource_name #=> String
3569
3660
  # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
@@ -4552,6 +4643,243 @@ module Aws::LexModelsV2
4552
4643
  req.send_request(options)
4553
4644
  end
4554
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&lt;String&gt;
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&lt;String&gt;
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&lt;String&gt;
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
+
4555
4883
  # Provides a list of utterances that users have sent to the bot.
4556
4884
  #
4557
4885
  # Utterances are aggregated by the text of the utterance. For example,
@@ -5316,7 +5644,8 @@ module Aws::LexModelsV2
5316
5644
  # resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_id #=> String
5317
5645
  # resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.bot_version #=> String
5318
5646
  # resp.export_summaries[0].resource_specification.custom_vocabulary_export_specification.locale_id #=> String
5319
- # resp.export_summaries[0].file_format #=> String, one of "LexJson", "TSV"
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"
5320
5649
  # resp.export_summaries[0].export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
5321
5650
  # resp.export_summaries[0].creation_date_time #=> Time
5322
5651
  # resp.export_summaries[0].last_updated_date_time #=> Time
@@ -5414,7 +5743,7 @@ module Aws::LexModelsV2
5414
5743
  # resp.import_summaries[0].merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
5415
5744
  # resp.import_summaries[0].creation_date_time #=> Time
5416
5745
  # resp.import_summaries[0].last_updated_date_time #=> Time
5417
- # 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"
5418
5747
  # resp.next_token #=> String
5419
5748
  # resp.locale_id #=> String
5420
5749
  #
@@ -5856,6 +6185,333 @@ module Aws::LexModelsV2
5856
6185
  req.send_request(options)
5857
6186
  end
5858
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&lt;Types::TestExecutionSummary&gt;
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&lt;Types::TestSetTurnRecord&gt;
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&lt;Types::TestSetSummary&gt;
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
+
5859
6515
  # Search for associated transcripts that meet the specified criteria.
5860
6516
  #
5861
6517
  # @option params [required, String] :bot_id
@@ -6109,6 +6765,24 @@ module Aws::LexModelsV2
6109
6765
  # bot_version: "DraftBotVersion", # required
6110
6766
  # locale_id: "LocaleId", # required
6111
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
+ # },
6112
6786
  # },
6113
6787
  # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
6114
6788
  # file_password: "ImportExportFilePassword",
@@ -6134,6 +6808,17 @@ module Aws::LexModelsV2
6134
6808
  # resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
6135
6809
  # resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
6136
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
6137
6822
  # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
6138
6823
  # resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
6139
6824
  # resp.creation_date_time #=> Time
@@ -6147,6 +6832,160 @@ module Aws::LexModelsV2
6147
6832
  req.send_request(options)
6148
6833
  end
6149
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&lt;String,String&gt;
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
+
6150
6989
  # Stop an already running Bot Recommendation request.
6151
6990
  #
6152
6991
  # @option params [required, String] :bot_id
@@ -6705,7 +7544,8 @@ module Aws::LexModelsV2
6705
7544
  # resp.resource_specification.custom_vocabulary_export_specification.bot_id #=> String
6706
7545
  # resp.resource_specification.custom_vocabulary_export_specification.bot_version #=> String
6707
7546
  # resp.resource_specification.custom_vocabulary_export_specification.locale_id #=> String
6708
- # resp.file_format #=> String, one of "LexJson", "TSV"
7547
+ # resp.resource_specification.test_set_export_specification.test_set_id #=> String
7548
+ # resp.file_format #=> String, one of "LexJson", "TSV", "CSV"
6709
7549
  # resp.export_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
6710
7550
  # resp.creation_date_time #=> Time
6711
7551
  # resp.last_updated_date_time #=> Time
@@ -6784,6 +7624,8 @@ module Aws::LexModelsV2
6784
7624
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
6785
7625
  #
6786
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.
6787
7629
  #
6788
7630
  # @return [Types::UpdateIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6789
7631
  #
@@ -7831,6 +8673,62 @@ module Aws::LexModelsV2
7831
8673
  req.send_request(options)
7832
8674
  end
7833
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
+
7834
8732
  # @!endgroup
7835
8733
 
7836
8734
  # @param params ({})
@@ -7844,7 +8742,7 @@ module Aws::LexModelsV2
7844
8742
  params: params,
7845
8743
  config: config)
7846
8744
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
7847
- context[:gem_version] = '1.32.0'
8745
+ context[:gem_version] = '1.34.0'
7848
8746
  Seahorse::Client::Request.new(handlers, context)
7849
8747
  end
7850
8748