aws-sdk-lexmodelsv2 1.11.0 → 1.15.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 +22 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +1087 -159
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +32 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +1742 -281
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- metadata +4 -5
- data/lib/aws-sdk-lexmodelsv2/plugins/content_type.rb +0 -25
@@ -145,8 +145,12 @@ module Aws::LexModelsV2
|
|
145
145
|
#
|
146
146
|
# @!attribute [rw] s3_bucket
|
147
147
|
# The Amazon S3 bucket where the audio log files are stored. The IAM
|
148
|
-
# role specified in the `roleArn` parameter of the CreateBot
|
149
|
-
# must have permission to write to this bucket.
|
148
|
+
# role specified in the `roleArn` parameter of the [CreateBot][1]
|
149
|
+
# operation must have permission to write to this bucket.
|
150
|
+
#
|
151
|
+
#
|
152
|
+
#
|
153
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
150
154
|
# @return [Types::S3BucketLogDestination]
|
151
155
|
#
|
152
156
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioLogDestination AWS API Documentation
|
@@ -252,13 +256,21 @@ module Aws::LexModelsV2
|
|
252
256
|
include Aws::Structure
|
253
257
|
end
|
254
258
|
|
255
|
-
# Summary information about bot aliases returned from the
|
256
|
-
# operation.
|
259
|
+
# Summary information about bot aliases returned from the
|
260
|
+
# [ListBotAliases][1] operation.
|
261
|
+
#
|
262
|
+
#
|
263
|
+
#
|
264
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html
|
257
265
|
#
|
258
266
|
# @!attribute [rw] bot_alias_id
|
259
267
|
# The unique identifier assigned to the bot alias. You can use this ID
|
260
268
|
# to get detailed information about the alias using the
|
261
|
-
# DescribeBotAlias operation.
|
269
|
+
# [DescribeBotAlias][1] operation.
|
270
|
+
#
|
271
|
+
#
|
272
|
+
#
|
273
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html
|
262
274
|
# @return [String]
|
263
275
|
#
|
264
276
|
# @!attribute [rw] bot_alias_name
|
@@ -541,6 +553,7 @@ module Aws::LexModelsV2
|
|
541
553
|
# nlu_intent_confidence_threshold: 1.0,
|
542
554
|
# voice_settings: {
|
543
555
|
# voice_id: "VoiceId", # required
|
556
|
+
# engine: "standard", # accepts standard, neural
|
544
557
|
# },
|
545
558
|
# }
|
546
559
|
#
|
@@ -631,8 +644,12 @@ module Aws::LexModelsV2
|
|
631
644
|
include Aws::Structure
|
632
645
|
end
|
633
646
|
|
634
|
-
# Summary information about bot locales returned by the
|
635
|
-
# operation.
|
647
|
+
# Summary information about bot locales returned by the
|
648
|
+
# [ListBotLocales][1] operation.
|
649
|
+
#
|
650
|
+
#
|
651
|
+
#
|
652
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html
|
636
653
|
#
|
637
654
|
# @!attribute [rw] locale_id
|
638
655
|
# The language and locale of the bot locale.
|
@@ -700,11 +717,21 @@ module Aws::LexModelsV2
|
|
700
717
|
include Aws::Structure
|
701
718
|
end
|
702
719
|
|
703
|
-
# Summary information about a bot returned by the ListBots
|
720
|
+
# Summary information about a bot returned by the [ListBots][1]
|
721
|
+
# operation.
|
722
|
+
#
|
723
|
+
#
|
724
|
+
#
|
725
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html
|
704
726
|
#
|
705
727
|
# @!attribute [rw] bot_id
|
706
728
|
# The unique identifier assigned to the bot. Use this ID to get
|
707
|
-
# detailed information about the bot with the DescribeBot
|
729
|
+
# detailed information about the bot with the [DescribeBot][1]
|
730
|
+
# operation.
|
731
|
+
#
|
732
|
+
#
|
733
|
+
#
|
734
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html
|
708
735
|
# @return [String]
|
709
736
|
#
|
710
737
|
# @!attribute [rw] bot_name
|
@@ -791,7 +818,11 @@ module Aws::LexModelsV2
|
|
791
818
|
end
|
792
819
|
|
793
820
|
# Summary information about a bot version returned by the
|
794
|
-
# ListBotVersions operation.
|
821
|
+
# [ListBotVersions][1] operation.
|
822
|
+
#
|
823
|
+
#
|
824
|
+
#
|
825
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html
|
795
826
|
#
|
796
827
|
# @!attribute [rw] bot_name
|
797
828
|
# The name of the bot associated with the version.
|
@@ -838,7 +869,11 @@ module Aws::LexModelsV2
|
|
838
869
|
#
|
839
870
|
# @!attribute [rw] bot_id
|
840
871
|
# The identifier of the bot to build. The identifier is returned in
|
841
|
-
# the response from the operation.
|
872
|
+
# the response from the [CreateBot][1] operation.
|
873
|
+
#
|
874
|
+
#
|
875
|
+
#
|
876
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
842
877
|
# @return [String]
|
843
878
|
#
|
844
879
|
# @!attribute [rw] bot_version
|
@@ -932,8 +967,12 @@ module Aws::LexModelsV2
|
|
932
967
|
include Aws::Structure
|
933
968
|
end
|
934
969
|
|
935
|
-
# Provides summary information about a built-in intent for the
|
936
|
-
# ListBuiltInIntents operation.
|
970
|
+
# Provides summary information about a built-in intent for the [
|
971
|
+
# ListBuiltInIntents ][1] operation.
|
972
|
+
#
|
973
|
+
#
|
974
|
+
#
|
975
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html
|
937
976
|
#
|
938
977
|
# @!attribute [rw] intent_signature
|
939
978
|
# The signature of the built-in intent. Use this to specify the parent
|
@@ -980,8 +1019,12 @@ module Aws::LexModelsV2
|
|
980
1019
|
include Aws::Structure
|
981
1020
|
end
|
982
1021
|
|
983
|
-
# Provides summary information about a built-in slot type for the
|
984
|
-
# ListBuiltInSlotTypes operation.
|
1022
|
+
# Provides summary information about a built-in slot type for the [
|
1023
|
+
# ListBuiltInSlotTypes ][1] operation.
|
1024
|
+
#
|
1025
|
+
#
|
1026
|
+
#
|
1027
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html
|
985
1028
|
#
|
986
1029
|
# @!attribute [rw] slot_type_signature
|
987
1030
|
# The signature of the built-in slot type. Use this to specify the
|
@@ -1076,7 +1119,7 @@ module Aws::LexModelsV2
|
|
1076
1119
|
#
|
1077
1120
|
# @!attribute [rw] lambda_code_hook
|
1078
1121
|
# Specifies a Lambda function that verifies requests to a bot or
|
1079
|
-
#
|
1122
|
+
# fulfills the user's request to a bot.
|
1080
1123
|
# @return [Types::LambdaCodeHook]
|
1081
1124
|
#
|
1082
1125
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CodeHookSpecification AWS API Documentation
|
@@ -1214,7 +1257,12 @@ module Aws::LexModelsV2
|
|
1214
1257
|
#
|
1215
1258
|
# @!attribute [rw] bot_version
|
1216
1259
|
# The version of the bot that this alias points to. You can use the
|
1217
|
-
# operation to change the bot version associated
|
1260
|
+
# [UpdateBotAlias][1] operation to change the bot version associated
|
1261
|
+
# with the alias.
|
1262
|
+
#
|
1263
|
+
#
|
1264
|
+
#
|
1265
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
|
1218
1266
|
# @return [String]
|
1219
1267
|
#
|
1220
1268
|
# @!attribute [rw] bot_alias_locale_settings
|
@@ -1339,6 +1387,7 @@ module Aws::LexModelsV2
|
|
1339
1387
|
# nlu_intent_confidence_threshold: 1.0, # required
|
1340
1388
|
# voice_settings: {
|
1341
1389
|
# voice_id: "VoiceId", # required
|
1390
|
+
# engine: "standard", # accepts standard, neural
|
1342
1391
|
# },
|
1343
1392
|
# }
|
1344
1393
|
#
|
@@ -1378,7 +1427,7 @@ module Aws::LexModelsV2
|
|
1378
1427
|
# threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
|
1379
1428
|
# returns three alternative intents with the following confidence
|
1380
1429
|
# scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
|
1381
|
-
# from the
|
1430
|
+
# from the `RecognizeText` operation would be:
|
1382
1431
|
#
|
1383
1432
|
# * AMAZON.FallbackIntent
|
1384
1433
|
#
|
@@ -1750,8 +1799,12 @@ module Aws::LexModelsV2
|
|
1750
1799
|
#
|
1751
1800
|
# @!attribute [rw] export_status
|
1752
1801
|
# The status of the export. When the status is `Completed`, you can
|
1753
|
-
# use the operation to get the pre-signed S3 URL
|
1754
|
-
# bot or bot locale.
|
1802
|
+
# use the [DescribeExport][1] operation to get the pre-signed S3 URL
|
1803
|
+
# link to your exported bot or bot locale.
|
1804
|
+
#
|
1805
|
+
#
|
1806
|
+
#
|
1807
|
+
# [1]: https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html
|
1755
1808
|
# @return [String]
|
1756
1809
|
#
|
1757
1810
|
# @!attribute [rw] creation_date_time
|
@@ -1787,35 +1840,64 @@ module Aws::LexModelsV2
|
|
1787
1840
|
# },
|
1788
1841
|
# fulfillment_code_hook: {
|
1789
1842
|
# enabled: false, # required
|
1790
|
-
#
|
1791
|
-
#
|
1792
|
-
#
|
1793
|
-
#
|
1794
|
-
#
|
1795
|
-
#
|
1796
|
-
#
|
1797
|
-
#
|
1798
|
-
#
|
1799
|
-
#
|
1800
|
-
#
|
1801
|
-
#
|
1802
|
-
#
|
1803
|
-
#
|
1843
|
+
# post_fulfillment_status_specification: {
|
1844
|
+
# success_response: {
|
1845
|
+
# message_groups: [ # required
|
1846
|
+
# {
|
1847
|
+
# message: { # required
|
1848
|
+
# plain_text_message: {
|
1849
|
+
# value: "PlainTextMessageValue", # required
|
1850
|
+
# },
|
1851
|
+
# custom_payload: {
|
1852
|
+
# value: "CustomPayloadValue", # required
|
1853
|
+
# },
|
1854
|
+
# ssml_message: {
|
1855
|
+
# value: "SSMLMessageValue", # required
|
1856
|
+
# },
|
1857
|
+
# image_response_card: {
|
1858
|
+
# title: "AttachmentTitle", # required
|
1859
|
+
# subtitle: "AttachmentTitle",
|
1860
|
+
# image_url: "AttachmentUrl",
|
1861
|
+
# buttons: [
|
1862
|
+
# {
|
1863
|
+
# text: "ButtonText", # required
|
1864
|
+
# value: "ButtonValue", # required
|
1865
|
+
# },
|
1866
|
+
# ],
|
1867
|
+
# },
|
1804
1868
|
# },
|
1805
|
-
#
|
1806
|
-
#
|
1807
|
-
#
|
1808
|
-
#
|
1809
|
-
# buttons: [
|
1810
|
-
# {
|
1811
|
-
# text: "ButtonText", # required
|
1812
|
-
# value: "ButtonValue", # required
|
1869
|
+
# variations: [
|
1870
|
+
# {
|
1871
|
+
# plain_text_message: {
|
1872
|
+
# value: "PlainTextMessageValue", # required
|
1813
1873
|
# },
|
1814
|
-
#
|
1815
|
-
#
|
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
|
+
# ],
|
1816
1893
|
# },
|
1817
|
-
#
|
1818
|
-
#
|
1894
|
+
# ],
|
1895
|
+
# allow_interrupt: false,
|
1896
|
+
# },
|
1897
|
+
# failure_response: {
|
1898
|
+
# message_groups: [ # required
|
1899
|
+
# {
|
1900
|
+
# message: { # required
|
1819
1901
|
# plain_text_message: {
|
1820
1902
|
# value: "PlainTextMessageValue", # required
|
1821
1903
|
# },
|
@@ -1837,39 +1919,38 @@ module Aws::LexModelsV2
|
|
1837
1919
|
# ],
|
1838
1920
|
# },
|
1839
1921
|
# },
|
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
|
1922
|
+
# variations: [
|
1923
|
+
# {
|
1924
|
+
# plain_text_message: {
|
1925
|
+
# value: "PlainTextMessageValue", # required
|
1867
1926
|
# },
|
1868
|
-
#
|
1869
|
-
#
|
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
|
+
# ],
|
1870
1946
|
# },
|
1871
|
-
#
|
1872
|
-
#
|
1947
|
+
# ],
|
1948
|
+
# allow_interrupt: false,
|
1949
|
+
# },
|
1950
|
+
# timeout_response: {
|
1951
|
+
# message_groups: [ # required
|
1952
|
+
# {
|
1953
|
+
# message: { # required
|
1873
1954
|
# plain_text_message: {
|
1874
1955
|
# value: "PlainTextMessageValue", # required
|
1875
1956
|
# },
|
@@ -1891,41 +1972,42 @@ module Aws::LexModelsV2
|
|
1891
1972
|
# ],
|
1892
1973
|
# },
|
1893
1974
|
# },
|
1894
|
-
#
|
1895
|
-
#
|
1896
|
-
#
|
1897
|
-
#
|
1898
|
-
# },
|
1899
|
-
# active: false,
|
1900
|
-
# },
|
1901
|
-
# intent_closing_setting: {
|
1902
|
-
# closing_response: { # required
|
1903
|
-
# message_groups: [ # required
|
1904
|
-
# {
|
1905
|
-
# message: { # required
|
1906
|
-
# plain_text_message: {
|
1907
|
-
# value: "PlainTextMessageValue", # required
|
1908
|
-
# },
|
1909
|
-
# custom_payload: {
|
1910
|
-
# value: "CustomPayloadValue", # required
|
1911
|
-
# },
|
1912
|
-
# ssml_message: {
|
1913
|
-
# value: "SSMLMessageValue", # required
|
1914
|
-
# },
|
1915
|
-
# image_response_card: {
|
1916
|
-
# title: "AttachmentTitle", # required
|
1917
|
-
# subtitle: "AttachmentTitle",
|
1918
|
-
# image_url: "AttachmentUrl",
|
1919
|
-
# buttons: [
|
1920
|
-
# {
|
1921
|
-
# text: "ButtonText", # required
|
1922
|
-
# value: "ButtonValue", # required
|
1975
|
+
# variations: [
|
1976
|
+
# {
|
1977
|
+
# plain_text_message: {
|
1978
|
+
# value: "PlainTextMessageValue", # required
|
1923
1979
|
# },
|
1924
|
-
#
|
1925
|
-
#
|
1980
|
+
# custom_payload: {
|
1981
|
+
# value: "CustomPayloadValue", # required
|
1982
|
+
# },
|
1983
|
+
# ssml_message: {
|
1984
|
+
# value: "SSMLMessageValue", # required
|
1985
|
+
# },
|
1986
|
+
# image_response_card: {
|
1987
|
+
# title: "AttachmentTitle", # required
|
1988
|
+
# subtitle: "AttachmentTitle",
|
1989
|
+
# image_url: "AttachmentUrl",
|
1990
|
+
# buttons: [
|
1991
|
+
# {
|
1992
|
+
# text: "ButtonText", # required
|
1993
|
+
# value: "ButtonValue", # required
|
1994
|
+
# },
|
1995
|
+
# ],
|
1996
|
+
# },
|
1997
|
+
# },
|
1998
|
+
# ],
|
1926
1999
|
# },
|
1927
|
-
#
|
1928
|
-
#
|
2000
|
+
# ],
|
2001
|
+
# allow_interrupt: false,
|
2002
|
+
# },
|
2003
|
+
# },
|
2004
|
+
# fulfillment_updates_specification: {
|
2005
|
+
# active: false, # required
|
2006
|
+
# start_response: {
|
2007
|
+
# delay_in_seconds: 1, # required
|
2008
|
+
# message_groups: [ # required
|
2009
|
+
# {
|
2010
|
+
# message: { # required
|
1929
2011
|
# plain_text_message: {
|
1930
2012
|
# value: "PlainTextMessageValue", # required
|
1931
2013
|
# },
|
@@ -1947,21 +2029,265 @@ module Aws::LexModelsV2
|
|
1947
2029
|
# ],
|
1948
2030
|
# },
|
1949
2031
|
# },
|
1950
|
-
#
|
1951
|
-
#
|
1952
|
-
#
|
1953
|
-
#
|
1954
|
-
#
|
1955
|
-
#
|
1956
|
-
#
|
1957
|
-
#
|
1958
|
-
#
|
1959
|
-
#
|
1960
|
-
#
|
1961
|
-
#
|
1962
|
-
#
|
1963
|
-
#
|
1964
|
-
#
|
2032
|
+
# variations: [
|
2033
|
+
# {
|
2034
|
+
# plain_text_message: {
|
2035
|
+
# value: "PlainTextMessageValue", # required
|
2036
|
+
# },
|
2037
|
+
# custom_payload: {
|
2038
|
+
# value: "CustomPayloadValue", # required
|
2039
|
+
# },
|
2040
|
+
# ssml_message: {
|
2041
|
+
# value: "SSMLMessageValue", # required
|
2042
|
+
# },
|
2043
|
+
# image_response_card: {
|
2044
|
+
# title: "AttachmentTitle", # required
|
2045
|
+
# subtitle: "AttachmentTitle",
|
2046
|
+
# image_url: "AttachmentUrl",
|
2047
|
+
# buttons: [
|
2048
|
+
# {
|
2049
|
+
# text: "ButtonText", # required
|
2050
|
+
# value: "ButtonValue", # required
|
2051
|
+
# },
|
2052
|
+
# ],
|
2053
|
+
# },
|
2054
|
+
# },
|
2055
|
+
# ],
|
2056
|
+
# },
|
2057
|
+
# ],
|
2058
|
+
# allow_interrupt: false,
|
2059
|
+
# },
|
2060
|
+
# update_response: {
|
2061
|
+
# frequency_in_seconds: 1, # required
|
2062
|
+
# message_groups: [ # required
|
2063
|
+
# {
|
2064
|
+
# message: { # required
|
2065
|
+
# plain_text_message: {
|
2066
|
+
# value: "PlainTextMessageValue", # required
|
2067
|
+
# },
|
2068
|
+
# custom_payload: {
|
2069
|
+
# value: "CustomPayloadValue", # required
|
2070
|
+
# },
|
2071
|
+
# ssml_message: {
|
2072
|
+
# value: "SSMLMessageValue", # required
|
2073
|
+
# },
|
2074
|
+
# image_response_card: {
|
2075
|
+
# title: "AttachmentTitle", # required
|
2076
|
+
# subtitle: "AttachmentTitle",
|
2077
|
+
# image_url: "AttachmentUrl",
|
2078
|
+
# buttons: [
|
2079
|
+
# {
|
2080
|
+
# text: "ButtonText", # required
|
2081
|
+
# value: "ButtonValue", # required
|
2082
|
+
# },
|
2083
|
+
# ],
|
2084
|
+
# },
|
2085
|
+
# },
|
2086
|
+
# variations: [
|
2087
|
+
# {
|
2088
|
+
# plain_text_message: {
|
2089
|
+
# value: "PlainTextMessageValue", # required
|
2090
|
+
# },
|
2091
|
+
# custom_payload: {
|
2092
|
+
# value: "CustomPayloadValue", # required
|
2093
|
+
# },
|
2094
|
+
# ssml_message: {
|
2095
|
+
# value: "SSMLMessageValue", # required
|
2096
|
+
# },
|
2097
|
+
# image_response_card: {
|
2098
|
+
# title: "AttachmentTitle", # required
|
2099
|
+
# subtitle: "AttachmentTitle",
|
2100
|
+
# image_url: "AttachmentUrl",
|
2101
|
+
# buttons: [
|
2102
|
+
# {
|
2103
|
+
# text: "ButtonText", # required
|
2104
|
+
# value: "ButtonValue", # required
|
2105
|
+
# },
|
2106
|
+
# ],
|
2107
|
+
# },
|
2108
|
+
# },
|
2109
|
+
# ],
|
2110
|
+
# },
|
2111
|
+
# ],
|
2112
|
+
# allow_interrupt: false,
|
2113
|
+
# },
|
2114
|
+
# timeout_in_seconds: 1,
|
2115
|
+
# },
|
2116
|
+
# },
|
2117
|
+
# intent_confirmation_setting: {
|
2118
|
+
# prompt_specification: { # required
|
2119
|
+
# message_groups: [ # required
|
2120
|
+
# {
|
2121
|
+
# message: { # required
|
2122
|
+
# plain_text_message: {
|
2123
|
+
# value: "PlainTextMessageValue", # required
|
2124
|
+
# },
|
2125
|
+
# custom_payload: {
|
2126
|
+
# value: "CustomPayloadValue", # required
|
2127
|
+
# },
|
2128
|
+
# ssml_message: {
|
2129
|
+
# value: "SSMLMessageValue", # required
|
2130
|
+
# },
|
2131
|
+
# image_response_card: {
|
2132
|
+
# title: "AttachmentTitle", # required
|
2133
|
+
# subtitle: "AttachmentTitle",
|
2134
|
+
# image_url: "AttachmentUrl",
|
2135
|
+
# buttons: [
|
2136
|
+
# {
|
2137
|
+
# text: "ButtonText", # required
|
2138
|
+
# value: "ButtonValue", # required
|
2139
|
+
# },
|
2140
|
+
# ],
|
2141
|
+
# },
|
2142
|
+
# },
|
2143
|
+
# variations: [
|
2144
|
+
# {
|
2145
|
+
# plain_text_message: {
|
2146
|
+
# value: "PlainTextMessageValue", # required
|
2147
|
+
# },
|
2148
|
+
# custom_payload: {
|
2149
|
+
# value: "CustomPayloadValue", # required
|
2150
|
+
# },
|
2151
|
+
# ssml_message: {
|
2152
|
+
# value: "SSMLMessageValue", # required
|
2153
|
+
# },
|
2154
|
+
# image_response_card: {
|
2155
|
+
# title: "AttachmentTitle", # required
|
2156
|
+
# subtitle: "AttachmentTitle",
|
2157
|
+
# image_url: "AttachmentUrl",
|
2158
|
+
# buttons: [
|
2159
|
+
# {
|
2160
|
+
# text: "ButtonText", # required
|
2161
|
+
# value: "ButtonValue", # required
|
2162
|
+
# },
|
2163
|
+
# ],
|
2164
|
+
# },
|
2165
|
+
# },
|
2166
|
+
# ],
|
2167
|
+
# },
|
2168
|
+
# ],
|
2169
|
+
# max_retries: 1, # required
|
2170
|
+
# allow_interrupt: false,
|
2171
|
+
# },
|
2172
|
+
# declination_response: { # required
|
2173
|
+
# message_groups: [ # required
|
2174
|
+
# {
|
2175
|
+
# message: { # required
|
2176
|
+
# plain_text_message: {
|
2177
|
+
# value: "PlainTextMessageValue", # required
|
2178
|
+
# },
|
2179
|
+
# custom_payload: {
|
2180
|
+
# value: "CustomPayloadValue", # required
|
2181
|
+
# },
|
2182
|
+
# ssml_message: {
|
2183
|
+
# value: "SSMLMessageValue", # required
|
2184
|
+
# },
|
2185
|
+
# image_response_card: {
|
2186
|
+
# title: "AttachmentTitle", # required
|
2187
|
+
# subtitle: "AttachmentTitle",
|
2188
|
+
# image_url: "AttachmentUrl",
|
2189
|
+
# buttons: [
|
2190
|
+
# {
|
2191
|
+
# text: "ButtonText", # required
|
2192
|
+
# value: "ButtonValue", # required
|
2193
|
+
# },
|
2194
|
+
# ],
|
2195
|
+
# },
|
2196
|
+
# },
|
2197
|
+
# variations: [
|
2198
|
+
# {
|
2199
|
+
# plain_text_message: {
|
2200
|
+
# value: "PlainTextMessageValue", # required
|
2201
|
+
# },
|
2202
|
+
# custom_payload: {
|
2203
|
+
# value: "CustomPayloadValue", # required
|
2204
|
+
# },
|
2205
|
+
# ssml_message: {
|
2206
|
+
# value: "SSMLMessageValue", # required
|
2207
|
+
# },
|
2208
|
+
# image_response_card: {
|
2209
|
+
# title: "AttachmentTitle", # required
|
2210
|
+
# subtitle: "AttachmentTitle",
|
2211
|
+
# image_url: "AttachmentUrl",
|
2212
|
+
# buttons: [
|
2213
|
+
# {
|
2214
|
+
# text: "ButtonText", # required
|
2215
|
+
# value: "ButtonValue", # required
|
2216
|
+
# },
|
2217
|
+
# ],
|
2218
|
+
# },
|
2219
|
+
# },
|
2220
|
+
# ],
|
2221
|
+
# },
|
2222
|
+
# ],
|
2223
|
+
# allow_interrupt: false,
|
2224
|
+
# },
|
2225
|
+
# active: false,
|
2226
|
+
# },
|
2227
|
+
# intent_closing_setting: {
|
2228
|
+
# closing_response: { # required
|
2229
|
+
# message_groups: [ # required
|
2230
|
+
# {
|
2231
|
+
# message: { # required
|
2232
|
+
# plain_text_message: {
|
2233
|
+
# value: "PlainTextMessageValue", # required
|
2234
|
+
# },
|
2235
|
+
# custom_payload: {
|
2236
|
+
# value: "CustomPayloadValue", # required
|
2237
|
+
# },
|
2238
|
+
# ssml_message: {
|
2239
|
+
# value: "SSMLMessageValue", # required
|
2240
|
+
# },
|
2241
|
+
# image_response_card: {
|
2242
|
+
# title: "AttachmentTitle", # required
|
2243
|
+
# subtitle: "AttachmentTitle",
|
2244
|
+
# image_url: "AttachmentUrl",
|
2245
|
+
# buttons: [
|
2246
|
+
# {
|
2247
|
+
# text: "ButtonText", # required
|
2248
|
+
# value: "ButtonValue", # required
|
2249
|
+
# },
|
2250
|
+
# ],
|
2251
|
+
# },
|
2252
|
+
# },
|
2253
|
+
# variations: [
|
2254
|
+
# {
|
2255
|
+
# plain_text_message: {
|
2256
|
+
# value: "PlainTextMessageValue", # required
|
2257
|
+
# },
|
2258
|
+
# custom_payload: {
|
2259
|
+
# value: "CustomPayloadValue", # required
|
2260
|
+
# },
|
2261
|
+
# ssml_message: {
|
2262
|
+
# value: "SSMLMessageValue", # required
|
2263
|
+
# },
|
2264
|
+
# image_response_card: {
|
2265
|
+
# title: "AttachmentTitle", # required
|
2266
|
+
# subtitle: "AttachmentTitle",
|
2267
|
+
# image_url: "AttachmentUrl",
|
2268
|
+
# buttons: [
|
2269
|
+
# {
|
2270
|
+
# text: "ButtonText", # required
|
2271
|
+
# value: "ButtonValue", # required
|
2272
|
+
# },
|
2273
|
+
# ],
|
2274
|
+
# },
|
2275
|
+
# },
|
2276
|
+
# ],
|
2277
|
+
# },
|
2278
|
+
# ],
|
2279
|
+
# allow_interrupt: false,
|
2280
|
+
# },
|
2281
|
+
# active: false,
|
2282
|
+
# },
|
2283
|
+
# input_contexts: [
|
2284
|
+
# {
|
2285
|
+
# name: "Name", # required
|
2286
|
+
# },
|
2287
|
+
# ],
|
2288
|
+
# output_contexts: [
|
2289
|
+
# {
|
2290
|
+
# name: "Name", # required
|
1965
2291
|
# time_to_live_in_seconds: 1, # required
|
1966
2292
|
# turns_to_live: 1, # required
|
1967
2293
|
# },
|
@@ -2959,7 +3285,11 @@ module Aws::LexModelsV2
|
|
2959
3285
|
|
2960
3286
|
# @!attribute [rw] import_id
|
2961
3287
|
# An identifier for a unique import job. Use it when you call the
|
2962
|
-
# operation.
|
3288
|
+
# [StartImport][1] operation.
|
3289
|
+
#
|
3290
|
+
#
|
3291
|
+
#
|
3292
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html
|
2963
3293
|
# @return [String]
|
2964
3294
|
#
|
2965
3295
|
# @!attribute [rw] upload_url
|
@@ -3299,8 +3629,14 @@ module Aws::LexModelsV2
|
|
3299
3629
|
#
|
3300
3630
|
# @!attribute [rw] export_status
|
3301
3631
|
# The current status of the deletion. When the deletion is complete,
|
3302
|
-
# the export will no longer be returned by the
|
3303
|
-
#
|
3632
|
+
# the export will no longer be returned by the [ListExports][1]
|
3633
|
+
# operation and calls to the [ DescribeExport][2] operation with the
|
3634
|
+
# export identifier will fail.
|
3635
|
+
#
|
3636
|
+
#
|
3637
|
+
#
|
3638
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
|
3639
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
|
3304
3640
|
# @return [String]
|
3305
3641
|
#
|
3306
3642
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportResponse AWS API Documentation
|
@@ -3337,8 +3673,14 @@ module Aws::LexModelsV2
|
|
3337
3673
|
#
|
3338
3674
|
# @!attribute [rw] import_status
|
3339
3675
|
# The current status of the deletion. When the deletion is complete,
|
3340
|
-
# the import will no longer be returned by the
|
3341
|
-
#
|
3676
|
+
# the import will no longer be returned by the [ListImports][1]
|
3677
|
+
# operation and calls to the [DescribeImport][2] operation with the
|
3678
|
+
# import identifier will fail.
|
3679
|
+
#
|
3680
|
+
#
|
3681
|
+
#
|
3682
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
|
3683
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html
|
3342
3684
|
# @return [String]
|
3343
3685
|
#
|
3344
3686
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportResponse AWS API Documentation
|
@@ -3628,7 +3970,13 @@ module Aws::LexModelsV2
|
|
3628
3970
|
#
|
3629
3971
|
# @!attribute [rw] session_id
|
3630
3972
|
# The unique identifier of the session with the user. The ID is
|
3631
|
-
# returned in the response from the and
|
3973
|
+
# returned in the response from the [RecognizeText][1] and
|
3974
|
+
# [RecognizeUtterance][2] operations.
|
3975
|
+
#
|
3976
|
+
#
|
3977
|
+
#
|
3978
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
|
3979
|
+
# [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
|
3632
3980
|
# @return [String]
|
3633
3981
|
#
|
3634
3982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesRequest AWS API Documentation
|
@@ -4150,7 +4498,7 @@ module Aws::LexModelsV2
|
|
4150
4498
|
#
|
4151
4499
|
# @!attribute [rw] failure_reasons
|
4152
4500
|
# If the `importStatus` field is `Failed`, this provides one or more
|
4153
|
-
# reasons for the
|
4501
|
+
# reasons for the failure.
|
4154
4502
|
# @return [Array<String>]
|
4155
4503
|
#
|
4156
4504
|
# @!attribute [rw] creation_date_time
|
@@ -4622,175 +4970,794 @@ module Aws::LexModelsV2
|
|
4622
4970
|
# }
|
4623
4971
|
#
|
4624
4972
|
# @!attribute [rw] enabled
|
4625
|
-
# Enables the dialog code hook so that it processes user requests.
|
4973
|
+
# Enables the dialog code hook so that it processes user requests.
|
4974
|
+
# @return [Boolean]
|
4975
|
+
#
|
4976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DialogCodeHookSettings AWS API Documentation
|
4977
|
+
#
|
4978
|
+
class DialogCodeHookSettings < Struct.new(
|
4979
|
+
:enabled)
|
4980
|
+
SENSITIVE = []
|
4981
|
+
include Aws::Structure
|
4982
|
+
end
|
4983
|
+
|
4984
|
+
# Filters the response form the [ListExports][1] operation
|
4985
|
+
#
|
4986
|
+
#
|
4987
|
+
#
|
4988
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
|
4989
|
+
#
|
4990
|
+
# @note When making an API call, you may pass ExportFilter
|
4991
|
+
# data as a hash:
|
4992
|
+
#
|
4993
|
+
# {
|
4994
|
+
# name: "ExportResourceType", # required, accepts ExportResourceType
|
4995
|
+
# values: ["FilterValue"], # required
|
4996
|
+
# operator: "CO", # required, accepts CO, EQ
|
4997
|
+
# }
|
4998
|
+
#
|
4999
|
+
# @!attribute [rw] name
|
5000
|
+
# The name of the field to use for filtering.
|
5001
|
+
# @return [String]
|
5002
|
+
#
|
5003
|
+
# @!attribute [rw] values
|
5004
|
+
# The values to use to filter the response.
|
5005
|
+
# @return [Array<String>]
|
5006
|
+
#
|
5007
|
+
# @!attribute [rw] operator
|
5008
|
+
# The operator to use for the filter. Specify EQ when the
|
5009
|
+
# `ListExports` operation should return only resource types that equal
|
5010
|
+
# the specified value. Specify CO when the `ListExports` operation
|
5011
|
+
# should return resource types that contain the specified value.
|
5012
|
+
# @return [String]
|
5013
|
+
#
|
5014
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportFilter AWS API Documentation
|
5015
|
+
#
|
5016
|
+
class ExportFilter < Struct.new(
|
5017
|
+
:name,
|
5018
|
+
:values,
|
5019
|
+
:operator)
|
5020
|
+
SENSITIVE = []
|
5021
|
+
include Aws::Structure
|
5022
|
+
end
|
5023
|
+
|
5024
|
+
# Provides information about the bot or bot locale that you want to
|
5025
|
+
# export. You can specify the `botExportSpecification` or the
|
5026
|
+
# `botLocaleExportSpecification`, but not both.
|
5027
|
+
#
|
5028
|
+
# @note When making an API call, you may pass ExportResourceSpecification
|
5029
|
+
# data as a hash:
|
5030
|
+
#
|
5031
|
+
# {
|
5032
|
+
# bot_export_specification: {
|
5033
|
+
# bot_id: "Id", # required
|
5034
|
+
# bot_version: "BotVersion", # required
|
5035
|
+
# },
|
5036
|
+
# bot_locale_export_specification: {
|
5037
|
+
# bot_id: "Id", # required
|
5038
|
+
# bot_version: "BotVersion", # required
|
5039
|
+
# locale_id: "LocaleId", # required
|
5040
|
+
# },
|
5041
|
+
# }
|
5042
|
+
#
|
5043
|
+
# @!attribute [rw] bot_export_specification
|
5044
|
+
# Parameters for exporting a bot.
|
5045
|
+
# @return [Types::BotExportSpecification]
|
5046
|
+
#
|
5047
|
+
# @!attribute [rw] bot_locale_export_specification
|
5048
|
+
# Parameters for exporting a bot locale.
|
5049
|
+
# @return [Types::BotLocaleExportSpecification]
|
5050
|
+
#
|
5051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
|
5052
|
+
#
|
5053
|
+
class ExportResourceSpecification < Struct.new(
|
5054
|
+
:bot_export_specification,
|
5055
|
+
:bot_locale_export_specification)
|
5056
|
+
SENSITIVE = []
|
5057
|
+
include Aws::Structure
|
5058
|
+
end
|
5059
|
+
|
5060
|
+
# Provides information about sorting a list of exports.
|
5061
|
+
#
|
5062
|
+
# @note When making an API call, you may pass ExportSortBy
|
5063
|
+
# data as a hash:
|
5064
|
+
#
|
5065
|
+
# {
|
5066
|
+
# attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
|
5067
|
+
# order: "Ascending", # required, accepts Ascending, Descending
|
5068
|
+
# }
|
5069
|
+
#
|
5070
|
+
# @!attribute [rw] attribute
|
5071
|
+
# The export field to use for sorting.
|
5072
|
+
# @return [String]
|
5073
|
+
#
|
5074
|
+
# @!attribute [rw] order
|
5075
|
+
# The order to sort the list.
|
5076
|
+
# @return [String]
|
5077
|
+
#
|
5078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSortBy AWS API Documentation
|
5079
|
+
#
|
5080
|
+
class ExportSortBy < Struct.new(
|
5081
|
+
:attribute,
|
5082
|
+
:order)
|
5083
|
+
SENSITIVE = []
|
5084
|
+
include Aws::Structure
|
5085
|
+
end
|
5086
|
+
|
5087
|
+
# Provides summary information about an export in an export list.
|
5088
|
+
#
|
5089
|
+
# @!attribute [rw] export_id
|
5090
|
+
# The unique identifier that Amazon Lex assigned to the export.
|
5091
|
+
# @return [String]
|
5092
|
+
#
|
5093
|
+
# @!attribute [rw] resource_specification
|
5094
|
+
# Information about the bot or bot locale that was exported.
|
5095
|
+
# @return [Types::ExportResourceSpecification]
|
5096
|
+
#
|
5097
|
+
# @!attribute [rw] file_format
|
5098
|
+
# The file format used in the export files.
|
5099
|
+
# @return [String]
|
5100
|
+
#
|
5101
|
+
# @!attribute [rw] export_status
|
5102
|
+
# The status of the export. When the status is `Completed` the export
|
5103
|
+
# is ready to download.
|
5104
|
+
# @return [String]
|
5105
|
+
#
|
5106
|
+
# @!attribute [rw] creation_date_time
|
5107
|
+
# The date and time that the export was created.
|
5108
|
+
# @return [Time]
|
5109
|
+
#
|
5110
|
+
# @!attribute [rw] last_updated_date_time
|
5111
|
+
# The date and time that the export was last updated.
|
5112
|
+
# @return [Time]
|
5113
|
+
#
|
5114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSummary AWS API Documentation
|
5115
|
+
#
|
5116
|
+
class ExportSummary < Struct.new(
|
5117
|
+
:export_id,
|
5118
|
+
:resource_specification,
|
5119
|
+
:file_format,
|
5120
|
+
:export_status,
|
5121
|
+
:creation_date_time,
|
5122
|
+
:last_updated_date_time)
|
5123
|
+
SENSITIVE = []
|
5124
|
+
include Aws::Structure
|
5125
|
+
end
|
5126
|
+
|
5127
|
+
# Determines if a Lambda function should be invoked for a specific
|
5128
|
+
# intent.
|
5129
|
+
#
|
5130
|
+
# @note When making an API call, you may pass FulfillmentCodeHookSettings
|
5131
|
+
# data as a hash:
|
5132
|
+
#
|
5133
|
+
# {
|
5134
|
+
# enabled: false, # required
|
5135
|
+
# post_fulfillment_status_specification: {
|
5136
|
+
# success_response: {
|
5137
|
+
# message_groups: [ # required
|
5138
|
+
# {
|
5139
|
+
# message: { # required
|
5140
|
+
# plain_text_message: {
|
5141
|
+
# value: "PlainTextMessageValue", # required
|
5142
|
+
# },
|
5143
|
+
# custom_payload: {
|
5144
|
+
# value: "CustomPayloadValue", # required
|
5145
|
+
# },
|
5146
|
+
# ssml_message: {
|
5147
|
+
# value: "SSMLMessageValue", # required
|
5148
|
+
# },
|
5149
|
+
# image_response_card: {
|
5150
|
+
# title: "AttachmentTitle", # required
|
5151
|
+
# subtitle: "AttachmentTitle",
|
5152
|
+
# image_url: "AttachmentUrl",
|
5153
|
+
# buttons: [
|
5154
|
+
# {
|
5155
|
+
# text: "ButtonText", # required
|
5156
|
+
# value: "ButtonValue", # required
|
5157
|
+
# },
|
5158
|
+
# ],
|
5159
|
+
# },
|
5160
|
+
# },
|
5161
|
+
# variations: [
|
5162
|
+
# {
|
5163
|
+
# plain_text_message: {
|
5164
|
+
# value: "PlainTextMessageValue", # required
|
5165
|
+
# },
|
5166
|
+
# custom_payload: {
|
5167
|
+
# value: "CustomPayloadValue", # required
|
5168
|
+
# },
|
5169
|
+
# ssml_message: {
|
5170
|
+
# value: "SSMLMessageValue", # required
|
5171
|
+
# },
|
5172
|
+
# image_response_card: {
|
5173
|
+
# title: "AttachmentTitle", # required
|
5174
|
+
# subtitle: "AttachmentTitle",
|
5175
|
+
# image_url: "AttachmentUrl",
|
5176
|
+
# buttons: [
|
5177
|
+
# {
|
5178
|
+
# text: "ButtonText", # required
|
5179
|
+
# value: "ButtonValue", # required
|
5180
|
+
# },
|
5181
|
+
# ],
|
5182
|
+
# },
|
5183
|
+
# },
|
5184
|
+
# ],
|
5185
|
+
# },
|
5186
|
+
# ],
|
5187
|
+
# allow_interrupt: false,
|
5188
|
+
# },
|
5189
|
+
# failure_response: {
|
5190
|
+
# message_groups: [ # required
|
5191
|
+
# {
|
5192
|
+
# message: { # required
|
5193
|
+
# plain_text_message: {
|
5194
|
+
# value: "PlainTextMessageValue", # required
|
5195
|
+
# },
|
5196
|
+
# custom_payload: {
|
5197
|
+
# value: "CustomPayloadValue", # required
|
5198
|
+
# },
|
5199
|
+
# ssml_message: {
|
5200
|
+
# value: "SSMLMessageValue", # required
|
5201
|
+
# },
|
5202
|
+
# image_response_card: {
|
5203
|
+
# title: "AttachmentTitle", # required
|
5204
|
+
# subtitle: "AttachmentTitle",
|
5205
|
+
# image_url: "AttachmentUrl",
|
5206
|
+
# buttons: [
|
5207
|
+
# {
|
5208
|
+
# text: "ButtonText", # required
|
5209
|
+
# value: "ButtonValue", # required
|
5210
|
+
# },
|
5211
|
+
# ],
|
5212
|
+
# },
|
5213
|
+
# },
|
5214
|
+
# variations: [
|
5215
|
+
# {
|
5216
|
+
# plain_text_message: {
|
5217
|
+
# value: "PlainTextMessageValue", # required
|
5218
|
+
# },
|
5219
|
+
# custom_payload: {
|
5220
|
+
# value: "CustomPayloadValue", # required
|
5221
|
+
# },
|
5222
|
+
# ssml_message: {
|
5223
|
+
# value: "SSMLMessageValue", # required
|
5224
|
+
# },
|
5225
|
+
# image_response_card: {
|
5226
|
+
# title: "AttachmentTitle", # required
|
5227
|
+
# subtitle: "AttachmentTitle",
|
5228
|
+
# image_url: "AttachmentUrl",
|
5229
|
+
# buttons: [
|
5230
|
+
# {
|
5231
|
+
# text: "ButtonText", # required
|
5232
|
+
# value: "ButtonValue", # required
|
5233
|
+
# },
|
5234
|
+
# ],
|
5235
|
+
# },
|
5236
|
+
# },
|
5237
|
+
# ],
|
5238
|
+
# },
|
5239
|
+
# ],
|
5240
|
+
# allow_interrupt: false,
|
5241
|
+
# },
|
5242
|
+
# timeout_response: {
|
5243
|
+
# message_groups: [ # required
|
5244
|
+
# {
|
5245
|
+
# message: { # required
|
5246
|
+
# plain_text_message: {
|
5247
|
+
# value: "PlainTextMessageValue", # required
|
5248
|
+
# },
|
5249
|
+
# custom_payload: {
|
5250
|
+
# value: "CustomPayloadValue", # required
|
5251
|
+
# },
|
5252
|
+
# ssml_message: {
|
5253
|
+
# value: "SSMLMessageValue", # required
|
5254
|
+
# },
|
5255
|
+
# image_response_card: {
|
5256
|
+
# title: "AttachmentTitle", # required
|
5257
|
+
# subtitle: "AttachmentTitle",
|
5258
|
+
# image_url: "AttachmentUrl",
|
5259
|
+
# buttons: [
|
5260
|
+
# {
|
5261
|
+
# text: "ButtonText", # required
|
5262
|
+
# value: "ButtonValue", # required
|
5263
|
+
# },
|
5264
|
+
# ],
|
5265
|
+
# },
|
5266
|
+
# },
|
5267
|
+
# variations: [
|
5268
|
+
# {
|
5269
|
+
# plain_text_message: {
|
5270
|
+
# value: "PlainTextMessageValue", # required
|
5271
|
+
# },
|
5272
|
+
# custom_payload: {
|
5273
|
+
# value: "CustomPayloadValue", # required
|
5274
|
+
# },
|
5275
|
+
# ssml_message: {
|
5276
|
+
# value: "SSMLMessageValue", # required
|
5277
|
+
# },
|
5278
|
+
# image_response_card: {
|
5279
|
+
# title: "AttachmentTitle", # required
|
5280
|
+
# subtitle: "AttachmentTitle",
|
5281
|
+
# image_url: "AttachmentUrl",
|
5282
|
+
# buttons: [
|
5283
|
+
# {
|
5284
|
+
# text: "ButtonText", # required
|
5285
|
+
# value: "ButtonValue", # required
|
5286
|
+
# },
|
5287
|
+
# ],
|
5288
|
+
# },
|
5289
|
+
# },
|
5290
|
+
# ],
|
5291
|
+
# },
|
5292
|
+
# ],
|
5293
|
+
# allow_interrupt: false,
|
5294
|
+
# },
|
5295
|
+
# },
|
5296
|
+
# fulfillment_updates_specification: {
|
5297
|
+
# active: false, # required
|
5298
|
+
# start_response: {
|
5299
|
+
# delay_in_seconds: 1, # required
|
5300
|
+
# message_groups: [ # required
|
5301
|
+
# {
|
5302
|
+
# message: { # required
|
5303
|
+
# plain_text_message: {
|
5304
|
+
# value: "PlainTextMessageValue", # required
|
5305
|
+
# },
|
5306
|
+
# custom_payload: {
|
5307
|
+
# value: "CustomPayloadValue", # required
|
5308
|
+
# },
|
5309
|
+
# ssml_message: {
|
5310
|
+
# value: "SSMLMessageValue", # required
|
5311
|
+
# },
|
5312
|
+
# image_response_card: {
|
5313
|
+
# title: "AttachmentTitle", # required
|
5314
|
+
# subtitle: "AttachmentTitle",
|
5315
|
+
# image_url: "AttachmentUrl",
|
5316
|
+
# buttons: [
|
5317
|
+
# {
|
5318
|
+
# text: "ButtonText", # required
|
5319
|
+
# value: "ButtonValue", # required
|
5320
|
+
# },
|
5321
|
+
# ],
|
5322
|
+
# },
|
5323
|
+
# },
|
5324
|
+
# variations: [
|
5325
|
+
# {
|
5326
|
+
# plain_text_message: {
|
5327
|
+
# value: "PlainTextMessageValue", # required
|
5328
|
+
# },
|
5329
|
+
# custom_payload: {
|
5330
|
+
# value: "CustomPayloadValue", # required
|
5331
|
+
# },
|
5332
|
+
# ssml_message: {
|
5333
|
+
# value: "SSMLMessageValue", # required
|
5334
|
+
# },
|
5335
|
+
# image_response_card: {
|
5336
|
+
# title: "AttachmentTitle", # required
|
5337
|
+
# subtitle: "AttachmentTitle",
|
5338
|
+
# image_url: "AttachmentUrl",
|
5339
|
+
# buttons: [
|
5340
|
+
# {
|
5341
|
+
# text: "ButtonText", # required
|
5342
|
+
# value: "ButtonValue", # required
|
5343
|
+
# },
|
5344
|
+
# ],
|
5345
|
+
# },
|
5346
|
+
# },
|
5347
|
+
# ],
|
5348
|
+
# },
|
5349
|
+
# ],
|
5350
|
+
# allow_interrupt: false,
|
5351
|
+
# },
|
5352
|
+
# update_response: {
|
5353
|
+
# frequency_in_seconds: 1, # required
|
5354
|
+
# message_groups: [ # required
|
5355
|
+
# {
|
5356
|
+
# message: { # required
|
5357
|
+
# plain_text_message: {
|
5358
|
+
# value: "PlainTextMessageValue", # required
|
5359
|
+
# },
|
5360
|
+
# custom_payload: {
|
5361
|
+
# value: "CustomPayloadValue", # required
|
5362
|
+
# },
|
5363
|
+
# ssml_message: {
|
5364
|
+
# value: "SSMLMessageValue", # required
|
5365
|
+
# },
|
5366
|
+
# image_response_card: {
|
5367
|
+
# title: "AttachmentTitle", # required
|
5368
|
+
# subtitle: "AttachmentTitle",
|
5369
|
+
# image_url: "AttachmentUrl",
|
5370
|
+
# buttons: [
|
5371
|
+
# {
|
5372
|
+
# text: "ButtonText", # required
|
5373
|
+
# value: "ButtonValue", # required
|
5374
|
+
# },
|
5375
|
+
# ],
|
5376
|
+
# },
|
5377
|
+
# },
|
5378
|
+
# variations: [
|
5379
|
+
# {
|
5380
|
+
# plain_text_message: {
|
5381
|
+
# value: "PlainTextMessageValue", # required
|
5382
|
+
# },
|
5383
|
+
# custom_payload: {
|
5384
|
+
# value: "CustomPayloadValue", # required
|
5385
|
+
# },
|
5386
|
+
# ssml_message: {
|
5387
|
+
# value: "SSMLMessageValue", # required
|
5388
|
+
# },
|
5389
|
+
# image_response_card: {
|
5390
|
+
# title: "AttachmentTitle", # required
|
5391
|
+
# subtitle: "AttachmentTitle",
|
5392
|
+
# image_url: "AttachmentUrl",
|
5393
|
+
# buttons: [
|
5394
|
+
# {
|
5395
|
+
# text: "ButtonText", # required
|
5396
|
+
# value: "ButtonValue", # required
|
5397
|
+
# },
|
5398
|
+
# ],
|
5399
|
+
# },
|
5400
|
+
# },
|
5401
|
+
# ],
|
5402
|
+
# },
|
5403
|
+
# ],
|
5404
|
+
# allow_interrupt: false,
|
5405
|
+
# },
|
5406
|
+
# timeout_in_seconds: 1,
|
5407
|
+
# },
|
5408
|
+
# }
|
5409
|
+
#
|
5410
|
+
# @!attribute [rw] enabled
|
5411
|
+
# Indicates whether a Lambda function should be invoked to fulfill a
|
5412
|
+
# specific intent.
|
4626
5413
|
# @return [Boolean]
|
4627
5414
|
#
|
4628
|
-
#
|
5415
|
+
# @!attribute [rw] post_fulfillment_status_specification
|
5416
|
+
# Provides settings for messages sent to the user for after the Lambda
|
5417
|
+
# fulfillment function completes. Post-fulfillment messages can be
|
5418
|
+
# sent for both streaming and non-streaming conversations.
|
5419
|
+
# @return [Types::PostFulfillmentStatusSpecification]
|
4629
5420
|
#
|
4630
|
-
|
4631
|
-
|
5421
|
+
# @!attribute [rw] fulfillment_updates_specification
|
5422
|
+
# Provides settings for update messages sent to the user for
|
5423
|
+
# long-running Lambda fulfillment functions. Fulfillment updates can
|
5424
|
+
# be used only with streaming conversations.
|
5425
|
+
# @return [Types::FulfillmentUpdatesSpecification]
|
5426
|
+
#
|
5427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentCodeHookSettings AWS API Documentation
|
5428
|
+
#
|
5429
|
+
class FulfillmentCodeHookSettings < Struct.new(
|
5430
|
+
:enabled,
|
5431
|
+
:post_fulfillment_status_specification,
|
5432
|
+
:fulfillment_updates_specification)
|
4632
5433
|
SENSITIVE = []
|
4633
5434
|
include Aws::Structure
|
4634
5435
|
end
|
4635
5436
|
|
4636
|
-
#
|
5437
|
+
# Provides settings for a message that is sent to the user when a
|
5438
|
+
# fulfillment Lambda function starts running.
|
4637
5439
|
#
|
4638
|
-
# @note When making an API call, you may pass
|
5440
|
+
# @note When making an API call, you may pass FulfillmentStartResponseSpecification
|
4639
5441
|
# data as a hash:
|
4640
5442
|
#
|
4641
5443
|
# {
|
4642
|
-
#
|
4643
|
-
#
|
4644
|
-
#
|
5444
|
+
# delay_in_seconds: 1, # required
|
5445
|
+
# message_groups: [ # required
|
5446
|
+
# {
|
5447
|
+
# message: { # required
|
5448
|
+
# plain_text_message: {
|
5449
|
+
# value: "PlainTextMessageValue", # required
|
5450
|
+
# },
|
5451
|
+
# custom_payload: {
|
5452
|
+
# value: "CustomPayloadValue", # required
|
5453
|
+
# },
|
5454
|
+
# ssml_message: {
|
5455
|
+
# value: "SSMLMessageValue", # required
|
5456
|
+
# },
|
5457
|
+
# image_response_card: {
|
5458
|
+
# title: "AttachmentTitle", # required
|
5459
|
+
# subtitle: "AttachmentTitle",
|
5460
|
+
# image_url: "AttachmentUrl",
|
5461
|
+
# buttons: [
|
5462
|
+
# {
|
5463
|
+
# text: "ButtonText", # required
|
5464
|
+
# value: "ButtonValue", # required
|
5465
|
+
# },
|
5466
|
+
# ],
|
5467
|
+
# },
|
5468
|
+
# },
|
5469
|
+
# variations: [
|
5470
|
+
# {
|
5471
|
+
# plain_text_message: {
|
5472
|
+
# value: "PlainTextMessageValue", # required
|
5473
|
+
# },
|
5474
|
+
# custom_payload: {
|
5475
|
+
# value: "CustomPayloadValue", # required
|
5476
|
+
# },
|
5477
|
+
# ssml_message: {
|
5478
|
+
# value: "SSMLMessageValue", # required
|
5479
|
+
# },
|
5480
|
+
# image_response_card: {
|
5481
|
+
# title: "AttachmentTitle", # required
|
5482
|
+
# subtitle: "AttachmentTitle",
|
5483
|
+
# image_url: "AttachmentUrl",
|
5484
|
+
# buttons: [
|
5485
|
+
# {
|
5486
|
+
# text: "ButtonText", # required
|
5487
|
+
# value: "ButtonValue", # required
|
5488
|
+
# },
|
5489
|
+
# ],
|
5490
|
+
# },
|
5491
|
+
# },
|
5492
|
+
# ],
|
5493
|
+
# },
|
5494
|
+
# ],
|
5495
|
+
# allow_interrupt: false,
|
4645
5496
|
# }
|
4646
5497
|
#
|
4647
|
-
# @!attribute [rw]
|
4648
|
-
# The
|
4649
|
-
#
|
5498
|
+
# @!attribute [rw] delay_in_seconds
|
5499
|
+
# The delay between when the Lambda fulfillment function starts
|
5500
|
+
# running and the start message is played. If the Lambda function
|
5501
|
+
# returns before the delay is over, the start message isn't played.
|
5502
|
+
# @return [Integer]
|
4650
5503
|
#
|
4651
|
-
# @!attribute [rw]
|
4652
|
-
#
|
4653
|
-
#
|
5504
|
+
# @!attribute [rw] message_groups
|
5505
|
+
# One to 5 message groups that contain start messages. Amazon Lex
|
5506
|
+
# chooses one of the messages to play to the user.
|
5507
|
+
# @return [Array<Types::MessageGroup>]
|
4654
5508
|
#
|
4655
|
-
# @!attribute [rw]
|
4656
|
-
#
|
4657
|
-
#
|
4658
|
-
#
|
4659
|
-
# should return resource types that contain the specified value.
|
4660
|
-
# @return [String]
|
5509
|
+
# @!attribute [rw] allow_interrupt
|
5510
|
+
# Determines whether the user can interrupt the start message while it
|
5511
|
+
# is playing.
|
5512
|
+
# @return [Boolean]
|
4661
5513
|
#
|
4662
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5514
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentStartResponseSpecification AWS API Documentation
|
4663
5515
|
#
|
4664
|
-
class
|
4665
|
-
:
|
4666
|
-
:
|
4667
|
-
:
|
5516
|
+
class FulfillmentStartResponseSpecification < Struct.new(
|
5517
|
+
:delay_in_seconds,
|
5518
|
+
:message_groups,
|
5519
|
+
:allow_interrupt)
|
4668
5520
|
SENSITIVE = []
|
4669
5521
|
include Aws::Structure
|
4670
5522
|
end
|
4671
5523
|
|
4672
|
-
# Provides
|
4673
|
-
#
|
4674
|
-
# `botLocaleExportSpecification`, but not both.
|
5524
|
+
# Provides settings for a message that is sent periodically to the user
|
5525
|
+
# while a fulfillment Lambda function is running.
|
4675
5526
|
#
|
4676
|
-
# @note When making an API call, you may pass
|
5527
|
+
# @note When making an API call, you may pass FulfillmentUpdateResponseSpecification
|
4677
5528
|
# data as a hash:
|
4678
5529
|
#
|
4679
5530
|
# {
|
4680
|
-
#
|
4681
|
-
#
|
4682
|
-
#
|
4683
|
-
#
|
4684
|
-
#
|
4685
|
-
#
|
4686
|
-
#
|
4687
|
-
#
|
4688
|
-
#
|
5531
|
+
# frequency_in_seconds: 1, # required
|
5532
|
+
# message_groups: [ # required
|
5533
|
+
# {
|
5534
|
+
# message: { # required
|
5535
|
+
# plain_text_message: {
|
5536
|
+
# value: "PlainTextMessageValue", # required
|
5537
|
+
# },
|
5538
|
+
# custom_payload: {
|
5539
|
+
# value: "CustomPayloadValue", # required
|
5540
|
+
# },
|
5541
|
+
# ssml_message: {
|
5542
|
+
# value: "SSMLMessageValue", # required
|
5543
|
+
# },
|
5544
|
+
# image_response_card: {
|
5545
|
+
# title: "AttachmentTitle", # required
|
5546
|
+
# subtitle: "AttachmentTitle",
|
5547
|
+
# image_url: "AttachmentUrl",
|
5548
|
+
# buttons: [
|
5549
|
+
# {
|
5550
|
+
# text: "ButtonText", # required
|
5551
|
+
# value: "ButtonValue", # required
|
5552
|
+
# },
|
5553
|
+
# ],
|
5554
|
+
# },
|
5555
|
+
# },
|
5556
|
+
# variations: [
|
5557
|
+
# {
|
5558
|
+
# plain_text_message: {
|
5559
|
+
# value: "PlainTextMessageValue", # required
|
5560
|
+
# },
|
5561
|
+
# custom_payload: {
|
5562
|
+
# value: "CustomPayloadValue", # required
|
5563
|
+
# },
|
5564
|
+
# ssml_message: {
|
5565
|
+
# value: "SSMLMessageValue", # required
|
5566
|
+
# },
|
5567
|
+
# image_response_card: {
|
5568
|
+
# title: "AttachmentTitle", # required
|
5569
|
+
# subtitle: "AttachmentTitle",
|
5570
|
+
# image_url: "AttachmentUrl",
|
5571
|
+
# buttons: [
|
5572
|
+
# {
|
5573
|
+
# text: "ButtonText", # required
|
5574
|
+
# value: "ButtonValue", # required
|
5575
|
+
# },
|
5576
|
+
# ],
|
5577
|
+
# },
|
5578
|
+
# },
|
5579
|
+
# ],
|
5580
|
+
# },
|
5581
|
+
# ],
|
5582
|
+
# allow_interrupt: false,
|
4689
5583
|
# }
|
4690
5584
|
#
|
4691
|
-
# @!attribute [rw]
|
4692
|
-
#
|
4693
|
-
#
|
5585
|
+
# @!attribute [rw] frequency_in_seconds
|
5586
|
+
# The frequency that a message is sent to the user. When the period
|
5587
|
+
# ends, Amazon Lex chooses a message from the message groups and plays
|
5588
|
+
# it to the user. If the fulfillment Lambda returns before the first
|
5589
|
+
# period ends, an update message is not played to the user.
|
5590
|
+
# @return [Integer]
|
4694
5591
|
#
|
4695
|
-
# @!attribute [rw]
|
4696
|
-
#
|
4697
|
-
#
|
5592
|
+
# @!attribute [rw] message_groups
|
5593
|
+
# One to 5 message groups that contain update messages. Amazon Lex
|
5594
|
+
# chooses one of the messages to play to the user.
|
5595
|
+
# @return [Array<Types::MessageGroup>]
|
4698
5596
|
#
|
4699
|
-
#
|
5597
|
+
# @!attribute [rw] allow_interrupt
|
5598
|
+
# Determines whether the user can interrupt an update message while it
|
5599
|
+
# is playing.
|
5600
|
+
# @return [Boolean]
|
4700
5601
|
#
|
4701
|
-
|
4702
|
-
|
4703
|
-
|
5602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdateResponseSpecification AWS API Documentation
|
5603
|
+
#
|
5604
|
+
class FulfillmentUpdateResponseSpecification < Struct.new(
|
5605
|
+
:frequency_in_seconds,
|
5606
|
+
:message_groups,
|
5607
|
+
:allow_interrupt)
|
4704
5608
|
SENSITIVE = []
|
4705
5609
|
include Aws::Structure
|
4706
5610
|
end
|
4707
5611
|
|
4708
|
-
# Provides information
|
5612
|
+
# Provides information for updating the user on the progress of
|
5613
|
+
# fulfilling an intent.
|
4709
5614
|
#
|
4710
|
-
# @note When making an API call, you may pass
|
5615
|
+
# @note When making an API call, you may pass FulfillmentUpdatesSpecification
|
4711
5616
|
# data as a hash:
|
4712
5617
|
#
|
4713
5618
|
# {
|
4714
|
-
#
|
4715
|
-
#
|
4716
|
-
#
|
4717
|
-
#
|
4718
|
-
#
|
4719
|
-
#
|
4720
|
-
#
|
4721
|
-
#
|
4722
|
-
#
|
4723
|
-
#
|
4724
|
-
#
|
4725
|
-
#
|
4726
|
-
#
|
4727
|
-
#
|
4728
|
-
|
4729
|
-
|
4730
|
-
|
4731
|
-
|
4732
|
-
|
4733
|
-
|
4734
|
-
|
4735
|
-
#
|
4736
|
-
#
|
4737
|
-
#
|
4738
|
-
#
|
4739
|
-
#
|
4740
|
-
#
|
4741
|
-
#
|
4742
|
-
#
|
4743
|
-
#
|
4744
|
-
#
|
4745
|
-
#
|
4746
|
-
#
|
4747
|
-
#
|
4748
|
-
#
|
4749
|
-
#
|
4750
|
-
#
|
4751
|
-
#
|
4752
|
-
#
|
4753
|
-
#
|
4754
|
-
#
|
4755
|
-
#
|
4756
|
-
#
|
4757
|
-
#
|
4758
|
-
#
|
4759
|
-
#
|
4760
|
-
#
|
5619
|
+
# active: false, # required
|
5620
|
+
# start_response: {
|
5621
|
+
# delay_in_seconds: 1, # required
|
5622
|
+
# message_groups: [ # required
|
5623
|
+
# {
|
5624
|
+
# message: { # required
|
5625
|
+
# plain_text_message: {
|
5626
|
+
# value: "PlainTextMessageValue", # required
|
5627
|
+
# },
|
5628
|
+
# custom_payload: {
|
5629
|
+
# value: "CustomPayloadValue", # required
|
5630
|
+
# },
|
5631
|
+
# ssml_message: {
|
5632
|
+
# value: "SSMLMessageValue", # required
|
5633
|
+
# },
|
5634
|
+
# image_response_card: {
|
5635
|
+
# title: "AttachmentTitle", # required
|
5636
|
+
# subtitle: "AttachmentTitle",
|
5637
|
+
# image_url: "AttachmentUrl",
|
5638
|
+
# buttons: [
|
5639
|
+
# {
|
5640
|
+
# text: "ButtonText", # required
|
5641
|
+
# value: "ButtonValue", # required
|
5642
|
+
# },
|
5643
|
+
# ],
|
5644
|
+
# },
|
5645
|
+
# },
|
5646
|
+
# variations: [
|
5647
|
+
# {
|
5648
|
+
# plain_text_message: {
|
5649
|
+
# value: "PlainTextMessageValue", # required
|
5650
|
+
# },
|
5651
|
+
# custom_payload: {
|
5652
|
+
# value: "CustomPayloadValue", # required
|
5653
|
+
# },
|
5654
|
+
# ssml_message: {
|
5655
|
+
# value: "SSMLMessageValue", # required
|
5656
|
+
# },
|
5657
|
+
# image_response_card: {
|
5658
|
+
# title: "AttachmentTitle", # required
|
5659
|
+
# subtitle: "AttachmentTitle",
|
5660
|
+
# image_url: "AttachmentUrl",
|
5661
|
+
# buttons: [
|
5662
|
+
# {
|
5663
|
+
# text: "ButtonText", # required
|
5664
|
+
# value: "ButtonValue", # required
|
5665
|
+
# },
|
5666
|
+
# ],
|
5667
|
+
# },
|
5668
|
+
# },
|
5669
|
+
# ],
|
5670
|
+
# },
|
5671
|
+
# ],
|
5672
|
+
# allow_interrupt: false,
|
5673
|
+
# },
|
5674
|
+
# update_response: {
|
5675
|
+
# frequency_in_seconds: 1, # required
|
5676
|
+
# message_groups: [ # required
|
5677
|
+
# {
|
5678
|
+
# message: { # required
|
5679
|
+
# plain_text_message: {
|
5680
|
+
# value: "PlainTextMessageValue", # required
|
5681
|
+
# },
|
5682
|
+
# custom_payload: {
|
5683
|
+
# value: "CustomPayloadValue", # required
|
5684
|
+
# },
|
5685
|
+
# ssml_message: {
|
5686
|
+
# value: "SSMLMessageValue", # required
|
5687
|
+
# },
|
5688
|
+
# image_response_card: {
|
5689
|
+
# title: "AttachmentTitle", # required
|
5690
|
+
# subtitle: "AttachmentTitle",
|
5691
|
+
# image_url: "AttachmentUrl",
|
5692
|
+
# buttons: [
|
5693
|
+
# {
|
5694
|
+
# text: "ButtonText", # required
|
5695
|
+
# value: "ButtonValue", # required
|
5696
|
+
# },
|
5697
|
+
# ],
|
5698
|
+
# },
|
5699
|
+
# },
|
5700
|
+
# variations: [
|
5701
|
+
# {
|
5702
|
+
# plain_text_message: {
|
5703
|
+
# value: "PlainTextMessageValue", # required
|
5704
|
+
# },
|
5705
|
+
# custom_payload: {
|
5706
|
+
# value: "CustomPayloadValue", # required
|
5707
|
+
# },
|
5708
|
+
# ssml_message: {
|
5709
|
+
# value: "SSMLMessageValue", # required
|
5710
|
+
# },
|
5711
|
+
# image_response_card: {
|
5712
|
+
# title: "AttachmentTitle", # required
|
5713
|
+
# subtitle: "AttachmentTitle",
|
5714
|
+
# image_url: "AttachmentUrl",
|
5715
|
+
# buttons: [
|
5716
|
+
# {
|
5717
|
+
# text: "ButtonText", # required
|
5718
|
+
# value: "ButtonValue", # required
|
5719
|
+
# },
|
5720
|
+
# ],
|
5721
|
+
# },
|
5722
|
+
# },
|
5723
|
+
# ],
|
5724
|
+
# },
|
5725
|
+
# ],
|
5726
|
+
# allow_interrupt: false,
|
5727
|
+
# },
|
5728
|
+
# timeout_in_seconds: 1,
|
5729
|
+
# }
|
4761
5730
|
#
|
4762
|
-
#
|
5731
|
+
# @!attribute [rw] active
|
5732
|
+
# Determines whether fulfillment updates are sent to the user. When
|
5733
|
+
# this field is true, updates are sent.
|
4763
5734
|
#
|
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.
|
5735
|
+
# If the `active` field is set to true, the `startResponse`,
|
5736
|
+
# `updateResponse`, and `timeoutInSeconds` fields are required.
|
5737
|
+
# @return [Boolean]
|
4777
5738
|
#
|
4778
|
-
#
|
4779
|
-
#
|
5739
|
+
# @!attribute [rw] start_response
|
5740
|
+
# Provides configuration information for the message sent to users
|
5741
|
+
# when the fulfillment Lambda functions starts running.
|
5742
|
+
# @return [Types::FulfillmentStartResponseSpecification]
|
4780
5743
|
#
|
4781
|
-
#
|
4782
|
-
#
|
4783
|
-
#
|
5744
|
+
# @!attribute [rw] update_response
|
5745
|
+
# Provides configuration information for messages sent periodically to
|
5746
|
+
# the user while the fulfillment Lambda function is running.
|
5747
|
+
# @return [Types::FulfillmentUpdateResponseSpecification]
|
4784
5748
|
#
|
4785
|
-
# @!attribute [rw]
|
4786
|
-
#
|
4787
|
-
#
|
4788
|
-
# @return [
|
5749
|
+
# @!attribute [rw] timeout_in_seconds
|
5750
|
+
# The length of time that the fulfillment Lambda function should run
|
5751
|
+
# before it times out.
|
5752
|
+
# @return [Integer]
|
4789
5753
|
#
|
4790
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/
|
5754
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/FulfillmentUpdatesSpecification AWS API Documentation
|
4791
5755
|
#
|
4792
|
-
class
|
4793
|
-
:
|
5756
|
+
class FulfillmentUpdatesSpecification < Struct.new(
|
5757
|
+
:active,
|
5758
|
+
:start_response,
|
5759
|
+
:update_response,
|
5760
|
+
:timeout_in_seconds)
|
4794
5761
|
SENSITIVE = []
|
4795
5762
|
include Aws::Structure
|
4796
5763
|
end
|
@@ -4849,7 +5816,11 @@ module Aws::LexModelsV2
|
|
4849
5816
|
include Aws::Structure
|
4850
5817
|
end
|
4851
5818
|
|
4852
|
-
# Filters the response from the operation.
|
5819
|
+
# Filters the response from the [ListImports][1] operation.
|
5820
|
+
#
|
5821
|
+
#
|
5822
|
+
#
|
5823
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
|
4853
5824
|
#
|
4854
5825
|
# @note When making an API call, you may pass ImportFilter
|
4855
5826
|
# data as a hash:
|
@@ -4886,7 +5857,7 @@ module Aws::LexModelsV2
|
|
4886
5857
|
end
|
4887
5858
|
|
4888
5859
|
# Provides information about the bot or bot locale that you want to
|
4889
|
-
# import. You can
|
5860
|
+
# import. You can specify the `botImportSpecification` or the
|
4890
5861
|
# `botLocaleImportSpecification`, but not both.
|
4891
5862
|
#
|
4892
5863
|
# @note When making an API call, you may pass ImportResourceSpecification
|
@@ -4914,6 +5885,7 @@ module Aws::LexModelsV2
|
|
4914
5885
|
# nlu_intent_confidence_threshold: 1.0,
|
4915
5886
|
# voice_settings: {
|
4916
5887
|
# voice_id: "VoiceId", # required
|
5888
|
+
# engine: "standard", # accepts standard, neural
|
4917
5889
|
# },
|
4918
5890
|
# },
|
4919
5891
|
# }
|
@@ -5101,9 +6073,8 @@ module Aws::LexModelsV2
|
|
5101
6073
|
#
|
5102
6074
|
# @!attribute [rw] active
|
5103
6075
|
# 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.
|
6076
|
+
# field is false, the closing response isn't sent to the user. If the
|
6077
|
+
# `active` field isn't specified, the default is true.
|
5107
6078
|
# @return [Boolean]
|
5108
6079
|
#
|
5109
6080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentClosingSetting AWS API Documentation
|
@@ -5253,8 +6224,7 @@ module Aws::LexModelsV2
|
|
5253
6224
|
# @!attribute [rw] active
|
5254
6225
|
# Specifies whether the intent's confirmation is sent to the user.
|
5255
6226
|
# 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
|
6227
|
+
# aren't sent. If the `active` field isn't specified, the default is
|
5258
6228
|
# true.
|
5259
6229
|
# @return [Boolean]
|
5260
6230
|
#
|
@@ -5441,7 +6411,7 @@ module Aws::LexModelsV2
|
|
5441
6411
|
end
|
5442
6412
|
|
5443
6413
|
# Specifies a Lambda function that verifies requests to a bot or
|
5444
|
-
#
|
6414
|
+
# fulfills the user's request to a bot.
|
5445
6415
|
#
|
5446
6416
|
# @note When making an API call, you may pass LambdaCodeHook
|
5447
6417
|
# data as a hash:
|
@@ -6182,7 +7152,7 @@ module Aws::LexModelsV2
|
|
6182
7152
|
# @return [Integer]
|
6183
7153
|
#
|
6184
7154
|
# @!attribute [rw] next_token
|
6185
|
-
# If the response from the `ListExports` operation
|
7155
|
+
# If the response from the `ListExports` operation contains more
|
6186
7156
|
# results that specified in the `maxResults` parameter, a token is
|
6187
7157
|
# returned in the response. Use that token in the `nextToken`
|
6188
7158
|
# parameter to return the next page of results.
|
@@ -6972,6 +7942,204 @@ module Aws::LexModelsV2
|
|
6972
7942
|
include Aws::Structure
|
6973
7943
|
end
|
6974
7944
|
|
7945
|
+
# Provides a setting that determines whether the post-fulfillment
|
7946
|
+
# response is sent to the user. For more information, see
|
7947
|
+
# [https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete][1]
|
7948
|
+
#
|
7949
|
+
#
|
7950
|
+
#
|
7951
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete
|
7952
|
+
#
|
7953
|
+
# @note When making an API call, you may pass PostFulfillmentStatusSpecification
|
7954
|
+
# data as a hash:
|
7955
|
+
#
|
7956
|
+
# {
|
7957
|
+
# success_response: {
|
7958
|
+
# message_groups: [ # required
|
7959
|
+
# {
|
7960
|
+
# message: { # required
|
7961
|
+
# plain_text_message: {
|
7962
|
+
# value: "PlainTextMessageValue", # required
|
7963
|
+
# },
|
7964
|
+
# custom_payload: {
|
7965
|
+
# value: "CustomPayloadValue", # required
|
7966
|
+
# },
|
7967
|
+
# ssml_message: {
|
7968
|
+
# value: "SSMLMessageValue", # required
|
7969
|
+
# },
|
7970
|
+
# image_response_card: {
|
7971
|
+
# title: "AttachmentTitle", # required
|
7972
|
+
# subtitle: "AttachmentTitle",
|
7973
|
+
# image_url: "AttachmentUrl",
|
7974
|
+
# buttons: [
|
7975
|
+
# {
|
7976
|
+
# text: "ButtonText", # required
|
7977
|
+
# value: "ButtonValue", # required
|
7978
|
+
# },
|
7979
|
+
# ],
|
7980
|
+
# },
|
7981
|
+
# },
|
7982
|
+
# variations: [
|
7983
|
+
# {
|
7984
|
+
# plain_text_message: {
|
7985
|
+
# value: "PlainTextMessageValue", # required
|
7986
|
+
# },
|
7987
|
+
# custom_payload: {
|
7988
|
+
# value: "CustomPayloadValue", # required
|
7989
|
+
# },
|
7990
|
+
# ssml_message: {
|
7991
|
+
# value: "SSMLMessageValue", # required
|
7992
|
+
# },
|
7993
|
+
# image_response_card: {
|
7994
|
+
# title: "AttachmentTitle", # required
|
7995
|
+
# subtitle: "AttachmentTitle",
|
7996
|
+
# image_url: "AttachmentUrl",
|
7997
|
+
# buttons: [
|
7998
|
+
# {
|
7999
|
+
# text: "ButtonText", # required
|
8000
|
+
# value: "ButtonValue", # required
|
8001
|
+
# },
|
8002
|
+
# ],
|
8003
|
+
# },
|
8004
|
+
# },
|
8005
|
+
# ],
|
8006
|
+
# },
|
8007
|
+
# ],
|
8008
|
+
# allow_interrupt: false,
|
8009
|
+
# },
|
8010
|
+
# failure_response: {
|
8011
|
+
# message_groups: [ # required
|
8012
|
+
# {
|
8013
|
+
# message: { # required
|
8014
|
+
# plain_text_message: {
|
8015
|
+
# value: "PlainTextMessageValue", # required
|
8016
|
+
# },
|
8017
|
+
# custom_payload: {
|
8018
|
+
# value: "CustomPayloadValue", # required
|
8019
|
+
# },
|
8020
|
+
# ssml_message: {
|
8021
|
+
# value: "SSMLMessageValue", # required
|
8022
|
+
# },
|
8023
|
+
# image_response_card: {
|
8024
|
+
# title: "AttachmentTitle", # required
|
8025
|
+
# subtitle: "AttachmentTitle",
|
8026
|
+
# image_url: "AttachmentUrl",
|
8027
|
+
# buttons: [
|
8028
|
+
# {
|
8029
|
+
# text: "ButtonText", # required
|
8030
|
+
# value: "ButtonValue", # required
|
8031
|
+
# },
|
8032
|
+
# ],
|
8033
|
+
# },
|
8034
|
+
# },
|
8035
|
+
# variations: [
|
8036
|
+
# {
|
8037
|
+
# plain_text_message: {
|
8038
|
+
# value: "PlainTextMessageValue", # required
|
8039
|
+
# },
|
8040
|
+
# custom_payload: {
|
8041
|
+
# value: "CustomPayloadValue", # required
|
8042
|
+
# },
|
8043
|
+
# ssml_message: {
|
8044
|
+
# value: "SSMLMessageValue", # required
|
8045
|
+
# },
|
8046
|
+
# image_response_card: {
|
8047
|
+
# title: "AttachmentTitle", # required
|
8048
|
+
# subtitle: "AttachmentTitle",
|
8049
|
+
# image_url: "AttachmentUrl",
|
8050
|
+
# buttons: [
|
8051
|
+
# {
|
8052
|
+
# text: "ButtonText", # required
|
8053
|
+
# value: "ButtonValue", # required
|
8054
|
+
# },
|
8055
|
+
# ],
|
8056
|
+
# },
|
8057
|
+
# },
|
8058
|
+
# ],
|
8059
|
+
# },
|
8060
|
+
# ],
|
8061
|
+
# allow_interrupt: false,
|
8062
|
+
# },
|
8063
|
+
# timeout_response: {
|
8064
|
+
# message_groups: [ # required
|
8065
|
+
# {
|
8066
|
+
# message: { # required
|
8067
|
+
# plain_text_message: {
|
8068
|
+
# value: "PlainTextMessageValue", # required
|
8069
|
+
# },
|
8070
|
+
# custom_payload: {
|
8071
|
+
# value: "CustomPayloadValue", # required
|
8072
|
+
# },
|
8073
|
+
# ssml_message: {
|
8074
|
+
# value: "SSMLMessageValue", # required
|
8075
|
+
# },
|
8076
|
+
# image_response_card: {
|
8077
|
+
# title: "AttachmentTitle", # required
|
8078
|
+
# subtitle: "AttachmentTitle",
|
8079
|
+
# image_url: "AttachmentUrl",
|
8080
|
+
# buttons: [
|
8081
|
+
# {
|
8082
|
+
# text: "ButtonText", # required
|
8083
|
+
# value: "ButtonValue", # required
|
8084
|
+
# },
|
8085
|
+
# ],
|
8086
|
+
# },
|
8087
|
+
# },
|
8088
|
+
# variations: [
|
8089
|
+
# {
|
8090
|
+
# plain_text_message: {
|
8091
|
+
# value: "PlainTextMessageValue", # required
|
8092
|
+
# },
|
8093
|
+
# custom_payload: {
|
8094
|
+
# value: "CustomPayloadValue", # required
|
8095
|
+
# },
|
8096
|
+
# ssml_message: {
|
8097
|
+
# value: "SSMLMessageValue", # required
|
8098
|
+
# },
|
8099
|
+
# image_response_card: {
|
8100
|
+
# title: "AttachmentTitle", # required
|
8101
|
+
# subtitle: "AttachmentTitle",
|
8102
|
+
# image_url: "AttachmentUrl",
|
8103
|
+
# buttons: [
|
8104
|
+
# {
|
8105
|
+
# text: "ButtonText", # required
|
8106
|
+
# value: "ButtonValue", # required
|
8107
|
+
# },
|
8108
|
+
# ],
|
8109
|
+
# },
|
8110
|
+
# },
|
8111
|
+
# ],
|
8112
|
+
# },
|
8113
|
+
# ],
|
8114
|
+
# allow_interrupt: false,
|
8115
|
+
# },
|
8116
|
+
# }
|
8117
|
+
#
|
8118
|
+
# @!attribute [rw] success_response
|
8119
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8120
|
+
# the user input.
|
8121
|
+
# @return [Types::ResponseSpecification]
|
8122
|
+
#
|
8123
|
+
# @!attribute [rw] failure_response
|
8124
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8125
|
+
# the user input.
|
8126
|
+
# @return [Types::ResponseSpecification]
|
8127
|
+
#
|
8128
|
+
# @!attribute [rw] timeout_response
|
8129
|
+
# Specifies a list of message groups that Amazon Lex uses to respond
|
8130
|
+
# the user input.
|
8131
|
+
# @return [Types::ResponseSpecification]
|
8132
|
+
#
|
8133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PostFulfillmentStatusSpecification AWS API Documentation
|
8134
|
+
#
|
8135
|
+
class PostFulfillmentStatusSpecification < Struct.new(
|
8136
|
+
:success_response,
|
8137
|
+
:failure_response,
|
8138
|
+
:timeout_response)
|
8139
|
+
SENSITIVE = []
|
8140
|
+
include Aws::Structure
|
8141
|
+
end
|
8142
|
+
|
6975
8143
|
# Your request couldn't be completed because one or more request fields
|
6976
8144
|
# aren't valid. Check the fields in your request and try again.
|
6977
8145
|
#
|
@@ -7088,7 +8256,7 @@ module Aws::LexModelsV2
|
|
7088
8256
|
# @return [Array<Types::MessageGroup>]
|
7089
8257
|
#
|
7090
8258
|
# @!attribute [rw] max_retries
|
7091
|
-
# The maximum number of times the bot tries to elicit a
|
8259
|
+
# The maximum number of times the bot tries to elicit a response from
|
7092
8260
|
# the user using this prompt.
|
7093
8261
|
# @return [Integer]
|
7094
8262
|
#
|
@@ -7697,7 +8865,7 @@ module Aws::LexModelsV2
|
|
7697
8865
|
# @return [Types::SampleValue]
|
7698
8866
|
#
|
7699
8867
|
# @!attribute [rw] synonyms
|
7700
|
-
# Additional values
|
8868
|
+
# Additional values related to the slot type entry.
|
7701
8869
|
# @return [Array<Types::SampleValue>]
|
7702
8870
|
#
|
7703
8871
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeValue AWS API Documentation
|
@@ -7951,7 +9119,7 @@ module Aws::LexModelsV2
|
|
7951
9119
|
# @!attribute [rw] default_value_specification
|
7952
9120
|
# A list of default values for a slot. Default values are used when
|
7953
9121
|
# Amazon Lex hasn't determined a value for a slot. You can specify
|
7954
|
-
# default values from context variables,
|
9122
|
+
# default values from context variables, session attributes, and
|
7955
9123
|
# defined values.
|
7956
9124
|
# @return [Types::SlotDefaultValueSpecification]
|
7957
9125
|
#
|
@@ -8095,6 +9263,7 @@ module Aws::LexModelsV2
|
|
8095
9263
|
# nlu_intent_confidence_threshold: 1.0,
|
8096
9264
|
# voice_settings: {
|
8097
9265
|
# voice_id: "VoiceId", # required
|
9266
|
+
# engine: "standard", # accepts standard, neural
|
8098
9267
|
# },
|
8099
9268
|
# },
|
8100
9269
|
# },
|
@@ -8104,7 +9273,11 @@ module Aws::LexModelsV2
|
|
8104
9273
|
#
|
8105
9274
|
# @!attribute [rw] import_id
|
8106
9275
|
# The unique identifier for the import. It is included in the response
|
8107
|
-
# from the operation.
|
9276
|
+
# from the [CreateUploadUrl][1] operation.
|
9277
|
+
#
|
9278
|
+
#
|
9279
|
+
#
|
9280
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
|
8108
9281
|
# @return [String]
|
8109
9282
|
#
|
8110
9283
|
# @!attribute [rw] resource_specification
|
@@ -8580,6 +9753,7 @@ module Aws::LexModelsV2
|
|
8580
9753
|
# nlu_intent_confidence_threshold: 1.0, # required
|
8581
9754
|
# voice_settings: {
|
8582
9755
|
# voice_id: "VoiceId", # required
|
9756
|
+
# engine: "standard", # accepts standard, neural
|
8583
9757
|
# },
|
8584
9758
|
# }
|
8585
9759
|
#
|
@@ -8713,7 +9887,11 @@ module Aws::LexModelsV2
|
|
8713
9887
|
#
|
8714
9888
|
# @!attribute [rw] bot_id
|
8715
9889
|
# The unique identifier of the bot to update. This identifier is
|
8716
|
-
# returned by the CreateBot operation.
|
9890
|
+
# returned by the [CreateBot][1] operation.
|
9891
|
+
#
|
9892
|
+
#
|
9893
|
+
#
|
9894
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
|
8717
9895
|
# @return [String]
|
8718
9896
|
#
|
8719
9897
|
# @!attribute [rw] bot_name
|
@@ -8891,12 +10069,285 @@ module Aws::LexModelsV2
|
|
8891
10069
|
# {
|
8892
10070
|
# utterance: "Utterance", # required
|
8893
10071
|
# },
|
8894
|
-
# ],
|
8895
|
-
# dialog_code_hook: {
|
8896
|
-
# enabled: false, # required
|
8897
|
-
# },
|
8898
|
-
# fulfillment_code_hook: {
|
8899
|
-
# enabled: false, # required
|
10072
|
+
# ],
|
10073
|
+
# dialog_code_hook: {
|
10074
|
+
# enabled: false, # required
|
10075
|
+
# },
|
10076
|
+
# fulfillment_code_hook: {
|
10077
|
+
# enabled: false, # required
|
10078
|
+
# post_fulfillment_status_specification: {
|
10079
|
+
# success_response: {
|
10080
|
+
# message_groups: [ # required
|
10081
|
+
# {
|
10082
|
+
# message: { # required
|
10083
|
+
# plain_text_message: {
|
10084
|
+
# value: "PlainTextMessageValue", # required
|
10085
|
+
# },
|
10086
|
+
# custom_payload: {
|
10087
|
+
# value: "CustomPayloadValue", # required
|
10088
|
+
# },
|
10089
|
+
# ssml_message: {
|
10090
|
+
# value: "SSMLMessageValue", # required
|
10091
|
+
# },
|
10092
|
+
# image_response_card: {
|
10093
|
+
# title: "AttachmentTitle", # required
|
10094
|
+
# subtitle: "AttachmentTitle",
|
10095
|
+
# image_url: "AttachmentUrl",
|
10096
|
+
# buttons: [
|
10097
|
+
# {
|
10098
|
+
# text: "ButtonText", # required
|
10099
|
+
# value: "ButtonValue", # required
|
10100
|
+
# },
|
10101
|
+
# ],
|
10102
|
+
# },
|
10103
|
+
# },
|
10104
|
+
# variations: [
|
10105
|
+
# {
|
10106
|
+
# plain_text_message: {
|
10107
|
+
# value: "PlainTextMessageValue", # required
|
10108
|
+
# },
|
10109
|
+
# custom_payload: {
|
10110
|
+
# value: "CustomPayloadValue", # required
|
10111
|
+
# },
|
10112
|
+
# ssml_message: {
|
10113
|
+
# value: "SSMLMessageValue", # required
|
10114
|
+
# },
|
10115
|
+
# image_response_card: {
|
10116
|
+
# title: "AttachmentTitle", # required
|
10117
|
+
# subtitle: "AttachmentTitle",
|
10118
|
+
# image_url: "AttachmentUrl",
|
10119
|
+
# buttons: [
|
10120
|
+
# {
|
10121
|
+
# text: "ButtonText", # required
|
10122
|
+
# value: "ButtonValue", # required
|
10123
|
+
# },
|
10124
|
+
# ],
|
10125
|
+
# },
|
10126
|
+
# },
|
10127
|
+
# ],
|
10128
|
+
# },
|
10129
|
+
# ],
|
10130
|
+
# allow_interrupt: false,
|
10131
|
+
# },
|
10132
|
+
# failure_response: {
|
10133
|
+
# message_groups: [ # required
|
10134
|
+
# {
|
10135
|
+
# message: { # required
|
10136
|
+
# plain_text_message: {
|
10137
|
+
# value: "PlainTextMessageValue", # required
|
10138
|
+
# },
|
10139
|
+
# custom_payload: {
|
10140
|
+
# value: "CustomPayloadValue", # required
|
10141
|
+
# },
|
10142
|
+
# ssml_message: {
|
10143
|
+
# value: "SSMLMessageValue", # required
|
10144
|
+
# },
|
10145
|
+
# image_response_card: {
|
10146
|
+
# title: "AttachmentTitle", # required
|
10147
|
+
# subtitle: "AttachmentTitle",
|
10148
|
+
# image_url: "AttachmentUrl",
|
10149
|
+
# buttons: [
|
10150
|
+
# {
|
10151
|
+
# text: "ButtonText", # required
|
10152
|
+
# value: "ButtonValue", # required
|
10153
|
+
# },
|
10154
|
+
# ],
|
10155
|
+
# },
|
10156
|
+
# },
|
10157
|
+
# variations: [
|
10158
|
+
# {
|
10159
|
+
# plain_text_message: {
|
10160
|
+
# value: "PlainTextMessageValue", # required
|
10161
|
+
# },
|
10162
|
+
# custom_payload: {
|
10163
|
+
# value: "CustomPayloadValue", # required
|
10164
|
+
# },
|
10165
|
+
# ssml_message: {
|
10166
|
+
# value: "SSMLMessageValue", # required
|
10167
|
+
# },
|
10168
|
+
# image_response_card: {
|
10169
|
+
# title: "AttachmentTitle", # required
|
10170
|
+
# subtitle: "AttachmentTitle",
|
10171
|
+
# image_url: "AttachmentUrl",
|
10172
|
+
# buttons: [
|
10173
|
+
# {
|
10174
|
+
# text: "ButtonText", # required
|
10175
|
+
# value: "ButtonValue", # required
|
10176
|
+
# },
|
10177
|
+
# ],
|
10178
|
+
# },
|
10179
|
+
# },
|
10180
|
+
# ],
|
10181
|
+
# },
|
10182
|
+
# ],
|
10183
|
+
# allow_interrupt: false,
|
10184
|
+
# },
|
10185
|
+
# timeout_response: {
|
10186
|
+
# message_groups: [ # required
|
10187
|
+
# {
|
10188
|
+
# message: { # required
|
10189
|
+
# plain_text_message: {
|
10190
|
+
# value: "PlainTextMessageValue", # required
|
10191
|
+
# },
|
10192
|
+
# custom_payload: {
|
10193
|
+
# value: "CustomPayloadValue", # required
|
10194
|
+
# },
|
10195
|
+
# ssml_message: {
|
10196
|
+
# value: "SSMLMessageValue", # required
|
10197
|
+
# },
|
10198
|
+
# image_response_card: {
|
10199
|
+
# title: "AttachmentTitle", # required
|
10200
|
+
# subtitle: "AttachmentTitle",
|
10201
|
+
# image_url: "AttachmentUrl",
|
10202
|
+
# buttons: [
|
10203
|
+
# {
|
10204
|
+
# text: "ButtonText", # required
|
10205
|
+
# value: "ButtonValue", # required
|
10206
|
+
# },
|
10207
|
+
# ],
|
10208
|
+
# },
|
10209
|
+
# },
|
10210
|
+
# variations: [
|
10211
|
+
# {
|
10212
|
+
# plain_text_message: {
|
10213
|
+
# value: "PlainTextMessageValue", # required
|
10214
|
+
# },
|
10215
|
+
# custom_payload: {
|
10216
|
+
# value: "CustomPayloadValue", # required
|
10217
|
+
# },
|
10218
|
+
# ssml_message: {
|
10219
|
+
# value: "SSMLMessageValue", # required
|
10220
|
+
# },
|
10221
|
+
# image_response_card: {
|
10222
|
+
# title: "AttachmentTitle", # required
|
10223
|
+
# subtitle: "AttachmentTitle",
|
10224
|
+
# image_url: "AttachmentUrl",
|
10225
|
+
# buttons: [
|
10226
|
+
# {
|
10227
|
+
# text: "ButtonText", # required
|
10228
|
+
# value: "ButtonValue", # required
|
10229
|
+
# },
|
10230
|
+
# ],
|
10231
|
+
# },
|
10232
|
+
# },
|
10233
|
+
# ],
|
10234
|
+
# },
|
10235
|
+
# ],
|
10236
|
+
# allow_interrupt: false,
|
10237
|
+
# },
|
10238
|
+
# },
|
10239
|
+
# fulfillment_updates_specification: {
|
10240
|
+
# active: false, # required
|
10241
|
+
# start_response: {
|
10242
|
+
# delay_in_seconds: 1, # required
|
10243
|
+
# message_groups: [ # required
|
10244
|
+
# {
|
10245
|
+
# message: { # required
|
10246
|
+
# plain_text_message: {
|
10247
|
+
# value: "PlainTextMessageValue", # required
|
10248
|
+
# },
|
10249
|
+
# custom_payload: {
|
10250
|
+
# value: "CustomPayloadValue", # required
|
10251
|
+
# },
|
10252
|
+
# ssml_message: {
|
10253
|
+
# value: "SSMLMessageValue", # required
|
10254
|
+
# },
|
10255
|
+
# image_response_card: {
|
10256
|
+
# title: "AttachmentTitle", # required
|
10257
|
+
# subtitle: "AttachmentTitle",
|
10258
|
+
# image_url: "AttachmentUrl",
|
10259
|
+
# buttons: [
|
10260
|
+
# {
|
10261
|
+
# text: "ButtonText", # required
|
10262
|
+
# value: "ButtonValue", # required
|
10263
|
+
# },
|
10264
|
+
# ],
|
10265
|
+
# },
|
10266
|
+
# },
|
10267
|
+
# variations: [
|
10268
|
+
# {
|
10269
|
+
# plain_text_message: {
|
10270
|
+
# value: "PlainTextMessageValue", # required
|
10271
|
+
# },
|
10272
|
+
# custom_payload: {
|
10273
|
+
# value: "CustomPayloadValue", # required
|
10274
|
+
# },
|
10275
|
+
# ssml_message: {
|
10276
|
+
# value: "SSMLMessageValue", # required
|
10277
|
+
# },
|
10278
|
+
# image_response_card: {
|
10279
|
+
# title: "AttachmentTitle", # required
|
10280
|
+
# subtitle: "AttachmentTitle",
|
10281
|
+
# image_url: "AttachmentUrl",
|
10282
|
+
# buttons: [
|
10283
|
+
# {
|
10284
|
+
# text: "ButtonText", # required
|
10285
|
+
# value: "ButtonValue", # required
|
10286
|
+
# },
|
10287
|
+
# ],
|
10288
|
+
# },
|
10289
|
+
# },
|
10290
|
+
# ],
|
10291
|
+
# },
|
10292
|
+
# ],
|
10293
|
+
# allow_interrupt: false,
|
10294
|
+
# },
|
10295
|
+
# update_response: {
|
10296
|
+
# frequency_in_seconds: 1, # required
|
10297
|
+
# message_groups: [ # required
|
10298
|
+
# {
|
10299
|
+
# message: { # required
|
10300
|
+
# plain_text_message: {
|
10301
|
+
# value: "PlainTextMessageValue", # required
|
10302
|
+
# },
|
10303
|
+
# custom_payload: {
|
10304
|
+
# value: "CustomPayloadValue", # required
|
10305
|
+
# },
|
10306
|
+
# ssml_message: {
|
10307
|
+
# value: "SSMLMessageValue", # required
|
10308
|
+
# },
|
10309
|
+
# image_response_card: {
|
10310
|
+
# title: "AttachmentTitle", # required
|
10311
|
+
# subtitle: "AttachmentTitle",
|
10312
|
+
# image_url: "AttachmentUrl",
|
10313
|
+
# buttons: [
|
10314
|
+
# {
|
10315
|
+
# text: "ButtonText", # required
|
10316
|
+
# value: "ButtonValue", # required
|
10317
|
+
# },
|
10318
|
+
# ],
|
10319
|
+
# },
|
10320
|
+
# },
|
10321
|
+
# variations: [
|
10322
|
+
# {
|
10323
|
+
# plain_text_message: {
|
10324
|
+
# value: "PlainTextMessageValue", # required
|
10325
|
+
# },
|
10326
|
+
# custom_payload: {
|
10327
|
+
# value: "CustomPayloadValue", # required
|
10328
|
+
# },
|
10329
|
+
# ssml_message: {
|
10330
|
+
# value: "SSMLMessageValue", # required
|
10331
|
+
# },
|
10332
|
+
# image_response_card: {
|
10333
|
+
# title: "AttachmentTitle", # required
|
10334
|
+
# subtitle: "AttachmentTitle",
|
10335
|
+
# image_url: "AttachmentUrl",
|
10336
|
+
# buttons: [
|
10337
|
+
# {
|
10338
|
+
# text: "ButtonText", # required
|
10339
|
+
# value: "ButtonValue", # required
|
10340
|
+
# },
|
10341
|
+
# ],
|
10342
|
+
# },
|
10343
|
+
# },
|
10344
|
+
# ],
|
10345
|
+
# },
|
10346
|
+
# ],
|
10347
|
+
# allow_interrupt: false,
|
10348
|
+
# },
|
10349
|
+
# timeout_in_seconds: 1,
|
10350
|
+
# },
|
8900
10351
|
# },
|
8901
10352
|
# slot_priorities: [
|
8902
10353
|
# {
|
@@ -9980,16 +11431,28 @@ module Aws::LexModelsV2
|
|
9980
11431
|
#
|
9981
11432
|
# {
|
9982
11433
|
# voice_id: "VoiceId", # required
|
11434
|
+
# engine: "standard", # accepts standard, neural
|
9983
11435
|
# }
|
9984
11436
|
#
|
9985
11437
|
# @!attribute [rw] voice_id
|
9986
11438
|
# The identifier of the Amazon Polly voice to use.
|
9987
11439
|
# @return [String]
|
9988
11440
|
#
|
11441
|
+
# @!attribute [rw] engine
|
11442
|
+
# Indicates the type of Amazon Polly voice that Amazon Lex should use
|
11443
|
+
# for voice interaction with the user. For more information, see
|
11444
|
+
# [Voices in Amazon Polly][1].
|
11445
|
+
#
|
11446
|
+
#
|
11447
|
+
#
|
11448
|
+
# [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
|
11449
|
+
# @return [String]
|
11450
|
+
#
|
9989
11451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
|
9990
11452
|
#
|
9991
11453
|
class VoiceSettings < Struct.new(
|
9992
|
-
:voice_id
|
11454
|
+
:voice_id,
|
11455
|
+
:engine)
|
9993
11456
|
SENSITIVE = []
|
9994
11457
|
include Aws::Structure
|
9995
11458
|
end
|
@@ -10182,10 +11645,8 @@ module Aws::LexModelsV2
|
|
10182
11645
|
#
|
10183
11646
|
# @!attribute [rw] active
|
10184
11647
|
# 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.
|
11648
|
+
# field is false, wait and continue responses for a slot aren't used.
|
11649
|
+
# If the `active` field isn't specified, the default is true.
|
10189
11650
|
# @return [Boolean]
|
10190
11651
|
#
|
10191
11652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/WaitAndContinueSpecification AWS API Documentation
|