aws-sdk-lexmodelsv2 1.8.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +1190 -114
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +139 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +2101 -274
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +5 -5
@@ -10,6 +10,125 @@
|
|
10
10
|
module Aws::LexModelsV2
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Filters responses returned by the `ListAggregatedUtterances`
|
14
|
+
# operation.
|
15
|
+
#
|
16
|
+
# @note When making an API call, you may pass AggregatedUtterancesFilter
|
17
|
+
# data as a hash:
|
18
|
+
#
|
19
|
+
# {
|
20
|
+
# name: "Utterance", # required, accepts Utterance
|
21
|
+
# values: ["FilterValue"], # required
|
22
|
+
# operator: "CO", # required, accepts CO, EQ
|
23
|
+
# }
|
24
|
+
#
|
25
|
+
# @!attribute [rw] name
|
26
|
+
# The name of the field to filter the utterance list.
|
27
|
+
# @return [String]
|
28
|
+
#
|
29
|
+
# @!attribute [rw] values
|
30
|
+
# The value to use for filtering the list of bots.
|
31
|
+
# @return [Array<String>]
|
32
|
+
#
|
33
|
+
# @!attribute [rw] operator
|
34
|
+
# The operator to use for the filter. Specify `EQ` when the
|
35
|
+
# `ListAggregatedUtterances` operation should return only utterances
|
36
|
+
# that equal the specified value. Specify `CO` when the
|
37
|
+
# `ListAggregatedUtterances` operation should return utterances that
|
38
|
+
# contain the specified value.
|
39
|
+
# @return [String]
|
40
|
+
#
|
41
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AggregatedUtterancesFilter AWS API Documentation
|
42
|
+
#
|
43
|
+
class AggregatedUtterancesFilter < Struct.new(
|
44
|
+
:name,
|
45
|
+
:values,
|
46
|
+
:operator)
|
47
|
+
SENSITIVE = []
|
48
|
+
include Aws::Structure
|
49
|
+
end
|
50
|
+
|
51
|
+
# Specifies attributes for sorting a list of utterances.
|
52
|
+
#
|
53
|
+
# @note When making an API call, you may pass AggregatedUtterancesSortBy
|
54
|
+
# data as a hash:
|
55
|
+
#
|
56
|
+
# {
|
57
|
+
# attribute: "HitCount", # required, accepts HitCount, MissedCount
|
58
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
59
|
+
# }
|
60
|
+
#
|
61
|
+
# @!attribute [rw] attribute
|
62
|
+
# The utterance attribute to sort by.
|
63
|
+
# @return [String]
|
64
|
+
#
|
65
|
+
# @!attribute [rw] order
|
66
|
+
# Specifies whether to sort the aggregated utterances in ascending or
|
67
|
+
# descending order.
|
68
|
+
# @return [String]
|
69
|
+
#
|
70
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AggregatedUtterancesSortBy AWS API Documentation
|
71
|
+
#
|
72
|
+
class AggregatedUtterancesSortBy < Struct.new(
|
73
|
+
:attribute,
|
74
|
+
:order)
|
75
|
+
SENSITIVE = []
|
76
|
+
include Aws::Structure
|
77
|
+
end
|
78
|
+
|
79
|
+
# Provides summary information for aggregated utterances. The
|
80
|
+
# `ListAggregatedUtterances` operations combines all instances of the
|
81
|
+
# same utterance into a single aggregated summary.
|
82
|
+
#
|
83
|
+
# @!attribute [rw] utterance
|
84
|
+
# The text of the utterance. If the utterance was used with the
|
85
|
+
# `RecognizeUtterance` operation, the text is the transcription of the
|
86
|
+
# audio utterance.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] hit_count
|
90
|
+
# The number of times that the utterance was detected by Amazon Lex
|
91
|
+
# during the time period. When an utterance is detected, it activates
|
92
|
+
# an intent or a slot.
|
93
|
+
# @return [Integer]
|
94
|
+
#
|
95
|
+
# @!attribute [rw] missed_count
|
96
|
+
# The number of times that the utterance was missed by Amazon Lex An
|
97
|
+
# utterance is missed when it doesn't activate an intent or slot.
|
98
|
+
# @return [Integer]
|
99
|
+
#
|
100
|
+
# @!attribute [rw] utterance_first_recorded_in_aggregation_duration
|
101
|
+
# The date and time that the utterance was first recorded in the time
|
102
|
+
# window for aggregation. An utterance may have been sent to Amazon
|
103
|
+
# Lex before that time, but only utterances within the time window are
|
104
|
+
# counted.
|
105
|
+
# @return [Time]
|
106
|
+
#
|
107
|
+
# @!attribute [rw] utterance_last_recorded_in_aggregation_duration
|
108
|
+
# The last date and time that an utterance was recorded in the time
|
109
|
+
# window for aggregation. An utterance may be sent to Amazon Lex after
|
110
|
+
# that time, but only utterances within the time window are counted.
|
111
|
+
# @return [Time]
|
112
|
+
#
|
113
|
+
# @!attribute [rw] contains_data_from_deleted_resources
|
114
|
+
# Aggregated utterance data may contain utterances from versions of
|
115
|
+
# your bot that have since been deleted. When the aggregated contains
|
116
|
+
# this kind of data, this field is set to true.
|
117
|
+
# @return [Boolean]
|
118
|
+
#
|
119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AggregatedUtterancesSummary AWS API Documentation
|
120
|
+
#
|
121
|
+
class AggregatedUtterancesSummary < Struct.new(
|
122
|
+
:utterance,
|
123
|
+
:hit_count,
|
124
|
+
:missed_count,
|
125
|
+
:utterance_first_recorded_in_aggregation_duration,
|
126
|
+
:utterance_last_recorded_in_aggregation_duration,
|
127
|
+
:contains_data_from_deleted_resources)
|
128
|
+
SENSITIVE = []
|
129
|
+
include Aws::Structure
|
130
|
+
end
|
131
|
+
|
13
132
|
# The location of audio log files collected when conversation logging is
|
14
133
|
# enabled for a bot.
|
15
134
|
#
|
@@ -182,7 +301,7 @@ module Aws::LexModelsV2
|
|
182
301
|
include Aws::Structure
|
183
302
|
end
|
184
303
|
|
185
|
-
#
|
304
|
+
# Provides the identity of a the bot that was exported.
|
186
305
|
#
|
187
306
|
# @note When making an API call, you may pass BotExportSpecification
|
188
307
|
# data as a hash:
|
@@ -957,7 +1076,7 @@ module Aws::LexModelsV2
|
|
957
1076
|
#
|
958
1077
|
# @!attribute [rw] lambda_code_hook
|
959
1078
|
# Specifies a Lambda function that verifies requests to a bot or
|
960
|
-
#
|
1079
|
+
# fulfills the user's request to a bot.
|
961
1080
|
# @return [Types::LambdaCodeHook]
|
962
1081
|
#
|
963
1082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CodeHookSpecification AWS API Documentation
|
@@ -968,6 +1087,10 @@ module Aws::LexModelsV2
|
|
968
1087
|
include Aws::Structure
|
969
1088
|
end
|
970
1089
|
|
1090
|
+
# The action that you tried to perform couldn't be completed because
|
1091
|
+
# the resource is in a conflicting state. For example, deleting a bot
|
1092
|
+
# that is in the CREATING state. Try your request again.
|
1093
|
+
#
|
971
1094
|
# @!attribute [rw] message
|
972
1095
|
# @return [String]
|
973
1096
|
#
|
@@ -1255,7 +1378,7 @@ module Aws::LexModelsV2
|
|
1255
1378
|
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
1256
1379
|
# returns three alternative intents with the following confidence
|
1257
1380
|
# scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
|
1258
|
-
# from the
|
1381
|
+
# from the `RecognizeText` operation would be:
|
1259
1382
|
#
|
1260
1383
|
# * AMAZON.FallbackIntent
|
1261
1384
|
#
|
@@ -1664,35 +1787,11 @@ module Aws::LexModelsV2
|
|
1664
1787
|
# },
|
1665
1788
|
# fulfillment_code_hook: {
|
1666
1789
|
# enabled: false, # required
|
1667
|
-
#
|
1668
|
-
#
|
1669
|
-
#
|
1670
|
-
#
|
1671
|
-
#
|
1672
|
-
# message: { # required
|
1673
|
-
# plain_text_message: {
|
1674
|
-
# value: "PlainTextMessageValue", # required
|
1675
|
-
# },
|
1676
|
-
# custom_payload: {
|
1677
|
-
# value: "CustomPayloadValue", # required
|
1678
|
-
# },
|
1679
|
-
# ssml_message: {
|
1680
|
-
# value: "SSMLMessageValue", # required
|
1681
|
-
# },
|
1682
|
-
# image_response_card: {
|
1683
|
-
# title: "AttachmentTitle", # required
|
1684
|
-
# subtitle: "AttachmentTitle",
|
1685
|
-
# image_url: "AttachmentUrl",
|
1686
|
-
# buttons: [
|
1687
|
-
# {
|
1688
|
-
# text: "ButtonText", # required
|
1689
|
-
# value: "ButtonValue", # required
|
1690
|
-
# },
|
1691
|
-
# ],
|
1692
|
-
# },
|
1693
|
-
# },
|
1694
|
-
# variations: [
|
1695
|
-
# {
|
1790
|
+
# post_fulfillment_status_specification: {
|
1791
|
+
# success_response: {
|
1792
|
+
# message_groups: [ # required
|
1793
|
+
# {
|
1794
|
+
# message: { # required
|
1696
1795
|
# plain_text_message: {
|
1697
1796
|
# value: "PlainTextMessageValue", # required
|
1698
1797
|
# },
|
@@ -1714,39 +1813,38 @@ module Aws::LexModelsV2
|
|
1714
1813
|
# ],
|
1715
1814
|
# },
|
1716
1815
|
# },
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
#
|
1720
|
-
#
|
1721
|
-
# allow_interrupt: false,
|
1722
|
-
# },
|
1723
|
-
# declination_response: { # required
|
1724
|
-
# message_groups: [ # required
|
1725
|
-
# {
|
1726
|
-
# message: { # required
|
1727
|
-
# plain_text_message: {
|
1728
|
-
# value: "PlainTextMessageValue", # required
|
1729
|
-
# },
|
1730
|
-
# custom_payload: {
|
1731
|
-
# value: "CustomPayloadValue", # required
|
1732
|
-
# },
|
1733
|
-
# ssml_message: {
|
1734
|
-
# value: "SSMLMessageValue", # required
|
1735
|
-
# },
|
1736
|
-
# image_response_card: {
|
1737
|
-
# title: "AttachmentTitle", # required
|
1738
|
-
# subtitle: "AttachmentTitle",
|
1739
|
-
# image_url: "AttachmentUrl",
|
1740
|
-
# buttons: [
|
1741
|
-
# {
|
1742
|
-
# text: "ButtonText", # required
|
1743
|
-
# value: "ButtonValue", # required
|
1816
|
+
# variations: [
|
1817
|
+
# {
|
1818
|
+
# plain_text_message: {
|
1819
|
+
# value: "PlainTextMessageValue", # required
|
1744
1820
|
# },
|
1745
|
-
#
|
1746
|
-
#
|
1821
|
+
# custom_payload: {
|
1822
|
+
# value: "CustomPayloadValue", # required
|
1823
|
+
# },
|
1824
|
+
# ssml_message: {
|
1825
|
+
# value: "SSMLMessageValue", # required
|
1826
|
+
# },
|
1827
|
+
# image_response_card: {
|
1828
|
+
# title: "AttachmentTitle", # required
|
1829
|
+
# subtitle: "AttachmentTitle",
|
1830
|
+
# image_url: "AttachmentUrl",
|
1831
|
+
# buttons: [
|
1832
|
+
# {
|
1833
|
+
# text: "ButtonText", # required
|
1834
|
+
# value: "ButtonValue", # required
|
1835
|
+
# },
|
1836
|
+
# ],
|
1837
|
+
# },
|
1838
|
+
# },
|
1839
|
+
# ],
|
1747
1840
|
# },
|
1748
|
-
#
|
1749
|
-
#
|
1841
|
+
# ],
|
1842
|
+
# allow_interrupt: false,
|
1843
|
+
# },
|
1844
|
+
# failure_response: {
|
1845
|
+
# message_groups: [ # required
|
1846
|
+
# {
|
1847
|
+
# message: { # required
|
1750
1848
|
# plain_text_message: {
|
1751
1849
|
# value: "PlainTextMessageValue", # required
|
1752
1850
|
# },
|
@@ -1768,40 +1866,38 @@ module Aws::LexModelsV2
|
|
1768
1866
|
# ],
|
1769
1867
|
# },
|
1770
1868
|
# },
|
1771
|
-
#
|
1772
|
-
#
|
1773
|
-
#
|
1774
|
-
#
|
1775
|
-
# },
|
1776
|
-
# },
|
1777
|
-
# intent_closing_setting: {
|
1778
|
-
# closing_response: { # required
|
1779
|
-
# message_groups: [ # required
|
1780
|
-
# {
|
1781
|
-
# message: { # required
|
1782
|
-
# plain_text_message: {
|
1783
|
-
# value: "PlainTextMessageValue", # required
|
1784
|
-
# },
|
1785
|
-
# custom_payload: {
|
1786
|
-
# value: "CustomPayloadValue", # required
|
1787
|
-
# },
|
1788
|
-
# ssml_message: {
|
1789
|
-
# value: "SSMLMessageValue", # required
|
1790
|
-
# },
|
1791
|
-
# image_response_card: {
|
1792
|
-
# title: "AttachmentTitle", # required
|
1793
|
-
# subtitle: "AttachmentTitle",
|
1794
|
-
# image_url: "AttachmentUrl",
|
1795
|
-
# buttons: [
|
1796
|
-
# {
|
1797
|
-
# text: "ButtonText", # required
|
1798
|
-
# value: "ButtonValue", # required
|
1869
|
+
# variations: [
|
1870
|
+
# {
|
1871
|
+
# plain_text_message: {
|
1872
|
+
# value: "PlainTextMessageValue", # required
|
1799
1873
|
# },
|
1800
|
-
#
|
1801
|
-
#
|
1874
|
+
# custom_payload: {
|
1875
|
+
# value: "CustomPayloadValue", # required
|
1876
|
+
# },
|
1877
|
+
# ssml_message: {
|
1878
|
+
# value: "SSMLMessageValue", # required
|
1879
|
+
# },
|
1880
|
+
# image_response_card: {
|
1881
|
+
# title: "AttachmentTitle", # required
|
1882
|
+
# subtitle: "AttachmentTitle",
|
1883
|
+
# image_url: "AttachmentUrl",
|
1884
|
+
# buttons: [
|
1885
|
+
# {
|
1886
|
+
# text: "ButtonText", # required
|
1887
|
+
# value: "ButtonValue", # required
|
1888
|
+
# },
|
1889
|
+
# ],
|
1890
|
+
# },
|
1891
|
+
# },
|
1892
|
+
# ],
|
1802
1893
|
# },
|
1803
|
-
#
|
1804
|
-
#
|
1894
|
+
# ],
|
1895
|
+
# allow_interrupt: false,
|
1896
|
+
# },
|
1897
|
+
# timeout_response: {
|
1898
|
+
# message_groups: [ # required
|
1899
|
+
# {
|
1900
|
+
# message: { # required
|
1805
1901
|
# plain_text_message: {
|
1806
1902
|
# value: "PlainTextMessageValue", # required
|
1807
1903
|
# },
|
@@ -1823,14 +1919,316 @@ module Aws::LexModelsV2
|
|
1823
1919
|
# ],
|
1824
1920
|
# },
|
1825
1921
|
# },
|
1826
|
-
#
|
1827
|
-
#
|
1828
|
-
#
|
1829
|
-
#
|
1922
|
+
# variations: [
|
1923
|
+
# {
|
1924
|
+
# plain_text_message: {
|
1925
|
+
# value: "PlainTextMessageValue", # required
|
1926
|
+
# },
|
1927
|
+
# custom_payload: {
|
1928
|
+
# value: "CustomPayloadValue", # required
|
1929
|
+
# },
|
1930
|
+
# ssml_message: {
|
1931
|
+
# value: "SSMLMessageValue", # required
|
1932
|
+
# },
|
1933
|
+
# image_response_card: {
|
1934
|
+
# title: "AttachmentTitle", # required
|
1935
|
+
# subtitle: "AttachmentTitle",
|
1936
|
+
# image_url: "AttachmentUrl",
|
1937
|
+
# buttons: [
|
1938
|
+
# {
|
1939
|
+
# text: "ButtonText", # required
|
1940
|
+
# value: "ButtonValue", # required
|
1941
|
+
# },
|
1942
|
+
# ],
|
1943
|
+
# },
|
1944
|
+
# },
|
1945
|
+
# ],
|
1946
|
+
# },
|
1947
|
+
# ],
|
1948
|
+
# allow_interrupt: false,
|
1949
|
+
# },
|
1830
1950
|
# },
|
1831
|
-
#
|
1832
|
-
#
|
1833
|
-
#
|
1951
|
+
# fulfillment_updates_specification: {
|
1952
|
+
# active: false, # required
|
1953
|
+
# start_response: {
|
1954
|
+
# delay_in_seconds: 1, # required
|
1955
|
+
# message_groups: [ # required
|
1956
|
+
# {
|
1957
|
+
# message: { # required
|
1958
|
+
# plain_text_message: {
|
1959
|
+
# value: "PlainTextMessageValue", # required
|
1960
|
+
# },
|
1961
|
+
# custom_payload: {
|
1962
|
+
# value: "CustomPayloadValue", # required
|
1963
|
+
# },
|
1964
|
+
# ssml_message: {
|
1965
|
+
# value: "SSMLMessageValue", # required
|
1966
|
+
# },
|
1967
|
+
# image_response_card: {
|
1968
|
+
# title: "AttachmentTitle", # required
|
1969
|
+
# subtitle: "AttachmentTitle",
|
1970
|
+
# image_url: "AttachmentUrl",
|
1971
|
+
# buttons: [
|
1972
|
+
# {
|
1973
|
+
# text: "ButtonText", # required
|
1974
|
+
# value: "ButtonValue", # required
|
1975
|
+
# },
|
1976
|
+
# ],
|
1977
|
+
# },
|
1978
|
+
# },
|
1979
|
+
# variations: [
|
1980
|
+
# {
|
1981
|
+
# plain_text_message: {
|
1982
|
+
# value: "PlainTextMessageValue", # required
|
1983
|
+
# },
|
1984
|
+
# custom_payload: {
|
1985
|
+
# value: "CustomPayloadValue", # required
|
1986
|
+
# },
|
1987
|
+
# ssml_message: {
|
1988
|
+
# value: "SSMLMessageValue", # required
|
1989
|
+
# },
|
1990
|
+
# image_response_card: {
|
1991
|
+
# title: "AttachmentTitle", # required
|
1992
|
+
# subtitle: "AttachmentTitle",
|
1993
|
+
# image_url: "AttachmentUrl",
|
1994
|
+
# buttons: [
|
1995
|
+
# {
|
1996
|
+
# text: "ButtonText", # required
|
1997
|
+
# value: "ButtonValue", # required
|
1998
|
+
# },
|
1999
|
+
# ],
|
2000
|
+
# },
|
2001
|
+
# },
|
2002
|
+
# ],
|
2003
|
+
# },
|
2004
|
+
# ],
|
2005
|
+
# allow_interrupt: false,
|
2006
|
+
# },
|
2007
|
+
# update_response: {
|
2008
|
+
# frequency_in_seconds: 1, # required
|
2009
|
+
# message_groups: [ # required
|
2010
|
+
# {
|
2011
|
+
# message: { # required
|
2012
|
+
# plain_text_message: {
|
2013
|
+
# value: "PlainTextMessageValue", # required
|
2014
|
+
# },
|
2015
|
+
# custom_payload: {
|
2016
|
+
# value: "CustomPayloadValue", # required
|
2017
|
+
# },
|
2018
|
+
# ssml_message: {
|
2019
|
+
# value: "SSMLMessageValue", # required
|
2020
|
+
# },
|
2021
|
+
# image_response_card: {
|
2022
|
+
# title: "AttachmentTitle", # required
|
2023
|
+
# subtitle: "AttachmentTitle",
|
2024
|
+
# image_url: "AttachmentUrl",
|
2025
|
+
# buttons: [
|
2026
|
+
# {
|
2027
|
+
# text: "ButtonText", # required
|
2028
|
+
# value: "ButtonValue", # required
|
2029
|
+
# },
|
2030
|
+
# ],
|
2031
|
+
# },
|
2032
|
+
# },
|
2033
|
+
# variations: [
|
2034
|
+
# {
|
2035
|
+
# plain_text_message: {
|
2036
|
+
# value: "PlainTextMessageValue", # required
|
2037
|
+
# },
|
2038
|
+
# custom_payload: {
|
2039
|
+
# value: "CustomPayloadValue", # required
|
2040
|
+
# },
|
2041
|
+
# ssml_message: {
|
2042
|
+
# value: "SSMLMessageValue", # required
|
2043
|
+
# },
|
2044
|
+
# image_response_card: {
|
2045
|
+
# title: "AttachmentTitle", # required
|
2046
|
+
# subtitle: "AttachmentTitle",
|
2047
|
+
# image_url: "AttachmentUrl",
|
2048
|
+
# buttons: [
|
2049
|
+
# {
|
2050
|
+
# text: "ButtonText", # required
|
2051
|
+
# value: "ButtonValue", # required
|
2052
|
+
# },
|
2053
|
+
# ],
|
2054
|
+
# },
|
2055
|
+
# },
|
2056
|
+
# ],
|
2057
|
+
# },
|
2058
|
+
# ],
|
2059
|
+
# allow_interrupt: false,
|
2060
|
+
# },
|
2061
|
+
# timeout_in_seconds: 1,
|
2062
|
+
# },
|
2063
|
+
# },
|
2064
|
+
# intent_confirmation_setting: {
|
2065
|
+
# prompt_specification: { # required
|
2066
|
+
# message_groups: [ # required
|
2067
|
+
# {
|
2068
|
+
# message: { # required
|
2069
|
+
# plain_text_message: {
|
2070
|
+
# value: "PlainTextMessageValue", # required
|
2071
|
+
# },
|
2072
|
+
# custom_payload: {
|
2073
|
+
# value: "CustomPayloadValue", # required
|
2074
|
+
# },
|
2075
|
+
# ssml_message: {
|
2076
|
+
# value: "SSMLMessageValue", # required
|
2077
|
+
# },
|
2078
|
+
# image_response_card: {
|
2079
|
+
# title: "AttachmentTitle", # required
|
2080
|
+
# subtitle: "AttachmentTitle",
|
2081
|
+
# image_url: "AttachmentUrl",
|
2082
|
+
# buttons: [
|
2083
|
+
# {
|
2084
|
+
# text: "ButtonText", # required
|
2085
|
+
# value: "ButtonValue", # required
|
2086
|
+
# },
|
2087
|
+
# ],
|
2088
|
+
# },
|
2089
|
+
# },
|
2090
|
+
# variations: [
|
2091
|
+
# {
|
2092
|
+
# plain_text_message: {
|
2093
|
+
# value: "PlainTextMessageValue", # required
|
2094
|
+
# },
|
2095
|
+
# custom_payload: {
|
2096
|
+
# value: "CustomPayloadValue", # required
|
2097
|
+
# },
|
2098
|
+
# ssml_message: {
|
2099
|
+
# value: "SSMLMessageValue", # required
|
2100
|
+
# },
|
2101
|
+
# image_response_card: {
|
2102
|
+
# title: "AttachmentTitle", # required
|
2103
|
+
# subtitle: "AttachmentTitle",
|
2104
|
+
# image_url: "AttachmentUrl",
|
2105
|
+
# buttons: [
|
2106
|
+
# {
|
2107
|
+
# text: "ButtonText", # required
|
2108
|
+
# value: "ButtonValue", # required
|
2109
|
+
# },
|
2110
|
+
# ],
|
2111
|
+
# },
|
2112
|
+
# },
|
2113
|
+
# ],
|
2114
|
+
# },
|
2115
|
+
# ],
|
2116
|
+
# max_retries: 1, # required
|
2117
|
+
# allow_interrupt: false,
|
2118
|
+
# },
|
2119
|
+
# declination_response: { # required
|
2120
|
+
# message_groups: [ # required
|
2121
|
+
# {
|
2122
|
+
# message: { # required
|
2123
|
+
# plain_text_message: {
|
2124
|
+
# value: "PlainTextMessageValue", # required
|
2125
|
+
# },
|
2126
|
+
# custom_payload: {
|
2127
|
+
# value: "CustomPayloadValue", # required
|
2128
|
+
# },
|
2129
|
+
# ssml_message: {
|
2130
|
+
# value: "SSMLMessageValue", # required
|
2131
|
+
# },
|
2132
|
+
# image_response_card: {
|
2133
|
+
# title: "AttachmentTitle", # required
|
2134
|
+
# subtitle: "AttachmentTitle",
|
2135
|
+
# image_url: "AttachmentUrl",
|
2136
|
+
# buttons: [
|
2137
|
+
# {
|
2138
|
+
# text: "ButtonText", # required
|
2139
|
+
# value: "ButtonValue", # required
|
2140
|
+
# },
|
2141
|
+
# ],
|
2142
|
+
# },
|
2143
|
+
# },
|
2144
|
+
# variations: [
|
2145
|
+
# {
|
2146
|
+
# plain_text_message: {
|
2147
|
+
# value: "PlainTextMessageValue", # required
|
2148
|
+
# },
|
2149
|
+
# custom_payload: {
|
2150
|
+
# value: "CustomPayloadValue", # required
|
2151
|
+
# },
|
2152
|
+
# ssml_message: {
|
2153
|
+
# value: "SSMLMessageValue", # required
|
2154
|
+
# },
|
2155
|
+
# image_response_card: {
|
2156
|
+
# title: "AttachmentTitle", # required
|
2157
|
+
# subtitle: "AttachmentTitle",
|
2158
|
+
# image_url: "AttachmentUrl",
|
2159
|
+
# buttons: [
|
2160
|
+
# {
|
2161
|
+
# text: "ButtonText", # required
|
2162
|
+
# value: "ButtonValue", # required
|
2163
|
+
# },
|
2164
|
+
# ],
|
2165
|
+
# },
|
2166
|
+
# },
|
2167
|
+
# ],
|
2168
|
+
# },
|
2169
|
+
# ],
|
2170
|
+
# allow_interrupt: false,
|
2171
|
+
# },
|
2172
|
+
# active: false,
|
2173
|
+
# },
|
2174
|
+
# intent_closing_setting: {
|
2175
|
+
# closing_response: { # required
|
2176
|
+
# message_groups: [ # required
|
2177
|
+
# {
|
2178
|
+
# message: { # required
|
2179
|
+
# plain_text_message: {
|
2180
|
+
# value: "PlainTextMessageValue", # required
|
2181
|
+
# },
|
2182
|
+
# custom_payload: {
|
2183
|
+
# value: "CustomPayloadValue", # required
|
2184
|
+
# },
|
2185
|
+
# ssml_message: {
|
2186
|
+
# value: "SSMLMessageValue", # required
|
2187
|
+
# },
|
2188
|
+
# image_response_card: {
|
2189
|
+
# title: "AttachmentTitle", # required
|
2190
|
+
# subtitle: "AttachmentTitle",
|
2191
|
+
# image_url: "AttachmentUrl",
|
2192
|
+
# buttons: [
|
2193
|
+
# {
|
2194
|
+
# text: "ButtonText", # required
|
2195
|
+
# value: "ButtonValue", # required
|
2196
|
+
# },
|
2197
|
+
# ],
|
2198
|
+
# },
|
2199
|
+
# },
|
2200
|
+
# variations: [
|
2201
|
+
# {
|
2202
|
+
# plain_text_message: {
|
2203
|
+
# value: "PlainTextMessageValue", # required
|
2204
|
+
# },
|
2205
|
+
# custom_payload: {
|
2206
|
+
# value: "CustomPayloadValue", # required
|
2207
|
+
# },
|
2208
|
+
# ssml_message: {
|
2209
|
+
# value: "SSMLMessageValue", # required
|
2210
|
+
# },
|
2211
|
+
# image_response_card: {
|
2212
|
+
# title: "AttachmentTitle", # required
|
2213
|
+
# subtitle: "AttachmentTitle",
|
2214
|
+
# image_url: "AttachmentUrl",
|
2215
|
+
# buttons: [
|
2216
|
+
# {
|
2217
|
+
# text: "ButtonText", # required
|
2218
|
+
# value: "ButtonValue", # required
|
2219
|
+
# },
|
2220
|
+
# ],
|
2221
|
+
# },
|
2222
|
+
# },
|
2223
|
+
# ],
|
2224
|
+
# },
|
2225
|
+
# ],
|
2226
|
+
# allow_interrupt: false,
|
2227
|
+
# },
|
2228
|
+
# active: false,
|
2229
|
+
# },
|
2230
|
+
# input_contexts: [
|
2231
|
+
# {
|
1834
2232
|
# name: "Name", # required
|
1835
2233
|
# },
|
1836
2234
|
# ],
|
@@ -2496,6 +2894,7 @@ module Aws::LexModelsV2
|
|
2496
2894
|
# timeout_in_seconds: 1, # required
|
2497
2895
|
# allow_interrupt: false,
|
2498
2896
|
# },
|
2897
|
+
# active: false,
|
2499
2898
|
# },
|
2500
2899
|
# },
|
2501
2900
|
# obfuscation_setting: {
|
@@ -3477,6 +3876,48 @@ module Aws::LexModelsV2
|
|
3477
3876
|
include Aws::Structure
|
3478
3877
|
end
|
3479
3878
|
|
3879
|
+
# @note When making an API call, you may pass DeleteUtterancesRequest
|
3880
|
+
# data as a hash:
|
3881
|
+
#
|
3882
|
+
# {
|
3883
|
+
# bot_id: "Id", # required
|
3884
|
+
# locale_id: "LocaleId",
|
3885
|
+
# session_id: "SessionId",
|
3886
|
+
# }
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] bot_id
|
3889
|
+
# The unique identifier of the bot that contains the utterances.
|
3890
|
+
# @return [String]
|
3891
|
+
#
|
3892
|
+
# @!attribute [rw] locale_id
|
3893
|
+
# The identifier of the language and locale where the utterances were
|
3894
|
+
# collected. The string must match one of the supported locales. For
|
3895
|
+
# more information, see [Supported languages][1].
|
3896
|
+
#
|
3897
|
+
#
|
3898
|
+
#
|
3899
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
3900
|
+
# @return [String]
|
3901
|
+
#
|
3902
|
+
# @!attribute [rw] session_id
|
3903
|
+
# The unique identifier of the session with the user. The ID is
|
3904
|
+
# returned in the response from the and operations.
|
3905
|
+
# @return [String]
|
3906
|
+
#
|
3907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesRequest AWS API Documentation
|
3908
|
+
#
|
3909
|
+
class DeleteUtterancesRequest < Struct.new(
|
3910
|
+
:bot_id,
|
3911
|
+
:locale_id,
|
3912
|
+
:session_id)
|
3913
|
+
SENSITIVE = []
|
3914
|
+
include Aws::Structure
|
3915
|
+
end
|
3916
|
+
|
3917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesResponse AWS API Documentation
|
3918
|
+
#
|
3919
|
+
class DeleteUtterancesResponse < Aws::EmptyStructure; end
|
3920
|
+
|
3480
3921
|
# @note When making an API call, you may pass DescribeBotAliasRequest
|
3481
3922
|
# data as a hash:
|
3482
3923
|
#
|
@@ -3982,7 +4423,7 @@ module Aws::LexModelsV2
|
|
3982
4423
|
#
|
3983
4424
|
# @!attribute [rw] failure_reasons
|
3984
4425
|
# If the `importStatus` field is `Failed`, this provides one or more
|
3985
|
-
# reasons for the
|
4426
|
+
# reasons for the failure.
|
3986
4427
|
# @return [Array<String>]
|
3987
4428
|
#
|
3988
4429
|
# @!attribute [rw] creation_date_time
|
@@ -4408,221 +4849,836 @@ module Aws::LexModelsV2
|
|
4408
4849
|
# The identifier of the bot associated with the slot type.
|
4409
4850
|
# @return [String]
|
4410
4851
|
#
|
4411
|
-
# @!attribute [rw] bot_version
|
4412
|
-
# The version of the bot associated with the slot type.
|
4852
|
+
# @!attribute [rw] bot_version
|
4853
|
+
# The version of the bot associated with the slot type.
|
4854
|
+
# @return [String]
|
4855
|
+
#
|
4856
|
+
# @!attribute [rw] locale_id
|
4857
|
+
# The language and locale specified for the slot type.
|
4858
|
+
# @return [String]
|
4859
|
+
#
|
4860
|
+
# @!attribute [rw] creation_date_time
|
4861
|
+
# A timestamp of the date and time that the slot type was created.
|
4862
|
+
# @return [Time]
|
4863
|
+
#
|
4864
|
+
# @!attribute [rw] last_updated_date_time
|
4865
|
+
# A timestamp of the date and time that the slot type was last
|
4866
|
+
# updated.
|
4867
|
+
# @return [Time]
|
4868
|
+
#
|
4869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotTypeResponse AWS API Documentation
|
4870
|
+
#
|
4871
|
+
class DescribeSlotTypeResponse < Struct.new(
|
4872
|
+
:slot_type_id,
|
4873
|
+
:slot_type_name,
|
4874
|
+
:description,
|
4875
|
+
:slot_type_values,
|
4876
|
+
:value_selection_setting,
|
4877
|
+
:parent_slot_type_signature,
|
4878
|
+
:bot_id,
|
4879
|
+
:bot_version,
|
4880
|
+
:locale_id,
|
4881
|
+
:creation_date_time,
|
4882
|
+
:last_updated_date_time)
|
4883
|
+
SENSITIVE = []
|
4884
|
+
include Aws::Structure
|
4885
|
+
end
|
4886
|
+
|
4887
|
+
# Settings that determine the Lambda function that Amazon Lex uses for
|
4888
|
+
# processing user responses.
|
4889
|
+
#
|
4890
|
+
# @note When making an API call, you may pass DialogCodeHookSettings
|
4891
|
+
# data as a hash:
|
4892
|
+
#
|
4893
|
+
# {
|
4894
|
+
# enabled: false, # required
|
4895
|
+
# }
|
4896
|
+
#
|
4897
|
+
# @!attribute [rw] enabled
|
4898
|
+
# Enables the dialog code hook so that it processes user requests.
|
4899
|
+
# @return [Boolean]
|
4900
|
+
#
|
4901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookSettings AWS API Documentation
|
4902
|
+
#
|
4903
|
+
class DialogCodeHookSettings < Struct.new(
|
4904
|
+
:enabled)
|
4905
|
+
SENSITIVE = []
|
4906
|
+
include Aws::Structure
|
4907
|
+
end
|
4908
|
+
|
4909
|
+
# Filters the response form the operation
|
4910
|
+
#
|
4911
|
+
# @note When making an API call, you may pass ExportFilter
|
4912
|
+
# data as a hash:
|
4913
|
+
#
|
4914
|
+
# {
|
4915
|
+
# name: "ExportResourceType", # required, accepts ExportResourceType
|
4916
|
+
# values: ["FilterValue"], # required
|
4917
|
+
# operator: "CO", # required, accepts CO, EQ
|
4918
|
+
# }
|
4919
|
+
#
|
4920
|
+
# @!attribute [rw] name
|
4921
|
+
# The name of the field to use for filtering.
|
4922
|
+
# @return [String]
|
4923
|
+
#
|
4924
|
+
# @!attribute [rw] values
|
4925
|
+
# The values to use to filter the response.
|
4926
|
+
# @return [Array<String>]
|
4927
|
+
#
|
4928
|
+
# @!attribute [rw] operator
|
4929
|
+
# The operator to use for the filter. Specify EQ when the
|
4930
|
+
# `ListExports` operation should return only resource types that equal
|
4931
|
+
# the specified value. Specify CO when the `ListExports` operation
|
4932
|
+
# should return resource types that contain the specified value.
|
4933
|
+
# @return [String]
|
4934
|
+
#
|
4935
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportFilter AWS API Documentation
|
4936
|
+
#
|
4937
|
+
class ExportFilter < Struct.new(
|
4938
|
+
:name,
|
4939
|
+
:values,
|
4940
|
+
:operator)
|
4941
|
+
SENSITIVE = []
|
4942
|
+
include Aws::Structure
|
4943
|
+
end
|
4944
|
+
|
4945
|
+
# Provides information about the bot or bot locale that you want to
|
4946
|
+
# export. You can specify the `botExportSpecification` or the
|
4947
|
+
# `botLocaleExportSpecification`, but not both.
|
4948
|
+
#
|
4949
|
+
# @note When making an API call, you may pass ExportResourceSpecification
|
4950
|
+
# data as a hash:
|
4951
|
+
#
|
4952
|
+
# {
|
4953
|
+
# bot_export_specification: {
|
4954
|
+
# bot_id: "Id", # required
|
4955
|
+
# bot_version: "BotVersion", # required
|
4956
|
+
# },
|
4957
|
+
# bot_locale_export_specification: {
|
4958
|
+
# bot_id: "Id", # required
|
4959
|
+
# bot_version: "BotVersion", # required
|
4960
|
+
# locale_id: "LocaleId", # required
|
4961
|
+
# },
|
4962
|
+
# }
|
4963
|
+
#
|
4964
|
+
# @!attribute [rw] bot_export_specification
|
4965
|
+
# Parameters for exporting a bot.
|
4966
|
+
# @return [Types::BotExportSpecification]
|
4967
|
+
#
|
4968
|
+
# @!attribute [rw] bot_locale_export_specification
|
4969
|
+
# Parameters for exporting a bot locale.
|
4970
|
+
# @return [Types::BotLocaleExportSpecification]
|
4971
|
+
#
|
4972
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
|
4973
|
+
#
|
4974
|
+
class ExportResourceSpecification < Struct.new(
|
4975
|
+
:bot_export_specification,
|
4976
|
+
:bot_locale_export_specification)
|
4977
|
+
SENSITIVE = []
|
4978
|
+
include Aws::Structure
|
4979
|
+
end
|
4980
|
+
|
4981
|
+
# Provides information about sorting a list of exports.
|
4982
|
+
#
|
4983
|
+
# @note When making an API call, you may pass ExportSortBy
|
4984
|
+
# data as a hash:
|
4985
|
+
#
|
4986
|
+
# {
|
4987
|
+
# attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
|
4988
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
4989
|
+
# }
|
4990
|
+
#
|
4991
|
+
# @!attribute [rw] attribute
|
4992
|
+
# The export field to use for sorting.
|
4993
|
+
# @return [String]
|
4994
|
+
#
|
4995
|
+
# @!attribute [rw] order
|
4996
|
+
# The order to sort the list.
|
4997
|
+
# @return [String]
|
4998
|
+
#
|
4999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSortBy AWS API Documentation
|
5000
|
+
#
|
5001
|
+
class ExportSortBy < Struct.new(
|
5002
|
+
:attribute,
|
5003
|
+
:order)
|
5004
|
+
SENSITIVE = []
|
5005
|
+
include Aws::Structure
|
5006
|
+
end
|
5007
|
+
|
5008
|
+
# Provides summary information about an export in an export list.
|
5009
|
+
#
|
5010
|
+
# @!attribute [rw] export_id
|
5011
|
+
# The unique identifier that Amazon Lex assigned to the export.
|
5012
|
+
# @return [String]
|
5013
|
+
#
|
5014
|
+
# @!attribute [rw] resource_specification
|
5015
|
+
# Information about the bot or bot locale that was exported.
|
5016
|
+
# @return [Types::ExportResourceSpecification]
|
5017
|
+
#
|
5018
|
+
# @!attribute [rw] file_format
|
5019
|
+
# The file format used in the export files.
|
4413
5020
|
# @return [String]
|
4414
5021
|
#
|
4415
|
-
# @!attribute [rw]
|
4416
|
-
# The
|
5022
|
+
# @!attribute [rw] export_status
|
5023
|
+
# The status of the export. When the status is `Completed` the export
|
5024
|
+
# is ready to download.
|
4417
5025
|
# @return [String]
|
4418
5026
|
#
|
4419
5027
|
# @!attribute [rw] creation_date_time
|
4420
|
-
#
|
5028
|
+
# The date and time that the export was created.
|
4421
5029
|
# @return [Time]
|
4422
5030
|
#
|
4423
5031
|
# @!attribute [rw] last_updated_date_time
|
4424
|
-
#
|
4425
|
-
# updated.
|
5032
|
+
# The date and time that the export was last updated.
|
4426
5033
|
# @return [Time]
|
4427
5034
|
#
|
4428
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSummary AWS API Documentation
|
4429
5036
|
#
|
4430
|
-
class
|
4431
|
-
:
|
4432
|
-
:
|
4433
|
-
:
|
4434
|
-
:
|
4435
|
-
:value_selection_setting,
|
4436
|
-
:parent_slot_type_signature,
|
4437
|
-
:bot_id,
|
4438
|
-
:bot_version,
|
4439
|
-
:locale_id,
|
5037
|
+
class ExportSummary < Struct.new(
|
5038
|
+
:export_id,
|
5039
|
+
:resource_specification,
|
5040
|
+
:file_format,
|
5041
|
+
:export_status,
|
4440
5042
|
:creation_date_time,
|
4441
5043
|
:last_updated_date_time)
|
4442
5044
|
SENSITIVE = []
|
4443
5045
|
include Aws::Structure
|
4444
5046
|
end
|
4445
5047
|
|
4446
|
-
#
|
4447
|
-
#
|
5048
|
+
# Determines if a Lambda function should be invoked for a specific
|
5049
|
+
# intent.
|
4448
5050
|
#
|
4449
|
-
# @note When making an API call, you may pass
|
5051
|
+
# @note When making an API call, you may pass FulfillmentCodeHookSettings
|
4450
5052
|
# data as a hash:
|
4451
5053
|
#
|
4452
5054
|
# {
|
4453
5055
|
# enabled: false, # required
|
5056
|
+
# post_fulfillment_status_specification: {
|
5057
|
+
# success_response: {
|
5058
|
+
# message_groups: [ # required
|
5059
|
+
# {
|
5060
|
+
# message: { # required
|
5061
|
+
# plain_text_message: {
|
5062
|
+
# value: "PlainTextMessageValue", # required
|
5063
|
+
# },
|
5064
|
+
# custom_payload: {
|
5065
|
+
# value: "CustomPayloadValue", # required
|
5066
|
+
# },
|
5067
|
+
# ssml_message: {
|
5068
|
+
# value: "SSMLMessageValue", # required
|
5069
|
+
# },
|
5070
|
+
# image_response_card: {
|
5071
|
+
# title: "AttachmentTitle", # required
|
5072
|
+
# subtitle: "AttachmentTitle",
|
5073
|
+
# image_url: "AttachmentUrl",
|
5074
|
+
# buttons: [
|
5075
|
+
# {
|
5076
|
+
# text: "ButtonText", # required
|
5077
|
+
# value: "ButtonValue", # required
|
5078
|
+
# },
|
5079
|
+
# ],
|
5080
|
+
# },
|
5081
|
+
# },
|
5082
|
+
# variations: [
|
5083
|
+
# {
|
5084
|
+
# plain_text_message: {
|
5085
|
+
# value: "PlainTextMessageValue", # required
|
5086
|
+
# },
|
5087
|
+
# custom_payload: {
|
5088
|
+
# value: "CustomPayloadValue", # required
|
5089
|
+
# },
|
5090
|
+
# ssml_message: {
|
5091
|
+
# value: "SSMLMessageValue", # required
|
5092
|
+
# },
|
5093
|
+
# image_response_card: {
|
5094
|
+
# title: "AttachmentTitle", # required
|
5095
|
+
# subtitle: "AttachmentTitle",
|
5096
|
+
# image_url: "AttachmentUrl",
|
5097
|
+
# buttons: [
|
5098
|
+
# {
|
5099
|
+
# text: "ButtonText", # required
|
5100
|
+
# value: "ButtonValue", # required
|
5101
|
+
# },
|
5102
|
+
# ],
|
5103
|
+
# },
|
5104
|
+
# },
|
5105
|
+
# ],
|
5106
|
+
# },
|
5107
|
+
# ],
|
5108
|
+
# allow_interrupt: false,
|
5109
|
+
# },
|
5110
|
+
# failure_response: {
|
5111
|
+
# message_groups: [ # required
|
5112
|
+
# {
|
5113
|
+
# message: { # required
|
5114
|
+
# plain_text_message: {
|
5115
|
+
# value: "PlainTextMessageValue", # required
|
5116
|
+
# },
|
5117
|
+
# custom_payload: {
|
5118
|
+
# value: "CustomPayloadValue", # required
|
5119
|
+
# },
|
5120
|
+
# ssml_message: {
|
5121
|
+
# value: "SSMLMessageValue", # required
|
5122
|
+
# },
|
5123
|
+
# image_response_card: {
|
5124
|
+
# title: "AttachmentTitle", # required
|
5125
|
+
# subtitle: "AttachmentTitle",
|
5126
|
+
# image_url: "AttachmentUrl",
|
5127
|
+
# buttons: [
|
5128
|
+
# {
|
5129
|
+
# text: "ButtonText", # required
|
5130
|
+
# value: "ButtonValue", # required
|
5131
|
+
# },
|
5132
|
+
# ],
|
5133
|
+
# },
|
5134
|
+
# },
|
5135
|
+
# variations: [
|
5136
|
+
# {
|
5137
|
+
# plain_text_message: {
|
5138
|
+
# value: "PlainTextMessageValue", # required
|
5139
|
+
# },
|
5140
|
+
# custom_payload: {
|
5141
|
+
# value: "CustomPayloadValue", # required
|
5142
|
+
# },
|
5143
|
+
# ssml_message: {
|
5144
|
+
# value: "SSMLMessageValue", # required
|
5145
|
+
# },
|
5146
|
+
# image_response_card: {
|
5147
|
+
# title: "AttachmentTitle", # required
|
5148
|
+
# subtitle: "AttachmentTitle",
|
5149
|
+
# image_url: "AttachmentUrl",
|
5150
|
+
# buttons: [
|
5151
|
+
# {
|
5152
|
+
# text: "ButtonText", # required
|
5153
|
+
# value: "ButtonValue", # required
|
5154
|
+
# },
|
5155
|
+
# ],
|
5156
|
+
# },
|
5157
|
+
# },
|
5158
|
+
# ],
|
5159
|
+
# },
|
5160
|
+
# ],
|
5161
|
+
# allow_interrupt: false,
|
5162
|
+
# },
|
5163
|
+
# timeout_response: {
|
5164
|
+
# message_groups: [ # required
|
5165
|
+
# {
|
5166
|
+
# message: { # required
|
5167
|
+
# plain_text_message: {
|
5168
|
+
# value: "PlainTextMessageValue", # required
|
5169
|
+
# },
|
5170
|
+
# custom_payload: {
|
5171
|
+
# value: "CustomPayloadValue", # required
|
5172
|
+
# },
|
5173
|
+
# ssml_message: {
|
5174
|
+
# value: "SSMLMessageValue", # required
|
5175
|
+
# },
|
5176
|
+
# image_response_card: {
|
5177
|
+
# title: "AttachmentTitle", # required
|
5178
|
+
# subtitle: "AttachmentTitle",
|
5179
|
+
# image_url: "AttachmentUrl",
|
5180
|
+
# buttons: [
|
5181
|
+
# {
|
5182
|
+
# text: "ButtonText", # required
|
5183
|
+
# value: "ButtonValue", # required
|
5184
|
+
# },
|
5185
|
+
# ],
|
5186
|
+
# },
|
5187
|
+
# },
|
5188
|
+
# variations: [
|
5189
|
+
# {
|
5190
|
+
# plain_text_message: {
|
5191
|
+
# value: "PlainTextMessageValue", # required
|
5192
|
+
# },
|
5193
|
+
# custom_payload: {
|
5194
|
+
# value: "CustomPayloadValue", # required
|
5195
|
+
# },
|
5196
|
+
# ssml_message: {
|
5197
|
+
# value: "SSMLMessageValue", # required
|
5198
|
+
# },
|
5199
|
+
# image_response_card: {
|
5200
|
+
# title: "AttachmentTitle", # required
|
5201
|
+
# subtitle: "AttachmentTitle",
|
5202
|
+
# image_url: "AttachmentUrl",
|
5203
|
+
# buttons: [
|
5204
|
+
# {
|
5205
|
+
# text: "ButtonText", # required
|
5206
|
+
# value: "ButtonValue", # required
|
5207
|
+
# },
|
5208
|
+
# ],
|
5209
|
+
# },
|
5210
|
+
# },
|
5211
|
+
# ],
|
5212
|
+
# },
|
5213
|
+
# ],
|
5214
|
+
# allow_interrupt: false,
|
5215
|
+
# },
|
5216
|
+
# },
|
5217
|
+
# fulfillment_updates_specification: {
|
5218
|
+
# active: false, # required
|
5219
|
+
# start_response: {
|
5220
|
+
# delay_in_seconds: 1, # required
|
5221
|
+
# message_groups: [ # required
|
5222
|
+
# {
|
5223
|
+
# message: { # required
|
5224
|
+
# plain_text_message: {
|
5225
|
+
# value: "PlainTextMessageValue", # required
|
5226
|
+
# },
|
5227
|
+
# custom_payload: {
|
5228
|
+
# value: "CustomPayloadValue", # required
|
5229
|
+
# },
|
5230
|
+
# ssml_message: {
|
5231
|
+
# value: "SSMLMessageValue", # required
|
5232
|
+
# },
|
5233
|
+
# image_response_card: {
|
5234
|
+
# title: "AttachmentTitle", # required
|
5235
|
+
# subtitle: "AttachmentTitle",
|
5236
|
+
# image_url: "AttachmentUrl",
|
5237
|
+
# buttons: [
|
5238
|
+
# {
|
5239
|
+
# text: "ButtonText", # required
|
5240
|
+
# value: "ButtonValue", # required
|
5241
|
+
# },
|
5242
|
+
# ],
|
5243
|
+
# },
|
5244
|
+
# },
|
5245
|
+
# variations: [
|
5246
|
+
# {
|
5247
|
+
# plain_text_message: {
|
5248
|
+
# value: "PlainTextMessageValue", # required
|
5249
|
+
# },
|
5250
|
+
# custom_payload: {
|
5251
|
+
# value: "CustomPayloadValue", # required
|
5252
|
+
# },
|
5253
|
+
# ssml_message: {
|
5254
|
+
# value: "SSMLMessageValue", # required
|
5255
|
+
# },
|
5256
|
+
# image_response_card: {
|
5257
|
+
# title: "AttachmentTitle", # required
|
5258
|
+
# subtitle: "AttachmentTitle",
|
5259
|
+
# image_url: "AttachmentUrl",
|
5260
|
+
# buttons: [
|
5261
|
+
# {
|
5262
|
+
# text: "ButtonText", # required
|
5263
|
+
# value: "ButtonValue", # required
|
5264
|
+
# },
|
5265
|
+
# ],
|
5266
|
+
# },
|
5267
|
+
# },
|
5268
|
+
# ],
|
5269
|
+
# },
|
5270
|
+
# ],
|
5271
|
+
# allow_interrupt: false,
|
5272
|
+
# },
|
5273
|
+
# update_response: {
|
5274
|
+
# frequency_in_seconds: 1, # required
|
5275
|
+
# message_groups: [ # required
|
5276
|
+
# {
|
5277
|
+
# message: { # required
|
5278
|
+
# plain_text_message: {
|
5279
|
+
# value: "PlainTextMessageValue", # required
|
5280
|
+
# },
|
5281
|
+
# custom_payload: {
|
5282
|
+
# value: "CustomPayloadValue", # required
|
5283
|
+
# },
|
5284
|
+
# ssml_message: {
|
5285
|
+
# value: "SSMLMessageValue", # required
|
5286
|
+
# },
|
5287
|
+
# image_response_card: {
|
5288
|
+
# title: "AttachmentTitle", # required
|
5289
|
+
# subtitle: "AttachmentTitle",
|
5290
|
+
# image_url: "AttachmentUrl",
|
5291
|
+
# buttons: [
|
5292
|
+
# {
|
5293
|
+
# text: "ButtonText", # required
|
5294
|
+
# value: "ButtonValue", # required
|
5295
|
+
# },
|
5296
|
+
# ],
|
5297
|
+
# },
|
5298
|
+
# },
|
5299
|
+
# variations: [
|
5300
|
+
# {
|
5301
|
+
# plain_text_message: {
|
5302
|
+
# value: "PlainTextMessageValue", # required
|
5303
|
+
# },
|
5304
|
+
# custom_payload: {
|
5305
|
+
# value: "CustomPayloadValue", # required
|
5306
|
+
# },
|
5307
|
+
# ssml_message: {
|
5308
|
+
# value: "SSMLMessageValue", # required
|
5309
|
+
# },
|
5310
|
+
# image_response_card: {
|
5311
|
+
# title: "AttachmentTitle", # required
|
5312
|
+
# subtitle: "AttachmentTitle",
|
5313
|
+
# image_url: "AttachmentUrl",
|
5314
|
+
# buttons: [
|
5315
|
+
# {
|
5316
|
+
# text: "ButtonText", # required
|
5317
|
+
# value: "ButtonValue", # required
|
5318
|
+
# },
|
5319
|
+
# ],
|
5320
|
+
# },
|
5321
|
+
# },
|
5322
|
+
# ],
|
5323
|
+
# },
|
5324
|
+
# ],
|
5325
|
+
# allow_interrupt: false,
|
5326
|
+
# },
|
5327
|
+
# timeout_in_seconds: 1,
|
5328
|
+
# },
|
4454
5329
|
# }
|
4455
5330
|
#
|
4456
5331
|
# @!attribute [rw] enabled
|
4457
|
-
#
|
5332
|
+
# Indicates whether a Lambda function should be invoked to fulfill a
|
5333
|
+
# specific intent.
|
4458
5334
|
# @return [Boolean]
|
4459
5335
|
#
|
4460
|
-
#
|
4461
|
-
#
|
4462
|
-
|
4463
|
-
|
4464
|
-
|
4465
|
-
include Aws::Structure
|
4466
|
-
end
|
4467
|
-
|
4468
|
-
# Filtes the response form the operation
|
4469
|
-
#
|
4470
|
-
# @note When making an API call, you may pass ExportFilter
|
4471
|
-
# data as a hash:
|
4472
|
-
#
|
4473
|
-
# {
|
4474
|
-
# name: "ExportResourceType", # required, accepts ExportResourceType
|
4475
|
-
# values: ["FilterValue"], # required
|
4476
|
-
# operator: "CO", # required, accepts CO, EQ
|
4477
|
-
# }
|
4478
|
-
#
|
4479
|
-
# @!attribute [rw] name
|
4480
|
-
# The name of the field to use for filtering.
|
4481
|
-
# @return [String]
|
4482
|
-
#
|
4483
|
-
# @!attribute [rw] values
|
4484
|
-
# The values to use to fileter the response.
|
4485
|
-
# @return [Array<String>]
|
5336
|
+
# @!attribute [rw] post_fulfillment_status_specification
|
5337
|
+
# Provides settings for messages sent to the user for after the Lambda
|
5338
|
+
# fulfillment function completes. Post-fulfillment messages can be
|
5339
|
+
# sent for both streaming and non-streaming conversations.
|
5340
|
+
# @return [Types::PostFulfillmentStatusSpecification]
|
4486
5341
|
#
|
4487
|
-
# @!attribute [rw]
|
4488
|
-
#
|
4489
|
-
#
|
4490
|
-
#
|
4491
|
-
#
|
4492
|
-
# @return [String]
|
5342
|
+
# @!attribute [rw] fulfillment_updates_specification
|
5343
|
+
# Provides settings for update messages sent to the user for
|
5344
|
+
# long-running Lambda fulfillment functions. Fulfillment updates can
|
5345
|
+
# be used only with streaming conversations.
|
5346
|
+
# @return [Types::FulfillmentUpdatesSpecification]
|
4493
5347
|
#
|
4494
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentCodeHookSettings AWS API Documentation
|
4495
5349
|
#
|
4496
|
-
class
|
4497
|
-
:
|
4498
|
-
:
|
4499
|
-
:
|
5350
|
+
class FulfillmentCodeHookSettings < Struct.new(
|
5351
|
+
:enabled,
|
5352
|
+
:post_fulfillment_status_specification,
|
5353
|
+
:fulfillment_updates_specification)
|
4500
5354
|
SENSITIVE = []
|
4501
5355
|
include Aws::Structure
|
4502
5356
|
end
|
4503
5357
|
|
4504
|
-
# Provides
|
4505
|
-
#
|
4506
|
-
# `botLocaleExportSpecification`, but not both.
|
5358
|
+
# Provides settings for a message that is sent to the user when a
|
5359
|
+
# fulfillment Lambda function starts running.
|
4507
5360
|
#
|
4508
|
-
# @note When making an API call, you may pass
|
5361
|
+
# @note When making an API call, you may pass FulfillmentStartResponseSpecification
|
4509
5362
|
# data as a hash:
|
4510
5363
|
#
|
4511
5364
|
# {
|
4512
|
-
#
|
4513
|
-
#
|
4514
|
-
#
|
4515
|
-
#
|
4516
|
-
#
|
4517
|
-
#
|
4518
|
-
#
|
4519
|
-
#
|
4520
|
-
#
|
5365
|
+
# delay_in_seconds: 1, # required
|
5366
|
+
# message_groups: [ # required
|
5367
|
+
# {
|
5368
|
+
# message: { # required
|
5369
|
+
# plain_text_message: {
|
5370
|
+
# value: "PlainTextMessageValue", # required
|
5371
|
+
# },
|
5372
|
+
# custom_payload: {
|
5373
|
+
# value: "CustomPayloadValue", # required
|
5374
|
+
# },
|
5375
|
+
# ssml_message: {
|
5376
|
+
# value: "SSMLMessageValue", # required
|
5377
|
+
# },
|
5378
|
+
# image_response_card: {
|
5379
|
+
# title: "AttachmentTitle", # required
|
5380
|
+
# subtitle: "AttachmentTitle",
|
5381
|
+
# image_url: "AttachmentUrl",
|
5382
|
+
# buttons: [
|
5383
|
+
# {
|
5384
|
+
# text: "ButtonText", # required
|
5385
|
+
# value: "ButtonValue", # required
|
5386
|
+
# },
|
5387
|
+
# ],
|
5388
|
+
# },
|
5389
|
+
# },
|
5390
|
+
# variations: [
|
5391
|
+
# {
|
5392
|
+
# plain_text_message: {
|
5393
|
+
# value: "PlainTextMessageValue", # required
|
5394
|
+
# },
|
5395
|
+
# custom_payload: {
|
5396
|
+
# value: "CustomPayloadValue", # required
|
5397
|
+
# },
|
5398
|
+
# ssml_message: {
|
5399
|
+
# value: "SSMLMessageValue", # required
|
5400
|
+
# },
|
5401
|
+
# image_response_card: {
|
5402
|
+
# title: "AttachmentTitle", # required
|
5403
|
+
# subtitle: "AttachmentTitle",
|
5404
|
+
# image_url: "AttachmentUrl",
|
5405
|
+
# buttons: [
|
5406
|
+
# {
|
5407
|
+
# text: "ButtonText", # required
|
5408
|
+
# value: "ButtonValue", # required
|
5409
|
+
# },
|
5410
|
+
# ],
|
5411
|
+
# },
|
5412
|
+
# },
|
5413
|
+
# ],
|
5414
|
+
# },
|
5415
|
+
# ],
|
5416
|
+
# allow_interrupt: false,
|
4521
5417
|
# }
|
4522
5418
|
#
|
4523
|
-
# @!attribute [rw]
|
4524
|
-
#
|
4525
|
-
#
|
5419
|
+
# @!attribute [rw] delay_in_seconds
|
5420
|
+
# The delay between when the Lambda fulfillment function starts
|
5421
|
+
# running and the start message is played. If the Lambda function
|
5422
|
+
# returns before the delay is over, the start message isn't played.
|
5423
|
+
# @return [Integer]
|
4526
5424
|
#
|
4527
|
-
# @!attribute [rw]
|
4528
|
-
#
|
4529
|
-
#
|
5425
|
+
# @!attribute [rw] message_groups
|
5426
|
+
# One to 5 message groups that contain start messages. Amazon Lex
|
5427
|
+
# chooses one of the messages to play to the user.
|
5428
|
+
# @return [Array<Types::MessageGroup>]
|
4530
5429
|
#
|
4531
|
-
#
|
5430
|
+
# @!attribute [rw] allow_interrupt
|
5431
|
+
# Determines whether the user can interrupt the start message while it
|
5432
|
+
# is playing.
|
5433
|
+
# @return [Boolean]
|
4532
5434
|
#
|
4533
|
-
|
4534
|
-
|
4535
|
-
|
5435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentStartResponseSpecification AWS API Documentation
|
5436
|
+
#
|
5437
|
+
class FulfillmentStartResponseSpecification < Struct.new(
|
5438
|
+
:delay_in_seconds,
|
5439
|
+
:message_groups,
|
5440
|
+
:allow_interrupt)
|
4536
5441
|
SENSITIVE = []
|
4537
5442
|
include Aws::Structure
|
4538
5443
|
end
|
4539
5444
|
|
4540
|
-
# Provides
|
5445
|
+
# Provides settings for a message that is sent periodically to the user
|
5446
|
+
# while a fulfillment Lambda function is running.
|
4541
5447
|
#
|
4542
|
-
# @note When making an API call, you may pass
|
5448
|
+
# @note When making an API call, you may pass FulfillmentUpdateResponseSpecification
|
4543
5449
|
# data as a hash:
|
4544
5450
|
#
|
4545
5451
|
# {
|
4546
|
-
#
|
4547
|
-
#
|
4548
|
-
#
|
4549
|
-
#
|
4550
|
-
#
|
4551
|
-
#
|
4552
|
-
#
|
4553
|
-
#
|
4554
|
-
#
|
4555
|
-
#
|
4556
|
-
#
|
4557
|
-
#
|
4558
|
-
#
|
4559
|
-
#
|
4560
|
-
|
4561
|
-
|
4562
|
-
|
4563
|
-
|
4564
|
-
|
4565
|
-
|
4566
|
-
|
4567
|
-
#
|
4568
|
-
#
|
4569
|
-
#
|
4570
|
-
#
|
4571
|
-
#
|
4572
|
-
#
|
4573
|
-
#
|
4574
|
-
#
|
4575
|
-
#
|
4576
|
-
#
|
4577
|
-
#
|
4578
|
-
#
|
4579
|
-
#
|
5452
|
+
# frequency_in_seconds: 1, # required
|
5453
|
+
# message_groups: [ # required
|
5454
|
+
# {
|
5455
|
+
# message: { # required
|
5456
|
+
# plain_text_message: {
|
5457
|
+
# value: "PlainTextMessageValue", # required
|
5458
|
+
# },
|
5459
|
+
# custom_payload: {
|
5460
|
+
# value: "CustomPayloadValue", # required
|
5461
|
+
# },
|
5462
|
+
# ssml_message: {
|
5463
|
+
# value: "SSMLMessageValue", # required
|
5464
|
+
# },
|
5465
|
+
# image_response_card: {
|
5466
|
+
# title: "AttachmentTitle", # required
|
5467
|
+
# subtitle: "AttachmentTitle",
|
5468
|
+
# image_url: "AttachmentUrl",
|
5469
|
+
# buttons: [
|
5470
|
+
# {
|
5471
|
+
# text: "ButtonText", # required
|
5472
|
+
# value: "ButtonValue", # required
|
5473
|
+
# },
|
5474
|
+
# ],
|
5475
|
+
# },
|
5476
|
+
# },
|
5477
|
+
# variations: [
|
5478
|
+
# {
|
5479
|
+
# plain_text_message: {
|
5480
|
+
# value: "PlainTextMessageValue", # required
|
5481
|
+
# },
|
5482
|
+
# custom_payload: {
|
5483
|
+
# value: "CustomPayloadValue", # required
|
5484
|
+
# },
|
5485
|
+
# ssml_message: {
|
5486
|
+
# value: "SSMLMessageValue", # required
|
5487
|
+
# },
|
5488
|
+
# image_response_card: {
|
5489
|
+
# title: "AttachmentTitle", # required
|
5490
|
+
# subtitle: "AttachmentTitle",
|
5491
|
+
# image_url: "AttachmentUrl",
|
5492
|
+
# buttons: [
|
5493
|
+
# {
|
5494
|
+
# text: "ButtonText", # required
|
5495
|
+
# value: "ButtonValue", # required
|
5496
|
+
# },
|
5497
|
+
# ],
|
5498
|
+
# },
|
5499
|
+
# },
|
5500
|
+
# ],
|
5501
|
+
# },
|
5502
|
+
# ],
|
5503
|
+
# allow_interrupt: false,
|
5504
|
+
# }
|
4580
5505
|
#
|
4581
|
-
# @!attribute [rw]
|
4582
|
-
# The
|
4583
|
-
#
|
4584
|
-
#
|
5506
|
+
# @!attribute [rw] frequency_in_seconds
|
5507
|
+
# The frequency that a message is sent to the user. When the period
|
5508
|
+
# ends, Amazon Lex chooses a message from the message groups and plays
|
5509
|
+
# it to the user. If the fulfillment Lambda returns before the first
|
5510
|
+
# period ends, an update message is not played to the user.
|
5511
|
+
# @return [Integer]
|
4585
5512
|
#
|
4586
|
-
# @!attribute [rw]
|
4587
|
-
#
|
4588
|
-
#
|
5513
|
+
# @!attribute [rw] message_groups
|
5514
|
+
# One to 5 message groups that contain update messages. Amazon Lex
|
5515
|
+
# chooses one of the messages to play to the user.
|
5516
|
+
# @return [Array<Types::MessageGroup>]
|
4589
5517
|
#
|
4590
|
-
# @!attribute [rw]
|
4591
|
-
#
|
4592
|
-
#
|
5518
|
+
# @!attribute [rw] allow_interrupt
|
5519
|
+
# Determines whether the user can interrupt an update message while it
|
5520
|
+
# is playing.
|
5521
|
+
# @return [Boolean]
|
4593
5522
|
#
|
4594
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdateResponseSpecification AWS API Documentation
|
4595
5524
|
#
|
4596
|
-
class
|
4597
|
-
:
|
4598
|
-
:
|
4599
|
-
:
|
4600
|
-
:export_status,
|
4601
|
-
:creation_date_time,
|
4602
|
-
:last_updated_date_time)
|
5525
|
+
class FulfillmentUpdateResponseSpecification < Struct.new(
|
5526
|
+
:frequency_in_seconds,
|
5527
|
+
:message_groups,
|
5528
|
+
:allow_interrupt)
|
4603
5529
|
SENSITIVE = []
|
4604
5530
|
include Aws::Structure
|
4605
5531
|
end
|
4606
5532
|
|
4607
|
-
#
|
4608
|
-
# intent.
|
5533
|
+
# Provides information for updating the user on the progress of
|
5534
|
+
# fulfilling an intent.
|
4609
5535
|
#
|
4610
|
-
# @note When making an API call, you may pass
|
5536
|
+
# @note When making an API call, you may pass FulfillmentUpdatesSpecification
|
4611
5537
|
# data as a hash:
|
4612
5538
|
#
|
4613
5539
|
# {
|
4614
|
-
#
|
5540
|
+
# active: false, # required
|
5541
|
+
# start_response: {
|
5542
|
+
# delay_in_seconds: 1, # required
|
5543
|
+
# message_groups: [ # required
|
5544
|
+
# {
|
5545
|
+
# message: { # required
|
5546
|
+
# plain_text_message: {
|
5547
|
+
# value: "PlainTextMessageValue", # required
|
5548
|
+
# },
|
5549
|
+
# custom_payload: {
|
5550
|
+
# value: "CustomPayloadValue", # required
|
5551
|
+
# },
|
5552
|
+
# ssml_message: {
|
5553
|
+
# value: "SSMLMessageValue", # required
|
5554
|
+
# },
|
5555
|
+
# image_response_card: {
|
5556
|
+
# title: "AttachmentTitle", # required
|
5557
|
+
# subtitle: "AttachmentTitle",
|
5558
|
+
# image_url: "AttachmentUrl",
|
5559
|
+
# buttons: [
|
5560
|
+
# {
|
5561
|
+
# text: "ButtonText", # required
|
5562
|
+
# value: "ButtonValue", # required
|
5563
|
+
# },
|
5564
|
+
# ],
|
5565
|
+
# },
|
5566
|
+
# },
|
5567
|
+
# variations: [
|
5568
|
+
# {
|
5569
|
+
# plain_text_message: {
|
5570
|
+
# value: "PlainTextMessageValue", # required
|
5571
|
+
# },
|
5572
|
+
# custom_payload: {
|
5573
|
+
# value: "CustomPayloadValue", # required
|
5574
|
+
# },
|
5575
|
+
# ssml_message: {
|
5576
|
+
# value: "SSMLMessageValue", # required
|
5577
|
+
# },
|
5578
|
+
# image_response_card: {
|
5579
|
+
# title: "AttachmentTitle", # required
|
5580
|
+
# subtitle: "AttachmentTitle",
|
5581
|
+
# image_url: "AttachmentUrl",
|
5582
|
+
# buttons: [
|
5583
|
+
# {
|
5584
|
+
# text: "ButtonText", # required
|
5585
|
+
# value: "ButtonValue", # required
|
5586
|
+
# },
|
5587
|
+
# ],
|
5588
|
+
# },
|
5589
|
+
# },
|
5590
|
+
# ],
|
5591
|
+
# },
|
5592
|
+
# ],
|
5593
|
+
# allow_interrupt: false,
|
5594
|
+
# },
|
5595
|
+
# update_response: {
|
5596
|
+
# frequency_in_seconds: 1, # required
|
5597
|
+
# message_groups: [ # required
|
5598
|
+
# {
|
5599
|
+
# message: { # required
|
5600
|
+
# plain_text_message: {
|
5601
|
+
# value: "PlainTextMessageValue", # required
|
5602
|
+
# },
|
5603
|
+
# custom_payload: {
|
5604
|
+
# value: "CustomPayloadValue", # required
|
5605
|
+
# },
|
5606
|
+
# ssml_message: {
|
5607
|
+
# value: "SSMLMessageValue", # required
|
5608
|
+
# },
|
5609
|
+
# image_response_card: {
|
5610
|
+
# title: "AttachmentTitle", # required
|
5611
|
+
# subtitle: "AttachmentTitle",
|
5612
|
+
# image_url: "AttachmentUrl",
|
5613
|
+
# buttons: [
|
5614
|
+
# {
|
5615
|
+
# text: "ButtonText", # required
|
5616
|
+
# value: "ButtonValue", # required
|
5617
|
+
# },
|
5618
|
+
# ],
|
5619
|
+
# },
|
5620
|
+
# },
|
5621
|
+
# variations: [
|
5622
|
+
# {
|
5623
|
+
# plain_text_message: {
|
5624
|
+
# value: "PlainTextMessageValue", # required
|
5625
|
+
# },
|
5626
|
+
# custom_payload: {
|
5627
|
+
# value: "CustomPayloadValue", # required
|
5628
|
+
# },
|
5629
|
+
# ssml_message: {
|
5630
|
+
# value: "SSMLMessageValue", # required
|
5631
|
+
# },
|
5632
|
+
# image_response_card: {
|
5633
|
+
# title: "AttachmentTitle", # required
|
5634
|
+
# subtitle: "AttachmentTitle",
|
5635
|
+
# image_url: "AttachmentUrl",
|
5636
|
+
# buttons: [
|
5637
|
+
# {
|
5638
|
+
# text: "ButtonText", # required
|
5639
|
+
# value: "ButtonValue", # required
|
5640
|
+
# },
|
5641
|
+
# ],
|
5642
|
+
# },
|
5643
|
+
# },
|
5644
|
+
# ],
|
5645
|
+
# },
|
5646
|
+
# ],
|
5647
|
+
# allow_interrupt: false,
|
5648
|
+
# },
|
5649
|
+
# timeout_in_seconds: 1,
|
4615
5650
|
# }
|
4616
5651
|
#
|
4617
|
-
# @!attribute [rw]
|
4618
|
-
#
|
4619
|
-
#
|
5652
|
+
# @!attribute [rw] active
|
5653
|
+
# Determines whether fulfillment updates are sent to the user. When
|
5654
|
+
# this field is true, updates are sent.
|
5655
|
+
#
|
5656
|
+
# If the `active` field is set to true, the `startResponse`,
|
5657
|
+
# `updateResponse`, and `timeoutInSeconds` fields are required.
|
4620
5658
|
# @return [Boolean]
|
4621
5659
|
#
|
4622
|
-
#
|
5660
|
+
# @!attribute [rw] start_response
|
5661
|
+
# Provides configuration information for the message sent to users
|
5662
|
+
# when the fulfillment Lambda functions starts running.
|
5663
|
+
# @return [Types::FulfillmentStartResponseSpecification]
|
4623
5664
|
#
|
4624
|
-
|
4625
|
-
|
5665
|
+
# @!attribute [rw] update_response
|
5666
|
+
# Provides configuration information for messages sent periodically to
|
5667
|
+
# the user while the fulfillment Lambda function is running.
|
5668
|
+
# @return [Types::FulfillmentUpdateResponseSpecification]
|
5669
|
+
#
|
5670
|
+
# @!attribute [rw] timeout_in_seconds
|
5671
|
+
# The length of time that the fulfillment Lambda function should run
|
5672
|
+
# before it times out.
|
5673
|
+
# @return [Integer]
|
5674
|
+
#
|
5675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdatesSpecification AWS API Documentation
|
5676
|
+
#
|
5677
|
+
class FulfillmentUpdatesSpecification < Struct.new(
|
5678
|
+
:active,
|
5679
|
+
:start_response,
|
5680
|
+
:update_response,
|
5681
|
+
:timeout_in_seconds)
|
4626
5682
|
SENSITIVE = []
|
4627
5683
|
include Aws::Structure
|
4628
5684
|
end
|
@@ -4718,7 +5774,7 @@ module Aws::LexModelsV2
|
|
4718
5774
|
end
|
4719
5775
|
|
4720
5776
|
# Provides information about the bot or bot locale that you want to
|
4721
|
-
# import. You can
|
5777
|
+
# import. You can specify the `botImportSpecification` or the
|
4722
5778
|
# `botLocaleImportSpecification`, but not both.
|
4723
5779
|
#
|
4724
5780
|
# @note When making an API call, you may pass ImportResourceSpecification
|
@@ -4923,6 +5979,7 @@ module Aws::LexModelsV2
|
|
4923
5979
|
# ],
|
4924
5980
|
# allow_interrupt: false,
|
4925
5981
|
# },
|
5982
|
+
# active: false,
|
4926
5983
|
# }
|
4927
5984
|
#
|
4928
5985
|
# @!attribute [rw] closing_response
|
@@ -4930,10 +5987,17 @@ module Aws::LexModelsV2
|
|
4930
5987
|
# complete.
|
4931
5988
|
# @return [Types::ResponseSpecification]
|
4932
5989
|
#
|
5990
|
+
# @!attribute [rw] active
|
5991
|
+
# Specifies whether an intent's closing response is used. When this
|
5992
|
+
# field is false, the closing response isn't sent to the user. If the
|
5993
|
+
# `active` field isn't specified, the default is true.
|
5994
|
+
# @return [Boolean]
|
5995
|
+
#
|
4933
5996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClosingSetting AWS API Documentation
|
4934
5997
|
#
|
4935
5998
|
class IntentClosingSetting < Struct.new(
|
4936
|
-
:closing_response
|
5999
|
+
:closing_response,
|
6000
|
+
:active)
|
4937
6001
|
SENSITIVE = []
|
4938
6002
|
include Aws::Structure
|
4939
6003
|
end
|
@@ -5052,6 +6116,7 @@ module Aws::LexModelsV2
|
|
5052
6116
|
# ],
|
5053
6117
|
# allow_interrupt: false,
|
5054
6118
|
# },
|
6119
|
+
# active: false,
|
5055
6120
|
# }
|
5056
6121
|
#
|
5057
6122
|
# @!attribute [rw] prompt_specification
|
@@ -5072,11 +6137,19 @@ module Aws::LexModelsV2
|
|
5072
6137
|
# acknowledge that the intent was canceled.
|
5073
6138
|
# @return [Types::ResponseSpecification]
|
5074
6139
|
#
|
6140
|
+
# @!attribute [rw] active
|
6141
|
+
# Specifies whether the intent's confirmation is sent to the user.
|
6142
|
+
# When this field is false, confirmation and declination responses
|
6143
|
+
# aren't sent. If the `active` field isn't specified, the default is
|
6144
|
+
# true.
|
6145
|
+
# @return [Boolean]
|
6146
|
+
#
|
5075
6147
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentConfirmationSetting AWS API Documentation
|
5076
6148
|
#
|
5077
6149
|
class IntentConfirmationSetting < Struct.new(
|
5078
6150
|
:prompt_specification,
|
5079
|
-
:declination_response
|
6151
|
+
:declination_response,
|
6152
|
+
:active)
|
5080
6153
|
SENSITIVE = []
|
5081
6154
|
include Aws::Structure
|
5082
6155
|
end
|
@@ -5194,6 +6267,9 @@ module Aws::LexModelsV2
|
|
5194
6267
|
include Aws::Structure
|
5195
6268
|
end
|
5196
6269
|
|
6270
|
+
# The service encountered an unexpected condition. Try your request
|
6271
|
+
# again.
|
6272
|
+
#
|
5197
6273
|
# @!attribute [rw] message
|
5198
6274
|
# @return [String]
|
5199
6275
|
#
|
@@ -5251,7 +6327,7 @@ module Aws::LexModelsV2
|
|
5251
6327
|
end
|
5252
6328
|
|
5253
6329
|
# Specifies a Lambda function that verifies requests to a bot or
|
5254
|
-
#
|
6330
|
+
# fulfills the user's request to a bot.
|
5255
6331
|
#
|
5256
6332
|
# @note When making an API call, you may pass LambdaCodeHook
|
5257
6333
|
# data as a hash:
|
@@ -5261,20 +6337,198 @@ module Aws::LexModelsV2
|
|
5261
6337
|
# code_hook_interface_version: "CodeHookInterfaceVersion", # required
|
5262
6338
|
# }
|
5263
6339
|
#
|
5264
|
-
# @!attribute [rw] lambda_arn
|
5265
|
-
# The Amazon Resource Name (ARN) of the Lambda function.
|
5266
|
-
# @return [String]
|
6340
|
+
# @!attribute [rw] lambda_arn
|
6341
|
+
# The Amazon Resource Name (ARN) of the Lambda function.
|
6342
|
+
# @return [String]
|
6343
|
+
#
|
6344
|
+
# @!attribute [rw] code_hook_interface_version
|
6345
|
+
# The version of the request-response that you want Amazon Lex to use
|
6346
|
+
# to invoke your Lambda function.
|
6347
|
+
# @return [String]
|
6348
|
+
#
|
6349
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/LambdaCodeHook AWS API Documentation
|
6350
|
+
#
|
6351
|
+
class LambdaCodeHook < Struct.new(
|
6352
|
+
:lambda_arn,
|
6353
|
+
:code_hook_interface_version)
|
6354
|
+
SENSITIVE = []
|
6355
|
+
include Aws::Structure
|
6356
|
+
end
|
6357
|
+
|
6358
|
+
# @note When making an API call, you may pass ListAggregatedUtterancesRequest
|
6359
|
+
# data as a hash:
|
6360
|
+
#
|
6361
|
+
# {
|
6362
|
+
# bot_id: "Id", # required
|
6363
|
+
# bot_alias_id: "BotAliasId",
|
6364
|
+
# bot_version: "BotVersion",
|
6365
|
+
# locale_id: "LocaleId", # required
|
6366
|
+
# aggregation_duration: { # required
|
6367
|
+
# relative_aggregation_duration: { # required
|
6368
|
+
# time_dimension: "Hours", # required, accepts Hours, Days, Weeks
|
6369
|
+
# time_value: 1, # required
|
6370
|
+
# },
|
6371
|
+
# },
|
6372
|
+
# sort_by: {
|
6373
|
+
# attribute: "HitCount", # required, accepts HitCount, MissedCount
|
6374
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
6375
|
+
# },
|
6376
|
+
# filters: [
|
6377
|
+
# {
|
6378
|
+
# name: "Utterance", # required, accepts Utterance
|
6379
|
+
# values: ["FilterValue"], # required
|
6380
|
+
# operator: "CO", # required, accepts CO, EQ
|
6381
|
+
# },
|
6382
|
+
# ],
|
6383
|
+
# max_results: 1,
|
6384
|
+
# next_token: "NextToken",
|
6385
|
+
# }
|
6386
|
+
#
|
6387
|
+
# @!attribute [rw] bot_id
|
6388
|
+
# The unique identifier of the bot associated with this request.
|
6389
|
+
# @return [String]
|
6390
|
+
#
|
6391
|
+
# @!attribute [rw] bot_alias_id
|
6392
|
+
# The identifier of the bot alias associated with this request. If you
|
6393
|
+
# specify the bot alias, you can't specify the bot version.
|
6394
|
+
# @return [String]
|
6395
|
+
#
|
6396
|
+
# @!attribute [rw] bot_version
|
6397
|
+
# The identifier of the bot version associated with this request. If
|
6398
|
+
# you specify the bot version, you can't specify the bot alias.
|
6399
|
+
# @return [String]
|
6400
|
+
#
|
6401
|
+
# @!attribute [rw] locale_id
|
6402
|
+
# The identifier of the language and locale where the utterances were
|
6403
|
+
# collected. For more information, see [Supported languages][1].
|
6404
|
+
#
|
6405
|
+
#
|
6406
|
+
#
|
6407
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
|
6408
|
+
# @return [String]
|
6409
|
+
#
|
6410
|
+
# @!attribute [rw] aggregation_duration
|
6411
|
+
# The time window for aggregating the utterance information. You can
|
6412
|
+
# specify a time between one hour and two weeks.
|
6413
|
+
# @return [Types::UtteranceAggregationDuration]
|
6414
|
+
#
|
6415
|
+
# @!attribute [rw] sort_by
|
6416
|
+
# Specifies sorting parameters for the list of utterances. You can
|
6417
|
+
# sort by the hit count, the missed count, or the number of distinct
|
6418
|
+
# sessions the utterance appeared in.
|
6419
|
+
# @return [Types::AggregatedUtterancesSortBy]
|
6420
|
+
#
|
6421
|
+
# @!attribute [rw] filters
|
6422
|
+
# Provides the specification of a filter used to limit the utterances
|
6423
|
+
# in the response to only those that match the filter specification.
|
6424
|
+
# You can only specify one filter and one string to filter on.
|
6425
|
+
# @return [Array<Types::AggregatedUtterancesFilter>]
|
6426
|
+
#
|
6427
|
+
# @!attribute [rw] max_results
|
6428
|
+
# The maximum number of utterances to return in each page of results.
|
6429
|
+
# If there are fewer results than the maximum page size, only the
|
6430
|
+
# actual number of results are returned. If you don't specify the
|
6431
|
+
# `maxResults` parameter, 1,000 results are returned.
|
6432
|
+
# @return [Integer]
|
6433
|
+
#
|
6434
|
+
# @!attribute [rw] next_token
|
6435
|
+
# If the response from the `ListAggregatedUtterances` operation
|
6436
|
+
# contains more results that specified in the `maxResults` parameter,
|
6437
|
+
# a token is returned in the response. Use that token in the
|
6438
|
+
# `nextToken` parameter to return the next page of results.
|
6439
|
+
# @return [String]
|
6440
|
+
#
|
6441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterancesRequest AWS API Documentation
|
6442
|
+
#
|
6443
|
+
class ListAggregatedUtterancesRequest < Struct.new(
|
6444
|
+
:bot_id,
|
6445
|
+
:bot_alias_id,
|
6446
|
+
:bot_version,
|
6447
|
+
:locale_id,
|
6448
|
+
:aggregation_duration,
|
6449
|
+
:sort_by,
|
6450
|
+
:filters,
|
6451
|
+
:max_results,
|
6452
|
+
:next_token)
|
6453
|
+
SENSITIVE = []
|
6454
|
+
include Aws::Structure
|
6455
|
+
end
|
6456
|
+
|
6457
|
+
# @!attribute [rw] bot_id
|
6458
|
+
# The identifier of the bot that contains the utterances.
|
6459
|
+
# @return [String]
|
6460
|
+
#
|
6461
|
+
# @!attribute [rw] bot_alias_id
|
6462
|
+
# The identifier of the bot alias that contains the utterances. If you
|
6463
|
+
# specified the bot version, the bot alias ID isn't returned.
|
6464
|
+
# @return [String]
|
6465
|
+
#
|
6466
|
+
# @!attribute [rw] bot_version
|
6467
|
+
# The identifier of the bot version that contains the utterances. If
|
6468
|
+
# you specified the bot alias, the bot version isn't returned.
|
6469
|
+
# @return [String]
|
6470
|
+
#
|
6471
|
+
# @!attribute [rw] locale_id
|
6472
|
+
# The identifier of the language and locale that the utterances are
|
6473
|
+
# in.
|
6474
|
+
# @return [String]
|
6475
|
+
#
|
6476
|
+
# @!attribute [rw] aggregation_duration
|
6477
|
+
# The time period used to aggregate the utterance data.
|
6478
|
+
# @return [Types::UtteranceAggregationDuration]
|
6479
|
+
#
|
6480
|
+
# @!attribute [rw] aggregation_window_start_time
|
6481
|
+
# The date and time that the aggregation window begins. Only data
|
6482
|
+
# collected after this time is returned in the results.
|
6483
|
+
# @return [Time]
|
6484
|
+
#
|
6485
|
+
# @!attribute [rw] aggregation_window_end_time
|
6486
|
+
# The date and time that the aggregation window ends. Only data
|
6487
|
+
# collected between the start time and the end time are returned in
|
6488
|
+
# the results.
|
6489
|
+
# @return [Time]
|
6490
|
+
#
|
6491
|
+
# @!attribute [rw] aggregation_last_refreshed_date_time
|
6492
|
+
# The last date and time that the aggregated data was collected. The
|
6493
|
+
# time period depends on the length of the aggregation window.
|
6494
|
+
#
|
6495
|
+
# * **Hours** - for 1 hour time window, every half hour; otherwise
|
6496
|
+
# every hour.
|
6497
|
+
#
|
6498
|
+
# * **Days** - every 6 hours
|
6499
|
+
#
|
6500
|
+
# * **Weeks** - for a one week time window, every 12 hours; otherwise,
|
6501
|
+
# every day
|
6502
|
+
# @return [Time]
|
5267
6503
|
#
|
5268
|
-
# @!attribute [rw]
|
5269
|
-
#
|
5270
|
-
#
|
6504
|
+
# @!attribute [rw] aggregated_utterances_summaries
|
6505
|
+
# Summaries of the aggregated utterance data. Each response contains
|
6506
|
+
# information about the number of times that the utterance was seen
|
6507
|
+
# during the time period, whether it was detected or missed, and when
|
6508
|
+
# it was seen during the time period.
|
6509
|
+
# @return [Array<Types::AggregatedUtterancesSummary>]
|
6510
|
+
#
|
6511
|
+
# @!attribute [rw] next_token
|
6512
|
+
# A token that indicates whether there are more results to return in a
|
6513
|
+
# response to the `ListAggregatedUtterances` operation. If the
|
6514
|
+
# `nextToken` field is present, you send the contents as the
|
6515
|
+
# `nextToken` parameter of a `ListAggregatedUtterances` operation
|
6516
|
+
# request to get the next page of results.
|
5271
6517
|
# @return [String]
|
5272
6518
|
#
|
5273
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
6519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListAggregatedUtterancesResponse AWS API Documentation
|
5274
6520
|
#
|
5275
|
-
class
|
5276
|
-
:
|
5277
|
-
:
|
6521
|
+
class ListAggregatedUtterancesResponse < Struct.new(
|
6522
|
+
:bot_id,
|
6523
|
+
:bot_alias_id,
|
6524
|
+
:bot_version,
|
6525
|
+
:locale_id,
|
6526
|
+
:aggregation_duration,
|
6527
|
+
:aggregation_window_start_time,
|
6528
|
+
:aggregation_window_end_time,
|
6529
|
+
:aggregation_last_refreshed_date_time,
|
6530
|
+
:aggregated_utterances_summaries,
|
6531
|
+
:next_token)
|
5278
6532
|
SENSITIVE = []
|
5279
6533
|
include Aws::Structure
|
5280
6534
|
end
|
@@ -5814,7 +7068,7 @@ module Aws::LexModelsV2
|
|
5814
7068
|
# @return [Integer]
|
5815
7069
|
#
|
5816
7070
|
# @!attribute [rw] next_token
|
5817
|
-
# If the response from the `ListExports` operation
|
7071
|
+
# If the response from the `ListExports` operation contains more
|
5818
7072
|
# results that specified in the `maxResults` parameter, a token is
|
5819
7073
|
# returned in the response. Use that token in the `nextToken`
|
5820
7074
|
# parameter to return the next page of results.
|
@@ -6604,6 +7858,207 @@ module Aws::LexModelsV2
|
|
6604
7858
|
include Aws::Structure
|
6605
7859
|
end
|
6606
7860
|
|
7861
|
+
# Provides a setting that determines whether the post-fulfillment
|
7862
|
+
# response is sent to the user. For more information, see
|
7863
|
+
# [https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete][1]
|
7864
|
+
#
|
7865
|
+
#
|
7866
|
+
#
|
7867
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete
|
7868
|
+
#
|
7869
|
+
# @note When making an API call, you may pass PostFulfillmentStatusSpecification
|
7870
|
+
# data as a hash:
|
7871
|
+
#
|
7872
|
+
# {
|
7873
|
+
# success_response: {
|
7874
|
+
# message_groups: [ # required
|
7875
|
+
# {
|
7876
|
+
# message: { # required
|
7877
|
+
# plain_text_message: {
|
7878
|
+
# value: "PlainTextMessageValue", # required
|
7879
|
+
# },
|
7880
|
+
# custom_payload: {
|
7881
|
+
# value: "CustomPayloadValue", # required
|
7882
|
+
# },
|
7883
|
+
# ssml_message: {
|
7884
|
+
# value: "SSMLMessageValue", # required
|
7885
|
+
# },
|
7886
|
+
# image_response_card: {
|
7887
|
+
# title: "AttachmentTitle", # required
|
7888
|
+
# subtitle: "AttachmentTitle",
|
7889
|
+
# image_url: "AttachmentUrl",
|
7890
|
+
# buttons: [
|
7891
|
+
# {
|
7892
|
+
# text: "ButtonText", # required
|
7893
|
+
# value: "ButtonValue", # required
|
7894
|
+
# },
|
7895
|
+
# ],
|
7896
|
+
# },
|
7897
|
+
# },
|
7898
|
+
# variations: [
|
7899
|
+
# {
|
7900
|
+
# plain_text_message: {
|
7901
|
+
# value: "PlainTextMessageValue", # required
|
7902
|
+
# },
|
7903
|
+
# custom_payload: {
|
7904
|
+
# value: "CustomPayloadValue", # required
|
7905
|
+
# },
|
7906
|
+
# ssml_message: {
|
7907
|
+
# value: "SSMLMessageValue", # required
|
7908
|
+
# },
|
7909
|
+
# image_response_card: {
|
7910
|
+
# title: "AttachmentTitle", # required
|
7911
|
+
# subtitle: "AttachmentTitle",
|
7912
|
+
# image_url: "AttachmentUrl",
|
7913
|
+
# buttons: [
|
7914
|
+
# {
|
7915
|
+
# text: "ButtonText", # required
|
7916
|
+
# value: "ButtonValue", # required
|
7917
|
+
# },
|
7918
|
+
# ],
|
7919
|
+
# },
|
7920
|
+
# },
|
7921
|
+
# ],
|
7922
|
+
# },
|
7923
|
+
# ],
|
7924
|
+
# allow_interrupt: false,
|
7925
|
+
# },
|
7926
|
+
# failure_response: {
|
7927
|
+
# message_groups: [ # required
|
7928
|
+
# {
|
7929
|
+
# message: { # required
|
7930
|
+
# plain_text_message: {
|
7931
|
+
# value: "PlainTextMessageValue", # required
|
7932
|
+
# },
|
7933
|
+
# custom_payload: {
|
7934
|
+
# value: "CustomPayloadValue", # required
|
7935
|
+
# },
|
7936
|
+
# ssml_message: {
|
7937
|
+
# value: "SSMLMessageValue", # required
|
7938
|
+
# },
|
7939
|
+
# image_response_card: {
|
7940
|
+
# title: "AttachmentTitle", # required
|
7941
|
+
# subtitle: "AttachmentTitle",
|
7942
|
+
# image_url: "AttachmentUrl",
|
7943
|
+
# buttons: [
|
7944
|
+
# {
|
7945
|
+
# text: "ButtonText", # required
|
7946
|
+
# value: "ButtonValue", # required
|
7947
|
+
# },
|
7948
|
+
# ],
|
7949
|
+
# },
|
7950
|
+
# },
|
7951
|
+
# variations: [
|
7952
|
+
# {
|
7953
|
+
# plain_text_message: {
|
7954
|
+
# value: "PlainTextMessageValue", # required
|
7955
|
+
# },
|
7956
|
+
# custom_payload: {
|
7957
|
+
# value: "CustomPayloadValue", # required
|
7958
|
+
# },
|
7959
|
+
# ssml_message: {
|
7960
|
+
# value: "SSMLMessageValue", # required
|
7961
|
+
# },
|
7962
|
+
# image_response_card: {
|
7963
|
+
# title: "AttachmentTitle", # required
|
7964
|
+
# subtitle: "AttachmentTitle",
|
7965
|
+
# image_url: "AttachmentUrl",
|
7966
|
+
# buttons: [
|
7967
|
+
# {
|
7968
|
+
# text: "ButtonText", # required
|
7969
|
+
# value: "ButtonValue", # required
|
7970
|
+
# },
|
7971
|
+
# ],
|
7972
|
+
# },
|
7973
|
+
# },
|
7974
|
+
# ],
|
7975
|
+
# },
|
7976
|
+
# ],
|
7977
|
+
# allow_interrupt: false,
|
7978
|
+
# },
|
7979
|
+
# timeout_response: {
|
7980
|
+
# message_groups: [ # required
|
7981
|
+
# {
|
7982
|
+
# message: { # required
|
7983
|
+
# plain_text_message: {
|
7984
|
+
# value: "PlainTextMessageValue", # required
|
7985
|
+
# },
|
7986
|
+
# custom_payload: {
|
7987
|
+
# value: "CustomPayloadValue", # required
|
7988
|
+
# },
|
7989
|
+
# ssml_message: {
|
7990
|
+
# value: "SSMLMessageValue", # required
|
7991
|
+
# },
|
7992
|
+
# image_response_card: {
|
7993
|
+
# title: "AttachmentTitle", # required
|
7994
|
+
# subtitle: "AttachmentTitle",
|
7995
|
+
# image_url: "AttachmentUrl",
|
7996
|
+
# buttons: [
|
7997
|
+
# {
|
7998
|
+
# text: "ButtonText", # required
|
7999
|
+
# value: "ButtonValue", # required
|
8000
|
+
# },
|
8001
|
+
# ],
|
8002
|
+
# },
|
8003
|
+
# },
|
8004
|
+
# variations: [
|
8005
|
+
# {
|
8006
|
+
# plain_text_message: {
|
8007
|
+
# value: "PlainTextMessageValue", # required
|
8008
|
+
# },
|
8009
|
+
# custom_payload: {
|
8010
|
+
# value: "CustomPayloadValue", # required
|
8011
|
+
# },
|
8012
|
+
# ssml_message: {
|
8013
|
+
# value: "SSMLMessageValue", # required
|
8014
|
+
# },
|
8015
|
+
# image_response_card: {
|
8016
|
+
# title: "AttachmentTitle", # required
|
8017
|
+
# subtitle: "AttachmentTitle",
|
8018
|
+
# image_url: "AttachmentUrl",
|
8019
|
+
# buttons: [
|
8020
|
+
# {
|
8021
|
+
# text: "ButtonText", # required
|
8022
|
+
# value: "ButtonValue", # required
|
8023
|
+
# },
|
8024
|
+
# ],
|
8025
|
+
# },
|
8026
|
+
# },
|
8027
|
+
# ],
|
8028
|
+
# },
|
8029
|
+
# ],
|
8030
|
+
# allow_interrupt: false,
|
8031
|
+
# },
|
8032
|
+
# }
|
8033
|
+
#
|
8034
|
+
# @!attribute [rw] success_response
|
8035
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8036
|
+
# the user input.
|
8037
|
+
# @return [Types::ResponseSpecification]
|
8038
|
+
#
|
8039
|
+
# @!attribute [rw] failure_response
|
8040
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8041
|
+
# the user input.
|
8042
|
+
# @return [Types::ResponseSpecification]
|
8043
|
+
#
|
8044
|
+
# @!attribute [rw] timeout_response
|
8045
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8046
|
+
# the user input.
|
8047
|
+
# @return [Types::ResponseSpecification]
|
8048
|
+
#
|
8049
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PostFulfillmentStatusSpecification AWS API Documentation
|
8050
|
+
#
|
8051
|
+
class PostFulfillmentStatusSpecification < Struct.new(
|
8052
|
+
:success_response,
|
8053
|
+
:failure_response,
|
8054
|
+
:timeout_response)
|
8055
|
+
SENSITIVE = []
|
8056
|
+
include Aws::Structure
|
8057
|
+
end
|
8058
|
+
|
8059
|
+
# Your request couldn't be completed because one or more request fields
|
8060
|
+
# aren't valid. Check the fields in your request and try again.
|
8061
|
+
#
|
6607
8062
|
# @!attribute [rw] message
|
6608
8063
|
# @return [String]
|
6609
8064
|
#
|
@@ -6717,7 +8172,7 @@ module Aws::LexModelsV2
|
|
6717
8172
|
# @return [Array<Types::MessageGroup>]
|
6718
8173
|
#
|
6719
8174
|
# @!attribute [rw] max_retries
|
6720
|
-
# The maximum number of times the bot tries to elicit a
|
8175
|
+
# The maximum number of times the bot tries to elicit a response from
|
6721
8176
|
# the user using this prompt.
|
6722
8177
|
# @return [Integer]
|
6723
8178
|
#
|
@@ -6736,6 +8191,61 @@ module Aws::LexModelsV2
|
|
6736
8191
|
include Aws::Structure
|
6737
8192
|
end
|
6738
8193
|
|
8194
|
+
# Specifies the time window that utterance statistics are returned for.
|
8195
|
+
# The time window is always relative to the last time that the that
|
8196
|
+
# utterances were aggregated. For example, if the
|
8197
|
+
# `ListAggregatedUtterances` operation is called at 1600, the time
|
8198
|
+
# window is set to 1 hour, and the last refresh time was 1530, only
|
8199
|
+
# utterances made between 1430 and 1530 are returned.
|
8200
|
+
#
|
8201
|
+
# You can choose the time window that statistics should be returned for.
|
8202
|
+
#
|
8203
|
+
# * **Hours** - You can request utterance statistics for 1, 3, 6, 12, or
|
8204
|
+
# 24 hour time windows. Statistics are refreshed every half hour for 1
|
8205
|
+
# hour time windows, and hourly for the other time windows.
|
8206
|
+
#
|
8207
|
+
# * **Days** - You can request utterance statistics for 3 days.
|
8208
|
+
# Statistics are refreshed every 6 hours.
|
8209
|
+
#
|
8210
|
+
# * **Weeks** - You can see statistics for one or two weeks. Statistics
|
8211
|
+
# are refreshed every 12 hours for one week time windows, and once per
|
8212
|
+
# day for two week time windows.
|
8213
|
+
#
|
8214
|
+
# @note When making an API call, you may pass RelativeAggregationDuration
|
8215
|
+
# data as a hash:
|
8216
|
+
#
|
8217
|
+
# {
|
8218
|
+
# time_dimension: "Hours", # required, accepts Hours, Days, Weeks
|
8219
|
+
# time_value: 1, # required
|
8220
|
+
# }
|
8221
|
+
#
|
8222
|
+
# @!attribute [rw] time_dimension
|
8223
|
+
# The type of time period that the `timeValue` field represents.
|
8224
|
+
# @return [String]
|
8225
|
+
#
|
8226
|
+
# @!attribute [rw] time_value
|
8227
|
+
# The period of the time window to gather statistics for. The valid
|
8228
|
+
# value depends on the setting of the `timeDimension` field.
|
8229
|
+
#
|
8230
|
+
# * `Hours` - 1/3/6/12/24
|
8231
|
+
#
|
8232
|
+
# * `Days` - 3
|
8233
|
+
#
|
8234
|
+
# * `Weeks` - 1/2
|
8235
|
+
# @return [Integer]
|
8236
|
+
#
|
8237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RelativeAggregationDuration AWS API Documentation
|
8238
|
+
#
|
8239
|
+
class RelativeAggregationDuration < Struct.new(
|
8240
|
+
:time_dimension,
|
8241
|
+
:time_value)
|
8242
|
+
SENSITIVE = []
|
8243
|
+
include Aws::Structure
|
8244
|
+
end
|
8245
|
+
|
8246
|
+
# You asked to describe a resource that doesn't exist. Check the
|
8247
|
+
# resource that you are requesting and try again.
|
8248
|
+
#
|
6739
8249
|
# @!attribute [rw] message
|
6740
8250
|
# @return [String]
|
6741
8251
|
#
|
@@ -6949,6 +8459,8 @@ module Aws::LexModelsV2
|
|
6949
8459
|
include Aws::Structure
|
6950
8460
|
end
|
6951
8461
|
|
8462
|
+
# You have reached a quota for your bot.
|
8463
|
+
#
|
6952
8464
|
# @!attribute [rw] message
|
6953
8465
|
# @return [String]
|
6954
8466
|
#
|
@@ -7269,7 +8781,7 @@ module Aws::LexModelsV2
|
|
7269
8781
|
# @return [Types::SampleValue]
|
7270
8782
|
#
|
7271
8783
|
# @!attribute [rw] synonyms
|
7272
|
-
# Additional values
|
8784
|
+
# Additional values related to the slot type entry.
|
7273
8785
|
# @return [Array<Types::SampleValue>]
|
7274
8786
|
#
|
7275
8787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeValue AWS API Documentation
|
@@ -7516,13 +9028,14 @@ module Aws::LexModelsV2
|
|
7516
9028
|
# timeout_in_seconds: 1, # required
|
7517
9029
|
# allow_interrupt: false,
|
7518
9030
|
# },
|
9031
|
+
# active: false,
|
7519
9032
|
# },
|
7520
9033
|
# }
|
7521
9034
|
#
|
7522
9035
|
# @!attribute [rw] default_value_specification
|
7523
9036
|
# A list of default values for a slot. Default values are used when
|
7524
9037
|
# Amazon Lex hasn't determined a value for a slot. You can specify
|
7525
|
-
# default values from context variables,
|
9038
|
+
# default values from context variables, session attributes, and
|
7526
9039
|
# defined values.
|
7527
9040
|
# @return [Types::SlotDefaultValueSpecification]
|
7528
9041
|
#
|
@@ -7927,6 +9440,8 @@ module Aws::LexModelsV2
|
|
7927
9440
|
include Aws::Structure
|
7928
9441
|
end
|
7929
9442
|
|
9443
|
+
# Your request rate is too high. Reduce the frequency of requests.
|
9444
|
+
#
|
7930
9445
|
# @!attribute [rw] retry_after_seconds
|
7931
9446
|
# @return [Integer]
|
7932
9447
|
#
|
@@ -8460,12 +9975,285 @@ module Aws::LexModelsV2
|
|
8460
9975
|
# {
|
8461
9976
|
# utterance: "Utterance", # required
|
8462
9977
|
# },
|
8463
|
-
# ],
|
8464
|
-
# dialog_code_hook: {
|
8465
|
-
# enabled: false, # required
|
8466
|
-
# },
|
8467
|
-
# fulfillment_code_hook: {
|
8468
|
-
# enabled: false, # required
|
9978
|
+
# ],
|
9979
|
+
# dialog_code_hook: {
|
9980
|
+
# enabled: false, # required
|
9981
|
+
# },
|
9982
|
+
# fulfillment_code_hook: {
|
9983
|
+
# enabled: false, # required
|
9984
|
+
# post_fulfillment_status_specification: {
|
9985
|
+
# success_response: {
|
9986
|
+
# message_groups: [ # required
|
9987
|
+
# {
|
9988
|
+
# message: { # required
|
9989
|
+
# plain_text_message: {
|
9990
|
+
# value: "PlainTextMessageValue", # required
|
9991
|
+
# },
|
9992
|
+
# custom_payload: {
|
9993
|
+
# value: "CustomPayloadValue", # required
|
9994
|
+
# },
|
9995
|
+
# ssml_message: {
|
9996
|
+
# value: "SSMLMessageValue", # required
|
9997
|
+
# },
|
9998
|
+
# image_response_card: {
|
9999
|
+
# title: "AttachmentTitle", # required
|
10000
|
+
# subtitle: "AttachmentTitle",
|
10001
|
+
# image_url: "AttachmentUrl",
|
10002
|
+
# buttons: [
|
10003
|
+
# {
|
10004
|
+
# text: "ButtonText", # required
|
10005
|
+
# value: "ButtonValue", # required
|
10006
|
+
# },
|
10007
|
+
# ],
|
10008
|
+
# },
|
10009
|
+
# },
|
10010
|
+
# variations: [
|
10011
|
+
# {
|
10012
|
+
# plain_text_message: {
|
10013
|
+
# value: "PlainTextMessageValue", # required
|
10014
|
+
# },
|
10015
|
+
# custom_payload: {
|
10016
|
+
# value: "CustomPayloadValue", # required
|
10017
|
+
# },
|
10018
|
+
# ssml_message: {
|
10019
|
+
# value: "SSMLMessageValue", # required
|
10020
|
+
# },
|
10021
|
+
# image_response_card: {
|
10022
|
+
# title: "AttachmentTitle", # required
|
10023
|
+
# subtitle: "AttachmentTitle",
|
10024
|
+
# image_url: "AttachmentUrl",
|
10025
|
+
# buttons: [
|
10026
|
+
# {
|
10027
|
+
# text: "ButtonText", # required
|
10028
|
+
# value: "ButtonValue", # required
|
10029
|
+
# },
|
10030
|
+
# ],
|
10031
|
+
# },
|
10032
|
+
# },
|
10033
|
+
# ],
|
10034
|
+
# },
|
10035
|
+
# ],
|
10036
|
+
# allow_interrupt: false,
|
10037
|
+
# },
|
10038
|
+
# failure_response: {
|
10039
|
+
# message_groups: [ # required
|
10040
|
+
# {
|
10041
|
+
# message: { # required
|
10042
|
+
# plain_text_message: {
|
10043
|
+
# value: "PlainTextMessageValue", # required
|
10044
|
+
# },
|
10045
|
+
# custom_payload: {
|
10046
|
+
# value: "CustomPayloadValue", # required
|
10047
|
+
# },
|
10048
|
+
# ssml_message: {
|
10049
|
+
# value: "SSMLMessageValue", # required
|
10050
|
+
# },
|
10051
|
+
# image_response_card: {
|
10052
|
+
# title: "AttachmentTitle", # required
|
10053
|
+
# subtitle: "AttachmentTitle",
|
10054
|
+
# image_url: "AttachmentUrl",
|
10055
|
+
# buttons: [
|
10056
|
+
# {
|
10057
|
+
# text: "ButtonText", # required
|
10058
|
+
# value: "ButtonValue", # required
|
10059
|
+
# },
|
10060
|
+
# ],
|
10061
|
+
# },
|
10062
|
+
# },
|
10063
|
+
# variations: [
|
10064
|
+
# {
|
10065
|
+
# plain_text_message: {
|
10066
|
+
# value: "PlainTextMessageValue", # required
|
10067
|
+
# },
|
10068
|
+
# custom_payload: {
|
10069
|
+
# value: "CustomPayloadValue", # required
|
10070
|
+
# },
|
10071
|
+
# ssml_message: {
|
10072
|
+
# value: "SSMLMessageValue", # required
|
10073
|
+
# },
|
10074
|
+
# image_response_card: {
|
10075
|
+
# title: "AttachmentTitle", # required
|
10076
|
+
# subtitle: "AttachmentTitle",
|
10077
|
+
# image_url: "AttachmentUrl",
|
10078
|
+
# buttons: [
|
10079
|
+
# {
|
10080
|
+
# text: "ButtonText", # required
|
10081
|
+
# value: "ButtonValue", # required
|
10082
|
+
# },
|
10083
|
+
# ],
|
10084
|
+
# },
|
10085
|
+
# },
|
10086
|
+
# ],
|
10087
|
+
# },
|
10088
|
+
# ],
|
10089
|
+
# allow_interrupt: false,
|
10090
|
+
# },
|
10091
|
+
# timeout_response: {
|
10092
|
+
# message_groups: [ # required
|
10093
|
+
# {
|
10094
|
+
# message: { # required
|
10095
|
+
# plain_text_message: {
|
10096
|
+
# value: "PlainTextMessageValue", # required
|
10097
|
+
# },
|
10098
|
+
# custom_payload: {
|
10099
|
+
# value: "CustomPayloadValue", # required
|
10100
|
+
# },
|
10101
|
+
# ssml_message: {
|
10102
|
+
# value: "SSMLMessageValue", # required
|
10103
|
+
# },
|
10104
|
+
# image_response_card: {
|
10105
|
+
# title: "AttachmentTitle", # required
|
10106
|
+
# subtitle: "AttachmentTitle",
|
10107
|
+
# image_url: "AttachmentUrl",
|
10108
|
+
# buttons: [
|
10109
|
+
# {
|
10110
|
+
# text: "ButtonText", # required
|
10111
|
+
# value: "ButtonValue", # required
|
10112
|
+
# },
|
10113
|
+
# ],
|
10114
|
+
# },
|
10115
|
+
# },
|
10116
|
+
# variations: [
|
10117
|
+
# {
|
10118
|
+
# plain_text_message: {
|
10119
|
+
# value: "PlainTextMessageValue", # required
|
10120
|
+
# },
|
10121
|
+
# custom_payload: {
|
10122
|
+
# value: "CustomPayloadValue", # required
|
10123
|
+
# },
|
10124
|
+
# ssml_message: {
|
10125
|
+
# value: "SSMLMessageValue", # required
|
10126
|
+
# },
|
10127
|
+
# image_response_card: {
|
10128
|
+
# title: "AttachmentTitle", # required
|
10129
|
+
# subtitle: "AttachmentTitle",
|
10130
|
+
# image_url: "AttachmentUrl",
|
10131
|
+
# buttons: [
|
10132
|
+
# {
|
10133
|
+
# text: "ButtonText", # required
|
10134
|
+
# value: "ButtonValue", # required
|
10135
|
+
# },
|
10136
|
+
# ],
|
10137
|
+
# },
|
10138
|
+
# },
|
10139
|
+
# ],
|
10140
|
+
# },
|
10141
|
+
# ],
|
10142
|
+
# allow_interrupt: false,
|
10143
|
+
# },
|
10144
|
+
# },
|
10145
|
+
# fulfillment_updates_specification: {
|
10146
|
+
# active: false, # required
|
10147
|
+
# start_response: {
|
10148
|
+
# delay_in_seconds: 1, # required
|
10149
|
+
# message_groups: [ # required
|
10150
|
+
# {
|
10151
|
+
# message: { # required
|
10152
|
+
# plain_text_message: {
|
10153
|
+
# value: "PlainTextMessageValue", # required
|
10154
|
+
# },
|
10155
|
+
# custom_payload: {
|
10156
|
+
# value: "CustomPayloadValue", # required
|
10157
|
+
# },
|
10158
|
+
# ssml_message: {
|
10159
|
+
# value: "SSMLMessageValue", # required
|
10160
|
+
# },
|
10161
|
+
# image_response_card: {
|
10162
|
+
# title: "AttachmentTitle", # required
|
10163
|
+
# subtitle: "AttachmentTitle",
|
10164
|
+
# image_url: "AttachmentUrl",
|
10165
|
+
# buttons: [
|
10166
|
+
# {
|
10167
|
+
# text: "ButtonText", # required
|
10168
|
+
# value: "ButtonValue", # required
|
10169
|
+
# },
|
10170
|
+
# ],
|
10171
|
+
# },
|
10172
|
+
# },
|
10173
|
+
# variations: [
|
10174
|
+
# {
|
10175
|
+
# plain_text_message: {
|
10176
|
+
# value: "PlainTextMessageValue", # required
|
10177
|
+
# },
|
10178
|
+
# custom_payload: {
|
10179
|
+
# value: "CustomPayloadValue", # required
|
10180
|
+
# },
|
10181
|
+
# ssml_message: {
|
10182
|
+
# value: "SSMLMessageValue", # required
|
10183
|
+
# },
|
10184
|
+
# image_response_card: {
|
10185
|
+
# title: "AttachmentTitle", # required
|
10186
|
+
# subtitle: "AttachmentTitle",
|
10187
|
+
# image_url: "AttachmentUrl",
|
10188
|
+
# buttons: [
|
10189
|
+
# {
|
10190
|
+
# text: "ButtonText", # required
|
10191
|
+
# value: "ButtonValue", # required
|
10192
|
+
# },
|
10193
|
+
# ],
|
10194
|
+
# },
|
10195
|
+
# },
|
10196
|
+
# ],
|
10197
|
+
# },
|
10198
|
+
# ],
|
10199
|
+
# allow_interrupt: false,
|
10200
|
+
# },
|
10201
|
+
# update_response: {
|
10202
|
+
# frequency_in_seconds: 1, # required
|
10203
|
+
# message_groups: [ # required
|
10204
|
+
# {
|
10205
|
+
# message: { # required
|
10206
|
+
# plain_text_message: {
|
10207
|
+
# value: "PlainTextMessageValue", # required
|
10208
|
+
# },
|
10209
|
+
# custom_payload: {
|
10210
|
+
# value: "CustomPayloadValue", # required
|
10211
|
+
# },
|
10212
|
+
# ssml_message: {
|
10213
|
+
# value: "SSMLMessageValue", # required
|
10214
|
+
# },
|
10215
|
+
# image_response_card: {
|
10216
|
+
# title: "AttachmentTitle", # required
|
10217
|
+
# subtitle: "AttachmentTitle",
|
10218
|
+
# image_url: "AttachmentUrl",
|
10219
|
+
# buttons: [
|
10220
|
+
# {
|
10221
|
+
# text: "ButtonText", # required
|
10222
|
+
# value: "ButtonValue", # required
|
10223
|
+
# },
|
10224
|
+
# ],
|
10225
|
+
# },
|
10226
|
+
# },
|
10227
|
+
# variations: [
|
10228
|
+
# {
|
10229
|
+
# plain_text_message: {
|
10230
|
+
# value: "PlainTextMessageValue", # required
|
10231
|
+
# },
|
10232
|
+
# custom_payload: {
|
10233
|
+
# value: "CustomPayloadValue", # required
|
10234
|
+
# },
|
10235
|
+
# ssml_message: {
|
10236
|
+
# value: "SSMLMessageValue", # required
|
10237
|
+
# },
|
10238
|
+
# image_response_card: {
|
10239
|
+
# title: "AttachmentTitle", # required
|
10240
|
+
# subtitle: "AttachmentTitle",
|
10241
|
+
# image_url: "AttachmentUrl",
|
10242
|
+
# buttons: [
|
10243
|
+
# {
|
10244
|
+
# text: "ButtonText", # required
|
10245
|
+
# value: "ButtonValue", # required
|
10246
|
+
# },
|
10247
|
+
# ],
|
10248
|
+
# },
|
10249
|
+
# },
|
10250
|
+
# ],
|
10251
|
+
# },
|
10252
|
+
# ],
|
10253
|
+
# allow_interrupt: false,
|
10254
|
+
# },
|
10255
|
+
# timeout_in_seconds: 1,
|
10256
|
+
# },
|
8469
10257
|
# },
|
8470
10258
|
# slot_priorities: [
|
8471
10259
|
# {
|
@@ -8581,6 +10369,7 @@ module Aws::LexModelsV2
|
|
8581
10369
|
# ],
|
8582
10370
|
# allow_interrupt: false,
|
8583
10371
|
# },
|
10372
|
+
# active: false,
|
8584
10373
|
# },
|
8585
10374
|
# intent_closing_setting: {
|
8586
10375
|
# closing_response: { # required
|
@@ -8636,6 +10425,7 @@ module Aws::LexModelsV2
|
|
8636
10425
|
# ],
|
8637
10426
|
# allow_interrupt: false,
|
8638
10427
|
# },
|
10428
|
+
# active: false,
|
8639
10429
|
# },
|
8640
10430
|
# input_contexts: [
|
8641
10431
|
# {
|
@@ -9173,6 +10963,7 @@ module Aws::LexModelsV2
|
|
9173
10963
|
# timeout_in_seconds: 1, # required
|
9174
10964
|
# allow_interrupt: false,
|
9175
10965
|
# },
|
10966
|
+
# active: false,
|
9176
10967
|
# },
|
9177
10968
|
# },
|
9178
10969
|
# obfuscation_setting: {
|
@@ -9499,6 +11290,34 @@ module Aws::LexModelsV2
|
|
9499
11290
|
include Aws::Structure
|
9500
11291
|
end
|
9501
11292
|
|
11293
|
+
# Provides parameters for setting the time window and duration for
|
11294
|
+
# aggregating utterance data.
|
11295
|
+
#
|
11296
|
+
# @note When making an API call, you may pass UtteranceAggregationDuration
|
11297
|
+
# data as a hash:
|
11298
|
+
#
|
11299
|
+
# {
|
11300
|
+
# relative_aggregation_duration: { # required
|
11301
|
+
# time_dimension: "Hours", # required, accepts Hours, Days, Weeks
|
11302
|
+
# time_value: 1, # required
|
11303
|
+
# },
|
11304
|
+
# }
|
11305
|
+
#
|
11306
|
+
# @!attribute [rw] relative_aggregation_duration
|
11307
|
+
# The desired time window for aggregating utterances.
|
11308
|
+
# @return [Types::RelativeAggregationDuration]
|
11309
|
+
#
|
11310
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UtteranceAggregationDuration AWS API Documentation
|
11311
|
+
#
|
11312
|
+
class UtteranceAggregationDuration < Struct.new(
|
11313
|
+
:relative_aggregation_duration)
|
11314
|
+
SENSITIVE = []
|
11315
|
+
include Aws::Structure
|
11316
|
+
end
|
11317
|
+
|
11318
|
+
# One of the input parameters in your request isn't valid. Check the
|
11319
|
+
# parameters and try your request again.
|
11320
|
+
#
|
9502
11321
|
# @!attribute [rw] message
|
9503
11322
|
# @return [String]
|
9504
11323
|
#
|
@@ -9700,6 +11519,7 @@ module Aws::LexModelsV2
|
|
9700
11519
|
# timeout_in_seconds: 1, # required
|
9701
11520
|
# allow_interrupt: false,
|
9702
11521
|
# },
|
11522
|
+
# active: false,
|
9703
11523
|
# }
|
9704
11524
|
#
|
9705
11525
|
# @!attribute [rw] waiting_response
|
@@ -9717,12 +11537,19 @@ module Aws::LexModelsV2
|
|
9717
11537
|
# indicate that the bot is still waiting for input from the user.
|
9718
11538
|
# @return [Types::StillWaitingResponseSpecification]
|
9719
11539
|
#
|
11540
|
+
# @!attribute [rw] active
|
11541
|
+
# Specifies whether the bot will wait for a user to respond. When this
|
11542
|
+
# field is false, wait and continue responses for a slot aren't used.
|
11543
|
+
# If the `active` field isn't specified, the default is true.
|
11544
|
+
# @return [Boolean]
|
11545
|
+
#
|
9720
11546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/WaitAndContinueSpecification AWS API Documentation
|
9721
11547
|
#
|
9722
11548
|
class WaitAndContinueSpecification < Struct.new(
|
9723
11549
|
:waiting_response,
|
9724
11550
|
:continue_response,
|
9725
|
-
:still_waiting_response
|
11551
|
+
:still_waiting_response,
|
11552
|
+
:active)
|
9726
11553
|
SENSITIVE = []
|
9727
11554
|
include Aws::Structure
|
9728
11555
|
end
|