aws-sdk-lexmodelbuildingservice 1.38.0 → 1.43.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89114a46974528d1c174f5349e3f4958b4e6b3a7e67547409e26043105e9c552
|
4
|
+
data.tar.gz: 95bb0ccd689a001bc1bc4e946690d356d50d94e2266cd5d26a48f5477ec212cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 214f0c07e0641cf9e70562d87673d846bee413afb02f7833bf21970fe1ff4e51da311c1fa21855061d9c3ab592296d0e46ff7c4ac101b91454c6f0d4430b96c1
|
7
|
+
data.tar.gz: d8cb12858a102aa41e27936d6551849fa8297ae9c3a33cde4a3243274631d0deb08f6e834fc0e1e199369f167003ac63cf57c0d28b8c2fe1b650a859c12b718f
|
@@ -409,7 +409,7 @@ module Aws::LexModelBuildingService
|
|
409
409
|
# resp.voice_id #=> String
|
410
410
|
# resp.checksum #=> String
|
411
411
|
# resp.version #=> String
|
412
|
-
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
412
|
+
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
413
413
|
# resp.child_directed #=> Boolean
|
414
414
|
# resp.enable_model_improvements #=> Boolean
|
415
415
|
# resp.detect_sentiment #=> Boolean
|
@@ -471,6 +471,8 @@ module Aws::LexModelBuildingService
|
|
471
471
|
# * {Types::CreateIntentVersionResponse#version #version} => String
|
472
472
|
# * {Types::CreateIntentVersionResponse#checksum #checksum} => String
|
473
473
|
# * {Types::CreateIntentVersionResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
474
|
+
# * {Types::CreateIntentVersionResponse#input_contexts #input_contexts} => Array<Types::InputContext>
|
475
|
+
# * {Types::CreateIntentVersionResponse#output_contexts #output_contexts} => Array<Types::OutputContext>
|
474
476
|
#
|
475
477
|
# @example Request syntax with placeholder values
|
476
478
|
#
|
@@ -500,6 +502,8 @@ module Aws::LexModelBuildingService
|
|
500
502
|
# resp.slots[0].sample_utterances[0] #=> String
|
501
503
|
# resp.slots[0].response_card #=> String
|
502
504
|
# resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
|
505
|
+
# resp.slots[0].default_value_spec.default_value_list #=> Array
|
506
|
+
# resp.slots[0].default_value_spec.default_value_list[0].default_value #=> String
|
503
507
|
# resp.sample_utterances #=> Array
|
504
508
|
# resp.sample_utterances[0] #=> String
|
505
509
|
# resp.confirmation_prompt.messages #=> Array
|
@@ -542,6 +546,12 @@ module Aws::LexModelBuildingService
|
|
542
546
|
# resp.kendra_configuration.kendra_index #=> String
|
543
547
|
# resp.kendra_configuration.query_filter_string #=> String
|
544
548
|
# resp.kendra_configuration.role #=> String
|
549
|
+
# resp.input_contexts #=> Array
|
550
|
+
# resp.input_contexts[0].name #=> String
|
551
|
+
# resp.output_contexts #=> Array
|
552
|
+
# resp.output_contexts[0].name #=> String
|
553
|
+
# resp.output_contexts[0].time_to_live_in_seconds #=> Integer
|
554
|
+
# resp.output_contexts[0].turns_to_live #=> Integer
|
545
555
|
#
|
546
556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion AWS API Documentation
|
547
557
|
#
|
@@ -1082,7 +1092,7 @@ module Aws::LexModelBuildingService
|
|
1082
1092
|
# resp.voice_id #=> String
|
1083
1093
|
# resp.checksum #=> String
|
1084
1094
|
# resp.version #=> String
|
1085
|
-
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
1095
|
+
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
1086
1096
|
# resp.child_directed #=> Boolean
|
1087
1097
|
# resp.detect_sentiment #=> Boolean
|
1088
1098
|
#
|
@@ -1524,7 +1534,7 @@ module Aws::LexModelBuildingService
|
|
1524
1534
|
#
|
1525
1535
|
# resp.signature #=> String
|
1526
1536
|
# resp.supported_locales #=> Array
|
1527
|
-
# resp.supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
1537
|
+
# resp.supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
1528
1538
|
# resp.slots #=> Array
|
1529
1539
|
# resp.slots[0].name #=> String
|
1530
1540
|
#
|
@@ -1576,7 +1586,7 @@ module Aws::LexModelBuildingService
|
|
1576
1586
|
# @example Request syntax with placeholder values
|
1577
1587
|
#
|
1578
1588
|
# resp = client.get_builtin_intents({
|
1579
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-US
|
1589
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1580
1590
|
# signature_contains: "String",
|
1581
1591
|
# next_token: "NextToken",
|
1582
1592
|
# max_results: 1,
|
@@ -1587,7 +1597,7 @@ module Aws::LexModelBuildingService
|
|
1587
1597
|
# resp.intents #=> Array
|
1588
1598
|
# resp.intents[0].signature #=> String
|
1589
1599
|
# resp.intents[0].supported_locales #=> Array
|
1590
|
-
# resp.intents[0].supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
1600
|
+
# resp.intents[0].supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
1591
1601
|
# resp.next_token #=> String
|
1592
1602
|
#
|
1593
1603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinIntents AWS API Documentation
|
@@ -1639,7 +1649,7 @@ module Aws::LexModelBuildingService
|
|
1639
1649
|
# @example Request syntax with placeholder values
|
1640
1650
|
#
|
1641
1651
|
# resp = client.get_builtin_slot_types({
|
1642
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-US
|
1652
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1643
1653
|
# signature_contains: "String",
|
1644
1654
|
# next_token: "NextToken",
|
1645
1655
|
# max_results: 1,
|
@@ -1650,7 +1660,7 @@ module Aws::LexModelBuildingService
|
|
1650
1660
|
# resp.slot_types #=> Array
|
1651
1661
|
# resp.slot_types[0].signature #=> String
|
1652
1662
|
# resp.slot_types[0].supported_locales #=> Array
|
1653
|
-
# resp.slot_types[0].supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
1663
|
+
# resp.slot_types[0].supported_locales[0] #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
1654
1664
|
# resp.next_token #=> String
|
1655
1665
|
#
|
1656
1666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetBuiltinSlotTypes AWS API Documentation
|
@@ -1786,6 +1796,8 @@ module Aws::LexModelBuildingService
|
|
1786
1796
|
# * {Types::GetIntentResponse#version #version} => String
|
1787
1797
|
# * {Types::GetIntentResponse#checksum #checksum} => String
|
1788
1798
|
# * {Types::GetIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
1799
|
+
# * {Types::GetIntentResponse#input_contexts #input_contexts} => Array<Types::InputContext>
|
1800
|
+
# * {Types::GetIntentResponse#output_contexts #output_contexts} => Array<Types::OutputContext>
|
1789
1801
|
#
|
1790
1802
|
#
|
1791
1803
|
# @example Example: To get a information about an intent
|
@@ -1960,6 +1972,8 @@ module Aws::LexModelBuildingService
|
|
1960
1972
|
# resp.slots[0].sample_utterances[0] #=> String
|
1961
1973
|
# resp.slots[0].response_card #=> String
|
1962
1974
|
# resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
|
1975
|
+
# resp.slots[0].default_value_spec.default_value_list #=> Array
|
1976
|
+
# resp.slots[0].default_value_spec.default_value_list[0].default_value #=> String
|
1963
1977
|
# resp.sample_utterances #=> Array
|
1964
1978
|
# resp.sample_utterances[0] #=> String
|
1965
1979
|
# resp.confirmation_prompt.messages #=> Array
|
@@ -2002,6 +2016,12 @@ module Aws::LexModelBuildingService
|
|
2002
2016
|
# resp.kendra_configuration.kendra_index #=> String
|
2003
2017
|
# resp.kendra_configuration.query_filter_string #=> String
|
2004
2018
|
# resp.kendra_configuration.role #=> String
|
2019
|
+
# resp.input_contexts #=> Array
|
2020
|
+
# resp.input_contexts[0].name #=> String
|
2021
|
+
# resp.output_contexts #=> Array
|
2022
|
+
# resp.output_contexts[0].name #=> String
|
2023
|
+
# resp.output_contexts[0].time_to_live_in_seconds #=> Integer
|
2024
|
+
# resp.output_contexts[0].turns_to_live #=> Integer
|
2005
2025
|
#
|
2006
2026
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent AWS API Documentation
|
2007
2027
|
#
|
@@ -2561,14 +2581,6 @@ module Aws::LexModelBuildingService
|
|
2561
2581
|
# `true` by default. In these Regions setting the parameter to `false`
|
2562
2582
|
# throws a `ValidationException` exception.
|
2563
2583
|
#
|
2564
|
-
# * Asia Pacific (Singapore) (ap-southeast-1)
|
2565
|
-
#
|
2566
|
-
# * Asia Pacific (Tokyo) (ap-northeast-1)
|
2567
|
-
#
|
2568
|
-
# * EU (Frankfurt) (eu-central-1)
|
2569
|
-
#
|
2570
|
-
# * EU (London) (eu-west-2)
|
2571
|
-
#
|
2572
2584
|
#
|
2573
2585
|
#
|
2574
2586
|
# [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
|
@@ -2581,7 +2593,7 @@ module Aws::LexModelBuildingService
|
|
2581
2593
|
# only inserted if they are configured for the bot.
|
2582
2594
|
#
|
2583
2595
|
# You must set the `enableModelImprovements` parameter to `true` to use
|
2584
|
-
# confidence scores.
|
2596
|
+
# confidence scores in the following regions.
|
2585
2597
|
#
|
2586
2598
|
# * US East (N. Virginia) (us-east-1)
|
2587
2599
|
#
|
@@ -2933,7 +2945,7 @@ module Aws::LexModelBuildingService
|
|
2933
2945
|
# voice_id: "String",
|
2934
2946
|
# checksum: "String",
|
2935
2947
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
2936
|
-
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-US, es-US
|
2948
|
+
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
2937
2949
|
# child_directed: false, # required
|
2938
2950
|
# detect_sentiment: false,
|
2939
2951
|
# create_version: false,
|
@@ -2973,7 +2985,7 @@ module Aws::LexModelBuildingService
|
|
2973
2985
|
# resp.voice_id #=> String
|
2974
2986
|
# resp.checksum #=> String
|
2975
2987
|
# resp.version #=> String
|
2976
|
-
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-US"
|
2988
|
+
# resp.locale #=> String, one of "de-DE", "en-AU", "en-GB", "en-US", "es-419", "es-ES", "es-US", "fr-FR", "fr-CA", "it-IT"
|
2977
2989
|
# resp.child_directed #=> Boolean
|
2978
2990
|
# resp.create_version #=> Boolean
|
2979
2991
|
# resp.detect_sentiment #=> Boolean
|
@@ -3296,6 +3308,15 @@ module Aws::LexModelBuildingService
|
|
3296
3308
|
#
|
3297
3309
|
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
3298
3310
|
#
|
3311
|
+
# @option params [Array<Types::InputContext>] :input_contexts
|
3312
|
+
# An array of `InputContext` objects that lists the contexts that must
|
3313
|
+
# be active for Amazon Lex to choose the intent in a conversation with
|
3314
|
+
# the user.
|
3315
|
+
#
|
3316
|
+
# @option params [Array<Types::OutputContext>] :output_contexts
|
3317
|
+
# An array of `OutputContext` objects that lists the contexts that the
|
3318
|
+
# intent activates when the intent is fulfilled.
|
3319
|
+
#
|
3299
3320
|
# @return [Types::PutIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3300
3321
|
#
|
3301
3322
|
# * {Types::PutIntentResponse#name #name} => String
|
@@ -3315,6 +3336,8 @@ module Aws::LexModelBuildingService
|
|
3315
3336
|
# * {Types::PutIntentResponse#checksum #checksum} => String
|
3316
3337
|
# * {Types::PutIntentResponse#create_version #create_version} => Boolean
|
3317
3338
|
# * {Types::PutIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
3339
|
+
# * {Types::PutIntentResponse#input_contexts #input_contexts} => Array<Types::InputContext>
|
3340
|
+
# * {Types::PutIntentResponse#output_contexts #output_contexts} => Array<Types::OutputContext>
|
3318
3341
|
#
|
3319
3342
|
#
|
3320
3343
|
# @example Example: To create an intent
|
@@ -3613,6 +3636,13 @@ module Aws::LexModelBuildingService
|
|
3613
3636
|
# sample_utterances: ["Utterance"],
|
3614
3637
|
# response_card: "ResponseCard",
|
3615
3638
|
# obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
|
3639
|
+
# default_value_spec: {
|
3640
|
+
# default_value_list: [ # required
|
3641
|
+
# {
|
3642
|
+
# default_value: "SlotDefaultValueString", # required
|
3643
|
+
# },
|
3644
|
+
# ],
|
3645
|
+
# },
|
3616
3646
|
# },
|
3617
3647
|
# ],
|
3618
3648
|
# sample_utterances: ["Utterance"],
|
@@ -3689,6 +3719,18 @@ module Aws::LexModelBuildingService
|
|
3689
3719
|
# query_filter_string: "QueryFilterString",
|
3690
3720
|
# role: "roleArn", # required
|
3691
3721
|
# },
|
3722
|
+
# input_contexts: [
|
3723
|
+
# {
|
3724
|
+
# name: "InputContextName", # required
|
3725
|
+
# },
|
3726
|
+
# ],
|
3727
|
+
# output_contexts: [
|
3728
|
+
# {
|
3729
|
+
# name: "OutputContextName", # required
|
3730
|
+
# time_to_live_in_seconds: 1, # required
|
3731
|
+
# turns_to_live: 1, # required
|
3732
|
+
# },
|
3733
|
+
# ],
|
3692
3734
|
# })
|
3693
3735
|
#
|
3694
3736
|
# @example Response structure
|
@@ -3712,6 +3754,8 @@ module Aws::LexModelBuildingService
|
|
3712
3754
|
# resp.slots[0].sample_utterances[0] #=> String
|
3713
3755
|
# resp.slots[0].response_card #=> String
|
3714
3756
|
# resp.slots[0].obfuscation_setting #=> String, one of "NONE", "DEFAULT_OBFUSCATION"
|
3757
|
+
# resp.slots[0].default_value_spec.default_value_list #=> Array
|
3758
|
+
# resp.slots[0].default_value_spec.default_value_list[0].default_value #=> String
|
3715
3759
|
# resp.sample_utterances #=> Array
|
3716
3760
|
# resp.sample_utterances[0] #=> String
|
3717
3761
|
# resp.confirmation_prompt.messages #=> Array
|
@@ -3755,6 +3799,12 @@ module Aws::LexModelBuildingService
|
|
3755
3799
|
# resp.kendra_configuration.kendra_index #=> String
|
3756
3800
|
# resp.kendra_configuration.query_filter_string #=> String
|
3757
3801
|
# resp.kendra_configuration.role #=> String
|
3802
|
+
# resp.input_contexts #=> Array
|
3803
|
+
# resp.input_contexts[0].name #=> String
|
3804
|
+
# resp.output_contexts #=> Array
|
3805
|
+
# resp.output_contexts[0].name #=> String
|
3806
|
+
# resp.output_contexts[0].time_to_live_in_seconds #=> Integer
|
3807
|
+
# resp.output_contexts[0].turns_to_live #=> Integer
|
3758
3808
|
#
|
3759
3809
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent AWS API Documentation
|
3760
3810
|
#
|
@@ -4111,7 +4161,7 @@ module Aws::LexModelBuildingService
|
|
4111
4161
|
params: params,
|
4112
4162
|
config: config)
|
4113
4163
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
4114
|
-
context[:gem_version] = '1.
|
4164
|
+
context[:gem_version] = '1.43.0'
|
4115
4165
|
Seahorse::Client::Request.new(handlers, context)
|
4116
4166
|
end
|
4117
4167
|
|
@@ -44,6 +44,8 @@ module Aws::LexModelBuildingService
|
|
44
44
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
45
45
|
ContentString = Shapes::StringShape.new(name: 'ContentString')
|
46
46
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
47
|
+
ContextTimeToLiveInSeconds = Shapes::IntegerShape.new(name: 'ContextTimeToLiveInSeconds')
|
48
|
+
ContextTurnsToLive = Shapes::IntegerShape.new(name: 'ContextTurnsToLive')
|
47
49
|
ConversationLogsRequest = Shapes::StructureShape.new(name: 'ConversationLogsRequest')
|
48
50
|
ConversationLogsResponse = Shapes::StructureShape.new(name: 'ConversationLogsResponse')
|
49
51
|
Count = Shapes::IntegerShape.new(name: 'Count')
|
@@ -113,6 +115,9 @@ module Aws::LexModelBuildingService
|
|
113
115
|
GroupNumber = Shapes::IntegerShape.new(name: 'GroupNumber')
|
114
116
|
IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
|
115
117
|
ImportStatus = Shapes::StringShape.new(name: 'ImportStatus')
|
118
|
+
InputContext = Shapes::StructureShape.new(name: 'InputContext')
|
119
|
+
InputContextList = Shapes::ListShape.new(name: 'InputContextList')
|
120
|
+
InputContextName = Shapes::StringShape.new(name: 'InputContextName')
|
116
121
|
Intent = Shapes::StructureShape.new(name: 'Intent')
|
117
122
|
IntentList = Shapes::ListShape.new(name: 'IntentList')
|
118
123
|
IntentMetadata = Shapes::StructureShape.new(name: 'IntentMetadata')
|
@@ -146,6 +151,9 @@ module Aws::LexModelBuildingService
|
|
146
151
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
147
152
|
NumericalVersion = Shapes::StringShape.new(name: 'NumericalVersion')
|
148
153
|
ObfuscationSetting = Shapes::StringShape.new(name: 'ObfuscationSetting')
|
154
|
+
OutputContext = Shapes::StructureShape.new(name: 'OutputContext')
|
155
|
+
OutputContextList = Shapes::ListShape.new(name: 'OutputContextList')
|
156
|
+
OutputContextName = Shapes::StringShape.new(name: 'OutputContextName')
|
149
157
|
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
|
150
158
|
Priority = Shapes::IntegerShape.new(name: 'Priority')
|
151
159
|
ProcessBehavior = Shapes::StringShape.new(name: 'ProcessBehavior')
|
@@ -171,6 +179,10 @@ module Aws::LexModelBuildingService
|
|
171
179
|
SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
|
172
180
|
Slot = Shapes::StructureShape.new(name: 'Slot')
|
173
181
|
SlotConstraint = Shapes::StringShape.new(name: 'SlotConstraint')
|
182
|
+
SlotDefaultValue = Shapes::StructureShape.new(name: 'SlotDefaultValue')
|
183
|
+
SlotDefaultValueList = Shapes::ListShape.new(name: 'SlotDefaultValueList')
|
184
|
+
SlotDefaultValueSpec = Shapes::StructureShape.new(name: 'SlotDefaultValueSpec')
|
185
|
+
SlotDefaultValueString = Shapes::StringShape.new(name: 'SlotDefaultValueString')
|
174
186
|
SlotList = Shapes::ListShape.new(name: 'SlotList')
|
175
187
|
SlotName = Shapes::StringShape.new(name: 'SlotName')
|
176
188
|
SlotTypeConfiguration = Shapes::StructureShape.new(name: 'SlotTypeConfiguration')
|
@@ -326,6 +338,8 @@ module Aws::LexModelBuildingService
|
|
326
338
|
CreateIntentVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
327
339
|
CreateIntentVersionResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
328
340
|
CreateIntentVersionResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
|
341
|
+
CreateIntentVersionResponse.add_member(:input_contexts, Shapes::ShapeRef.new(shape: InputContextList, location_name: "inputContexts"))
|
342
|
+
CreateIntentVersionResponse.add_member(:output_contexts, Shapes::ShapeRef.new(shape: OutputContextList, location_name: "outputContexts"))
|
329
343
|
CreateIntentVersionResponse.struct_class = Types::CreateIntentVersionResponse
|
330
344
|
|
331
345
|
CreateSlotTypeVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
|
@@ -560,6 +574,8 @@ module Aws::LexModelBuildingService
|
|
560
574
|
GetIntentResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
561
575
|
GetIntentResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
562
576
|
GetIntentResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
|
577
|
+
GetIntentResponse.add_member(:input_contexts, Shapes::ShapeRef.new(shape: InputContextList, location_name: "inputContexts"))
|
578
|
+
GetIntentResponse.add_member(:output_contexts, Shapes::ShapeRef.new(shape: OutputContextList, location_name: "outputContexts"))
|
563
579
|
GetIntentResponse.struct_class = Types::GetIntentResponse
|
564
580
|
|
565
581
|
GetIntentVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
|
@@ -623,6 +639,11 @@ module Aws::LexModelBuildingService
|
|
623
639
|
GetUtterancesViewResponse.add_member(:utterances, Shapes::ShapeRef.new(shape: ListsOfUtterances, location_name: "utterances"))
|
624
640
|
GetUtterancesViewResponse.struct_class = Types::GetUtterancesViewResponse
|
625
641
|
|
642
|
+
InputContext.add_member(:name, Shapes::ShapeRef.new(shape: InputContextName, required: true, location_name: "name"))
|
643
|
+
InputContext.struct_class = Types::InputContext
|
644
|
+
|
645
|
+
InputContextList.member = Shapes::ShapeRef.new(shape: InputContext)
|
646
|
+
|
626
647
|
Intent.add_member(:intent_name, Shapes::ShapeRef.new(shape: IntentName, required: true, location_name: "intentName"))
|
627
648
|
Intent.add_member(:intent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "intentVersion"))
|
628
649
|
Intent.struct_class = Types::Intent
|
@@ -691,6 +712,13 @@ module Aws::LexModelBuildingService
|
|
691
712
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
692
713
|
NotFoundException.struct_class = Types::NotFoundException
|
693
714
|
|
715
|
+
OutputContext.add_member(:name, Shapes::ShapeRef.new(shape: OutputContextName, required: true, location_name: "name"))
|
716
|
+
OutputContext.add_member(:time_to_live_in_seconds, Shapes::ShapeRef.new(shape: ContextTimeToLiveInSeconds, required: true, location_name: "timeToLiveInSeconds"))
|
717
|
+
OutputContext.add_member(:turns_to_live, Shapes::ShapeRef.new(shape: ContextTurnsToLive, required: true, location_name: "turnsToLive"))
|
718
|
+
OutputContext.struct_class = Types::OutputContext
|
719
|
+
|
720
|
+
OutputContextList.member = Shapes::ShapeRef.new(shape: OutputContext)
|
721
|
+
|
694
722
|
PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
695
723
|
PreconditionFailedException.struct_class = Types::PreconditionFailedException
|
696
724
|
|
@@ -773,6 +801,8 @@ module Aws::LexModelBuildingService
|
|
773
801
|
PutIntentRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
774
802
|
PutIntentRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
|
775
803
|
PutIntentRequest.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
|
804
|
+
PutIntentRequest.add_member(:input_contexts, Shapes::ShapeRef.new(shape: InputContextList, location_name: "inputContexts"))
|
805
|
+
PutIntentRequest.add_member(:output_contexts, Shapes::ShapeRef.new(shape: OutputContextList, location_name: "outputContexts"))
|
776
806
|
PutIntentRequest.struct_class = Types::PutIntentRequest
|
777
807
|
|
778
808
|
PutIntentResponse.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, location_name: "name"))
|
@@ -792,6 +822,8 @@ module Aws::LexModelBuildingService
|
|
792
822
|
PutIntentResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
793
823
|
PutIntentResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
|
794
824
|
PutIntentResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
|
825
|
+
PutIntentResponse.add_member(:input_contexts, Shapes::ShapeRef.new(shape: InputContextList, location_name: "inputContexts"))
|
826
|
+
PutIntentResponse.add_member(:output_contexts, Shapes::ShapeRef.new(shape: OutputContextList, location_name: "outputContexts"))
|
795
827
|
PutIntentResponse.struct_class = Types::PutIntentResponse
|
796
828
|
|
797
829
|
PutSlotTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
|
@@ -835,8 +867,17 @@ module Aws::LexModelBuildingService
|
|
835
867
|
Slot.add_member(:sample_utterances, Shapes::ShapeRef.new(shape: SlotUtteranceList, location_name: "sampleUtterances"))
|
836
868
|
Slot.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
|
837
869
|
Slot.add_member(:obfuscation_setting, Shapes::ShapeRef.new(shape: ObfuscationSetting, location_name: "obfuscationSetting"))
|
870
|
+
Slot.add_member(:default_value_spec, Shapes::ShapeRef.new(shape: SlotDefaultValueSpec, location_name: "defaultValueSpec"))
|
838
871
|
Slot.struct_class = Types::Slot
|
839
872
|
|
873
|
+
SlotDefaultValue.add_member(:default_value, Shapes::ShapeRef.new(shape: SlotDefaultValueString, required: true, location_name: "defaultValue"))
|
874
|
+
SlotDefaultValue.struct_class = Types::SlotDefaultValue
|
875
|
+
|
876
|
+
SlotDefaultValueList.member = Shapes::ShapeRef.new(shape: SlotDefaultValue)
|
877
|
+
|
878
|
+
SlotDefaultValueSpec.add_member(:default_value_list, Shapes::ShapeRef.new(shape: SlotDefaultValueList, required: true, location_name: "defaultValueList"))
|
879
|
+
SlotDefaultValueSpec.struct_class = Types::SlotDefaultValueSpec
|
880
|
+
|
840
881
|
SlotList.member = Shapes::ShapeRef.new(shape: Slot)
|
841
882
|
|
842
883
|
SlotTypeConfiguration.add_member(:regex_configuration, Shapes::ShapeRef.new(shape: SlotTypeRegexConfiguration, location_name: "regexConfiguration"))
|
@@ -631,6 +631,17 @@ module Aws::LexModelBuildingService
|
|
631
631
|
# index with the `AMAZON.KendraSearchIntent` intent.
|
632
632
|
# @return [Types::KendraConfiguration]
|
633
633
|
#
|
634
|
+
# @!attribute [rw] input_contexts
|
635
|
+
# An array of `InputContext` objects that lists the contexts that must
|
636
|
+
# be active for Amazon Lex to choose the intent in a conversation with
|
637
|
+
# the user.
|
638
|
+
# @return [Array<Types::InputContext>]
|
639
|
+
#
|
640
|
+
# @!attribute [rw] output_contexts
|
641
|
+
# An array of `OutputContext` objects that lists the contexts that the
|
642
|
+
# intent activates when the intent is fulfilled.
|
643
|
+
# @return [Array<Types::OutputContext>]
|
644
|
+
#
|
634
645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersionResponse AWS API Documentation
|
635
646
|
#
|
636
647
|
class CreateIntentVersionResponse < Struct.new(
|
@@ -649,7 +660,9 @@ module Aws::LexModelBuildingService
|
|
649
660
|
:created_date,
|
650
661
|
:version,
|
651
662
|
:checksum,
|
652
|
-
:kendra_configuration
|
663
|
+
:kendra_configuration,
|
664
|
+
:input_contexts,
|
665
|
+
:output_contexts)
|
653
666
|
SENSITIVE = []
|
654
667
|
include Aws::Structure
|
655
668
|
end
|
@@ -1768,7 +1781,7 @@ module Aws::LexModelBuildingService
|
|
1768
1781
|
# data as a hash:
|
1769
1782
|
#
|
1770
1783
|
# {
|
1771
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-US
|
1784
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1772
1785
|
# signature_contains: "String",
|
1773
1786
|
# next_token: "NextToken",
|
1774
1787
|
# max_results: 1,
|
@@ -1838,7 +1851,7 @@ module Aws::LexModelBuildingService
|
|
1838
1851
|
# data as a hash:
|
1839
1852
|
#
|
1840
1853
|
# {
|
1841
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-US
|
1854
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1842
1855
|
# signature_contains: "String",
|
1843
1856
|
# next_token: "NextToken",
|
1844
1857
|
# max_results: 1,
|
@@ -2150,6 +2163,17 @@ module Aws::LexModelBuildingService
|
|
2150
2163
|
# index with the `AMAZON.KendraSearchIntent` intent.
|
2151
2164
|
# @return [Types::KendraConfiguration]
|
2152
2165
|
#
|
2166
|
+
# @!attribute [rw] input_contexts
|
2167
|
+
# An array of `InputContext` objects that lists the contexts that must
|
2168
|
+
# be active for Amazon Lex to choose the intent in a conversation with
|
2169
|
+
# the user.
|
2170
|
+
# @return [Array<Types::InputContext>]
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] output_contexts
|
2173
|
+
# An array of `OutputContext` objects that lists the contexts that the
|
2174
|
+
# intent activates when the intent is fulfilled.
|
2175
|
+
# @return [Array<Types::OutputContext>]
|
2176
|
+
#
|
2153
2177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntentResponse AWS API Documentation
|
2154
2178
|
#
|
2155
2179
|
class GetIntentResponse < Struct.new(
|
@@ -2168,7 +2192,9 @@ module Aws::LexModelBuildingService
|
|
2168
2192
|
:created_date,
|
2169
2193
|
:version,
|
2170
2194
|
:checksum,
|
2171
|
-
:kendra_configuration
|
2195
|
+
:kendra_configuration,
|
2196
|
+
:input_contexts,
|
2197
|
+
:output_contexts)
|
2172
2198
|
SENSITIVE = []
|
2173
2199
|
include Aws::Structure
|
2174
2200
|
end
|
@@ -2541,6 +2567,28 @@ module Aws::LexModelBuildingService
|
|
2541
2567
|
include Aws::Structure
|
2542
2568
|
end
|
2543
2569
|
|
2570
|
+
# The name of a context that must be active for an intent to be selected
|
2571
|
+
# by Amazon Lex.
|
2572
|
+
#
|
2573
|
+
# @note When making an API call, you may pass InputContext
|
2574
|
+
# data as a hash:
|
2575
|
+
#
|
2576
|
+
# {
|
2577
|
+
# name: "InputContextName", # required
|
2578
|
+
# }
|
2579
|
+
#
|
2580
|
+
# @!attribute [rw] name
|
2581
|
+
# The name of the context.
|
2582
|
+
# @return [String]
|
2583
|
+
#
|
2584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/InputContext AWS API Documentation
|
2585
|
+
#
|
2586
|
+
class InputContext < Struct.new(
|
2587
|
+
:name)
|
2588
|
+
SENSITIVE = []
|
2589
|
+
include Aws::Structure
|
2590
|
+
end
|
2591
|
+
|
2544
2592
|
# Identifies the specific version of an intent.
|
2545
2593
|
#
|
2546
2594
|
# @note When making an API call, you may pass Intent
|
@@ -2855,6 +2903,44 @@ module Aws::LexModelBuildingService
|
|
2855
2903
|
include Aws::Structure
|
2856
2904
|
end
|
2857
2905
|
|
2906
|
+
# The specification of an output context that is set when an intent is
|
2907
|
+
# fulfilled.
|
2908
|
+
#
|
2909
|
+
# @note When making an API call, you may pass OutputContext
|
2910
|
+
# data as a hash:
|
2911
|
+
#
|
2912
|
+
# {
|
2913
|
+
# name: "OutputContextName", # required
|
2914
|
+
# time_to_live_in_seconds: 1, # required
|
2915
|
+
# turns_to_live: 1, # required
|
2916
|
+
# }
|
2917
|
+
#
|
2918
|
+
# @!attribute [rw] name
|
2919
|
+
# The name of the context.
|
2920
|
+
# @return [String]
|
2921
|
+
#
|
2922
|
+
# @!attribute [rw] time_to_live_in_seconds
|
2923
|
+
# The number of seconds that the context should be active after it is
|
2924
|
+
# first sent in a `PostContent` or `PostText` response. You can set
|
2925
|
+
# the value between 5 and 86,400 seconds (24 hours).
|
2926
|
+
# @return [Integer]
|
2927
|
+
#
|
2928
|
+
# @!attribute [rw] turns_to_live
|
2929
|
+
# The number of conversation turns that the context should be active.
|
2930
|
+
# A conversation turn is one `PostContent` or `PostText` request and
|
2931
|
+
# the corresponding response from Amazon Lex.
|
2932
|
+
# @return [Integer]
|
2933
|
+
#
|
2934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/OutputContext AWS API Documentation
|
2935
|
+
#
|
2936
|
+
class OutputContext < Struct.new(
|
2937
|
+
:name,
|
2938
|
+
:time_to_live_in_seconds,
|
2939
|
+
:turns_to_live)
|
2940
|
+
SENSITIVE = []
|
2941
|
+
include Aws::Structure
|
2942
|
+
end
|
2943
|
+
|
2858
2944
|
# The checksum of the resource that you are trying to change does not
|
2859
2945
|
# match the checksum in the request. Check the resource's checksum and
|
2860
2946
|
# try again.
|
@@ -3093,7 +3179,7 @@ module Aws::LexModelBuildingService
|
|
3093
3179
|
# voice_id: "String",
|
3094
3180
|
# checksum: "String",
|
3095
3181
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
3096
|
-
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-US, es-US
|
3182
|
+
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
3097
3183
|
# child_directed: false, # required
|
3098
3184
|
# detect_sentiment: false,
|
3099
3185
|
# create_version: false,
|
@@ -3146,14 +3232,6 @@ module Aws::LexModelBuildingService
|
|
3146
3232
|
# `true` by default. In these Regions setting the parameter to `false`
|
3147
3233
|
# throws a `ValidationException` exception.
|
3148
3234
|
#
|
3149
|
-
# * Asia Pacific (Singapore) (ap-southeast-1)
|
3150
|
-
#
|
3151
|
-
# * Asia Pacific (Tokyo) (ap-northeast-1)
|
3152
|
-
#
|
3153
|
-
# * EU (Frankfurt) (eu-central-1)
|
3154
|
-
#
|
3155
|
-
# * EU (London) (eu-west-2)
|
3156
|
-
#
|
3157
3235
|
#
|
3158
3236
|
#
|
3159
3237
|
# [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
|
@@ -3167,7 +3245,7 @@ module Aws::LexModelBuildingService
|
|
3167
3245
|
# are only inserted if they are configured for the bot.
|
3168
3246
|
#
|
3169
3247
|
# You must set the `enableModelImprovements` parameter to `true` to
|
3170
|
-
# use confidence scores.
|
3248
|
+
# use confidence scores in the following regions.
|
3171
3249
|
#
|
3172
3250
|
# * US East (N. Virginia) (us-east-1)
|
3173
3251
|
#
|
@@ -3609,6 +3687,13 @@ module Aws::LexModelBuildingService
|
|
3609
3687
|
# sample_utterances: ["Utterance"],
|
3610
3688
|
# response_card: "ResponseCard",
|
3611
3689
|
# obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
|
3690
|
+
# default_value_spec: {
|
3691
|
+
# default_value_list: [ # required
|
3692
|
+
# {
|
3693
|
+
# default_value: "SlotDefaultValueString", # required
|
3694
|
+
# },
|
3695
|
+
# ],
|
3696
|
+
# },
|
3612
3697
|
# },
|
3613
3698
|
# ],
|
3614
3699
|
# sample_utterances: ["Utterance"],
|
@@ -3685,6 +3770,18 @@ module Aws::LexModelBuildingService
|
|
3685
3770
|
# query_filter_string: "QueryFilterString",
|
3686
3771
|
# role: "roleArn", # required
|
3687
3772
|
# },
|
3773
|
+
# input_contexts: [
|
3774
|
+
# {
|
3775
|
+
# name: "InputContextName", # required
|
3776
|
+
# },
|
3777
|
+
# ],
|
3778
|
+
# output_contexts: [
|
3779
|
+
# {
|
3780
|
+
# name: "OutputContextName", # required
|
3781
|
+
# time_to_live_in_seconds: 1, # required
|
3782
|
+
# turns_to_live: 1, # required
|
3783
|
+
# },
|
3784
|
+
# ],
|
3688
3785
|
# }
|
3689
3786
|
#
|
3690
3787
|
# @!attribute [rw] name
|
@@ -3850,6 +3947,17 @@ module Aws::LexModelBuildingService
|
|
3850
3947
|
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
3851
3948
|
# @return [Types::KendraConfiguration]
|
3852
3949
|
#
|
3950
|
+
# @!attribute [rw] input_contexts
|
3951
|
+
# An array of `InputContext` objects that lists the contexts that must
|
3952
|
+
# be active for Amazon Lex to choose the intent in a conversation with
|
3953
|
+
# the user.
|
3954
|
+
# @return [Array<Types::InputContext>]
|
3955
|
+
#
|
3956
|
+
# @!attribute [rw] output_contexts
|
3957
|
+
# An array of `OutputContext` objects that lists the contexts that the
|
3958
|
+
# intent activates when the intent is fulfilled.
|
3959
|
+
# @return [Array<Types::OutputContext>]
|
3960
|
+
#
|
3853
3961
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentRequest AWS API Documentation
|
3854
3962
|
#
|
3855
3963
|
class PutIntentRequest < Struct.new(
|
@@ -3866,7 +3974,9 @@ module Aws::LexModelBuildingService
|
|
3866
3974
|
:parent_intent_signature,
|
3867
3975
|
:checksum,
|
3868
3976
|
:create_version,
|
3869
|
-
:kendra_configuration
|
3977
|
+
:kendra_configuration,
|
3978
|
+
:input_contexts,
|
3979
|
+
:output_contexts)
|
3870
3980
|
SENSITIVE = []
|
3871
3981
|
include Aws::Structure
|
3872
3982
|
end
|
@@ -3954,6 +4064,17 @@ module Aws::LexModelBuildingService
|
|
3954
4064
|
# Kendra index and use the `AMAZON.KendraSearchIntent` intent.
|
3955
4065
|
# @return [Types::KendraConfiguration]
|
3956
4066
|
#
|
4067
|
+
# @!attribute [rw] input_contexts
|
4068
|
+
# An array of `InputContext` objects that lists the contexts that must
|
4069
|
+
# be active for Amazon Lex to choose the intent in a conversation with
|
4070
|
+
# the user.
|
4071
|
+
# @return [Array<Types::InputContext>]
|
4072
|
+
#
|
4073
|
+
# @!attribute [rw] output_contexts
|
4074
|
+
# An array of `OutputContext` objects that lists the contexts that the
|
4075
|
+
# intent activates when the intent is fulfilled.
|
4076
|
+
# @return [Array<Types::OutputContext>]
|
4077
|
+
#
|
3957
4078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntentResponse AWS API Documentation
|
3958
4079
|
#
|
3959
4080
|
class PutIntentResponse < Struct.new(
|
@@ -3973,7 +4094,9 @@ module Aws::LexModelBuildingService
|
|
3973
4094
|
:version,
|
3974
4095
|
:checksum,
|
3975
4096
|
:create_version,
|
3976
|
-
:kendra_configuration
|
4097
|
+
:kendra_configuration,
|
4098
|
+
:input_contexts,
|
4099
|
+
:output_contexts)
|
3977
4100
|
SENSITIVE = []
|
3978
4101
|
include Aws::Structure
|
3979
4102
|
end
|
@@ -4255,6 +4378,13 @@ module Aws::LexModelBuildingService
|
|
4255
4378
|
# sample_utterances: ["Utterance"],
|
4256
4379
|
# response_card: "ResponseCard",
|
4257
4380
|
# obfuscation_setting: "NONE", # accepts NONE, DEFAULT_OBFUSCATION
|
4381
|
+
# default_value_spec: {
|
4382
|
+
# default_value_list: [ # required
|
4383
|
+
# {
|
4384
|
+
# default_value: "SlotDefaultValueString", # required
|
4385
|
+
# },
|
4386
|
+
# ],
|
4387
|
+
# },
|
4258
4388
|
# }
|
4259
4389
|
#
|
4260
4390
|
# @!attribute [rw] name
|
@@ -4319,6 +4449,13 @@ module Aws::LexModelBuildingService
|
|
4319
4449
|
# [1]: https://docs.aws.amazon.com/lex/latest/dg/how-obfuscate.html
|
4320
4450
|
# @return [String]
|
4321
4451
|
#
|
4452
|
+
# @!attribute [rw] default_value_spec
|
4453
|
+
# A list of default values for the slot. Default values are used when
|
4454
|
+
# Amazon Lex hasn't determined a value for a slot. You can specify
|
4455
|
+
# default values from context variables, session attributes, and
|
4456
|
+
# defined values.
|
4457
|
+
# @return [Types::SlotDefaultValueSpec]
|
4458
|
+
#
|
4322
4459
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/Slot AWS API Documentation
|
4323
4460
|
#
|
4324
4461
|
class Slot < Struct.new(
|
@@ -4331,7 +4468,71 @@ module Aws::LexModelBuildingService
|
|
4331
4468
|
:priority,
|
4332
4469
|
:sample_utterances,
|
4333
4470
|
:response_card,
|
4334
|
-
:obfuscation_setting
|
4471
|
+
:obfuscation_setting,
|
4472
|
+
:default_value_spec)
|
4473
|
+
SENSITIVE = []
|
4474
|
+
include Aws::Structure
|
4475
|
+
end
|
4476
|
+
|
4477
|
+
# A default value for a slot.
|
4478
|
+
#
|
4479
|
+
# @note When making an API call, you may pass SlotDefaultValue
|
4480
|
+
# data as a hash:
|
4481
|
+
#
|
4482
|
+
# {
|
4483
|
+
# default_value: "SlotDefaultValueString", # required
|
4484
|
+
# }
|
4485
|
+
#
|
4486
|
+
# @!attribute [rw] default_value
|
4487
|
+
# The default value for the slot. You can specify one of the
|
4488
|
+
# following:
|
4489
|
+
#
|
4490
|
+
# * `#context-name.slot-name` - The slot value "slot-name" in the
|
4491
|
+
# context "context-name."
|
4492
|
+
#
|
4493
|
+
# * `\{attribute\}` - The slot value of the session attribute
|
4494
|
+
# "attribute."
|
4495
|
+
#
|
4496
|
+
# * `'value'` - The discrete value "value."
|
4497
|
+
# @return [String]
|
4498
|
+
#
|
4499
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotDefaultValue AWS API Documentation
|
4500
|
+
#
|
4501
|
+
class SlotDefaultValue < Struct.new(
|
4502
|
+
:default_value)
|
4503
|
+
SENSITIVE = []
|
4504
|
+
include Aws::Structure
|
4505
|
+
end
|
4506
|
+
|
4507
|
+
# Contains the default values for a slot. Default values are used when
|
4508
|
+
# Amazon Lex hasn't determined a value for a slot.
|
4509
|
+
#
|
4510
|
+
# @note When making an API call, you may pass SlotDefaultValueSpec
|
4511
|
+
# data as a hash:
|
4512
|
+
#
|
4513
|
+
# {
|
4514
|
+
# default_value_list: [ # required
|
4515
|
+
# {
|
4516
|
+
# default_value: "SlotDefaultValueString", # required
|
4517
|
+
# },
|
4518
|
+
# ],
|
4519
|
+
# }
|
4520
|
+
#
|
4521
|
+
# @!attribute [rw] default_value_list
|
4522
|
+
# The default values for a slot. You can specify more than one
|
4523
|
+
# default. For example, you can specify a default value to use from a
|
4524
|
+
# matching context variable, a session attribute, or a fixed value.
|
4525
|
+
#
|
4526
|
+
# The default value chosen is selected based on the order that you
|
4527
|
+
# specify them in the list. For example, if you specify a context
|
4528
|
+
# variable and a fixed value in that order, Amazon Lex uses the
|
4529
|
+
# context variable if it is available, else it uses the fixed value.
|
4530
|
+
# @return [Array<Types::SlotDefaultValue>]
|
4531
|
+
#
|
4532
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/SlotDefaultValueSpec AWS API Documentation
|
4533
|
+
#
|
4534
|
+
class SlotDefaultValueSpec < Struct.new(
|
4535
|
+
:default_value_list)
|
4335
4536
|
SENSITIVE = []
|
4336
4537
|
include Aws::Structure
|
4337
4538
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelbuildingservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|