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.
@@ -10,6 +10,20 @@
10
10
  module Aws::LexModelsV2
11
11
  module Types
12
12
 
13
+ # The active context used in the test execution.
14
+ #
15
+ # @!attribute [rw] name
16
+ # The name of active context.
17
+ # @return [String]
18
+ #
19
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ActiveContext AWS API Documentation
20
+ #
21
+ class ActiveContext < Struct.new(
22
+ :name)
23
+ SENSITIVE = []
24
+ include Aws::Structure
25
+ end
26
+
13
27
  # Provides settings that enable advanced recognition settings for slot
14
28
  # values.
15
29
  #
@@ -26,6 +40,55 @@ module Aws::LexModelsV2
26
40
  include Aws::Structure
27
41
  end
28
42
 
43
+ # The information about the agent turn in a test set execution.
44
+ #
45
+ # @!attribute [rw] expected_agent_prompt
46
+ # The expected agent prompt for the agent turn in a test set
47
+ # execution.
48
+ # @return [String]
49
+ #
50
+ # @!attribute [rw] actual_agent_prompt
51
+ # The actual agent prompt for the agent turn in a test set execution.
52
+ # @return [String]
53
+ #
54
+ # @!attribute [rw] error_details
55
+ # Details about an error in an execution of a test set.
56
+ # @return [Types::ExecutionErrorDetails]
57
+ #
58
+ # @!attribute [rw] actual_elicited_slot
59
+ # The actual elicited slot for the agent turn in a test set execution.
60
+ # @return [String]
61
+ #
62
+ # @!attribute [rw] actual_intent
63
+ # The actual intent for the agent turn in a test set execution.
64
+ # @return [String]
65
+ #
66
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AgentTurnResult AWS API Documentation
67
+ #
68
+ class AgentTurnResult < Struct.new(
69
+ :expected_agent_prompt,
70
+ :actual_agent_prompt,
71
+ :error_details,
72
+ :actual_elicited_slot,
73
+ :actual_intent)
74
+ SENSITIVE = []
75
+ include Aws::Structure
76
+ end
77
+
78
+ # The specification of an agent turn.
79
+ #
80
+ # @!attribute [rw] agent_prompt
81
+ # The agent prompt for the agent turn in a test set.
82
+ # @return [String]
83
+ #
84
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AgentTurnSpecification AWS API Documentation
85
+ #
86
+ class AgentTurnSpecification < Struct.new(
87
+ :agent_prompt)
88
+ SENSITIVE = []
89
+ include Aws::Structure
90
+ end
91
+
29
92
  # Filters responses returned by the `ListAggregatedUtterances`
30
93
  # operation.
31
94
  #
@@ -610,6 +673,31 @@ module Aws::LexModelsV2
610
673
  include Aws::Structure
611
674
  end
612
675
 
676
+ # The target Amazon S3 location for the test set execution using a bot
677
+ # alias.
678
+ #
679
+ # @!attribute [rw] bot_id
680
+ # The bot Id of the bot alias used in the test set execution.
681
+ # @return [String]
682
+ #
683
+ # @!attribute [rw] bot_alias_id
684
+ # The bot alias Id of the bot alias used in the test set execution.
685
+ # @return [String]
686
+ #
687
+ # @!attribute [rw] locale_id
688
+ # The locale Id of the bot alias used in the test set execution.
689
+ # @return [String]
690
+ #
691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotAliasTestExecutionTarget AWS API Documentation
692
+ #
693
+ class BotAliasTestExecutionTarget < Struct.new(
694
+ :bot_id,
695
+ :bot_alias_id,
696
+ :locale_id)
697
+ SENSITIVE = []
698
+ include Aws::Structure
699
+ end
700
+
613
701
  # Provides the identity of a the bot that was exported.
614
702
  #
615
703
  # @!attribute [rw] bot_id
@@ -1508,6 +1596,140 @@ module Aws::LexModelsV2
1508
1596
  include Aws::Structure
1509
1597
  end
1510
1598
 
1599
+ # The item listing the evaluation of intent level success or failure.
1600
+ #
1601
+ # @!attribute [rw] intent_name
1602
+ # The intent name used in the evaluation of intent level success or
1603
+ # failure.
1604
+ # @return [String]
1605
+ #
1606
+ # @!attribute [rw] match_result
1607
+ # The number of times the specific intent is used in the evaluation of
1608
+ # intent level success or failure.
1609
+ # @return [String]
1610
+ #
1611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelIntentClassificationResultItem AWS API Documentation
1612
+ #
1613
+ class ConversationLevelIntentClassificationResultItem < Struct.new(
1614
+ :intent_name,
1615
+ :match_result)
1616
+ SENSITIVE = []
1617
+ include Aws::Structure
1618
+ end
1619
+
1620
+ # The conversation level details of the conversation used in the test
1621
+ # set.
1622
+ #
1623
+ # @!attribute [rw] end_to_end_result
1624
+ # The success or failure of the streaming of the conversation.
1625
+ # @return [String]
1626
+ #
1627
+ # @!attribute [rw] speech_transcription_result
1628
+ # The speech transcription success or failure details of the
1629
+ # conversation.
1630
+ # @return [String]
1631
+ #
1632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelResultDetail AWS API Documentation
1633
+ #
1634
+ class ConversationLevelResultDetail < Struct.new(
1635
+ :end_to_end_result,
1636
+ :speech_transcription_result)
1637
+ SENSITIVE = []
1638
+ include Aws::Structure
1639
+ end
1640
+
1641
+ # The slots used for the slot resolution in the conversation.
1642
+ #
1643
+ # @!attribute [rw] intent_name
1644
+ # The intents used in the slots list for the slot resolution details.
1645
+ # @return [String]
1646
+ #
1647
+ # @!attribute [rw] slot_name
1648
+ # The slot name in the slots list for the slot resolution details.
1649
+ # @return [String]
1650
+ #
1651
+ # @!attribute [rw] match_result
1652
+ # The number of matching slots used in the slots listings for the slot
1653
+ # resolution evaluation.
1654
+ # @return [String]
1655
+ #
1656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelSlotResolutionResultItem AWS API Documentation
1657
+ #
1658
+ class ConversationLevelSlotResolutionResultItem < Struct.new(
1659
+ :intent_name,
1660
+ :slot_name,
1661
+ :match_result)
1662
+ SENSITIVE = []
1663
+ include Aws::Structure
1664
+ end
1665
+
1666
+ # The test result evaluation item at the conversation level.
1667
+ #
1668
+ # @!attribute [rw] conversation_id
1669
+ # The conversation Id of the test result evaluation item.
1670
+ # @return [String]
1671
+ #
1672
+ # @!attribute [rw] end_to_end_result
1673
+ # The end-to-end success or failure of the test result evaluation
1674
+ # item.
1675
+ # @return [String]
1676
+ #
1677
+ # @!attribute [rw] speech_transcription_result
1678
+ # The speech transcription success or failure of the test result
1679
+ # evaluation item.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] intent_classification_results
1683
+ # The intent classification of the test result evaluation item.
1684
+ # @return [Array<Types::ConversationLevelIntentClassificationResultItem>]
1685
+ #
1686
+ # @!attribute [rw] slot_resolution_results
1687
+ # The slot success or failure of the test result evaluation item.
1688
+ # @return [Array<Types::ConversationLevelSlotResolutionResultItem>]
1689
+ #
1690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelTestResultItem AWS API Documentation
1691
+ #
1692
+ class ConversationLevelTestResultItem < Struct.new(
1693
+ :conversation_id,
1694
+ :end_to_end_result,
1695
+ :speech_transcription_result,
1696
+ :intent_classification_results,
1697
+ :slot_resolution_results)
1698
+ SENSITIVE = []
1699
+ include Aws::Structure
1700
+ end
1701
+
1702
+ # The test set results data at the conversation level.
1703
+ #
1704
+ # @!attribute [rw] items
1705
+ # The item list in the test set results data at the conversation
1706
+ # level.
1707
+ # @return [Array<Types::ConversationLevelTestResultItem>]
1708
+ #
1709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelTestResults AWS API Documentation
1710
+ #
1711
+ class ConversationLevelTestResults < Struct.new(
1712
+ :items)
1713
+ SENSITIVE = []
1714
+ include Aws::Structure
1715
+ end
1716
+
1717
+ # The selection to filter the test set results data at the conversation
1718
+ # level.
1719
+ #
1720
+ # @!attribute [rw] end_to_end_result
1721
+ # The selection of matched or mismatched end-to-end status to filter
1722
+ # test set results data at the conversation level.
1723
+ # @return [String]
1724
+ #
1725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLevelTestResultsFilterBy AWS API Documentation
1726
+ #
1727
+ class ConversationLevelTestResultsFilterBy < Struct.new(
1728
+ :end_to_end_result)
1729
+ SENSITIVE = []
1730
+ include Aws::Structure
1731
+ end
1732
+
1511
1733
  # Configures conversation logging that saves audio, text, and metadata
1512
1734
  # for the conversations with your users.
1513
1735
  #
@@ -1528,6 +1750,59 @@ module Aws::LexModelsV2
1528
1750
  include Aws::Structure
1529
1751
  end
1530
1752
 
1753
+ # The data source that uses conversation logs.
1754
+ #
1755
+ # @!attribute [rw] bot_id
1756
+ # The bot Id from the conversation logs.
1757
+ # @return [String]
1758
+ #
1759
+ # @!attribute [rw] bot_alias_id
1760
+ # The bot alias Id from the conversation logs.
1761
+ # @return [String]
1762
+ #
1763
+ # @!attribute [rw] locale_id
1764
+ # The locale Id of the conversation log.
1765
+ # @return [String]
1766
+ #
1767
+ # @!attribute [rw] filter
1768
+ # The filter for the data source of the conversation log.
1769
+ # @return [Types::ConversationLogsDataSourceFilterBy]
1770
+ #
1771
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLogsDataSource AWS API Documentation
1772
+ #
1773
+ class ConversationLogsDataSource < Struct.new(
1774
+ :bot_id,
1775
+ :bot_alias_id,
1776
+ :locale_id,
1777
+ :filter)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1782
+ # The selected data source to filter the conversation log.
1783
+ #
1784
+ # @!attribute [rw] start_time
1785
+ # The start time for the conversation log.
1786
+ # @return [Time]
1787
+ #
1788
+ # @!attribute [rw] end_time
1789
+ # The end time for the conversation log.
1790
+ # @return [Time]
1791
+ #
1792
+ # @!attribute [rw] input_mode
1793
+ # The selection to filter by input mode for the conversation logs.
1794
+ # @return [String]
1795
+ #
1796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ConversationLogsDataSourceFilterBy AWS API Documentation
1797
+ #
1798
+ class ConversationLogsDataSourceFilterBy < Struct.new(
1799
+ :start_time,
1800
+ :end_time,
1801
+ :input_mode)
1802
+ SENSITIVE = []
1803
+ include Aws::Structure
1804
+ end
1805
+
1531
1806
  # @!attribute [rw] bot_alias_name
1532
1807
  # The alias to create. The name must be unique for the bot.
1533
1808
  # @return [String]
@@ -2166,8 +2441,7 @@ module Aws::LexModelsV2
2166
2441
  # @return [String]
2167
2442
  #
2168
2443
  # @!attribute [rw] bot_version
2169
- # The identifier of the version of the bot associated with this
2170
- # intent.
2444
+ # The version of the bot associated with this intent.
2171
2445
  # @return [String]
2172
2446
  #
2173
2447
  # @!attribute [rw] locale_id
@@ -2261,7 +2535,7 @@ module Aws::LexModelsV2
2261
2535
  # @return [String]
2262
2536
  #
2263
2537
  # @!attribute [rw] bot_version
2264
- # The identifier of the version of the bot associated with the intent.
2538
+ # The version of the bot associated with the intent.
2265
2539
  # @return [String]
2266
2540
  #
2267
2541
  # @!attribute [rw] locale_id
@@ -2372,9 +2646,10 @@ module Aws::LexModelsV2
2372
2646
  # @return [String]
2373
2647
  #
2374
2648
  # @!attribute [rw] principal
2375
- # An IAM principal, such as an IAM users, IAM roles, or AWS services
2376
- # that is allowed or denied access to a resource. For more
2377
- # information, see [AWS JSON policy elements: Principal][1].
2649
+ # An IAM principal, such as an IAM user, IAM role, or Amazon Web
2650
+ # Services services that is allowed or denied access to a resource.
2651
+ # For more information, see [Amazon Web Services JSON policy elements:
2652
+ # Principal][1].
2378
2653
  #
2379
2654
  #
2380
2655
  #
@@ -2505,8 +2780,8 @@ module Aws::LexModelsV2
2505
2780
  #
2506
2781
  # @!attribute [rw] multiple_values_setting
2507
2782
  # Indicates whether the slot returns multiple values in one response.
2508
- # Multi-value slots are only available in the en-US locale. If you set
2509
- # this value to `true` in any other locale, Amazon Lex throws a
2783
+ # Multi-value slots are only available in the `en-US` locale. If you
2784
+ # set this value to `true` in any other locale, Amazon Lex throws a
2510
2785
  # `ValidationException`.
2511
2786
  #
2512
2787
  # If the `multipleValuesSetting` is not set, the default value is
@@ -2613,7 +2888,7 @@ module Aws::LexModelsV2
2613
2888
 
2614
2889
  # @!attribute [rw] slot_type_name
2615
2890
  # The name for the slot. A slot type name must be unique within the
2616
- # account.
2891
+ # intent.
2617
2892
  # @return [String]
2618
2893
  #
2619
2894
  # @!attribute [rw] description
@@ -2633,15 +2908,15 @@ module Aws::LexModelsV2
2633
2908
  # the list of possible values. The field can be set to one of the
2634
2909
  # following values:
2635
2910
  #
2636
- # * `OriginalValue` - Returns the value entered by the user, if the
2911
+ # * `ORIGINAL_VALUE` - Returns the value entered by the user, if the
2637
2912
  # user value is similar to the slot value.
2638
2913
  #
2639
- # * `TopResolution` - If there is a resolution list for the slot,
2914
+ # * `TOP_RESOLUTION` - If there is a resolution list for the slot,
2640
2915
  # return the first value in the resolution list. If there is no
2641
2916
  # resolution list, return null.
2642
2917
  #
2643
2918
  # If you don't specify the `valueSelectionSetting` parameter, the
2644
- # default is `OriginalValue`.
2919
+ # default is `ORIGINAL_VALUE`.
2645
2920
  # @return [Types::SlotValueSelectionSetting]
2646
2921
  #
2647
2922
  # @!attribute [rw] parent_slot_type_signature
@@ -2766,6 +3041,51 @@ module Aws::LexModelsV2
2766
3041
  include Aws::Structure
2767
3042
  end
2768
3043
 
3044
+ # @!attribute [rw] test_set_id
3045
+ # The test set Id for the test set discrepancy report.
3046
+ # @return [String]
3047
+ #
3048
+ # @!attribute [rw] target
3049
+ # The target bot for the test set discrepancy report.
3050
+ # @return [Types::TestSetDiscrepancyReportResourceTarget]
3051
+ #
3052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReportRequest AWS API Documentation
3053
+ #
3054
+ class CreateTestSetDiscrepancyReportRequest < Struct.new(
3055
+ :test_set_id,
3056
+ :target)
3057
+ SENSITIVE = []
3058
+ include Aws::Structure
3059
+ end
3060
+
3061
+ # @!attribute [rw] test_set_discrepancy_report_id
3062
+ # The unique identifier of the test set discrepancy report to
3063
+ # describe.
3064
+ # @return [String]
3065
+ #
3066
+ # @!attribute [rw] creation_date_time
3067
+ # The creation date and time for the test set discrepancy report.
3068
+ # @return [Time]
3069
+ #
3070
+ # @!attribute [rw] test_set_id
3071
+ # The test set Id for the test set discrepancy report.
3072
+ # @return [String]
3073
+ #
3074
+ # @!attribute [rw] target
3075
+ # The target bot for the test set discrepancy report.
3076
+ # @return [Types::TestSetDiscrepancyReportResourceTarget]
3077
+ #
3078
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateTestSetDiscrepancyReportResponse AWS API Documentation
3079
+ #
3080
+ class CreateTestSetDiscrepancyReportResponse < Struct.new(
3081
+ :test_set_discrepancy_report_id,
3082
+ :creation_date_time,
3083
+ :test_set_id,
3084
+ :target)
3085
+ SENSITIVE = []
3086
+ include Aws::Structure
3087
+ end
3088
+
2769
3089
  # @api private
2770
3090
  #
2771
3091
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrlRequest AWS API Documentation
@@ -2973,7 +3293,7 @@ module Aws::LexModelsV2
2973
3293
  #
2974
3294
  #
2975
3295
  #
2976
- # [1]: https://aws.amazon.com/lex/faqs#data-security
3296
+ # [1]: http://aws.amazon.com/lex/faqs#data-security
2977
3297
  # @return [Boolean]
2978
3298
  #
2979
3299
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DataPrivacy AWS API Documentation
@@ -3554,6 +3874,18 @@ module Aws::LexModelsV2
3554
3874
  include Aws::Structure
3555
3875
  end
3556
3876
 
3877
+ # @!attribute [rw] test_set_id
3878
+ # The test set Id of the test set to be deleted.
3879
+ # @return [String]
3880
+ #
3881
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteTestSetRequest AWS API Documentation
3882
+ #
3883
+ class DeleteTestSetRequest < Struct.new(
3884
+ :test_set_id)
3885
+ SENSITIVE = []
3886
+ include Aws::Structure
3887
+ end
3888
+
3557
3889
  # @!attribute [rw] bot_id
3558
3890
  # The unique identifier of the bot that contains the utterances.
3559
3891
  # @return [String]
@@ -3691,7 +4023,7 @@ module Aws::LexModelsV2
3691
4023
  # @return [String]
3692
4024
  #
3693
4025
  # @!attribute [rw] bot_version
3694
- # The identifier of the version of the bot associated with the locale.
4026
+ # The version of the bot associated with the locale.
3695
4027
  # @return [String]
3696
4028
  #
3697
4029
  # @!attribute [rw] locale_id
@@ -3719,7 +4051,7 @@ module Aws::LexModelsV2
3719
4051
  # @return [String]
3720
4052
  #
3721
4053
  # @!attribute [rw] bot_version
3722
- # The identifier of the version of the bot associated with the locale.
4054
+ # The version of the bot associated with the locale.
3723
4055
  # @return [String]
3724
4056
  #
3725
4057
  # @!attribute [rw] locale_id
@@ -4401,6 +4733,8 @@ module Aws::LexModelsV2
4401
4733
  # @return [Time]
4402
4734
  #
4403
4735
  # @!attribute [rw] initial_response_setting
4736
+ # Configuration setting for a response sent to the user before Amazon
4737
+ # Lex starts eliciting slots.
4404
4738
  # @return [Types::InitialResponseSetting]
4405
4739
  #
4406
4740
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntentResponse AWS API Documentation
@@ -4705,77 +5039,363 @@ module Aws::LexModelsV2
4705
5039
  include Aws::Structure
4706
5040
  end
4707
5041
 
4708
- # Defines the action that the bot executes at runtime when the
4709
- # conversation reaches this step.
4710
- #
4711
- # @!attribute [rw] type
4712
- # The action that the bot should execute.
4713
- # @return [String]
4714
- #
4715
- # @!attribute [rw] slot_to_elicit
4716
- # If the dialog action is `ElicitSlot`, defines the slot to elicit
4717
- # from the user.
5042
+ # @!attribute [rw] test_execution_id
5043
+ # The execution Id of the test set execution.
4718
5044
  # @return [String]
4719
5045
  #
4720
- # @!attribute [rw] suppress_next_message
4721
- # When true the next message for the intent is not used.
4722
- # @return [Boolean]
4723
- #
4724
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogAction AWS API Documentation
5046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestExecutionRequest AWS API Documentation
4725
5047
  #
4726
- class DialogAction < Struct.new(
4727
- :type,
4728
- :slot_to_elicit,
4729
- :suppress_next_message)
5048
+ class DescribeTestExecutionRequest < Struct.new(
5049
+ :test_execution_id)
4730
5050
  SENSITIVE = []
4731
5051
  include Aws::Structure
4732
5052
  end
4733
5053
 
4734
- # Settings that specify the dialog code hook that is called by Amazon
4735
- # Lex at a step of the conversation.
5054
+ # @!attribute [rw] test_execution_id
5055
+ # The execution Id for the test set execution.
5056
+ # @return [String]
4736
5057
  #
4737
- # @!attribute [rw] enable_code_hook_invocation
4738
- # Indicates whether a Lambda function should be invoked for the
4739
- # dialog.
4740
- # @return [Boolean]
5058
+ # @!attribute [rw] creation_date_time
5059
+ # The execution creation date and time for the test set execution.
5060
+ # @return [Time]
4741
5061
  #
4742
- # @!attribute [rw] active
4743
- # Determines whether a dialog code hook is used when the intent is
4744
- # activated.
4745
- # @return [Boolean]
5062
+ # @!attribute [rw] last_updated_date_time
5063
+ # The date and time of the last update for the execution.
5064
+ # @return [Time]
4746
5065
  #
4747
- # @!attribute [rw] invocation_label
4748
- # A label that indicates the dialog step from which the dialog code
4749
- # hook is happening.
5066
+ # @!attribute [rw] test_execution_status
5067
+ # The test execution status for the test execution.
4750
5068
  # @return [String]
4751
5069
  #
4752
- # @!attribute [rw] post_code_hook_specification
4753
- # Contains the responses and actions that Amazon Lex takes after the
4754
- # Lambda function is complete.
4755
- # @return [Types::PostDialogCodeHookInvocationSpecification]
5070
+ # @!attribute [rw] test_set_id
5071
+ # The test set Id for the test set execution.
5072
+ # @return [String]
4756
5073
  #
4757
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookInvocationSetting AWS API Documentation
5074
+ # @!attribute [rw] test_set_name
5075
+ # The test set name of the test set execution.
5076
+ # @return [String]
4758
5077
  #
4759
- class DialogCodeHookInvocationSetting < Struct.new(
4760
- :enable_code_hook_invocation,
4761
- :active,
4762
- :invocation_label,
4763
- :post_code_hook_specification)
5078
+ # @!attribute [rw] target
5079
+ # The target bot for the test set execution details.
5080
+ # @return [Types::TestExecutionTarget]
5081
+ #
5082
+ # @!attribute [rw] api_mode
5083
+ # Indicates whether we use streaming or non-streaming APIs are used
5084
+ # for the test set execution. For streaming, `StartConversation`
5085
+ # Amazon Lex Runtime API is used. Whereas for non-streaming,
5086
+ # `RecognizeUtterance` and `RecognizeText` Amazon Lex Runtime API is
5087
+ # used.
5088
+ # @return [String]
5089
+ #
5090
+ # @!attribute [rw] test_execution_modality
5091
+ # Indicates whether test set is audio or text.
5092
+ # @return [String]
5093
+ #
5094
+ # @!attribute [rw] failure_reasons
5095
+ # Reasons for the failure of the test set execution.
5096
+ # @return [Array<String>]
5097
+ #
5098
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestExecutionResponse AWS API Documentation
5099
+ #
5100
+ class DescribeTestExecutionResponse < Struct.new(
5101
+ :test_execution_id,
5102
+ :creation_date_time,
5103
+ :last_updated_date_time,
5104
+ :test_execution_status,
5105
+ :test_set_id,
5106
+ :test_set_name,
5107
+ :target,
5108
+ :api_mode,
5109
+ :test_execution_modality,
5110
+ :failure_reasons)
4764
5111
  SENSITIVE = []
4765
5112
  include Aws::Structure
4766
5113
  end
4767
5114
 
4768
- # Settings that determine the Lambda function that Amazon Lex uses for
4769
- # processing user responses.
4770
- #
4771
- # @!attribute [rw] enabled
4772
- # Enables the dialog code hook so that it processes user requests.
4773
- # @return [Boolean]
5115
+ # @!attribute [rw] test_set_discrepancy_report_id
5116
+ # The unique identifier of the test set discrepancy report.
5117
+ # @return [String]
4774
5118
  #
4775
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookSettings AWS API Documentation
5119
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetDiscrepancyReportRequest AWS API Documentation
4776
5120
  #
4777
- class DialogCodeHookSettings < Struct.new(
4778
- :enabled)
5121
+ class DescribeTestSetDiscrepancyReportRequest < Struct.new(
5122
+ :test_set_discrepancy_report_id)
5123
+ SENSITIVE = []
5124
+ include Aws::Structure
5125
+ end
5126
+
5127
+ # @!attribute [rw] test_set_discrepancy_report_id
5128
+ # The unique identifier of the test set discrepancy report to
5129
+ # describe.
5130
+ # @return [String]
5131
+ #
5132
+ # @!attribute [rw] test_set_id
5133
+ # The test set Id for the test set discrepancy report.
5134
+ # @return [String]
5135
+ #
5136
+ # @!attribute [rw] creation_date_time
5137
+ # The time and date of creation for the test set discrepancy report.
5138
+ # @return [Time]
5139
+ #
5140
+ # @!attribute [rw] target
5141
+ # The target bot location for the test set discrepancy report.
5142
+ # @return [Types::TestSetDiscrepancyReportResourceTarget]
5143
+ #
5144
+ # @!attribute [rw] test_set_discrepancy_report_status
5145
+ # The status for the test set discrepancy report.
5146
+ # @return [String]
5147
+ #
5148
+ # @!attribute [rw] last_updated_data_time
5149
+ # The date and time of the last update for the test set discrepancy
5150
+ # report.
5151
+ # @return [Time]
5152
+ #
5153
+ # @!attribute [rw] test_set_discrepancy_top_errors
5154
+ # The top 200 error results from the test set discrepancy report.
5155
+ # @return [Types::TestSetDiscrepancyErrors]
5156
+ #
5157
+ # @!attribute [rw] test_set_discrepancy_raw_output_url
5158
+ # Pre-signed Amazon S3 URL to download the test set discrepancy
5159
+ # report.
5160
+ # @return [String]
5161
+ #
5162
+ # @!attribute [rw] failure_reasons
5163
+ # The failure report for the test set discrepancy report generation
5164
+ # action.
5165
+ # @return [Array<String>]
5166
+ #
5167
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetDiscrepancyReportResponse AWS API Documentation
5168
+ #
5169
+ class DescribeTestSetDiscrepancyReportResponse < Struct.new(
5170
+ :test_set_discrepancy_report_id,
5171
+ :test_set_id,
5172
+ :creation_date_time,
5173
+ :target,
5174
+ :test_set_discrepancy_report_status,
5175
+ :last_updated_data_time,
5176
+ :test_set_discrepancy_top_errors,
5177
+ :test_set_discrepancy_raw_output_url,
5178
+ :failure_reasons)
5179
+ SENSITIVE = []
5180
+ include Aws::Structure
5181
+ end
5182
+
5183
+ # @!attribute [rw] test_set_generation_id
5184
+ # The unique identifier of the test set generation.
5185
+ # @return [String]
5186
+ #
5187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetGenerationRequest AWS API Documentation
5188
+ #
5189
+ class DescribeTestSetGenerationRequest < Struct.new(
5190
+ :test_set_generation_id)
5191
+ SENSITIVE = []
5192
+ include Aws::Structure
5193
+ end
5194
+
5195
+ # @!attribute [rw] test_set_generation_id
5196
+ # The unique identifier of the test set generation.
5197
+ # @return [String]
5198
+ #
5199
+ # @!attribute [rw] test_set_generation_status
5200
+ # The status for the test set generation.
5201
+ # @return [String]
5202
+ #
5203
+ # @!attribute [rw] failure_reasons
5204
+ # The reasons the test set generation failed.
5205
+ # @return [Array<String>]
5206
+ #
5207
+ # @!attribute [rw] test_set_id
5208
+ # The unique identifier for the test set created for the generated
5209
+ # test set.
5210
+ # @return [String]
5211
+ #
5212
+ # @!attribute [rw] test_set_name
5213
+ # The test set name for the generated test set.
5214
+ # @return [String]
5215
+ #
5216
+ # @!attribute [rw] description
5217
+ # The test set description for the test set generation.
5218
+ # @return [String]
5219
+ #
5220
+ # @!attribute [rw] storage_location
5221
+ # The Amazon S3 storage location for the test set generation.
5222
+ # @return [Types::TestSetStorageLocation]
5223
+ #
5224
+ # @!attribute [rw] generation_data_source
5225
+ # The data source of the test set used for the test set generation.
5226
+ # @return [Types::TestSetGenerationDataSource]
5227
+ #
5228
+ # @!attribute [rw] role_arn
5229
+ # The roleARN of the test set used for the test set generation.
5230
+ # @return [String]
5231
+ #
5232
+ # @!attribute [rw] creation_date_time
5233
+ # The creation date and time for the test set generation.
5234
+ # @return [Time]
5235
+ #
5236
+ # @!attribute [rw] last_updated_date_time
5237
+ # The date and time of the last update for the test set generation.
5238
+ # @return [Time]
5239
+ #
5240
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetGenerationResponse AWS API Documentation
5241
+ #
5242
+ class DescribeTestSetGenerationResponse < Struct.new(
5243
+ :test_set_generation_id,
5244
+ :test_set_generation_status,
5245
+ :failure_reasons,
5246
+ :test_set_id,
5247
+ :test_set_name,
5248
+ :description,
5249
+ :storage_location,
5250
+ :generation_data_source,
5251
+ :role_arn,
5252
+ :creation_date_time,
5253
+ :last_updated_date_time)
5254
+ SENSITIVE = []
5255
+ include Aws::Structure
5256
+ end
5257
+
5258
+ # @!attribute [rw] test_set_id
5259
+ # The test set Id for the test set request.
5260
+ # @return [String]
5261
+ #
5262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetRequest AWS API Documentation
5263
+ #
5264
+ class DescribeTestSetRequest < Struct.new(
5265
+ :test_set_id)
5266
+ SENSITIVE = []
5267
+ include Aws::Structure
5268
+ end
5269
+
5270
+ # @!attribute [rw] test_set_id
5271
+ # The test set Id for the test set response.
5272
+ # @return [String]
5273
+ #
5274
+ # @!attribute [rw] test_set_name
5275
+ # The test set name of the test set.
5276
+ # @return [String]
5277
+ #
5278
+ # @!attribute [rw] description
5279
+ # The description of the test set.
5280
+ # @return [String]
5281
+ #
5282
+ # @!attribute [rw] modality
5283
+ # Indicates whether the test set is audio or text data.
5284
+ # @return [String]
5285
+ #
5286
+ # @!attribute [rw] status
5287
+ # The status of the test set.
5288
+ # @return [String]
5289
+ #
5290
+ # @!attribute [rw] role_arn
5291
+ # The roleARN used for any operation in the test set to access
5292
+ # resources in the Amazon Web Services account.
5293
+ # @return [String]
5294
+ #
5295
+ # @!attribute [rw] num_turns
5296
+ # The total number of agent and user turn in the test set.
5297
+ # @return [Integer]
5298
+ #
5299
+ # @!attribute [rw] storage_location
5300
+ # The Amazon S3 storage location for the test set data.
5301
+ # @return [Types::TestSetStorageLocation]
5302
+ #
5303
+ # @!attribute [rw] creation_date_time
5304
+ # The creation date and time for the test set data.
5305
+ # @return [Time]
5306
+ #
5307
+ # @!attribute [rw] last_updated_date_time
5308
+ # The date and time for the last update of the test set data.
5309
+ # @return [Time]
5310
+ #
5311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeTestSetResponse AWS API Documentation
5312
+ #
5313
+ class DescribeTestSetResponse < Struct.new(
5314
+ :test_set_id,
5315
+ :test_set_name,
5316
+ :description,
5317
+ :modality,
5318
+ :status,
5319
+ :role_arn,
5320
+ :num_turns,
5321
+ :storage_location,
5322
+ :creation_date_time,
5323
+ :last_updated_date_time)
5324
+ SENSITIVE = []
5325
+ include Aws::Structure
5326
+ end
5327
+
5328
+ # Defines the action that the bot executes at runtime when the
5329
+ # conversation reaches this step.
5330
+ #
5331
+ # @!attribute [rw] type
5332
+ # The action that the bot should execute.
5333
+ # @return [String]
5334
+ #
5335
+ # @!attribute [rw] slot_to_elicit
5336
+ # If the dialog action is `ElicitSlot`, defines the slot to elicit
5337
+ # from the user.
5338
+ # @return [String]
5339
+ #
5340
+ # @!attribute [rw] suppress_next_message
5341
+ # When true the next message for the intent is not used.
5342
+ # @return [Boolean]
5343
+ #
5344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogAction AWS API Documentation
5345
+ #
5346
+ class DialogAction < Struct.new(
5347
+ :type,
5348
+ :slot_to_elicit,
5349
+ :suppress_next_message)
5350
+ SENSITIVE = []
5351
+ include Aws::Structure
5352
+ end
5353
+
5354
+ # Settings that specify the dialog code hook that is called by Amazon
5355
+ # Lex at a step of the conversation.
5356
+ #
5357
+ # @!attribute [rw] enable_code_hook_invocation
5358
+ # Indicates whether a Lambda function should be invoked for the
5359
+ # dialog.
5360
+ # @return [Boolean]
5361
+ #
5362
+ # @!attribute [rw] active
5363
+ # Determines whether a dialog code hook is used when the intent is
5364
+ # activated.
5365
+ # @return [Boolean]
5366
+ #
5367
+ # @!attribute [rw] invocation_label
5368
+ # A label that indicates the dialog step from which the dialog code
5369
+ # hook is happening.
5370
+ # @return [String]
5371
+ #
5372
+ # @!attribute [rw] post_code_hook_specification
5373
+ # Contains the responses and actions that Amazon Lex takes after the
5374
+ # Lambda function is complete.
5375
+ # @return [Types::PostDialogCodeHookInvocationSpecification]
5376
+ #
5377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookInvocationSetting AWS API Documentation
5378
+ #
5379
+ class DialogCodeHookInvocationSetting < Struct.new(
5380
+ :enable_code_hook_invocation,
5381
+ :active,
5382
+ :invocation_label,
5383
+ :post_code_hook_specification)
5384
+ SENSITIVE = []
5385
+ include Aws::Structure
5386
+ end
5387
+
5388
+ # Settings that determine the Lambda function that Amazon Lex uses for
5389
+ # processing user responses.
5390
+ #
5391
+ # @!attribute [rw] enabled
5392
+ # Enables the dialog code hook so that it processes user requests.
5393
+ # @return [Boolean]
5394
+ #
5395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookSettings AWS API Documentation
5396
+ #
5397
+ class DialogCodeHookSettings < Struct.new(
5398
+ :enabled)
4779
5399
  SENSITIVE = []
4780
5400
  include Aws::Structure
4781
5401
  end
@@ -4857,6 +5477,25 @@ module Aws::LexModelsV2
4857
5477
  include Aws::Structure
4858
5478
  end
4859
5479
 
5480
+ # Details about an error in an execution of a test set.
5481
+ #
5482
+ # @!attribute [rw] error_code
5483
+ # The error code for the error.
5484
+ # @return [String]
5485
+ #
5486
+ # @!attribute [rw] error_message
5487
+ # The message describing the error.
5488
+ # @return [String]
5489
+ #
5490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExecutionErrorDetails AWS API Documentation
5491
+ #
5492
+ class ExecutionErrorDetails < Struct.new(
5493
+ :error_code,
5494
+ :error_message)
5495
+ SENSITIVE = []
5496
+ include Aws::Structure
5497
+ end
5498
+
4860
5499
  # Filters the response form the [ListExports][1] operation
4861
5500
  #
4862
5501
  #
@@ -4905,12 +5544,17 @@ module Aws::LexModelsV2
4905
5544
  # The parameters required to export a custom vocabulary.
4906
5545
  # @return [Types::CustomVocabularyExportSpecification]
4907
5546
  #
5547
+ # @!attribute [rw] test_set_export_specification
5548
+ # Specifications for the test set that is exported as a resource.
5549
+ # @return [Types::TestSetExportSpecification]
5550
+ #
4908
5551
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
4909
5552
  #
4910
5553
  class ExportResourceSpecification < Struct.new(
4911
5554
  :bot_export_specification,
4912
5555
  :bot_locale_export_specification,
4913
- :custom_vocabulary_export_specification)
5556
+ :custom_vocabulary_export_specification,
5557
+ :test_set_export_specification)
4914
5558
  SENSITIVE = []
4915
5559
  include Aws::Structure
4916
5560
  end
@@ -5064,8 +5708,8 @@ module Aws::LexModelsV2
5064
5708
  # @return [Integer]
5065
5709
  #
5066
5710
  # @!attribute [rw] message_groups
5067
- # One to 5 message groups that contain start messages. Amazon Lex
5068
- # chooses one of the messages to play to the user.
5711
+ # 1 - 5 message groups that contain start messages. Amazon Lex chooses
5712
+ # one of the messages to play to the user.
5069
5713
  # @return [Array<Types::MessageGroup>]
5070
5714
  #
5071
5715
  # @!attribute [rw] allow_interrupt
@@ -5094,7 +5738,7 @@ module Aws::LexModelsV2
5094
5738
  # @return [Integer]
5095
5739
  #
5096
5740
  # @!attribute [rw] message_groups
5097
- # One to 5 message groups that contain update messages. Amazon Lex
5741
+ # 1 - 5 message groups that contain update messages. Amazon Lex
5098
5742
  # chooses one of the messages to play to the user.
5099
5743
  # @return [Array<Types::MessageGroup>]
5100
5744
  #
@@ -5150,6 +5794,35 @@ module Aws::LexModelsV2
5150
5794
  include Aws::Structure
5151
5795
  end
5152
5796
 
5797
+ # @!attribute [rw] test_execution_id
5798
+ # The unique identifier of the completed test execution.
5799
+ # @return [String]
5800
+ #
5801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GetTestExecutionArtifactsUrlRequest AWS API Documentation
5802
+ #
5803
+ class GetTestExecutionArtifactsUrlRequest < Struct.new(
5804
+ :test_execution_id)
5805
+ SENSITIVE = []
5806
+ include Aws::Structure
5807
+ end
5808
+
5809
+ # @!attribute [rw] test_execution_id
5810
+ # The unique identifier of the completed test execution.
5811
+ # @return [String]
5812
+ #
5813
+ # @!attribute [rw] download_artifacts_url
5814
+ # The pre-signed Amazon S3 URL to download completed test execution.
5815
+ # @return [String]
5816
+ #
5817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GetTestExecutionArtifactsUrlResponse AWS API Documentation
5818
+ #
5819
+ class GetTestExecutionArtifactsUrlResponse < Struct.new(
5820
+ :test_execution_id,
5821
+ :download_artifacts_url)
5822
+ SENSITIVE = []
5823
+ include Aws::Structure
5824
+ end
5825
+
5153
5826
  # Settings requried for a slot type based on a grammar that you provide.
5154
5827
  #
5155
5828
  # @!attribute [rw] source
@@ -5168,16 +5841,15 @@ module Aws::LexModelsV2
5168
5841
  # is the source for the slot type.
5169
5842
  #
5170
5843
  # @!attribute [rw] s3_bucket_name
5171
- # The name of the S3 bucket that contains the grammar source.
5844
+ # The name of the Amazon S3 bucket that contains the grammar source.
5172
5845
  # @return [String]
5173
5846
  #
5174
5847
  # @!attribute [rw] s3_object_key
5175
- # The path to the grammar in the S3 bucket.
5848
+ # The path to the grammar in the Amazon S3 bucket.
5176
5849
  # @return [String]
5177
5850
  #
5178
5851
  # @!attribute [rw] kms_key_arn
5179
- # The Amazon KMS key required to decrypt the contents of the grammar,
5180
- # if any.
5852
+ # The KMS key required to decrypt the contents of the grammar, if any.
5181
5853
  # @return [String]
5182
5854
  #
5183
5855
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSource AWS API Documentation
@@ -5277,12 +5949,17 @@ module Aws::LexModelsV2
5277
5949
  # Provides the parameters required for importing a custom vocabulary.
5278
5950
  # @return [Types::CustomVocabularyImportSpecification]
5279
5951
  #
5952
+ # @!attribute [rw] test_set_import_resource_specification
5953
+ # Specifications for the test set that is imported.
5954
+ # @return [Types::TestSetImportResourceSpecification]
5955
+ #
5280
5956
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportResourceSpecification AWS API Documentation
5281
5957
  #
5282
5958
  class ImportResourceSpecification < Struct.new(
5283
5959
  :bot_import_specification,
5284
5960
  :bot_locale_import_specification,
5285
- :custom_vocabulary_import_specification)
5961
+ :custom_vocabulary_import_specification,
5962
+ :test_set_import_resource_specification)
5286
5963
  SENSITIVE = []
5287
5964
  include Aws::Structure
5288
5965
  end
@@ -5395,8 +6072,8 @@ module Aws::LexModelsV2
5395
6072
  include Aws::Structure
5396
6073
  end
5397
6074
 
5398
- # The name of a context that must be active for an intent to be selected
5399
- # by Amazon Lex.
6075
+ # A context that must be active for an intent to be selected by Amazon
6076
+ # Lex.
5400
6077
  #
5401
6078
  # @!attribute [rw] name
5402
6079
  # The name of the context.
@@ -5410,6 +6087,95 @@ module Aws::LexModelsV2
5410
6087
  include Aws::Structure
5411
6088
  end
5412
6089
 
6090
+ # Specifications for the current state of the dialog between the user
6091
+ # and the bot in the test set.
6092
+ #
6093
+ # @!attribute [rw] session_attributes
6094
+ # Session attributes for the session state.
6095
+ # @return [Hash<String,String>]
6096
+ #
6097
+ # @!attribute [rw] active_contexts
6098
+ # Active contexts for the session state.
6099
+ # @return [Array<Types::ActiveContext>]
6100
+ #
6101
+ # @!attribute [rw] runtime_hints
6102
+ # Runtime hints for the session state.
6103
+ # @return [Types::RuntimeHints]
6104
+ #
6105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/InputSessionStateSpecification AWS API Documentation
6106
+ #
6107
+ class InputSessionStateSpecification < Struct.new(
6108
+ :session_attributes,
6109
+ :active_contexts,
6110
+ :runtime_hints)
6111
+ SENSITIVE = []
6112
+ include Aws::Structure
6113
+ end
6114
+
6115
+ # Information for an intent that is classified by the test workbench.
6116
+ #
6117
+ # @!attribute [rw] intent_name
6118
+ # The name of the intent.
6119
+ # @return [String]
6120
+ #
6121
+ # @!attribute [rw] multi_turn_conversation
6122
+ # Indicates whether the conversation involves multiple turns or not.
6123
+ # @return [Boolean]
6124
+ #
6125
+ # @!attribute [rw] result_counts
6126
+ # The result of the intent classification test.
6127
+ # @return [Types::IntentClassificationTestResultItemCounts]
6128
+ #
6129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClassificationTestResultItem AWS API Documentation
6130
+ #
6131
+ class IntentClassificationTestResultItem < Struct.new(
6132
+ :intent_name,
6133
+ :multi_turn_conversation,
6134
+ :result_counts)
6135
+ SENSITIVE = []
6136
+ include Aws::Structure
6137
+ end
6138
+
6139
+ # The number of items in the intent classification test.
6140
+ #
6141
+ # @!attribute [rw] total_result_count
6142
+ # The total number of results in the intent classification test.
6143
+ # @return [Integer]
6144
+ #
6145
+ # @!attribute [rw] speech_transcription_result_counts
6146
+ # The number of matched, mismatched, and execution error results for
6147
+ # speech transcription for the intent.
6148
+ # @return [Hash<String,Integer>]
6149
+ #
6150
+ # @!attribute [rw] intent_match_result_counts
6151
+ # The number of matched and mismatched results for intent recognition
6152
+ # for the intent.
6153
+ # @return [Hash<String,Integer>]
6154
+ #
6155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClassificationTestResultItemCounts AWS API Documentation
6156
+ #
6157
+ class IntentClassificationTestResultItemCounts < Struct.new(
6158
+ :total_result_count,
6159
+ :speech_transcription_result_counts,
6160
+ :intent_match_result_counts)
6161
+ SENSITIVE = []
6162
+ include Aws::Structure
6163
+ end
6164
+
6165
+ # Information for the results of the intent classification test.
6166
+ #
6167
+ # @!attribute [rw] items
6168
+ # A list of the results for the intent classification test.
6169
+ # @return [Array<Types::IntentClassificationTestResultItem>]
6170
+ #
6171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClassificationTestResults AWS API Documentation
6172
+ #
6173
+ class IntentClassificationTestResults < Struct.new(
6174
+ :items)
6175
+ SENSITIVE = []
6176
+ include Aws::Structure
6177
+ end
6178
+
5413
6179
  # Provides a statement the Amazon Lex conveys to the user when the
5414
6180
  # intent is successfully fulfilled.
5415
6181
  #
@@ -5578,6 +6344,44 @@ module Aws::LexModelsV2
5578
6344
  include Aws::Structure
5579
6345
  end
5580
6346
 
6347
+ # Information about intent-level slot resolution in a test result.
6348
+ #
6349
+ # @!attribute [rw] intent_name
6350
+ # The name of the intent that was recognized.
6351
+ # @return [String]
6352
+ #
6353
+ # @!attribute [rw] multi_turn_conversation
6354
+ # Indicates whether the conversation involves multiple turns or not.
6355
+ # @return [Boolean]
6356
+ #
6357
+ # @!attribute [rw] slot_resolution_results
6358
+ # The results for the slot resolution in the test execution result.
6359
+ # @return [Array<Types::SlotResolutionTestResultItem>]
6360
+ #
6361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentLevelSlotResolutionTestResultItem AWS API Documentation
6362
+ #
6363
+ class IntentLevelSlotResolutionTestResultItem < Struct.new(
6364
+ :intent_name,
6365
+ :multi_turn_conversation,
6366
+ :slot_resolution_results)
6367
+ SENSITIVE = []
6368
+ include Aws::Structure
6369
+ end
6370
+
6371
+ # Indicates the success or failure of slots at the intent level.
6372
+ #
6373
+ # @!attribute [rw] items
6374
+ # Indicates the items for the slot level resolution for the intents.
6375
+ # @return [Array<Types::IntentLevelSlotResolutionTestResultItem>]
6376
+ #
6377
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentLevelSlotResolutionTestResults AWS API Documentation
6378
+ #
6379
+ class IntentLevelSlotResolutionTestResults < Struct.new(
6380
+ :items)
6381
+ SENSITIVE = []
6382
+ include Aws::Structure
6383
+ end
6384
+
5581
6385
  # Override settings to configure the intent state.
5582
6386
  #
5583
6387
  # @!attribute [rw] name
@@ -5588,7 +6392,7 @@ module Aws::LexModelsV2
5588
6392
  # @!attribute [rw] slots
5589
6393
  # A map of all of the slot value overrides for the intent. The name of
5590
6394
  # the slot maps to the value of the slot. Slots that are not included
5591
- # in the map aren't overridden.,
6395
+ # in the map aren't overridden.
5592
6396
  # @return [Hash<String,Types::SlotValueOverride>]
5593
6397
  #
5594
6398
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentOverride AWS API Documentation
@@ -5699,19 +6503,19 @@ module Aws::LexModelsV2
5699
6503
  include Aws::Structure
5700
6504
  end
5701
6505
 
5702
- # Provides configuration information for the AMAZON.KendraSearchIntent
6506
+ # Provides configuration information for the `AMAZON.KendraSearchIntent`
5703
6507
  # intent. When you use this intent, Amazon Lex searches the specified
5704
6508
  # Amazon Kendra index and returns documents from the index that match
5705
6509
  # the user's utterance.
5706
6510
  #
5707
6511
  # @!attribute [rw] kendra_index
5708
6512
  # The Amazon Resource Name (ARN) of the Amazon Kendra index that you
5709
- # want the AMAZON.KendraSearchIntent intent to search. The index must
5710
- # be in the same account and Region as the Amazon Lex bot.
6513
+ # want the `AMAZON.KendraSearchIntent` intent to search. The index
6514
+ # must be in the same account and Region as the Amazon Lex bot.
5711
6515
  # @return [String]
5712
6516
  #
5713
6517
  # @!attribute [rw] query_filter_string_enabled
5714
- # Determines whether the AMAZON.KendraSearchIntent intent uses a
6518
+ # Determines whether the `AMAZON.KendraSearchIntent` intent uses a
5715
6519
  # custom query string to query the Amazon Kendra index.
5716
6520
  # @return [Boolean]
5717
6521
  #
@@ -7097,7 +7901,204 @@ module Aws::LexModelsV2
7097
7901
  include Aws::Structure
7098
7902
  end
7099
7903
 
7100
- # The object that provides message text and it's type.
7904
+ # @!attribute [rw] test_execution_id
7905
+ # The unique identifier of the test execution to list the result
7906
+ # items.
7907
+ # @return [String]
7908
+ #
7909
+ # @!attribute [rw] result_filter_by
7910
+ # The filter for the list of results from the test set execution.
7911
+ # @return [Types::TestExecutionResultFilterBy]
7912
+ #
7913
+ # @!attribute [rw] max_results
7914
+ # The maximum number of test execution result items to return in each
7915
+ # page. If there are fewer results than the max page size, only the
7916
+ # actual number of results are returned.
7917
+ # @return [Integer]
7918
+ #
7919
+ # @!attribute [rw] next_token
7920
+ # If the response from the `ListTestExecutionResultItems` operation
7921
+ # contains more results than specified in the `maxResults` parameter,
7922
+ # a token is returned in the response. Use that token in the
7923
+ # `nextToken` parameter to return the next page of results.
7924
+ # @return [String]
7925
+ #
7926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionResultItemsRequest AWS API Documentation
7927
+ #
7928
+ class ListTestExecutionResultItemsRequest < Struct.new(
7929
+ :test_execution_id,
7930
+ :result_filter_by,
7931
+ :max_results,
7932
+ :next_token)
7933
+ SENSITIVE = []
7934
+ include Aws::Structure
7935
+ end
7936
+
7937
+ # @!attribute [rw] test_execution_results
7938
+ # The list of results from the test execution.
7939
+ # @return [Types::TestExecutionResultItems]
7940
+ #
7941
+ # @!attribute [rw] next_token
7942
+ # A token that indicates whether there are more results to return in a
7943
+ # response to the `ListTestExecutionResultItems` operation. If the
7944
+ # `nextToken` field is present, you send the contents as the
7945
+ # `nextToken` parameter of a `ListTestExecutionResultItems` operation
7946
+ # request to get the next page of results.
7947
+ # @return [String]
7948
+ #
7949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionResultItemsResponse AWS API Documentation
7950
+ #
7951
+ class ListTestExecutionResultItemsResponse < Struct.new(
7952
+ :test_execution_results,
7953
+ :next_token)
7954
+ SENSITIVE = []
7955
+ include Aws::Structure
7956
+ end
7957
+
7958
+ # @!attribute [rw] sort_by
7959
+ # The sort order of the test set executions.
7960
+ # @return [Types::TestExecutionSortBy]
7961
+ #
7962
+ # @!attribute [rw] max_results
7963
+ # The maximum number of test executions to return in each page. If
7964
+ # there are fewer results than the max page size, only the actual
7965
+ # number of results are returned.
7966
+ # @return [Integer]
7967
+ #
7968
+ # @!attribute [rw] next_token
7969
+ # If the response from the ListTestExecutions operation contains more
7970
+ # results than specified in the maxResults parameter, a token is
7971
+ # returned in the response. Use that token in the nextToken parameter
7972
+ # to return the next page of results.
7973
+ # @return [String]
7974
+ #
7975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionsRequest AWS API Documentation
7976
+ #
7977
+ class ListTestExecutionsRequest < Struct.new(
7978
+ :sort_by,
7979
+ :max_results,
7980
+ :next_token)
7981
+ SENSITIVE = []
7982
+ include Aws::Structure
7983
+ end
7984
+
7985
+ # @!attribute [rw] test_executions
7986
+ # The list of test executions.
7987
+ # @return [Array<Types::TestExecutionSummary>]
7988
+ #
7989
+ # @!attribute [rw] next_token
7990
+ # A token that indicates whether there are more results to return in a
7991
+ # response to the ListTestExecutions operation. If the nextToken field
7992
+ # is present, you send the contents as the nextToken parameter of a
7993
+ # ListTestExecutions operation request to get the next page of
7994
+ # results.
7995
+ # @return [String]
7996
+ #
7997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestExecutionsResponse AWS API Documentation
7998
+ #
7999
+ class ListTestExecutionsResponse < Struct.new(
8000
+ :test_executions,
8001
+ :next_token)
8002
+ SENSITIVE = []
8003
+ include Aws::Structure
8004
+ end
8005
+
8006
+ # @!attribute [rw] test_set_id
8007
+ # The identifier of the test set to list its test set records.
8008
+ # @return [String]
8009
+ #
8010
+ # @!attribute [rw] max_results
8011
+ # The maximum number of test set records to return in each page. If
8012
+ # there are fewer records than the max page size, only the actual
8013
+ # number of records are returned.
8014
+ # @return [Integer]
8015
+ #
8016
+ # @!attribute [rw] next_token
8017
+ # If the response from the ListTestSetRecords operation contains more
8018
+ # results than specified in the maxResults parameter, a token is
8019
+ # returned in the response. Use that token in the nextToken parameter
8020
+ # to return the next page of results.
8021
+ # @return [String]
8022
+ #
8023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetRecordsRequest AWS API Documentation
8024
+ #
8025
+ class ListTestSetRecordsRequest < Struct.new(
8026
+ :test_set_id,
8027
+ :max_results,
8028
+ :next_token)
8029
+ SENSITIVE = []
8030
+ include Aws::Structure
8031
+ end
8032
+
8033
+ # @!attribute [rw] test_set_records
8034
+ # The list of records from the test set.
8035
+ # @return [Array<Types::TestSetTurnRecord>]
8036
+ #
8037
+ # @!attribute [rw] next_token
8038
+ # A token that indicates whether there are more records to return in a
8039
+ # response to the ListTestSetRecords operation. If the nextToken field
8040
+ # is present, you send the contents as the nextToken parameter of a
8041
+ # ListTestSetRecords operation request to get the next page of
8042
+ # records.
8043
+ # @return [String]
8044
+ #
8045
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetRecordsResponse AWS API Documentation
8046
+ #
8047
+ class ListTestSetRecordsResponse < Struct.new(
8048
+ :test_set_records,
8049
+ :next_token)
8050
+ SENSITIVE = []
8051
+ include Aws::Structure
8052
+ end
8053
+
8054
+ # @!attribute [rw] sort_by
8055
+ # The sort order for the list of test sets.
8056
+ # @return [Types::TestSetSortBy]
8057
+ #
8058
+ # @!attribute [rw] max_results
8059
+ # The maximum number of test sets to return in each page. If there are
8060
+ # fewer results than the max page size, only the actual number of
8061
+ # results are returned.
8062
+ # @return [Integer]
8063
+ #
8064
+ # @!attribute [rw] next_token
8065
+ # If the response from the ListTestSets operation contains more
8066
+ # results than specified in the maxResults parameter, a token is
8067
+ # returned in the response. Use that token in the nextToken parameter
8068
+ # to return the next page of results.
8069
+ # @return [String]
8070
+ #
8071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetsRequest AWS API Documentation
8072
+ #
8073
+ class ListTestSetsRequest < Struct.new(
8074
+ :sort_by,
8075
+ :max_results,
8076
+ :next_token)
8077
+ SENSITIVE = []
8078
+ include Aws::Structure
8079
+ end
8080
+
8081
+ # @!attribute [rw] test_sets
8082
+ # The selected test sets in a list of test sets.
8083
+ # @return [Array<Types::TestSetSummary>]
8084
+ #
8085
+ # @!attribute [rw] next_token
8086
+ # A token that indicates whether there are more results to return in a
8087
+ # response to the ListTestSets operation. If the nextToken field is
8088
+ # present, you send the contents as the nextToken parameter of a
8089
+ # ListTestSets operation request to get the next page of results.
8090
+ # @return [String]
8091
+ #
8092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListTestSetsResponse AWS API Documentation
8093
+ #
8094
+ class ListTestSetsResponse < Struct.new(
8095
+ :test_sets,
8096
+ :next_token)
8097
+ SENSITIVE = []
8098
+ include Aws::Structure
8099
+ end
8100
+
8101
+ # The object that provides message text and its type.
7101
8102
  #
7102
8103
  # @!attribute [rw] plain_text_message
7103
8104
  # A message in plain text format.
@@ -7243,6 +8244,50 @@ module Aws::LexModelsV2
7243
8244
  include Aws::Structure
7244
8245
  end
7245
8246
 
8247
+ # Information about the overall results for a test execution result.
8248
+ #
8249
+ # @!attribute [rw] multi_turn_conversation
8250
+ # Indicates whether the conversation contains multiple turns or not.
8251
+ # @return [Boolean]
8252
+ #
8253
+ # @!attribute [rw] total_result_count
8254
+ # The total number of overall results in the result of the test
8255
+ # execution.
8256
+ # @return [Integer]
8257
+ #
8258
+ # @!attribute [rw] speech_transcription_result_counts
8259
+ # The number of speech transcription results in the overall test.
8260
+ # @return [Hash<String,Integer>]
8261
+ #
8262
+ # @!attribute [rw] end_to_end_result_counts
8263
+ # The number of results that succeeded.
8264
+ # @return [Hash<String,Integer>]
8265
+ #
8266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/OverallTestResultItem AWS API Documentation
8267
+ #
8268
+ class OverallTestResultItem < Struct.new(
8269
+ :multi_turn_conversation,
8270
+ :total_result_count,
8271
+ :speech_transcription_result_counts,
8272
+ :end_to_end_result_counts)
8273
+ SENSITIVE = []
8274
+ include Aws::Structure
8275
+ end
8276
+
8277
+ # Information about the overall test results.
8278
+ #
8279
+ # @!attribute [rw] items
8280
+ # A list of the overall test results.
8281
+ # @return [Array<Types::OverallTestResultItem>]
8282
+ #
8283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/OverallTestResults AWS API Documentation
8284
+ #
8285
+ class OverallTestResults < Struct.new(
8286
+ :items)
8287
+ SENSITIVE = []
8288
+ include Aws::Structure
8289
+ end
8290
+
7246
8291
  # A network of bots.
7247
8292
  #
7248
8293
  # @!attribute [rw] bot_id
@@ -7455,8 +8500,8 @@ module Aws::LexModelsV2
7455
8500
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html
7456
8501
  #
7457
8502
  # @!attribute [rw] service
7458
- # The name of the AWS service that should allowed or denied access to
7459
- # an Amazon Lex action.
8503
+ # The name of the Amazon Web Services service that should allowed or
8504
+ # denied access to an Amazon Lex action.
7460
8505
  # @return [String]
7461
8506
  #
7462
8507
  # @!attribute [rw] arn
@@ -7648,11 +8693,94 @@ module Aws::LexModelsV2
7648
8693
  include Aws::Structure
7649
8694
  end
7650
8695
 
8696
+ # Provides an array of phrases that should be given preference when
8697
+ # resolving values for a slot.
8698
+ #
8699
+ # @!attribute [rw] runtime_hint_values
8700
+ # One or more strings that Amazon Lex should look for in the input to
8701
+ # the bot. Each phrase is given preference when deciding on slot
8702
+ # values.
8703
+ # @return [Array<Types::RuntimeHintValue>]
8704
+ #
8705
+ # @!attribute [rw] sub_slot_hints
8706
+ # A map of constituent sub slot names inside a composite slot in the
8707
+ # intent and the phrases that should be added for each sub slot.
8708
+ # Inside each composite slot hints, this structure provides a
8709
+ # mechanism to add granular sub slot phrases. Only sub slot hints are
8710
+ # supported for composite slots. The intent name, composite slot name
8711
+ # and the constituent sub slot names must exist.
8712
+ # @return [Hash<String,Types::RuntimeHintDetails>]
8713
+ #
8714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeHintDetails AWS API Documentation
8715
+ #
8716
+ class RuntimeHintDetails < Struct.new(
8717
+ :runtime_hint_values,
8718
+ :sub_slot_hints)
8719
+ SENSITIVE = []
8720
+ include Aws::Structure
8721
+ end
8722
+
8723
+ # Provides the phrase that Amazon Lex should look for in the user's
8724
+ # input to the bot.
8725
+ #
8726
+ # @!attribute [rw] phrase
8727
+ # The phrase that Amazon Lex should look for in the user's input to
8728
+ # the bot.
8729
+ # @return [String]
8730
+ #
8731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeHintValue AWS API Documentation
8732
+ #
8733
+ class RuntimeHintValue < Struct.new(
8734
+ :phrase)
8735
+ SENSITIVE = []
8736
+ include Aws::Structure
8737
+ end
8738
+
8739
+ # You can provide Amazon Lex with hints to the phrases that a customer
8740
+ # is likely to use for a slot. When a slot with hints is resolved, the
8741
+ # phrases in the runtime hints are preferred in the resolution. You can
8742
+ # provide hints for a maximum of 100 intents. You can provide a maximum
8743
+ # of 100 slots.
8744
+ #
8745
+ # Before you can use runtime hints with an existing bot, you must first
8746
+ # rebuild the bot.
8747
+ #
8748
+ # For more information, see [Using runtime hints to improve recognition
8749
+ # of slot values][1].
8750
+ #
8751
+ #
8752
+ #
8753
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html
8754
+ #
8755
+ # @!attribute [rw] slot_hints
8756
+ # A list of the slots in the intent that should have runtime hints
8757
+ # added, and the phrases that should be added for each slot.
8758
+ #
8759
+ # The first level of the `slotHints` map is the name of the intent.
8760
+ # The second level is the name of the slot within the intent. For more
8761
+ # information, see [Using hints to improve accuracy][1].
8762
+ #
8763
+ # The intent name and slot name must exist.
8764
+ #
8765
+ #
8766
+ #
8767
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/using-hints.html
8768
+ # @return [Hash<String,Hash<String,Types::RuntimeHintDetails>>]
8769
+ #
8770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RuntimeHints AWS API Documentation
8771
+ #
8772
+ class RuntimeHints < Struct.new(
8773
+ :slot_hints)
8774
+ SENSITIVE = []
8775
+ include Aws::Structure
8776
+ end
8777
+
7651
8778
  # Specifies an Amazon S3 bucket for logging audio conversations
7652
8779
  #
7653
8780
  # @!attribute [rw] kms_key_arn
7654
- # The Amazon Resource Name (ARN) of an AWS Key Management Service
7655
- # (KMS) key for encrypting audio log files stored in an S3 bucket.
8781
+ # The Amazon Resource Name (ARN) of an Amazon Web Services Key
8782
+ # Management Service (KMS) key for encrypting audio log files stored
8783
+ # in an S3 bucket.
7656
8784
  # @return [String]
7657
8785
  #
7658
8786
  # @!attribute [rw] s3_bucket_arn
@@ -8030,7 +9158,7 @@ module Aws::LexModelsV2
8030
9158
  # values from a user.
8031
9159
  #
8032
9160
  # @!attribute [rw] priority
8033
- # The priority that a slot should be elicited.
9161
+ # The priority that Amazon Lex should apply to the slot.
8034
9162
  # @return [Integer]
8035
9163
  #
8036
9164
  # @!attribute [rw] slot_id
@@ -8046,6 +9174,53 @@ module Aws::LexModelsV2
8046
9174
  include Aws::Structure
8047
9175
  end
8048
9176
 
9177
+ # Information about the success and failure rate of slot resolution in
9178
+ # the results of a test execution.
9179
+ #
9180
+ # @!attribute [rw] slot_name
9181
+ # The name of the slot.
9182
+ # @return [String]
9183
+ #
9184
+ # @!attribute [rw] result_counts
9185
+ # A result for slot resolution in the results of a test execution.
9186
+ # @return [Types::SlotResolutionTestResultItemCounts]
9187
+ #
9188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotResolutionTestResultItem AWS API Documentation
9189
+ #
9190
+ class SlotResolutionTestResultItem < Struct.new(
9191
+ :slot_name,
9192
+ :result_counts)
9193
+ SENSITIVE = []
9194
+ include Aws::Structure
9195
+ end
9196
+
9197
+ # Information about the counts for a slot resolution in the results of a
9198
+ # test execution.
9199
+ #
9200
+ # @!attribute [rw] total_result_count
9201
+ # The total number of results.
9202
+ # @return [Integer]
9203
+ #
9204
+ # @!attribute [rw] speech_transcription_result_counts
9205
+ # The number of matched, mismatched and execution error results for
9206
+ # speech transcription for the slot.
9207
+ # @return [Hash<String,Integer>]
9208
+ #
9209
+ # @!attribute [rw] slot_match_result_counts
9210
+ # The number of matched and mismatched results for slot resolution for
9211
+ # the slot.
9212
+ # @return [Hash<String,Integer>]
9213
+ #
9214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotResolutionTestResultItemCounts AWS API Documentation
9215
+ #
9216
+ class SlotResolutionTestResultItemCounts < Struct.new(
9217
+ :total_result_count,
9218
+ :speech_transcription_result_counts,
9219
+ :slot_match_result_counts)
9220
+ SENSITIVE = []
9221
+ include Aws::Structure
9222
+ end
9223
+
8049
9224
  # Specifies attributes for sorting a list of bots.
8050
9225
  #
8051
9226
  # @!attribute [rw] attribute
@@ -8205,8 +9380,8 @@ module Aws::LexModelsV2
8205
9380
  # more information, see [Creating custom slot types][1].
8206
9381
  #
8207
9382
  # * `Extended` - A slot type created by extending the
8208
- # AMAZON.AlphaNumeric built-in slot type. For more information, see
8209
- # [AMAZON.AlphaNumeric][2].
9383
+ # `AMAZON.AlphaNumeric` built-in slot type. For more information,
9384
+ # see [ `AMAZON.AlphaNumeric` ][2].
8210
9385
  #
8211
9386
  # * `ExternalGrammar` - A slot type using a custom GRXML grammar to
8212
9387
  # define values. For more information, see [Using a custom grammar
@@ -8269,8 +9444,7 @@ module Aws::LexModelsV2
8269
9444
  include Aws::Structure
8270
9445
  end
8271
9446
 
8272
- # Specifies the elicitation setting details for constituent sub slots of
8273
- # a composite slot.
9447
+ # Specifies the elicitation setting details eliciting a slot.
8274
9448
  #
8275
9449
  # @!attribute [rw] default_value_specification
8276
9450
  # A list of default values for a slot. Default values are used when
@@ -8359,10 +9533,10 @@ module Aws::LexModelsV2
8359
9533
  #
8360
9534
  # * 0-9
8361
9535
  #
8362
- # * Unicode characters ("\\ u&lt;Unicode&gt;")
9536
+ # * Unicode characters ("\\⁠u&lt;Unicode&gt;")
8363
9537
  #
8364
9538
  # Represent Unicode characters with four digits, for example
8365
- # "\\u0041" or "\\u005A".
9539
+ # "\\⁠u0041" or "\\⁠u005A".
8366
9540
  #
8367
9541
  # The following regular expression operators are not supported:
8368
9542
  #
@@ -8386,15 +9560,15 @@ module Aws::LexModelsV2
8386
9560
  # return slot type values. The field can be set to one of the
8387
9561
  # following values:
8388
9562
  #
8389
- # * OriginalValue - Returns the value entered by the user, if the user
8390
- # value is similar to the slot value.
9563
+ # * `ORIGINAL_VALUE` - Returns the value entered by the user, if the
9564
+ # user value is similar to the slot value.
8391
9565
  #
8392
- # * TopResolution - If there is a resolution list for the slot, return
8393
- # the first value in the resolution list as the slot type value. If
8394
- # there is no resolution list, null is returned.
9566
+ # * `TOP_RESOLUTION` - If there is a resolution list for the slot,
9567
+ # return the first value in the resolution list as the slot type
9568
+ # value. If there is no resolution list, null is returned.
8395
9569
  #
8396
- # If you don't specify the valueSelectionStrategy, the default is
8397
- # OriginalValue.
9570
+ # If you don't specify the `valueSelectionStrategy`, the default is
9571
+ # `ORIGINAL_VALUE`.
8398
9572
  # @return [String]
8399
9573
  #
8400
9574
  # @!attribute [rw] regex_filter
@@ -8403,7 +9577,8 @@ module Aws::LexModelsV2
8403
9577
  #
8404
9578
  # @!attribute [rw] advanced_recognition_setting
8405
9579
  # Provides settings that enable advanced recognition settings for slot
8406
- # values.
9580
+ # values. You can use this to enable using slot values as a custom
9581
+ # vocabulary for recognizing user utterances.
8407
9582
  # @return [Types::AdvancedRecognitionSetting]
8408
9583
  #
8409
9584
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotValueSelectionSetting AWS API Documentation
@@ -8610,50 +9785,215 @@ module Aws::LexModelsV2
8610
9785
  include Aws::Structure
8611
9786
  end
8612
9787
 
8613
- # Defines the messages that Amazon Lex sends to a user to remind them
8614
- # that the bot is waiting for a response.
8615
- #
8616
- # @!attribute [rw] message_groups
8617
- # One or more message groups, each containing one or more messages,
8618
- # that define the prompts that Amazon Lex sends to the user.
8619
- # @return [Array<Types::MessageGroup>]
9788
+ # @!attribute [rw] test_set_id
9789
+ # The test set Id for the test set execution.
9790
+ # @return [String]
8620
9791
  #
8621
- # @!attribute [rw] frequency_in_seconds
8622
- # How often a message should be sent to the user. Minimum of 1 second,
8623
- # maximum of 5 minutes.
8624
- # @return [Integer]
9792
+ # @!attribute [rw] target
9793
+ # The target bot for the test set execution.
9794
+ # @return [Types::TestExecutionTarget]
8625
9795
  #
8626
- # @!attribute [rw] timeout_in_seconds
8627
- # If Amazon Lex waits longer than this length of time for a response,
8628
- # it will stop sending messages.
8629
- # @return [Integer]
9796
+ # @!attribute [rw] api_mode
9797
+ # Indicates whether we use streaming or non-streaming APIs for the
9798
+ # test set execution. For streaming, StartConversation Runtime API is
9799
+ # used. Whereas, for non-streaming, RecognizeUtterance and
9800
+ # RecognizeText Amazon Lex Runtime API are used.
9801
+ # @return [String]
8630
9802
  #
8631
- # @!attribute [rw] allow_interrupt
8632
- # Indicates that the user can interrupt the response by speaking while
8633
- # the message is being played.
8634
- # @return [Boolean]
9803
+ # @!attribute [rw] test_execution_modality
9804
+ # Indicates whether audio or text is used.
9805
+ # @return [String]
8635
9806
  #
8636
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StillWaitingResponseSpecification AWS API Documentation
9807
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestExecutionRequest AWS API Documentation
8637
9808
  #
8638
- class StillWaitingResponseSpecification < Struct.new(
8639
- :message_groups,
8640
- :frequency_in_seconds,
8641
- :timeout_in_seconds,
8642
- :allow_interrupt)
9809
+ class StartTestExecutionRequest < Struct.new(
9810
+ :test_set_id,
9811
+ :target,
9812
+ :api_mode,
9813
+ :test_execution_modality)
8643
9814
  SENSITIVE = []
8644
9815
  include Aws::Structure
8645
9816
  end
8646
9817
 
8647
- # @!attribute [rw] bot_id
8648
- # The unique identifier of the bot containing the bot recommendation
8649
- # to be stopped.
9818
+ # @!attribute [rw] test_execution_id
9819
+ # The unique identifier of the test set execution.
8650
9820
  # @return [String]
8651
9821
  #
8652
- # @!attribute [rw] bot_version
8653
- # The version of the bot containing the bot recommendation.
9822
+ # @!attribute [rw] creation_date_time
9823
+ # The creation date and time for the test set execution.
9824
+ # @return [Time]
9825
+ #
9826
+ # @!attribute [rw] test_set_id
9827
+ # The test set Id for the test set execution.
8654
9828
  # @return [String]
8655
9829
  #
8656
- # @!attribute [rw] locale_id
9830
+ # @!attribute [rw] target
9831
+ # The target bot for the test set execution.
9832
+ # @return [Types::TestExecutionTarget]
9833
+ #
9834
+ # @!attribute [rw] api_mode
9835
+ # Indicates whether we use streaming or non-streaming APIs for the
9836
+ # test set execution. For streaming, StartConversation Amazon Lex
9837
+ # Runtime API is used. Whereas for non-streaming, RecognizeUtterance
9838
+ # and RecognizeText Amazon Lex Runtime API are used.
9839
+ # @return [String]
9840
+ #
9841
+ # @!attribute [rw] test_execution_modality
9842
+ # Indicates whether audio or text is used.
9843
+ # @return [String]
9844
+ #
9845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestExecutionResponse AWS API Documentation
9846
+ #
9847
+ class StartTestExecutionResponse < Struct.new(
9848
+ :test_execution_id,
9849
+ :creation_date_time,
9850
+ :test_set_id,
9851
+ :target,
9852
+ :api_mode,
9853
+ :test_execution_modality)
9854
+ SENSITIVE = []
9855
+ include Aws::Structure
9856
+ end
9857
+
9858
+ # @!attribute [rw] test_set_name
9859
+ # The test set name for the test set generation request.
9860
+ # @return [String]
9861
+ #
9862
+ # @!attribute [rw] description
9863
+ # The test set description for the test set generation request.
9864
+ # @return [String]
9865
+ #
9866
+ # @!attribute [rw] storage_location
9867
+ # The Amazon S3 storage location for the test set generation.
9868
+ # @return [Types::TestSetStorageLocation]
9869
+ #
9870
+ # @!attribute [rw] generation_data_source
9871
+ # The data source for the test set generation.
9872
+ # @return [Types::TestSetGenerationDataSource]
9873
+ #
9874
+ # @!attribute [rw] role_arn
9875
+ # The roleARN used for any operation in the test set to access
9876
+ # resources in the Amazon Web Services account.
9877
+ # @return [String]
9878
+ #
9879
+ # @!attribute [rw] test_set_tags
9880
+ # A list of tags to add to the test set. You can only add tags when
9881
+ # you import/generate a new test set. You can't use the
9882
+ # `UpdateTestSet` operation to update tags. To update tags, use the
9883
+ # `TagResource` operation.
9884
+ # @return [Hash<String,String>]
9885
+ #
9886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestSetGenerationRequest AWS API Documentation
9887
+ #
9888
+ class StartTestSetGenerationRequest < Struct.new(
9889
+ :test_set_name,
9890
+ :description,
9891
+ :storage_location,
9892
+ :generation_data_source,
9893
+ :role_arn,
9894
+ :test_set_tags)
9895
+ SENSITIVE = []
9896
+ include Aws::Structure
9897
+ end
9898
+
9899
+ # @!attribute [rw] test_set_generation_id
9900
+ # The unique identifier of the test set generation to describe.
9901
+ # @return [String]
9902
+ #
9903
+ # @!attribute [rw] creation_date_time
9904
+ # The creation date and time for the test set generation.
9905
+ # @return [Time]
9906
+ #
9907
+ # @!attribute [rw] test_set_generation_status
9908
+ # The status for the test set generation.
9909
+ # @return [String]
9910
+ #
9911
+ # @!attribute [rw] test_set_name
9912
+ # The test set name used for the test set generation.
9913
+ # @return [String]
9914
+ #
9915
+ # @!attribute [rw] description
9916
+ # The description used for the test set generation.
9917
+ # @return [String]
9918
+ #
9919
+ # @!attribute [rw] storage_location
9920
+ # The Amazon S3 storage location for the test set generation.
9921
+ # @return [Types::TestSetStorageLocation]
9922
+ #
9923
+ # @!attribute [rw] generation_data_source
9924
+ # The data source for the test set generation.
9925
+ # @return [Types::TestSetGenerationDataSource]
9926
+ #
9927
+ # @!attribute [rw] role_arn
9928
+ # The roleARN used for any operation in the test set to access
9929
+ # resources in the Amazon Web Services account.
9930
+ # @return [String]
9931
+ #
9932
+ # @!attribute [rw] test_set_tags
9933
+ # A list of tags that was used for the test set that is being
9934
+ # generated.
9935
+ # @return [Hash<String,String>]
9936
+ #
9937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartTestSetGenerationResponse AWS API Documentation
9938
+ #
9939
+ class StartTestSetGenerationResponse < Struct.new(
9940
+ :test_set_generation_id,
9941
+ :creation_date_time,
9942
+ :test_set_generation_status,
9943
+ :test_set_name,
9944
+ :description,
9945
+ :storage_location,
9946
+ :generation_data_source,
9947
+ :role_arn,
9948
+ :test_set_tags)
9949
+ SENSITIVE = []
9950
+ include Aws::Structure
9951
+ end
9952
+
9953
+ # Defines the messages that Amazon Lex sends to a user to remind them
9954
+ # that the bot is waiting for a response.
9955
+ #
9956
+ # @!attribute [rw] message_groups
9957
+ # One or more message groups, each containing one or more messages,
9958
+ # that define the prompts that Amazon Lex sends to the user.
9959
+ # @return [Array<Types::MessageGroup>]
9960
+ #
9961
+ # @!attribute [rw] frequency_in_seconds
9962
+ # How often a message should be sent to the user. Minimum of 1 second,
9963
+ # maximum of 5 minutes.
9964
+ # @return [Integer]
9965
+ #
9966
+ # @!attribute [rw] timeout_in_seconds
9967
+ # If Amazon Lex waits longer than this length of time for a response,
9968
+ # it will stop sending messages.
9969
+ # @return [Integer]
9970
+ #
9971
+ # @!attribute [rw] allow_interrupt
9972
+ # Indicates that the user can interrupt the response by speaking while
9973
+ # the message is being played.
9974
+ # @return [Boolean]
9975
+ #
9976
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StillWaitingResponseSpecification AWS API Documentation
9977
+ #
9978
+ class StillWaitingResponseSpecification < Struct.new(
9979
+ :message_groups,
9980
+ :frequency_in_seconds,
9981
+ :timeout_in_seconds,
9982
+ :allow_interrupt)
9983
+ SENSITIVE = []
9984
+ include Aws::Structure
9985
+ end
9986
+
9987
+ # @!attribute [rw] bot_id
9988
+ # The unique identifier of the bot containing the bot recommendation
9989
+ # to be stopped.
9990
+ # @return [String]
9991
+ #
9992
+ # @!attribute [rw] bot_version
9993
+ # The version of the bot containing the bot recommendation.
9994
+ # @return [String]
9995
+ #
9996
+ # @!attribute [rw] locale_id
8657
9997
  # The identifier of the language and locale of the bot recommendation
8658
9998
  # to stop. The string must match one of the supported locales. For
8659
9999
  # more information, see [Supported languages][1]
@@ -8743,93 +10083,628 @@ module Aws::LexModelsV2
8743
10083
 
8744
10084
  # Subslot type composition.
8745
10085
  #
8746
- # @!attribute [rw] name
8747
- # Name of a constituent sub slot inside a composite slot.
10086
+ # @!attribute [rw] name
10087
+ # Name of a constituent sub slot inside a composite slot.
10088
+ # @return [String]
10089
+ #
10090
+ # @!attribute [rw] slot_type_id
10091
+ # The unique identifier assigned to a slot type. This refers to either
10092
+ # a built-in slot type or the unique slotTypeId of a custom slot type.
10093
+ # @return [String]
10094
+ #
10095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SubSlotTypeComposition AWS API Documentation
10096
+ #
10097
+ class SubSlotTypeComposition < Struct.new(
10098
+ :name,
10099
+ :slot_type_id)
10100
+ SENSITIVE = []
10101
+ include Aws::Structure
10102
+ end
10103
+
10104
+ # Subslot elicitation settings.
10105
+ #
10106
+ # `DefaultValueSpecification` is a list of default values for a
10107
+ # constituent sub slot in a composite slot. Default values are used when
10108
+ # Amazon Lex hasn't determined a value for a slot. You can specify
10109
+ # default values from context variables, session attributes, and defined
10110
+ # values. This is similar to `DefaultValueSpecification` for slots.
10111
+ #
10112
+ # `PromptSpecification` is the prompt that Amazon Lex uses to elicit the
10113
+ # sub slot value from the user. This is similar to `PromptSpecification`
10114
+ # for slots.
10115
+ #
10116
+ # @!attribute [rw] default_value_specification
10117
+ # Defines a list of values that Amazon Lex should use as the default
10118
+ # value for a slot.
10119
+ # @return [Types::SlotDefaultValueSpecification]
10120
+ #
10121
+ # @!attribute [rw] prompt_specification
10122
+ # Specifies a list of message groups that Amazon Lex sends to a user
10123
+ # to elicit a response.
10124
+ # @return [Types::PromptSpecification]
10125
+ #
10126
+ # @!attribute [rw] sample_utterances
10127
+ # If you know a specific pattern that users might respond to an Amazon
10128
+ # Lex request for a sub slot value, you can provide those utterances
10129
+ # to improve accuracy. This is optional. In most cases Amazon Lex is
10130
+ # capable of understanding user utterances. This is similar to
10131
+ # `SampleUtterances` for slots.
10132
+ # @return [Array<Types::SampleUtterance>]
10133
+ #
10134
+ # @!attribute [rw] wait_and_continue_specification
10135
+ # Specifies the prompts that Amazon Lex uses while a bot is waiting
10136
+ # for customer input.
10137
+ # @return [Types::WaitAndContinueSpecification]
10138
+ #
10139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SubSlotValueElicitationSetting AWS API Documentation
10140
+ #
10141
+ class SubSlotValueElicitationSetting < Struct.new(
10142
+ :default_value_specification,
10143
+ :prompt_specification,
10144
+ :sample_utterances,
10145
+ :wait_and_continue_specification)
10146
+ SENSITIVE = []
10147
+ include Aws::Structure
10148
+ end
10149
+
10150
+ # @!attribute [rw] resource_arn
10151
+ # The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel
10152
+ # to tag.
10153
+ # @return [String]
10154
+ #
10155
+ # @!attribute [rw] tags
10156
+ # A list of tag keys to add to the resource. If a tag key already
10157
+ # exists, the existing value is replaced with the new value.
10158
+ # @return [Hash<String,String>]
10159
+ #
10160
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResourceRequest AWS API Documentation
10161
+ #
10162
+ class TagResourceRequest < Struct.new(
10163
+ :resource_arn,
10164
+ :tags)
10165
+ SENSITIVE = []
10166
+ include Aws::Structure
10167
+ end
10168
+
10169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResourceResponse AWS API Documentation
10170
+ #
10171
+ class TagResourceResponse < Aws::EmptyStructure; end
10172
+
10173
+ # Contains information about the method by which to filter the results
10174
+ # of the test execution.
10175
+ #
10176
+ # @!attribute [rw] result_type_filter
10177
+ # Specifies which results to filter. See [Test result
10178
+ # details"&gt;Test results details][1] for details about different
10179
+ # types of results.
10180
+ #
10181
+ #
10182
+ #
10183
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html
10184
+ # @return [String]
10185
+ #
10186
+ # @!attribute [rw] conversation_level_test_results_filter_by
10187
+ # Contains information about the method for filtering Conversation
10188
+ # level test results.
10189
+ # @return [Types::ConversationLevelTestResultsFilterBy]
10190
+ #
10191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestExecutionResultFilterBy AWS API Documentation
10192
+ #
10193
+ class TestExecutionResultFilterBy < Struct.new(
10194
+ :result_type_filter,
10195
+ :conversation_level_test_results_filter_by)
10196
+ SENSITIVE = []
10197
+ include Aws::Structure
10198
+ end
10199
+
10200
+ # Contains the results of the test execution, grouped by type of
10201
+ # results. See [Test result details"&gt;Test results details][1] for
10202
+ # details about different types of results.
10203
+ #
10204
+ #
10205
+ #
10206
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/test-results-details-test-set.html
10207
+ #
10208
+ # @!attribute [rw] overall_test_results
10209
+ # Overall results for the test execution, including the breakdown of
10210
+ # conversations and single-input utterances.
10211
+ # @return [Types::OverallTestResults]
10212
+ #
10213
+ # @!attribute [rw] conversation_level_test_results
10214
+ # Results related to conversations in the test set, including metrics
10215
+ # about success and failure of conversations and intent and slot
10216
+ # failures.
10217
+ # @return [Types::ConversationLevelTestResults]
10218
+ #
10219
+ # @!attribute [rw] intent_classification_test_results
10220
+ # Intent recognition results aggregated by intent name. The aggregated
10221
+ # results contain success and failure rates of intent recognition,
10222
+ # speech transcriptions, and end-to-end conversations.
10223
+ # @return [Types::IntentClassificationTestResults]
10224
+ #
10225
+ # @!attribute [rw] intent_level_slot_resolution_test_results
10226
+ # Slot resolution results aggregated by intent and slot name. The
10227
+ # aggregated results contain success and failure rates of slot
10228
+ # resolution, speech transcriptions, and end-to-end conversations
10229
+ # @return [Types::IntentLevelSlotResolutionTestResults]
10230
+ #
10231
+ # @!attribute [rw] utterance_level_test_results
10232
+ # Results related to utterances in the test set.
10233
+ # @return [Types::UtteranceLevelTestResults]
10234
+ #
10235
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestExecutionResultItems AWS API Documentation
10236
+ #
10237
+ class TestExecutionResultItems < Struct.new(
10238
+ :overall_test_results,
10239
+ :conversation_level_test_results,
10240
+ :intent_classification_test_results,
10241
+ :intent_level_slot_resolution_test_results,
10242
+ :utterance_level_test_results)
10243
+ SENSITIVE = []
10244
+ include Aws::Structure
10245
+ end
10246
+
10247
+ # Contains information about the method by which to sort the instances
10248
+ # of test executions you have carried out.
10249
+ #
10250
+ # @!attribute [rw] attribute
10251
+ # Specifies whether to sort the test set executions by the date and
10252
+ # time at which the test sets were created.
10253
+ # @return [String]
10254
+ #
10255
+ # @!attribute [rw] order
10256
+ # Specifies whether to sort in ascending or descending order.
10257
+ # @return [String]
10258
+ #
10259
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestExecutionSortBy AWS API Documentation
10260
+ #
10261
+ class TestExecutionSortBy < Struct.new(
10262
+ :attribute,
10263
+ :order)
10264
+ SENSITIVE = []
10265
+ include Aws::Structure
10266
+ end
10267
+
10268
+ # Summarizes metadata about the test execution.
10269
+ #
10270
+ # @!attribute [rw] test_execution_id
10271
+ # The unique identifier of the test execution.
10272
+ # @return [String]
10273
+ #
10274
+ # @!attribute [rw] creation_date_time
10275
+ # The date and time at which the test execution was created.
10276
+ # @return [Time]
10277
+ #
10278
+ # @!attribute [rw] last_updated_date_time
10279
+ # The date and time at which the test execution was last updated.
10280
+ # @return [Time]
10281
+ #
10282
+ # @!attribute [rw] test_execution_status
10283
+ # The current status of the test execution.
10284
+ # @return [String]
10285
+ #
10286
+ # @!attribute [rw] test_set_id
10287
+ # The unique identifier of the test set used in the test execution.
10288
+ # @return [String]
10289
+ #
10290
+ # @!attribute [rw] test_set_name
10291
+ # The name of the test set used in the test execution.
10292
+ # @return [String]
10293
+ #
10294
+ # @!attribute [rw] target
10295
+ # Contains information about the bot used for the test execution..
10296
+ # @return [Types::TestExecutionTarget]
10297
+ #
10298
+ # @!attribute [rw] api_mode
10299
+ # Specifies whether the API mode for the test execution is streaming
10300
+ # or non-streaming.
10301
+ # @return [String]
10302
+ #
10303
+ # @!attribute [rw] test_execution_modality
10304
+ # Specifies whether the data used for the test execution is written or
10305
+ # spoken.
10306
+ # @return [String]
10307
+ #
10308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestExecutionSummary AWS API Documentation
10309
+ #
10310
+ class TestExecutionSummary < Struct.new(
10311
+ :test_execution_id,
10312
+ :creation_date_time,
10313
+ :last_updated_date_time,
10314
+ :test_execution_status,
10315
+ :test_set_id,
10316
+ :test_set_name,
10317
+ :target,
10318
+ :api_mode,
10319
+ :test_execution_modality)
10320
+ SENSITIVE = []
10321
+ include Aws::Structure
10322
+ end
10323
+
10324
+ # Contains information about the bot used for the test execution.
10325
+ #
10326
+ # @!attribute [rw] bot_alias_target
10327
+ # Contains information about the bot alias used for the test
10328
+ # execution.
10329
+ # @return [Types::BotAliasTestExecutionTarget]
10330
+ #
10331
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestExecutionTarget AWS API Documentation
10332
+ #
10333
+ class TestExecutionTarget < Struct.new(
10334
+ :bot_alias_target)
10335
+ SENSITIVE = []
10336
+ include Aws::Structure
10337
+ end
10338
+
10339
+ # Contains details about the errors in the test set discrepancy report
10340
+ #
10341
+ # @!attribute [rw] intent_discrepancies
10342
+ # Contains information about discrepancies found for intents between
10343
+ # the test set and the bot.
10344
+ # @return [Array<Types::TestSetIntentDiscrepancyItem>]
10345
+ #
10346
+ # @!attribute [rw] slot_discrepancies
10347
+ # Contains information about discrepancies found for slots between the
10348
+ # test set and the bot.
10349
+ # @return [Array<Types::TestSetSlotDiscrepancyItem>]
10350
+ #
10351
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetDiscrepancyErrors AWS API Documentation
10352
+ #
10353
+ class TestSetDiscrepancyErrors < Struct.new(
10354
+ :intent_discrepancies,
10355
+ :slot_discrepancies)
10356
+ SENSITIVE = []
10357
+ include Aws::Structure
10358
+ end
10359
+
10360
+ # Contains information about the bot alias used for the test set
10361
+ # discrepancy report.
10362
+ #
10363
+ # @!attribute [rw] bot_id
10364
+ # The unique identifier for the bot alias.
10365
+ # @return [String]
10366
+ #
10367
+ # @!attribute [rw] bot_alias_id
10368
+ # The unique identifier for the bot associated with the bot alias.
10369
+ # @return [String]
10370
+ #
10371
+ # @!attribute [rw] locale_id
10372
+ # The unique identifier of the locale associated with the bot alias.
10373
+ # @return [String]
10374
+ #
10375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetDiscrepancyReportBotAliasTarget AWS API Documentation
10376
+ #
10377
+ class TestSetDiscrepancyReportBotAliasTarget < Struct.new(
10378
+ :bot_id,
10379
+ :bot_alias_id,
10380
+ :locale_id)
10381
+ SENSITIVE = []
10382
+ include Aws::Structure
10383
+ end
10384
+
10385
+ # Contains information about the resource used for the test set
10386
+ # discrepancy report.
10387
+ #
10388
+ # @!attribute [rw] bot_alias_target
10389
+ # Contains information about the bot alias used as the resource for
10390
+ # the test set discrepancy report.
10391
+ # @return [Types::TestSetDiscrepancyReportBotAliasTarget]
10392
+ #
10393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetDiscrepancyReportResourceTarget AWS API Documentation
10394
+ #
10395
+ class TestSetDiscrepancyReportResourceTarget < Struct.new(
10396
+ :bot_alias_target)
10397
+ SENSITIVE = []
10398
+ include Aws::Structure
10399
+ end
10400
+
10401
+ # Contains information about the test set that is exported.
10402
+ #
10403
+ # @!attribute [rw] test_set_id
10404
+ # The unique identifier of the test set.
10405
+ # @return [String]
10406
+ #
10407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetExportSpecification AWS API Documentation
10408
+ #
10409
+ class TestSetExportSpecification < Struct.new(
10410
+ :test_set_id)
10411
+ SENSITIVE = []
10412
+ include Aws::Structure
10413
+ end
10414
+
10415
+ # Contains information about the data source from which the test set is
10416
+ # generated.
10417
+ #
10418
+ # @!attribute [rw] conversation_logs_data_source
10419
+ # Contains information about the bot from which the conversation logs
10420
+ # are sourced.
10421
+ # @return [Types::ConversationLogsDataSource]
10422
+ #
10423
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetGenerationDataSource AWS API Documentation
10424
+ #
10425
+ class TestSetGenerationDataSource < Struct.new(
10426
+ :conversation_logs_data_source)
10427
+ SENSITIVE = []
10428
+ include Aws::Structure
10429
+ end
10430
+
10431
+ # Contains information about the Amazon S3 location from which the test
10432
+ # set is imported.
10433
+ #
10434
+ # @!attribute [rw] s3_bucket_name
10435
+ # The name of the Amazon S3 bucket.
10436
+ # @return [String]
10437
+ #
10438
+ # @!attribute [rw] s3_path
10439
+ # The path inside the Amazon S3 bucket pointing to the test-set CSV
10440
+ # file.
10441
+ # @return [String]
10442
+ #
10443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetImportInputLocation AWS API Documentation
10444
+ #
10445
+ class TestSetImportInputLocation < Struct.new(
10446
+ :s3_bucket_name,
10447
+ :s3_path)
10448
+ SENSITIVE = []
10449
+ include Aws::Structure
10450
+ end
10451
+
10452
+ # Contains information about the test set that is imported.
10453
+ #
10454
+ # @!attribute [rw] test_set_name
10455
+ # The name of the test set.
10456
+ # @return [String]
10457
+ #
10458
+ # @!attribute [rw] description
10459
+ # The description of the test set.
10460
+ # @return [String]
10461
+ #
10462
+ # @!attribute [rw] role_arn
10463
+ # The Amazon Resource Name (ARN) of an IAM role that has permission to
10464
+ # access the test set.
10465
+ # @return [String]
10466
+ #
10467
+ # @!attribute [rw] storage_location
10468
+ # Contains information about the location that Amazon Lex uses to
10469
+ # store the test-set.
10470
+ # @return [Types::TestSetStorageLocation]
10471
+ #
10472
+ # @!attribute [rw] import_input_location
10473
+ # Contains information about the input location from where test-set
10474
+ # should be imported.
10475
+ # @return [Types::TestSetImportInputLocation]
10476
+ #
10477
+ # @!attribute [rw] modality
10478
+ # Specifies whether the test-set being imported contains written or
10479
+ # spoken data.
10480
+ # @return [String]
10481
+ #
10482
+ # @!attribute [rw] test_set_tags
10483
+ # A list of tags to add to the test set. You can only add tags when
10484
+ # you import/generate a new test set. You can't use the
10485
+ # `UpdateTestSet` operation to update tags. To update tags, use the
10486
+ # `TagResource` operation.
10487
+ # @return [Hash<String,String>]
10488
+ #
10489
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetImportResourceSpecification AWS API Documentation
10490
+ #
10491
+ class TestSetImportResourceSpecification < Struct.new(
10492
+ :test_set_name,
10493
+ :description,
10494
+ :role_arn,
10495
+ :storage_location,
10496
+ :import_input_location,
10497
+ :modality,
10498
+ :test_set_tags)
10499
+ SENSITIVE = []
10500
+ include Aws::Structure
10501
+ end
10502
+
10503
+ # Contains information about discrepancy in an intent information
10504
+ # between the test set and the bot.
10505
+ #
10506
+ # @!attribute [rw] intent_name
10507
+ # The name of the intent in the discrepancy report.
10508
+ # @return [String]
10509
+ #
10510
+ # @!attribute [rw] error_message
10511
+ # The error message for a discrepancy for an intent between the test
10512
+ # set and the bot.
10513
+ # @return [String]
10514
+ #
10515
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetIntentDiscrepancyItem AWS API Documentation
10516
+ #
10517
+ class TestSetIntentDiscrepancyItem < Struct.new(
10518
+ :intent_name,
10519
+ :error_message)
10520
+ SENSITIVE = []
10521
+ include Aws::Structure
10522
+ end
10523
+
10524
+ # Contains information about discrepancy in a slot information between
10525
+ # the test set and the bot.
10526
+ #
10527
+ # @!attribute [rw] intent_name
10528
+ # The name of the intent associated with the slot in the discrepancy
10529
+ # report.
10530
+ # @return [String]
10531
+ #
10532
+ # @!attribute [rw] slot_name
10533
+ # The name of the slot in the discrepancy report.
10534
+ # @return [String]
10535
+ #
10536
+ # @!attribute [rw] error_message
10537
+ # The error message for a discrepancy for an intent between the test
10538
+ # set and the bot.
10539
+ # @return [String]
10540
+ #
10541
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetSlotDiscrepancyItem AWS API Documentation
10542
+ #
10543
+ class TestSetSlotDiscrepancyItem < Struct.new(
10544
+ :intent_name,
10545
+ :slot_name,
10546
+ :error_message)
10547
+ SENSITIVE = []
10548
+ include Aws::Structure
10549
+ end
10550
+
10551
+ # Contains information about the methods by which to sort the test set.
10552
+ #
10553
+ # @!attribute [rw] attribute
10554
+ # Specifies whether to sort the test sets by name or by the time they
10555
+ # were last updated.
10556
+ # @return [String]
10557
+ #
10558
+ # @!attribute [rw] order
10559
+ # Specifies whether to sort in ascending or descending order.
10560
+ # @return [String]
10561
+ #
10562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetSortBy AWS API Documentation
10563
+ #
10564
+ class TestSetSortBy < Struct.new(
10565
+ :attribute,
10566
+ :order)
10567
+ SENSITIVE = []
10568
+ include Aws::Structure
10569
+ end
10570
+
10571
+ # Contains information about the location in which the test set is
10572
+ # stored.
10573
+ #
10574
+ # @!attribute [rw] s3_bucket_name
10575
+ # The name of the Amazon S3 bucket in which the test set is stored.
10576
+ # @return [String]
10577
+ #
10578
+ # @!attribute [rw] s3_path
10579
+ # The path inside the Amazon S3 bucket where the test set is stored.
10580
+ # @return [String]
10581
+ #
10582
+ # @!attribute [rw] kms_key_arn
10583
+ # The Amazon Resource Name (ARN) of an Amazon Web Services Key
10584
+ # Management Service (KMS) key for encrypting the test set.
10585
+ # @return [String]
10586
+ #
10587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetStorageLocation AWS API Documentation
10588
+ #
10589
+ class TestSetStorageLocation < Struct.new(
10590
+ :s3_bucket_name,
10591
+ :s3_path,
10592
+ :kms_key_arn)
10593
+ SENSITIVE = []
10594
+ include Aws::Structure
10595
+ end
10596
+
10597
+ # Contains summary information about the test set.
10598
+ #
10599
+ # @!attribute [rw] test_set_id
10600
+ # The unique identifier of the test set.
10601
+ # @return [String]
10602
+ #
10603
+ # @!attribute [rw] test_set_name
10604
+ # The name of the test set.
10605
+ # @return [String]
10606
+ #
10607
+ # @!attribute [rw] description
10608
+ # The description of the test set.
10609
+ # @return [String]
10610
+ #
10611
+ # @!attribute [rw] modality
10612
+ # Specifies whether the test set contains written or spoken data.
8748
10613
  # @return [String]
8749
10614
  #
8750
- # @!attribute [rw] slot_type_id
8751
- # The unique identifier assigned to a slot type. This refers to either
8752
- # a built-in slot type or the unique slotTypeId of a custom slot type.
10615
+ # @!attribute [rw] status
10616
+ # The status of the test set.
8753
10617
  # @return [String]
8754
10618
  #
8755
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SubSlotTypeComposition AWS API Documentation
10619
+ # @!attribute [rw] role_arn
10620
+ # The Amazon Resource Name (ARN) of an IAM role that has permission to
10621
+ # access the test set.
10622
+ # @return [String]
8756
10623
  #
8757
- class SubSlotTypeComposition < Struct.new(
8758
- :name,
8759
- :slot_type_id)
10624
+ # @!attribute [rw] num_turns
10625
+ # The number of turns in the test set.
10626
+ # @return [Integer]
10627
+ #
10628
+ # @!attribute [rw] storage_location
10629
+ # Contains information about the location at which the test set is
10630
+ # stored.
10631
+ # @return [Types::TestSetStorageLocation]
10632
+ #
10633
+ # @!attribute [rw] creation_date_time
10634
+ # The date and time at which the test set was created.
10635
+ # @return [Time]
10636
+ #
10637
+ # @!attribute [rw] last_updated_date_time
10638
+ # The date and time at which the test set was last updated.
10639
+ # @return [Time]
10640
+ #
10641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetSummary AWS API Documentation
10642
+ #
10643
+ class TestSetSummary < Struct.new(
10644
+ :test_set_id,
10645
+ :test_set_name,
10646
+ :description,
10647
+ :modality,
10648
+ :status,
10649
+ :role_arn,
10650
+ :num_turns,
10651
+ :storage_location,
10652
+ :creation_date_time,
10653
+ :last_updated_date_time)
8760
10654
  SENSITIVE = []
8761
10655
  include Aws::Structure
8762
10656
  end
8763
10657
 
8764
- # Subslot elicitation settings.
8765
- #
8766
- # `DefaultValueSpecification` is a list of default values for a
8767
- # constituent sub slot in a composite slot. Default values are used when
8768
- # Amazon Lex hasn't determined a value for a slot. You can specify
8769
- # default values from context variables, session attributes, and defined
8770
- # values. This is similar to `DefaultValueSpecification` for slots.
8771
- #
8772
- # `PromptSpecification` is the prompt that Amazon Lex uses to elicit the
8773
- # sub slot value from the user. This is similar to `PromptSpecification`
8774
- # for slots.
10658
+ # Contains information about a turn in a test set.
8775
10659
  #
8776
- # @!attribute [rw] default_value_specification
8777
- # Defines a list of values that Amazon Lex should use as the default
8778
- # value for a slot.
8779
- # @return [Types::SlotDefaultValueSpecification]
10660
+ # @!attribute [rw] record_number
10661
+ # The record number associated with the turn.
10662
+ # @return [Integer]
8780
10663
  #
8781
- # @!attribute [rw] prompt_specification
8782
- # Specifies a list of message groups that Amazon Lex sends to a user
8783
- # to elicit a response.
8784
- # @return [Types::PromptSpecification]
10664
+ # @!attribute [rw] conversation_id
10665
+ # The unique identifier for the conversation associated with the turn.
10666
+ # @return [String]
8785
10667
  #
8786
- # @!attribute [rw] sample_utterances
8787
- # If you know a specific pattern that users might respond to an Amazon
8788
- # Lex request for a sub slot value, you can provide those utterances
8789
- # to improve accuracy. This is optional. In most cases Amazon Lex is
8790
- # capable of understanding user utterances. This is similar to
8791
- # `SampleUtterances` for slots.
8792
- # @return [Array<Types::SampleUtterance>]
10668
+ # @!attribute [rw] turn_number
10669
+ # The number of turns that has elapsed up to that turn.
10670
+ # @return [Integer]
8793
10671
  #
8794
- # @!attribute [rw] wait_and_continue_specification
8795
- # Specifies the prompts that Amazon Lex uses while a bot is waiting
8796
- # for customer input.
8797
- # @return [Types::WaitAndContinueSpecification]
10672
+ # @!attribute [rw] turn_specification
10673
+ # Contains information about the agent or user turn depending upon
10674
+ # type of turn.
10675
+ # @return [Types::TurnSpecification]
8798
10676
  #
8799
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SubSlotValueElicitationSetting AWS API Documentation
10677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetTurnRecord AWS API Documentation
8800
10678
  #
8801
- class SubSlotValueElicitationSetting < Struct.new(
8802
- :default_value_specification,
8803
- :prompt_specification,
8804
- :sample_utterances,
8805
- :wait_and_continue_specification)
10679
+ class TestSetTurnRecord < Struct.new(
10680
+ :record_number,
10681
+ :conversation_id,
10682
+ :turn_number,
10683
+ :turn_specification)
8806
10684
  SENSITIVE = []
8807
10685
  include Aws::Structure
8808
10686
  end
8809
10687
 
8810
- # @!attribute [rw] resource_arn
8811
- # The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel
8812
- # to tag.
8813
- # @return [String]
10688
+ # Contains information about the results of the analysis of a turn in
10689
+ # the test set.
8814
10690
  #
8815
- # @!attribute [rw] tags
8816
- # A list of tag keys to add to the resource. If a tag key already
8817
- # exists, the existing value is replaced with the new value.
8818
- # @return [Hash<String,String>]
10691
+ # @!attribute [rw] agent
10692
+ # Contains information about the agent messages in the turn.
10693
+ # @return [Types::AgentTurnResult]
8819
10694
  #
8820
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResourceRequest AWS API Documentation
10695
+ # @!attribute [rw] user
10696
+ # Contains information about the user messages in the turn.
10697
+ # @return [Types::UserTurnResult]
8821
10698
  #
8822
- class TagResourceRequest < Struct.new(
8823
- :resource_arn,
8824
- :tags)
10699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TestSetTurnResult AWS API Documentation
10700
+ #
10701
+ class TestSetTurnResult < Struct.new(
10702
+ :agent,
10703
+ :user)
8825
10704
  SENSITIVE = []
8826
10705
  include Aws::Structure
8827
10706
  end
8828
10707
 
8829
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TagResourceResponse AWS API Documentation
8830
- #
8831
- class TagResourceResponse < Aws::EmptyStructure; end
8832
-
8833
10708
  # Specifies the text input specifications.
8834
10709
  #
8835
10710
  # @!attribute [rw] start_timeout_ms
@@ -8931,6 +10806,25 @@ module Aws::LexModelsV2
8931
10806
  include Aws::Structure
8932
10807
  end
8933
10808
 
10809
+ # Contains information about the messages in the turn.
10810
+ #
10811
+ # @!attribute [rw] agent_turn
10812
+ # Contains information about the agent messages in the turn.
10813
+ # @return [Types::AgentTurnSpecification]
10814
+ #
10815
+ # @!attribute [rw] user_turn
10816
+ # Contains information about the user messages in the turn.
10817
+ # @return [Types::UserTurnSpecification]
10818
+ #
10819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TurnSpecification AWS API Documentation
10820
+ #
10821
+ class TurnSpecification < Struct.new(
10822
+ :agent_turn,
10823
+ :user_turn)
10824
+ SENSITIVE = []
10825
+ include Aws::Structure
10826
+ end
10827
+
8934
10828
  # @!attribute [rw] resource_arn
8935
10829
  # The Amazon Resource Name (ARN) of the resource to remove the tags
8936
10830
  # from.
@@ -9565,6 +11459,8 @@ module Aws::LexModelsV2
9565
11459
  # @return [String]
9566
11460
  #
9567
11461
  # @!attribute [rw] initial_response_setting
11462
+ # Configuration settings for a response sent to the user before Amazon
11463
+ # Lex starts eliciting slots.
9568
11464
  # @return [Types::InitialResponseSetting]
9569
11465
  #
9570
11466
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentRequest AWS API Documentation
@@ -9673,6 +11569,8 @@ module Aws::LexModelsV2
9673
11569
  # @return [Time]
9674
11570
  #
9675
11571
  # @!attribute [rw] initial_response_setting
11572
+ # Configuration settings for a response sent to the user before Amazon
11573
+ # Lex starts eliciting slots.
9676
11574
  # @return [Types::InitialResponseSetting]
9677
11575
  #
9678
11576
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentResponse AWS API Documentation
@@ -9877,8 +11775,8 @@ module Aws::LexModelsV2
9877
11775
  # @return [String]
9878
11776
  #
9879
11777
  # @!attribute [rw] bot_version
9880
- # The identifier of the slot version that contains the slot. Will
9881
- # always be `DRAFT`.
11778
+ # The version of the bot that contains the slot. Will always be
11779
+ # `DRAFT`.
9882
11780
  # @return [String]
9883
11781
  #
9884
11782
  # @!attribute [rw] locale_id
@@ -10076,6 +11974,260 @@ module Aws::LexModelsV2
10076
11974
  include Aws::Structure
10077
11975
  end
10078
11976
 
11977
+ # @!attribute [rw] test_set_id
11978
+ # The test set Id for which update test operation to be performed.
11979
+ # @return [String]
11980
+ #
11981
+ # @!attribute [rw] test_set_name
11982
+ # The new test set name.
11983
+ # @return [String]
11984
+ #
11985
+ # @!attribute [rw] description
11986
+ # The new test set description.
11987
+ # @return [String]
11988
+ #
11989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateTestSetRequest AWS API Documentation
11990
+ #
11991
+ class UpdateTestSetRequest < Struct.new(
11992
+ :test_set_id,
11993
+ :test_set_name,
11994
+ :description)
11995
+ SENSITIVE = []
11996
+ include Aws::Structure
11997
+ end
11998
+
11999
+ # @!attribute [rw] test_set_id
12000
+ # The test set Id for which update test operation to be performed.
12001
+ # @return [String]
12002
+ #
12003
+ # @!attribute [rw] test_set_name
12004
+ # The test set name for the updated test set.
12005
+ # @return [String]
12006
+ #
12007
+ # @!attribute [rw] description
12008
+ # The test set description for the updated test set.
12009
+ # @return [String]
12010
+ #
12011
+ # @!attribute [rw] modality
12012
+ # Indicates whether audio or text is used for the updated test set.
12013
+ # @return [String]
12014
+ #
12015
+ # @!attribute [rw] status
12016
+ # The status for the updated test set.
12017
+ # @return [String]
12018
+ #
12019
+ # @!attribute [rw] role_arn
12020
+ # The roleARN used for any operation in the test set to access
12021
+ # resources in the Amazon Web Services account.
12022
+ # @return [String]
12023
+ #
12024
+ # @!attribute [rw] num_turns
12025
+ # The number of conversation turns from the updated test set.
12026
+ # @return [Integer]
12027
+ #
12028
+ # @!attribute [rw] storage_location
12029
+ # The Amazon S3 storage location for the updated test set.
12030
+ # @return [Types::TestSetStorageLocation]
12031
+ #
12032
+ # @!attribute [rw] creation_date_time
12033
+ # The creation date and time for the updated test set.
12034
+ # @return [Time]
12035
+ #
12036
+ # @!attribute [rw] last_updated_date_time
12037
+ # The date and time of the last update for the updated test set.
12038
+ # @return [Time]
12039
+ #
12040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateTestSetResponse AWS API Documentation
12041
+ #
12042
+ class UpdateTestSetResponse < Struct.new(
12043
+ :test_set_id,
12044
+ :test_set_name,
12045
+ :description,
12046
+ :modality,
12047
+ :status,
12048
+ :role_arn,
12049
+ :num_turns,
12050
+ :storage_location,
12051
+ :creation_date_time,
12052
+ :last_updated_date_time)
12053
+ SENSITIVE = []
12054
+ include Aws::Structure
12055
+ end
12056
+
12057
+ # Contains information about the user messages in the turn in the input.
12058
+ #
12059
+ # @!attribute [rw] utterance_input
12060
+ # The utterance input in the user turn.
12061
+ # @return [Types::UtteranceInputSpecification]
12062
+ #
12063
+ # @!attribute [rw] request_attributes
12064
+ # Request attributes of the user turn.
12065
+ # @return [Hash<String,String>]
12066
+ #
12067
+ # @!attribute [rw] session_state
12068
+ # Contains information about the session state in the input.
12069
+ # @return [Types::InputSessionStateSpecification]
12070
+ #
12071
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnInputSpecification AWS API Documentation
12072
+ #
12073
+ class UserTurnInputSpecification < Struct.new(
12074
+ :utterance_input,
12075
+ :request_attributes,
12076
+ :session_state)
12077
+ SENSITIVE = []
12078
+ include Aws::Structure
12079
+ end
12080
+
12081
+ # Contains information about the intent that is output for the turn by
12082
+ # the test execution.
12083
+ #
12084
+ # @!attribute [rw] name
12085
+ # The name of the intent.
12086
+ # @return [String]
12087
+ #
12088
+ # @!attribute [rw] slots
12089
+ # The slots associated with the intent.
12090
+ # @return [Hash<String,Types::UserTurnSlotOutput>]
12091
+ #
12092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnIntentOutput AWS API Documentation
12093
+ #
12094
+ class UserTurnIntentOutput < Struct.new(
12095
+ :name,
12096
+ :slots)
12097
+ SENSITIVE = []
12098
+ include Aws::Structure
12099
+ end
12100
+
12101
+ # Contains results that are output for the user turn by the test
12102
+ # execution.
12103
+ #
12104
+ # @!attribute [rw] intent
12105
+ # Contains information about the intent.
12106
+ # @return [Types::UserTurnIntentOutput]
12107
+ #
12108
+ # @!attribute [rw] active_contexts
12109
+ # The contexts that are active in the turn.
12110
+ # @return [Array<Types::ActiveContext>]
12111
+ #
12112
+ # @!attribute [rw] transcript
12113
+ # The transcript that is output for the user turn by the test
12114
+ # execution.
12115
+ # @return [String]
12116
+ #
12117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnOutputSpecification AWS API Documentation
12118
+ #
12119
+ class UserTurnOutputSpecification < Struct.new(
12120
+ :intent,
12121
+ :active_contexts,
12122
+ :transcript)
12123
+ SENSITIVE = []
12124
+ include Aws::Structure
12125
+ end
12126
+
12127
+ # Contains the results for the user turn by the test execution.
12128
+ #
12129
+ # @!attribute [rw] input
12130
+ # Contains information about the user messages in the turn in the
12131
+ # input.
12132
+ # @return [Types::UserTurnInputSpecification]
12133
+ #
12134
+ # @!attribute [rw] expected_output
12135
+ # Contains information about the expected output for the user turn.
12136
+ # @return [Types::UserTurnOutputSpecification]
12137
+ #
12138
+ # @!attribute [rw] actual_output
12139
+ # Contains information about the actual output for the user turn.
12140
+ # @return [Types::UserTurnOutputSpecification]
12141
+ #
12142
+ # @!attribute [rw] error_details
12143
+ # Details about an error in an execution of a test set.
12144
+ # @return [Types::ExecutionErrorDetails]
12145
+ #
12146
+ # @!attribute [rw] end_to_end_result
12147
+ # Specifies whether the expected and actual outputs match or not, or
12148
+ # if there is an error in execution.
12149
+ # @return [String]
12150
+ #
12151
+ # @!attribute [rw] intent_match_result
12152
+ # Specifies whether the expected and actual intents match or not.
12153
+ # @return [String]
12154
+ #
12155
+ # @!attribute [rw] slot_match_result
12156
+ # Specifies whether the expected and actual slots match or not.
12157
+ # @return [String]
12158
+ #
12159
+ # @!attribute [rw] speech_transcription_result
12160
+ # Specifies whether the expected and actual speech transcriptions
12161
+ # match or not, or if there is an error in execution.
12162
+ # @return [String]
12163
+ #
12164
+ # @!attribute [rw] conversation_level_result
12165
+ # Contains information about the results related to the conversation
12166
+ # associated with the user turn.
12167
+ # @return [Types::ConversationLevelResultDetail]
12168
+ #
12169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnResult AWS API Documentation
12170
+ #
12171
+ class UserTurnResult < Struct.new(
12172
+ :input,
12173
+ :expected_output,
12174
+ :actual_output,
12175
+ :error_details,
12176
+ :end_to_end_result,
12177
+ :intent_match_result,
12178
+ :slot_match_result,
12179
+ :speech_transcription_result,
12180
+ :conversation_level_result)
12181
+ SENSITIVE = []
12182
+ include Aws::Structure
12183
+ end
12184
+
12185
+ # Contains information about a slot output by the test set execution.
12186
+ #
12187
+ # @!attribute [rw] value
12188
+ # The value output by the slot recognition.
12189
+ # @return [String]
12190
+ #
12191
+ # @!attribute [rw] values
12192
+ # Values that are output by the slot recognition.
12193
+ # @return [Array<Types::UserTurnSlotOutput>]
12194
+ #
12195
+ # @!attribute [rw] sub_slots
12196
+ # A list of items mapping the name of the subslots to information
12197
+ # about those subslots.
12198
+ # @return [Hash<String,Types::UserTurnSlotOutput>]
12199
+ #
12200
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnSlotOutput AWS API Documentation
12201
+ #
12202
+ class UserTurnSlotOutput < Struct.new(
12203
+ :value,
12204
+ :values,
12205
+ :sub_slots)
12206
+ SENSITIVE = []
12207
+ include Aws::Structure
12208
+ end
12209
+
12210
+ # Contains information about the expected and input values for the user
12211
+ # turn.
12212
+ #
12213
+ # @!attribute [rw] input
12214
+ # Contains information about the user messages in the turn in the
12215
+ # input.
12216
+ # @return [Types::UserTurnInputSpecification]
12217
+ #
12218
+ # @!attribute [rw] expected
12219
+ # Contains results about the expected output for the user turn.
12220
+ # @return [Types::UserTurnOutputSpecification]
12221
+ #
12222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UserTurnSpecification AWS API Documentation
12223
+ #
12224
+ class UserTurnSpecification < Struct.new(
12225
+ :input,
12226
+ :expected)
12227
+ SENSITIVE = []
12228
+ include Aws::Structure
12229
+ end
12230
+
10079
12231
  # Provides parameters for setting the time window and duration for
10080
12232
  # aggregating utterance data.
10081
12233
  #
@@ -10091,6 +12243,82 @@ module Aws::LexModelsV2
10091
12243
  include Aws::Structure
10092
12244
  end
10093
12245
 
12246
+ # Contains information about the audio for an utterance.
12247
+ #
12248
+ # @!attribute [rw] audio_file_s3_location
12249
+ # Amazon S3 file pointing to the audio.
12250
+ # @return [String]
12251
+ #
12252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UtteranceAudioInputSpecification AWS API Documentation
12253
+ #
12254
+ class UtteranceAudioInputSpecification < Struct.new(
12255
+ :audio_file_s3_location)
12256
+ SENSITIVE = []
12257
+ include Aws::Structure
12258
+ end
12259
+
12260
+ # Contains information about input of an utterance.
12261
+ #
12262
+ # @!attribute [rw] text_input
12263
+ # A text input transcription of the utterance. It is only applicable
12264
+ # for test-sets containing text data.
12265
+ # @return [String]
12266
+ #
12267
+ # @!attribute [rw] audio_input
12268
+ # Contains information about the audio input for an utterance.
12269
+ # @return [Types::UtteranceAudioInputSpecification]
12270
+ #
12271
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UtteranceInputSpecification AWS API Documentation
12272
+ #
12273
+ class UtteranceInputSpecification < Struct.new(
12274
+ :text_input,
12275
+ :audio_input)
12276
+ SENSITIVE = []
12277
+ include Aws::Structure
12278
+ end
12279
+
12280
+ # Contains information about multiple utterances in the results of a
12281
+ # test set execution.
12282
+ #
12283
+ # @!attribute [rw] record_number
12284
+ # The record number of the result.
12285
+ # @return [Integer]
12286
+ #
12287
+ # @!attribute [rw] conversation_id
12288
+ # The unique identifier for the conversation associated with the
12289
+ # result.
12290
+ # @return [String]
12291
+ #
12292
+ # @!attribute [rw] turn_result
12293
+ # Contains information about the turn associated with the result.
12294
+ # @return [Types::TestSetTurnResult]
12295
+ #
12296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UtteranceLevelTestResultItem AWS API Documentation
12297
+ #
12298
+ class UtteranceLevelTestResultItem < Struct.new(
12299
+ :record_number,
12300
+ :conversation_id,
12301
+ :turn_result)
12302
+ SENSITIVE = []
12303
+ include Aws::Structure
12304
+ end
12305
+
12306
+ # Contains information about the utterances in the results of the test
12307
+ # set execution.
12308
+ #
12309
+ # @!attribute [rw] items
12310
+ # Contains information about an utterance in the results of the test
12311
+ # set execution.
12312
+ # @return [Array<Types::UtteranceLevelTestResultItem>]
12313
+ #
12314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UtteranceLevelTestResults AWS API Documentation
12315
+ #
12316
+ class UtteranceLevelTestResults < Struct.new(
12317
+ :items)
12318
+ SENSITIVE = []
12319
+ include Aws::Structure
12320
+ end
12321
+
10094
12322
  # One of the input parameters in your request isn't valid. Check the
10095
12323
  # parameters and try your request again.
10096
12324
  #