aws-sdk-lexmodelbuildingservice 1.0.0 → 1.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9267379d1848e81be36f3ce05615fb14660c9dc
|
4
|
+
data.tar.gz: 786f5a97d144d240a5ce444e27b6349f86e9284d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65dd2e30231ae6718dc816bef642d05104110213fa26fe41927a2545489639d90d947c71724576668e78d29866c2d288503073ef57843946faad85f31fbe412e
|
7
|
+
data.tar.gz: 7d04f97cf504e407e46860841bb6bad64545d1b9d5cfd06c01766808e33ab195c6f624686f2a38a9150cccb9af1e8d240aea41df7df7733beffa71b5be378829
|
@@ -393,6 +393,7 @@ module Aws::LexModelBuildingService
|
|
393
393
|
# * {Types::CreateSlotTypeVersionResponse#created_date #created_date} => Time
|
394
394
|
# * {Types::CreateSlotTypeVersionResponse#version #version} => String
|
395
395
|
# * {Types::CreateSlotTypeVersionResponse#checksum #checksum} => String
|
396
|
+
# * {Types::CreateSlotTypeVersionResponse#value_selection_strategy #value_selection_strategy} => String
|
396
397
|
#
|
397
398
|
# @example Request syntax with placeholder values
|
398
399
|
#
|
@@ -407,10 +408,13 @@ module Aws::LexModelBuildingService
|
|
407
408
|
# resp.description #=> String
|
408
409
|
# resp.enumeration_values #=> Array
|
409
410
|
# resp.enumeration_values[0].value #=> String
|
411
|
+
# resp.enumeration_values[0].synonyms #=> Array
|
412
|
+
# resp.enumeration_values[0].synonyms[0] #=> String
|
410
413
|
# resp.last_updated_date #=> Time
|
411
414
|
# resp.created_date #=> Time
|
412
415
|
# resp.version #=> String
|
413
416
|
# resp.checksum #=> String
|
417
|
+
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
414
418
|
#
|
415
419
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersion AWS API Documentation
|
416
420
|
#
|
@@ -747,7 +751,7 @@ module Aws::LexModelBuildingService
|
|
747
751
|
# Returns metadata information for a specific bot. You must provide the
|
748
752
|
# bot name and the bot version or alias.
|
749
753
|
#
|
750
|
-
#
|
754
|
+
# This operation requires permissions for the `lex:GetBot` action.
|
751
755
|
#
|
752
756
|
# @option params [required, String] :name
|
753
757
|
# The name of the bot. The name is case sensitive.
|
@@ -1810,6 +1814,7 @@ module Aws::LexModelBuildingService
|
|
1810
1814
|
# * {Types::GetSlotTypeResponse#created_date #created_date} => Time
|
1811
1815
|
# * {Types::GetSlotTypeResponse#version #version} => String
|
1812
1816
|
# * {Types::GetSlotTypeResponse#checksum #checksum} => String
|
1817
|
+
# * {Types::GetSlotTypeResponse#value_selection_strategy #value_selection_strategy} => String
|
1813
1818
|
#
|
1814
1819
|
#
|
1815
1820
|
# @example Example: To get information about a slot type
|
@@ -1852,10 +1857,13 @@ module Aws::LexModelBuildingService
|
|
1852
1857
|
# resp.description #=> String
|
1853
1858
|
# resp.enumeration_values #=> Array
|
1854
1859
|
# resp.enumeration_values[0].value #=> String
|
1860
|
+
# resp.enumeration_values[0].synonyms #=> Array
|
1861
|
+
# resp.enumeration_values[0].synonyms[0] #=> String
|
1855
1862
|
# resp.last_updated_date #=> Time
|
1856
1863
|
# resp.created_date #=> Time
|
1857
1864
|
# resp.version #=> String
|
1858
1865
|
# resp.checksum #=> String
|
1866
|
+
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
1859
1867
|
#
|
1860
1868
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotType AWS API Documentation
|
1861
1869
|
#
|
@@ -2556,7 +2564,7 @@ module Aws::LexModelBuildingService
|
|
2556
2564
|
# @option params [Array<Types::Slot>] :slots
|
2557
2565
|
# An array of intent slots. At runtime, Amazon Lex elicits required slot
|
2558
2566
|
# values from the user using prompts defined in the slots. For more
|
2559
|
-
# information, see
|
2567
|
+
# information, see how-it-works.
|
2560
2568
|
#
|
2561
2569
|
# @option params [Array<String>] :sample_utterances
|
2562
2570
|
# An array of utterances (strings) that a user might say to signal the
|
@@ -2639,8 +2647,8 @@ module Aws::LexModelBuildingService
|
|
2639
2647
|
# and set the corresponding session attribute.
|
2640
2648
|
#
|
2641
2649
|
# @option params [Types::FulfillmentActivity] :fulfillment_activity
|
2642
|
-
# Describes how the intent is fulfilled. For example, after a
|
2643
|
-
# provides all of the information for a pizza order,
|
2650
|
+
# Required. Describes how the intent is fulfilled. For example, after a
|
2651
|
+
# user provides all of the information for a pizza order,
|
2644
2652
|
# `fulfillmentActivity` defines how the bot places an order with a local
|
2645
2653
|
# pizza store.
|
2646
2654
|
#
|
@@ -3147,7 +3155,17 @@ module Aws::LexModelBuildingService
|
|
3147
3155
|
#
|
3148
3156
|
# @option params [Array<Types::EnumerationValue>] :enumeration_values
|
3149
3157
|
# A list of `EnumerationValue` objects that defines the values that the
|
3150
|
-
# slot type can take.
|
3158
|
+
# slot type can take. Each value can have a list of `synonyms`, which
|
3159
|
+
# are additional values that help train the machine learning model about
|
3160
|
+
# the values that it resolves for a slot.
|
3161
|
+
#
|
3162
|
+
# When Amazon Lex resolves a slot value, it generates a resolution list
|
3163
|
+
# that contains up to five possible values for the slot. If you are
|
3164
|
+
# using a Lambda function, this resolution list is passed to the
|
3165
|
+
# function. If you are not using a Lambda function you can choose to
|
3166
|
+
# return the value that the user entered or the first value in the
|
3167
|
+
# resolution list as the slot value. The `valueSelectionStrategy` field
|
3168
|
+
# indicates the option to use.
|
3151
3169
|
#
|
3152
3170
|
# @option params [String] :checksum
|
3153
3171
|
# Identifies a specific revision of the `$LATEST` version.
|
@@ -3161,6 +3179,19 @@ module Aws::LexModelBuildingService
|
|
3161
3179
|
# match the `$LATEST` version, you get a `PreconditionFailedException`
|
3162
3180
|
# exception.
|
3163
3181
|
#
|
3182
|
+
# @option params [String] :value_selection_strategy
|
3183
|
+
# Determines the strategy that Amazon Lex uses to return slot type
|
3184
|
+
# values. The field can be set to one of the following values:
|
3185
|
+
#
|
3186
|
+
# * `ORIGINAL_VALUE` - Returns the value entered by the user.
|
3187
|
+
#
|
3188
|
+
# * `TOP_RESOLUTION` - If there is a resolution list for the slot,
|
3189
|
+
# return the first value in the resolution list as the slot type
|
3190
|
+
# value. If there is no resolution list, null is returned.
|
3191
|
+
#
|
3192
|
+
# If you don't specify the `valueSelectionStrategy` is not provided,
|
3193
|
+
# the default is `ORIGINAL_VALUE`.
|
3194
|
+
#
|
3164
3195
|
# @return [Types::PutSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3165
3196
|
#
|
3166
3197
|
# * {Types::PutSlotTypeResponse#name #name} => String
|
@@ -3170,6 +3201,7 @@ module Aws::LexModelBuildingService
|
|
3170
3201
|
# * {Types::PutSlotTypeResponse#created_date #created_date} => Time
|
3171
3202
|
# * {Types::PutSlotTypeResponse#version #version} => String
|
3172
3203
|
# * {Types::PutSlotTypeResponse#checksum #checksum} => String
|
3204
|
+
# * {Types::PutSlotTypeResponse#value_selection_strategy #value_selection_strategy} => String
|
3173
3205
|
#
|
3174
3206
|
#
|
3175
3207
|
# @example Example: To Create a Slot Type
|
@@ -3215,9 +3247,11 @@ module Aws::LexModelBuildingService
|
|
3215
3247
|
# enumeration_values: [
|
3216
3248
|
# {
|
3217
3249
|
# value: "Value", # required
|
3250
|
+
# synonyms: ["Value"],
|
3218
3251
|
# },
|
3219
3252
|
# ],
|
3220
3253
|
# checksum: "String",
|
3254
|
+
# value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
|
3221
3255
|
# })
|
3222
3256
|
#
|
3223
3257
|
# @example Response structure
|
@@ -3226,10 +3260,13 @@ module Aws::LexModelBuildingService
|
|
3226
3260
|
# resp.description #=> String
|
3227
3261
|
# resp.enumeration_values #=> Array
|
3228
3262
|
# resp.enumeration_values[0].value #=> String
|
3263
|
+
# resp.enumeration_values[0].synonyms #=> Array
|
3264
|
+
# resp.enumeration_values[0].synonyms[0] #=> String
|
3229
3265
|
# resp.last_updated_date #=> Time
|
3230
3266
|
# resp.created_date #=> Time
|
3231
3267
|
# resp.version #=> String
|
3232
3268
|
# resp.checksum #=> String
|
3269
|
+
# resp.value_selection_strategy #=> String, one of "ORIGINAL_VALUE", "TOP_RESOLUTION"
|
3233
3270
|
#
|
3234
3271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotType AWS API Documentation
|
3235
3272
|
#
|
@@ -3253,7 +3290,7 @@ module Aws::LexModelBuildingService
|
|
3253
3290
|
params: params,
|
3254
3291
|
config: config)
|
3255
3292
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3256
|
-
context[:gem_version] = '1.
|
3293
|
+
context[:gem_version] = '1.1.0'
|
3257
3294
|
Seahorse::Client::Request.new(handlers, context)
|
3258
3295
|
end
|
3259
3296
|
|
@@ -142,10 +142,12 @@ module Aws::LexModelBuildingService
|
|
142
142
|
SlotTypeMetadataList = Shapes::ListShape.new(name: 'SlotTypeMetadataList')
|
143
143
|
SlotTypeName = Shapes::StringShape.new(name: 'SlotTypeName')
|
144
144
|
SlotUtteranceList = Shapes::ListShape.new(name: 'SlotUtteranceList')
|
145
|
+
SlotValueSelectionStrategy = Shapes::StringShape.new(name: 'SlotValueSelectionStrategy')
|
145
146
|
Statement = Shapes::StructureShape.new(name: 'Statement')
|
146
147
|
Status = Shapes::StringShape.new(name: 'Status')
|
147
148
|
StatusType = Shapes::StringShape.new(name: 'StatusType')
|
148
149
|
String = Shapes::StringShape.new(name: 'String')
|
150
|
+
SynonymList = Shapes::ListShape.new(name: 'SynonymList')
|
149
151
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
150
152
|
UserId = Shapes::StringShape.new(name: 'UserId')
|
151
153
|
Utterance = Shapes::StringShape.new(name: 'Utterance')
|
@@ -266,6 +268,7 @@ module Aws::LexModelBuildingService
|
|
266
268
|
CreateSlotTypeVersionResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
|
267
269
|
CreateSlotTypeVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
268
270
|
CreateSlotTypeVersionResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
271
|
+
CreateSlotTypeVersionResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
269
272
|
CreateSlotTypeVersionResponse.struct_class = Types::CreateSlotTypeVersionResponse
|
270
273
|
|
271
274
|
DeleteBotAliasRequest.add_member(:name, Shapes::ShapeRef.new(shape: AliasName, required: true, location: "uri", location_name: "name"))
|
@@ -303,6 +306,7 @@ module Aws::LexModelBuildingService
|
|
303
306
|
DeleteUtterancesRequest.struct_class = Types::DeleteUtterancesRequest
|
304
307
|
|
305
308
|
EnumerationValue.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "value"))
|
309
|
+
EnumerationValue.add_member(:synonyms, Shapes::ShapeRef.new(shape: SynonymList, location_name: "synonyms"))
|
306
310
|
EnumerationValue.struct_class = Types::EnumerationValue
|
307
311
|
|
308
312
|
EnumerationValues.member = Shapes::ShapeRef.new(shape: EnumerationValue)
|
@@ -480,6 +484,7 @@ module Aws::LexModelBuildingService
|
|
480
484
|
GetSlotTypeResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
|
481
485
|
GetSlotTypeResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
482
486
|
GetSlotTypeResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
487
|
+
GetSlotTypeResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
483
488
|
GetSlotTypeResponse.struct_class = Types::GetSlotTypeResponse
|
484
489
|
|
485
490
|
GetSlotTypeVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
|
@@ -624,6 +629,7 @@ module Aws::LexModelBuildingService
|
|
624
629
|
PutSlotTypeRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
625
630
|
PutSlotTypeRequest.add_member(:enumeration_values, Shapes::ShapeRef.new(shape: EnumerationValues, location_name: "enumerationValues"))
|
626
631
|
PutSlotTypeRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
632
|
+
PutSlotTypeRequest.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
627
633
|
PutSlotTypeRequest.struct_class = Types::PutSlotTypeRequest
|
628
634
|
|
629
635
|
PutSlotTypeResponse.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, location_name: "name"))
|
@@ -633,6 +639,7 @@ module Aws::LexModelBuildingService
|
|
633
639
|
PutSlotTypeResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
|
634
640
|
PutSlotTypeResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
|
635
641
|
PutSlotTypeResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
|
642
|
+
PutSlotTypeResponse.add_member(:value_selection_strategy, Shapes::ShapeRef.new(shape: SlotValueSelectionStrategy, location_name: "valueSelectionStrategy"))
|
636
643
|
PutSlotTypeResponse.struct_class = Types::PutSlotTypeResponse
|
637
644
|
|
638
645
|
ResourceReference.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
@@ -667,6 +674,8 @@ module Aws::LexModelBuildingService
|
|
667
674
|
Statement.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
|
668
675
|
Statement.struct_class = Types::Statement
|
669
676
|
|
677
|
+
SynonymList.member = Shapes::ShapeRef.new(shape: Value)
|
678
|
+
|
670
679
|
UtteranceData.add_member(:utterance_string, Shapes::ShapeRef.new(shape: UtteranceString, location_name: "utteranceString"))
|
671
680
|
UtteranceData.add_member(:count, Shapes::ShapeRef.new(shape: Count, location_name: "count"))
|
672
681
|
UtteranceData.add_member(:distinct_users, Shapes::ShapeRef.new(shape: Count, location_name: "distinctUsers"))
|
@@ -565,6 +565,11 @@ module Aws::LexModelBuildingService
|
|
565
565
|
# Checksum of the `$LATEST` version of the slot type.
|
566
566
|
# @return [String]
|
567
567
|
#
|
568
|
+
# @!attribute [rw] value_selection_strategy
|
569
|
+
# The strategy that Amazon Lex uses to determine the value of the
|
570
|
+
# slot. For more information, see PutSlotType.
|
571
|
+
# @return [String]
|
572
|
+
#
|
568
573
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateSlotTypeVersionResponse AWS API Documentation
|
569
574
|
#
|
570
575
|
class CreateSlotTypeVersionResponse < Struct.new(
|
@@ -574,7 +579,8 @@ module Aws::LexModelBuildingService
|
|
574
579
|
:last_updated_date,
|
575
580
|
:created_date,
|
576
581
|
:version,
|
577
|
-
:checksum
|
582
|
+
:checksum,
|
583
|
+
:value_selection_strategy)
|
578
584
|
include Aws::Structure
|
579
585
|
end
|
580
586
|
|
@@ -814,16 +820,22 @@ module Aws::LexModelBuildingService
|
|
814
820
|
#
|
815
821
|
# {
|
816
822
|
# value: "Value", # required
|
823
|
+
# synonyms: ["Value"],
|
817
824
|
# }
|
818
825
|
#
|
819
826
|
# @!attribute [rw] value
|
820
827
|
# The value of the slot type.
|
821
828
|
# @return [String]
|
822
829
|
#
|
830
|
+
# @!attribute [rw] synonyms
|
831
|
+
# Additional values related to the slot type value.
|
832
|
+
# @return [Array<String>]
|
833
|
+
#
|
823
834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/EnumerationValue AWS API Documentation
|
824
835
|
#
|
825
836
|
class EnumerationValue < Struct.new(
|
826
|
-
:value
|
837
|
+
:value,
|
838
|
+
:synonyms)
|
827
839
|
include Aws::Structure
|
828
840
|
end
|
829
841
|
|
@@ -1904,6 +1916,11 @@ module Aws::LexModelBuildingService
|
|
1904
1916
|
# Checksum of the `$LATEST` version of the slot type.
|
1905
1917
|
# @return [String]
|
1906
1918
|
#
|
1919
|
+
# @!attribute [rw] value_selection_strategy
|
1920
|
+
# The strategy that Amazon Lex uses to determine the value of the
|
1921
|
+
# slot. For more information, see PutSlotType.
|
1922
|
+
# @return [String]
|
1923
|
+
#
|
1907
1924
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetSlotTypeResponse AWS API Documentation
|
1908
1925
|
#
|
1909
1926
|
class GetSlotTypeResponse < Struct.new(
|
@@ -1913,7 +1930,8 @@ module Aws::LexModelBuildingService
|
|
1913
1930
|
:last_updated_date,
|
1914
1931
|
:created_date,
|
1915
1932
|
:version,
|
1916
|
-
:checksum
|
1933
|
+
:checksum,
|
1934
|
+
:value_selection_strategy)
|
1917
1935
|
include Aws::Structure
|
1918
1936
|
end
|
1919
1937
|
|
@@ -2742,7 +2760,7 @@ module Aws::LexModelBuildingService
|
|
2742
2760
|
# @!attribute [rw] slots
|
2743
2761
|
# An array of intent slots. At runtime, Amazon Lex elicits required
|
2744
2762
|
# slot values from the user using prompts defined in the slots. For
|
2745
|
-
# more information, see
|
2763
|
+
# more information, see how-it-works.
|
2746
2764
|
# @return [Array<Types::Slot>]
|
2747
2765
|
#
|
2748
2766
|
# @!attribute [rw] sample_utterances
|
@@ -2832,8 +2850,8 @@ module Aws::LexModelBuildingService
|
|
2832
2850
|
# @return [Types::CodeHook]
|
2833
2851
|
#
|
2834
2852
|
# @!attribute [rw] fulfillment_activity
|
2835
|
-
# Describes how the intent is fulfilled. For example, after
|
2836
|
-
# provides all of the information for a pizza order,
|
2853
|
+
# Required. Describes how the intent is fulfilled. For example, after
|
2854
|
+
# a user provides all of the information for a pizza order,
|
2837
2855
|
# `fulfillmentActivity` defines how the bot places an order with a
|
2838
2856
|
# local pizza store.
|
2839
2857
|
#
|
@@ -2986,9 +3004,11 @@ module Aws::LexModelBuildingService
|
|
2986
3004
|
# enumeration_values: [
|
2987
3005
|
# {
|
2988
3006
|
# value: "Value", # required
|
3007
|
+
# synonyms: ["Value"],
|
2989
3008
|
# },
|
2990
3009
|
# ],
|
2991
3010
|
# checksum: "String",
|
3011
|
+
# value_selection_strategy: "ORIGINAL_VALUE", # accepts ORIGINAL_VALUE, TOP_RESOLUTION
|
2992
3012
|
# }
|
2993
3013
|
#
|
2994
3014
|
# @!attribute [rw] name
|
@@ -3013,7 +3033,17 @@ module Aws::LexModelBuildingService
|
|
3013
3033
|
#
|
3014
3034
|
# @!attribute [rw] enumeration_values
|
3015
3035
|
# A list of `EnumerationValue` objects that defines the values that
|
3016
|
-
# the slot type can take.
|
3036
|
+
# the slot type can take. Each value can have a list of `synonyms`,
|
3037
|
+
# which are additional values that help train the machine learning
|
3038
|
+
# model about the values that it resolves for a slot.
|
3039
|
+
#
|
3040
|
+
# When Amazon Lex resolves a slot value, it generates a resolution
|
3041
|
+
# list that contains up to five possible values for the slot. If you
|
3042
|
+
# are using a Lambda function, this resolution list is passed to the
|
3043
|
+
# function. If you are not using a Lambda function you can choose to
|
3044
|
+
# return the value that the user entered or the first value in the
|
3045
|
+
# resolution list as the slot value. The `valueSelectionStrategy`
|
3046
|
+
# field indicates the option to use.
|
3017
3047
|
# @return [Array<Types::EnumerationValue>]
|
3018
3048
|
#
|
3019
3049
|
# @!attribute [rw] checksum
|
@@ -3029,13 +3059,28 @@ module Aws::LexModelBuildingService
|
|
3029
3059
|
# `PreconditionFailedException` exception.
|
3030
3060
|
# @return [String]
|
3031
3061
|
#
|
3062
|
+
# @!attribute [rw] value_selection_strategy
|
3063
|
+
# Determines the strategy that Amazon Lex uses to return slot type
|
3064
|
+
# values. The field can be set to one of the following values:
|
3065
|
+
#
|
3066
|
+
# * `ORIGINAL_VALUE` - Returns the value entered by the user.
|
3067
|
+
#
|
3068
|
+
# * `TOP_RESOLUTION` - If there is a resolution list for the slot,
|
3069
|
+
# return the first value in the resolution list as the slot type
|
3070
|
+
# value. If there is no resolution list, null is returned.
|
3071
|
+
#
|
3072
|
+
# If you don't specify the `valueSelectionStrategy` is not provided,
|
3073
|
+
# the default is `ORIGINAL_VALUE`.
|
3074
|
+
# @return [String]
|
3075
|
+
#
|
3032
3076
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeRequest AWS API Documentation
|
3033
3077
|
#
|
3034
3078
|
class PutSlotTypeRequest < Struct.new(
|
3035
3079
|
:name,
|
3036
3080
|
:description,
|
3037
3081
|
:enumeration_values,
|
3038
|
-
:checksum
|
3082
|
+
:checksum,
|
3083
|
+
:value_selection_strategy)
|
3039
3084
|
include Aws::Structure
|
3040
3085
|
end
|
3041
3086
|
|
@@ -3070,6 +3115,11 @@ module Aws::LexModelBuildingService
|
|
3070
3115
|
# Checksum of the `$LATEST` version of the slot type.
|
3071
3116
|
# @return [String]
|
3072
3117
|
#
|
3118
|
+
# @!attribute [rw] value_selection_strategy
|
3119
|
+
# The strategy that Amazon Lex uses to determine the value of the
|
3120
|
+
# slot. For more information, see PutSlotType.
|
3121
|
+
# @return [String]
|
3122
|
+
#
|
3073
3123
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutSlotTypeResponse AWS API Documentation
|
3074
3124
|
#
|
3075
3125
|
class PutSlotTypeResponse < Struct.new(
|
@@ -3079,7 +3129,8 @@ module Aws::LexModelBuildingService
|
|
3079
3129
|
:last_updated_date,
|
3080
3130
|
:created_date,
|
3081
3131
|
:version,
|
3082
|
-
:checksum
|
3132
|
+
:checksum,
|
3133
|
+
:value_selection_strategy)
|
3083
3134
|
include Aws::Structure
|
3084
3135
|
end
|
3085
3136
|
|
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.1.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: 2017-08-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -56,7 +56,9 @@ files:
|
|
56
56
|
homepage: http://github.com/aws/aws-sdk-ruby
|
57
57
|
licenses:
|
58
58
|
- Apache-2.0
|
59
|
-
metadata:
|
59
|
+
metadata:
|
60
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lexmodelbuildingservice
|
61
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md
|
60
62
|
post_install_message:
|
61
63
|
rdoc_options: []
|
62
64
|
require_paths:
|