aws-sdk-lexmodelsv2 1.11.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +971 -98
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +30 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +1501 -146
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +2 -2
@@ -1076,7 +1076,7 @@ module Aws::LexModelsV2
|
|
1076
1076
|
#
|
1077
1077
|
# @!attribute [rw] lambda_code_hook
|
1078
1078
|
# Specifies a Lambda function that verifies requests to a bot or
|
1079
|
-
#
|
1079
|
+
# fulfills the user's request to a bot.
|
1080
1080
|
# @return [Types::LambdaCodeHook]
|
1081
1081
|
#
|
1082
1082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CodeHookSpecification AWS API Documentation
|
@@ -1378,7 +1378,7 @@ module Aws::LexModelsV2
|
|
1378
1378
|
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
1379
1379
|
# returns three alternative intents with the following confidence
|
1380
1380
|
# scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
|
1381
|
-
# from the
|
1381
|
+
# from the `RecognizeText` operation would be:
|
1382
1382
|
#
|
1383
1383
|
# * AMAZON.FallbackIntent
|
1384
1384
|
#
|
@@ -1787,35 +1787,64 @@ module Aws::LexModelsV2
|
|
1787
1787
|
# },
|
1788
1788
|
# fulfillment_code_hook: {
|
1789
1789
|
# enabled: false, # required
|
1790
|
-
#
|
1791
|
-
#
|
1792
|
-
#
|
1793
|
-
#
|
1794
|
-
#
|
1795
|
-
#
|
1796
|
-
#
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
1800
|
-
#
|
1801
|
-
#
|
1802
|
-
#
|
1803
|
-
#
|
1790
|
+
# post_fulfillment_status_specification: {
|
1791
|
+
# success_response: {
|
1792
|
+
# message_groups: [ # required
|
1793
|
+
# {
|
1794
|
+
# message: { # required
|
1795
|
+
# plain_text_message: {
|
1796
|
+
# value: "PlainTextMessageValue", # required
|
1797
|
+
# },
|
1798
|
+
# custom_payload: {
|
1799
|
+
# value: "CustomPayloadValue", # required
|
1800
|
+
# },
|
1801
|
+
# ssml_message: {
|
1802
|
+
# value: "SSMLMessageValue", # required
|
1803
|
+
# },
|
1804
|
+
# image_response_card: {
|
1805
|
+
# title: "AttachmentTitle", # required
|
1806
|
+
# subtitle: "AttachmentTitle",
|
1807
|
+
# image_url: "AttachmentUrl",
|
1808
|
+
# buttons: [
|
1809
|
+
# {
|
1810
|
+
# text: "ButtonText", # required
|
1811
|
+
# value: "ButtonValue", # required
|
1812
|
+
# },
|
1813
|
+
# ],
|
1814
|
+
# },
|
1804
1815
|
# },
|
1805
|
-
#
|
1806
|
-
#
|
1807
|
-
#
|
1808
|
-
#
|
1809
|
-
# buttons: [
|
1810
|
-
# {
|
1811
|
-
# text: "ButtonText", # required
|
1812
|
-
# value: "ButtonValue", # required
|
1816
|
+
# variations: [
|
1817
|
+
# {
|
1818
|
+
# plain_text_message: {
|
1819
|
+
# value: "PlainTextMessageValue", # required
|
1813
1820
|
# },
|
1814
|
-
#
|
1815
|
-
#
|
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
|
+
# ],
|
1816
1840
|
# },
|
1817
|
-
#
|
1818
|
-
#
|
1841
|
+
# ],
|
1842
|
+
# allow_interrupt: false,
|
1843
|
+
# },
|
1844
|
+
# failure_response: {
|
1845
|
+
# message_groups: [ # required
|
1846
|
+
# {
|
1847
|
+
# message: { # required
|
1819
1848
|
# plain_text_message: {
|
1820
1849
|
# value: "PlainTextMessageValue", # required
|
1821
1850
|
# },
|
@@ -1837,39 +1866,38 @@ module Aws::LexModelsV2
|
|
1837
1866
|
# ],
|
1838
1867
|
# },
|
1839
1868
|
# },
|
1840
|
-
#
|
1841
|
-
#
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
# allow_interrupt: false,
|
1845
|
-
# },
|
1846
|
-
# declination_response: { # required
|
1847
|
-
# message_groups: [ # required
|
1848
|
-
# {
|
1849
|
-
# message: { # required
|
1850
|
-
# plain_text_message: {
|
1851
|
-
# value: "PlainTextMessageValue", # required
|
1852
|
-
# },
|
1853
|
-
# custom_payload: {
|
1854
|
-
# value: "CustomPayloadValue", # required
|
1855
|
-
# },
|
1856
|
-
# ssml_message: {
|
1857
|
-
# value: "SSMLMessageValue", # required
|
1858
|
-
# },
|
1859
|
-
# image_response_card: {
|
1860
|
-
# title: "AttachmentTitle", # required
|
1861
|
-
# subtitle: "AttachmentTitle",
|
1862
|
-
# image_url: "AttachmentUrl",
|
1863
|
-
# buttons: [
|
1864
|
-
# {
|
1865
|
-
# text: "ButtonText", # required
|
1866
|
-
# value: "ButtonValue", # required
|
1869
|
+
# variations: [
|
1870
|
+
# {
|
1871
|
+
# plain_text_message: {
|
1872
|
+
# value: "PlainTextMessageValue", # required
|
1867
1873
|
# },
|
1868
|
-
#
|
1869
|
-
#
|
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
|
+
# ],
|
1870
1893
|
# },
|
1871
|
-
#
|
1872
|
-
#
|
1894
|
+
# ],
|
1895
|
+
# allow_interrupt: false,
|
1896
|
+
# },
|
1897
|
+
# timeout_response: {
|
1898
|
+
# message_groups: [ # required
|
1899
|
+
# {
|
1900
|
+
# message: { # required
|
1873
1901
|
# plain_text_message: {
|
1874
1902
|
# value: "PlainTextMessageValue", # required
|
1875
1903
|
# },
|
@@ -1891,41 +1919,96 @@ module Aws::LexModelsV2
|
|
1891
1919
|
# ],
|
1892
1920
|
# },
|
1893
1921
|
# },
|
1894
|
-
#
|
1895
|
-
#
|
1896
|
-
#
|
1897
|
-
#
|
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
|
+
# },
|
1898
1950
|
# },
|
1899
|
-
#
|
1900
|
-
#
|
1901
|
-
#
|
1902
|
-
#
|
1903
|
-
#
|
1904
|
-
#
|
1905
|
-
#
|
1906
|
-
#
|
1907
|
-
#
|
1908
|
-
#
|
1909
|
-
#
|
1910
|
-
#
|
1911
|
-
#
|
1912
|
-
#
|
1913
|
-
#
|
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
|
+
# },
|
1914
1978
|
# },
|
1915
|
-
#
|
1916
|
-
#
|
1917
|
-
#
|
1918
|
-
#
|
1919
|
-
# buttons: [
|
1920
|
-
# {
|
1921
|
-
# text: "ButtonText", # required
|
1922
|
-
# value: "ButtonValue", # required
|
1979
|
+
# variations: [
|
1980
|
+
# {
|
1981
|
+
# plain_text_message: {
|
1982
|
+
# value: "PlainTextMessageValue", # required
|
1923
1983
|
# },
|
1924
|
-
#
|
1925
|
-
#
|
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
|
+
# ],
|
1926
2003
|
# },
|
1927
|
-
#
|
1928
|
-
#
|
2004
|
+
# ],
|
2005
|
+
# allow_interrupt: false,
|
2006
|
+
# },
|
2007
|
+
# update_response: {
|
2008
|
+
# frequency_in_seconds: 1, # required
|
2009
|
+
# message_groups: [ # required
|
2010
|
+
# {
|
2011
|
+
# message: { # required
|
1929
2012
|
# plain_text_message: {
|
1930
2013
|
# value: "PlainTextMessageValue", # required
|
1931
2014
|
# },
|
@@ -1947,12 +2030,202 @@ module Aws::LexModelsV2
|
|
1947
2030
|
# ],
|
1948
2031
|
# },
|
1949
2032
|
# },
|
1950
|
-
#
|
1951
|
-
#
|
1952
|
-
#
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
#
|
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,
|
1956
2229
|
# },
|
1957
2230
|
# input_contexts: [
|
1958
2231
|
# {
|
@@ -4150,7 +4423,7 @@ module Aws::LexModelsV2
|
|
4150
4423
|
#
|
4151
4424
|
# @!attribute [rw] failure_reasons
|
4152
4425
|
# If the `importStatus` field is `Failed`, this provides one or more
|
4153
|
-
# reasons for the
|
4426
|
+
# reasons for the failure.
|
4154
4427
|
# @return [Array<String>]
|
4155
4428
|
#
|
4156
4429
|
# @!attribute [rw] creation_date_time
|
@@ -4633,7 +4906,7 @@ module Aws::LexModelsV2
|
|
4633
4906
|
include Aws::Structure
|
4634
4907
|
end
|
4635
4908
|
|
4636
|
-
#
|
4909
|
+
# Filters the response form the operation
|
4637
4910
|
#
|
4638
4911
|
# @note When making an API call, you may pass ExportFilter
|
4639
4912
|
# data as a hash:
|
@@ -4649,7 +4922,7 @@ module Aws::LexModelsV2
|
|
4649
4922
|
# @return [String]
|
4650
4923
|
#
|
4651
4924
|
# @!attribute [rw] values
|
4652
|
-
# The values to use to
|
4925
|
+
# The values to use to filter the response.
|
4653
4926
|
# @return [Array<String>]
|
4654
4927
|
#
|
4655
4928
|
# @!attribute [rw] operator
|
@@ -4759,38 +5032,653 @@ module Aws::LexModelsV2
|
|
4759
5032
|
# The date and time that the export was last updated.
|
4760
5033
|
# @return [Time]
|
4761
5034
|
#
|
4762
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSummary AWS API Documentation
|
5035
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSummary AWS API Documentation
|
5036
|
+
#
|
5037
|
+
class ExportSummary < Struct.new(
|
5038
|
+
:export_id,
|
5039
|
+
:resource_specification,
|
5040
|
+
:file_format,
|
5041
|
+
:export_status,
|
5042
|
+
:creation_date_time,
|
5043
|
+
:last_updated_date_time)
|
5044
|
+
SENSITIVE = []
|
5045
|
+
include Aws::Structure
|
5046
|
+
end
|
5047
|
+
|
5048
|
+
# Determines if a Lambda function should be invoked for a specific
|
5049
|
+
# intent.
|
5050
|
+
#
|
5051
|
+
# @note When making an API call, you may pass FulfillmentCodeHookSettings
|
5052
|
+
# data as a hash:
|
5053
|
+
#
|
5054
|
+
# {
|
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
|
+
# },
|
5329
|
+
# }
|
5330
|
+
#
|
5331
|
+
# @!attribute [rw] enabled
|
5332
|
+
# Indicates whether a Lambda function should be invoked to fulfill a
|
5333
|
+
# specific intent.
|
5334
|
+
# @return [Boolean]
|
5335
|
+
#
|
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]
|
5341
|
+
#
|
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]
|
5347
|
+
#
|
5348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentCodeHookSettings AWS API Documentation
|
5349
|
+
#
|
5350
|
+
class FulfillmentCodeHookSettings < Struct.new(
|
5351
|
+
:enabled,
|
5352
|
+
:post_fulfillment_status_specification,
|
5353
|
+
:fulfillment_updates_specification)
|
5354
|
+
SENSITIVE = []
|
5355
|
+
include Aws::Structure
|
5356
|
+
end
|
5357
|
+
|
5358
|
+
# Provides settings for a message that is sent to the user when a
|
5359
|
+
# fulfillment Lambda function starts running.
|
5360
|
+
#
|
5361
|
+
# @note When making an API call, you may pass FulfillmentStartResponseSpecification
|
5362
|
+
# data as a hash:
|
5363
|
+
#
|
5364
|
+
# {
|
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,
|
5417
|
+
# }
|
5418
|
+
#
|
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]
|
5424
|
+
#
|
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>]
|
5429
|
+
#
|
5430
|
+
# @!attribute [rw] allow_interrupt
|
5431
|
+
# Determines whether the user can interrupt the start message while it
|
5432
|
+
# is playing.
|
5433
|
+
# @return [Boolean]
|
5434
|
+
#
|
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)
|
5441
|
+
SENSITIVE = []
|
5442
|
+
include Aws::Structure
|
5443
|
+
end
|
5444
|
+
|
5445
|
+
# Provides settings for a message that is sent periodically to the user
|
5446
|
+
# while a fulfillment Lambda function is running.
|
5447
|
+
#
|
5448
|
+
# @note When making an API call, you may pass FulfillmentUpdateResponseSpecification
|
5449
|
+
# data as a hash:
|
5450
|
+
#
|
5451
|
+
# {
|
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
|
+
# }
|
5505
|
+
#
|
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]
|
5512
|
+
#
|
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>]
|
5517
|
+
#
|
5518
|
+
# @!attribute [rw] allow_interrupt
|
5519
|
+
# Determines whether the user can interrupt an update message while it
|
5520
|
+
# is playing.
|
5521
|
+
# @return [Boolean]
|
5522
|
+
#
|
5523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdateResponseSpecification AWS API Documentation
|
5524
|
+
#
|
5525
|
+
class FulfillmentUpdateResponseSpecification < Struct.new(
|
5526
|
+
:frequency_in_seconds,
|
5527
|
+
:message_groups,
|
5528
|
+
:allow_interrupt)
|
5529
|
+
SENSITIVE = []
|
5530
|
+
include Aws::Structure
|
5531
|
+
end
|
5532
|
+
|
5533
|
+
# Provides information for updating the user on the progress of
|
5534
|
+
# fulfilling an intent.
|
5535
|
+
#
|
5536
|
+
# @note When making an API call, you may pass FulfillmentUpdatesSpecification
|
5537
|
+
# data as a hash:
|
5538
|
+
#
|
5539
|
+
# {
|
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,
|
5650
|
+
# }
|
5651
|
+
#
|
5652
|
+
# @!attribute [rw] active
|
5653
|
+
# Determines whether fulfillment updates are sent to the user. When
|
5654
|
+
# this field is true, updates are sent.
|
4763
5655
|
#
|
4764
|
-
|
4765
|
-
|
4766
|
-
|
4767
|
-
:file_format,
|
4768
|
-
:export_status,
|
4769
|
-
:creation_date_time,
|
4770
|
-
:last_updated_date_time)
|
4771
|
-
SENSITIVE = []
|
4772
|
-
include Aws::Structure
|
4773
|
-
end
|
4774
|
-
|
4775
|
-
# Determines if a Lambda function should be invoked for a specific
|
4776
|
-
# intent.
|
5656
|
+
# If the `active` field is set to true, the `startResponse`,
|
5657
|
+
# `updateResponse`, and `timeoutInSeconds` fields are required.
|
5658
|
+
# @return [Boolean]
|
4777
5659
|
#
|
4778
|
-
#
|
4779
|
-
#
|
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]
|
4780
5664
|
#
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
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]
|
4784
5669
|
#
|
4785
|
-
# @!attribute [rw]
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
# @return [
|
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]
|
4789
5674
|
#
|
4790
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdatesSpecification AWS API Documentation
|
4791
5676
|
#
|
4792
|
-
class
|
4793
|
-
:
|
5677
|
+
class FulfillmentUpdatesSpecification < Struct.new(
|
5678
|
+
:active,
|
5679
|
+
:start_response,
|
5680
|
+
:update_response,
|
5681
|
+
:timeout_in_seconds)
|
4794
5682
|
SENSITIVE = []
|
4795
5683
|
include Aws::Structure
|
4796
5684
|
end
|
@@ -4886,7 +5774,7 @@ module Aws::LexModelsV2
|
|
4886
5774
|
end
|
4887
5775
|
|
4888
5776
|
# Provides information about the bot or bot locale that you want to
|
4889
|
-
# import. You can
|
5777
|
+
# import. You can specify the `botImportSpecification` or the
|
4890
5778
|
# `botLocaleImportSpecification`, but not both.
|
4891
5779
|
#
|
4892
5780
|
# @note When making an API call, you may pass ImportResourceSpecification
|
@@ -5101,9 +5989,8 @@ module Aws::LexModelsV2
|
|
5101
5989
|
#
|
5102
5990
|
# @!attribute [rw] active
|
5103
5991
|
# Specifies whether an intent's closing response is used. When this
|
5104
|
-
# field is false, the closing response isn't sent to the user
|
5105
|
-
#
|
5106
|
-
# specified, the default is true.
|
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.
|
5107
5994
|
# @return [Boolean]
|
5108
5995
|
#
|
5109
5996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClosingSetting AWS API Documentation
|
@@ -5253,8 +6140,7 @@ module Aws::LexModelsV2
|
|
5253
6140
|
# @!attribute [rw] active
|
5254
6141
|
# Specifies whether the intent's confirmation is sent to the user.
|
5255
6142
|
# When this field is false, confirmation and declination responses
|
5256
|
-
# aren't sent
|
5257
|
-
# present. If the `active` field isn't specified, the default is
|
6143
|
+
# aren't sent. If the `active` field isn't specified, the default is
|
5258
6144
|
# true.
|
5259
6145
|
# @return [Boolean]
|
5260
6146
|
#
|
@@ -5441,7 +6327,7 @@ module Aws::LexModelsV2
|
|
5441
6327
|
end
|
5442
6328
|
|
5443
6329
|
# Specifies a Lambda function that verifies requests to a bot or
|
5444
|
-
#
|
6330
|
+
# fulfills the user's request to a bot.
|
5445
6331
|
#
|
5446
6332
|
# @note When making an API call, you may pass LambdaCodeHook
|
5447
6333
|
# data as a hash:
|
@@ -6182,7 +7068,7 @@ module Aws::LexModelsV2
|
|
6182
7068
|
# @return [Integer]
|
6183
7069
|
#
|
6184
7070
|
# @!attribute [rw] next_token
|
6185
|
-
# If the response from the `ListExports` operation
|
7071
|
+
# If the response from the `ListExports` operation contains more
|
6186
7072
|
# results that specified in the `maxResults` parameter, a token is
|
6187
7073
|
# returned in the response. Use that token in the `nextToken`
|
6188
7074
|
# parameter to return the next page of results.
|
@@ -6972,6 +7858,204 @@ module Aws::LexModelsV2
|
|
6972
7858
|
include Aws::Structure
|
6973
7859
|
end
|
6974
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
|
+
|
6975
8059
|
# Your request couldn't be completed because one or more request fields
|
6976
8060
|
# aren't valid. Check the fields in your request and try again.
|
6977
8061
|
#
|
@@ -7088,7 +8172,7 @@ module Aws::LexModelsV2
|
|
7088
8172
|
# @return [Array<Types::MessageGroup>]
|
7089
8173
|
#
|
7090
8174
|
# @!attribute [rw] max_retries
|
7091
|
-
# 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
|
7092
8176
|
# the user using this prompt.
|
7093
8177
|
# @return [Integer]
|
7094
8178
|
#
|
@@ -7697,7 +8781,7 @@ module Aws::LexModelsV2
|
|
7697
8781
|
# @return [Types::SampleValue]
|
7698
8782
|
#
|
7699
8783
|
# @!attribute [rw] synonyms
|
7700
|
-
# Additional values
|
8784
|
+
# Additional values related to the slot type entry.
|
7701
8785
|
# @return [Array<Types::SampleValue>]
|
7702
8786
|
#
|
7703
8787
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeValue AWS API Documentation
|
@@ -7951,7 +9035,7 @@ module Aws::LexModelsV2
|
|
7951
9035
|
# @!attribute [rw] default_value_specification
|
7952
9036
|
# A list of default values for a slot. Default values are used when
|
7953
9037
|
# Amazon Lex hasn't determined a value for a slot. You can specify
|
7954
|
-
# default values from context variables,
|
9038
|
+
# default values from context variables, session attributes, and
|
7955
9039
|
# defined values.
|
7956
9040
|
# @return [Types::SlotDefaultValueSpecification]
|
7957
9041
|
#
|
@@ -8891,12 +9975,285 @@ module Aws::LexModelsV2
|
|
8891
9975
|
# {
|
8892
9976
|
# utterance: "Utterance", # required
|
8893
9977
|
# },
|
8894
|
-
# ],
|
8895
|
-
# dialog_code_hook: {
|
8896
|
-
# enabled: false, # required
|
8897
|
-
# },
|
8898
|
-
# fulfillment_code_hook: {
|
8899
|
-
# 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
|
+
# },
|
8900
10257
|
# },
|
8901
10258
|
# slot_priorities: [
|
8902
10259
|
# {
|
@@ -10182,10 +11539,8 @@ module Aws::LexModelsV2
|
|
10182
11539
|
#
|
10183
11540
|
# @!attribute [rw] active
|
10184
11541
|
# Specifies whether the bot will wait for a user to respond. When this
|
10185
|
-
# field is false, wait and continue responses for a slot aren't used
|
10186
|
-
#
|
10187
|
-
# timeout. If the `active` field isn't specified, the default is
|
10188
|
-
# true.
|
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.
|
10189
11544
|
# @return [Boolean]
|
10190
11545
|
#
|
10191
11546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/WaitAndContinueSpecification AWS API Documentation
|