aws-sdk-lexmodelsv2 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelsv2.rb +1 -1
- data/lib/aws-sdk-lexmodelsv2/client.rb +39 -4
- data/lib/aws-sdk-lexmodelsv2/client_api.rb +9 -0
- data/lib/aws-sdk-lexmodelsv2/types.rb +82 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df49853c552b1f57b85d1b5d55f36262cc20a3c26cfed2b052754a822cfb1063
|
4
|
+
data.tar.gz: 87e3f47f883152ed32a678fdcd4cf478316e63a0027ac6a6b5595cc9eb1e0906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eefb79965dc75737a1b2ac33dea94c33e6dca7a700d7b9a68947ebbe189b13ec9de5cceb32771b2e0068d70bec7062cb32ac1c8b64817d019f2723a87e698bc
|
7
|
+
data.tar.gz: 40d1be2efaf54a0f0be7856ec2afda01d0f5ac7d3647502357aae5aab19319a55a6fd96d8e09c14104575f3540f8622591abfba29ccf95c2a42ba46f3d1f1e1a
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.5.0
|
data/lib/aws-sdk-lexmodelsv2.rb
CHANGED
@@ -1354,8 +1354,8 @@ module Aws::LexModelsV2
|
|
1354
1354
|
# resource policy exists, the statement is added to the current resource
|
1355
1355
|
# policy. If a policy doesn't exist, a new policy is created.
|
1356
1356
|
#
|
1357
|
-
# You can create a resource policy statement that allows
|
1358
|
-
# access.
|
1357
|
+
# You can't create a resource policy statement that allows
|
1358
|
+
# cross-account access.
|
1359
1359
|
#
|
1360
1360
|
# @option params [required, String] :resource_arn
|
1361
1361
|
# The Amazon Resource Name (ARN) of the bot or bot alias that the
|
@@ -1501,6 +1501,15 @@ module Aws::LexModelsV2
|
|
1501
1501
|
# @option params [required, String] :intent_id
|
1502
1502
|
# The identifier of the intent that contains the slot.
|
1503
1503
|
#
|
1504
|
+
# @option params [Types::MultipleValuesSetting] :multiple_values_setting
|
1505
|
+
# Indicates whether the slot returns multiple values in one response.
|
1506
|
+
# Multi-value slots are only available in the en-US locale. If you set
|
1507
|
+
# this value to `true` in any other locale, Amazon Lex throws a
|
1508
|
+
# `ValidationException`.
|
1509
|
+
#
|
1510
|
+
# If the `multipleValuesSetting` is not set, the default value is
|
1511
|
+
# `false`.
|
1512
|
+
#
|
1504
1513
|
# @return [Types::CreateSlotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1505
1514
|
#
|
1506
1515
|
# * {Types::CreateSlotResponse#slot_id #slot_id} => String
|
@@ -1514,6 +1523,7 @@ module Aws::LexModelsV2
|
|
1514
1523
|
# * {Types::CreateSlotResponse#locale_id #locale_id} => String
|
1515
1524
|
# * {Types::CreateSlotResponse#intent_id #intent_id} => String
|
1516
1525
|
# * {Types::CreateSlotResponse#creation_date_time #creation_date_time} => Time
|
1526
|
+
# * {Types::CreateSlotResponse#multiple_values_setting #multiple_values_setting} => Types::MultipleValuesSetting
|
1517
1527
|
#
|
1518
1528
|
# @example Request syntax with placeholder values
|
1519
1529
|
#
|
@@ -1760,6 +1770,9 @@ module Aws::LexModelsV2
|
|
1760
1770
|
# bot_version: "DraftBotVersion", # required
|
1761
1771
|
# locale_id: "LocaleId", # required
|
1762
1772
|
# intent_id: "Id", # required
|
1773
|
+
# multiple_values_setting: {
|
1774
|
+
# allow_multiple_values: false,
|
1775
|
+
# },
|
1763
1776
|
# })
|
1764
1777
|
#
|
1765
1778
|
# @example Response structure
|
@@ -1866,6 +1879,7 @@ module Aws::LexModelsV2
|
|
1866
1879
|
# resp.locale_id #=> String
|
1867
1880
|
# resp.intent_id #=> String
|
1868
1881
|
# resp.creation_date_time #=> Time
|
1882
|
+
# resp.multiple_values_setting.allow_multiple_values #=> Boolean
|
1869
1883
|
#
|
1870
1884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlot AWS API Documentation
|
1871
1885
|
#
|
@@ -3054,6 +3068,7 @@ module Aws::LexModelsV2
|
|
3054
3068
|
# * {Types::DescribeSlotResponse#intent_id #intent_id} => String
|
3055
3069
|
# * {Types::DescribeSlotResponse#creation_date_time #creation_date_time} => Time
|
3056
3070
|
# * {Types::DescribeSlotResponse#last_updated_date_time #last_updated_date_time} => Time
|
3071
|
+
# * {Types::DescribeSlotResponse#multiple_values_setting #multiple_values_setting} => Types::MultipleValuesSetting
|
3057
3072
|
#
|
3058
3073
|
# @example Request syntax with placeholder values
|
3059
3074
|
#
|
@@ -3170,6 +3185,7 @@ module Aws::LexModelsV2
|
|
3170
3185
|
# resp.intent_id #=> String
|
3171
3186
|
# resp.creation_date_time #=> Time
|
3172
3187
|
# resp.last_updated_date_time #=> Time
|
3188
|
+
# resp.multiple_values_setting.allow_multiple_values #=> Boolean
|
3173
3189
|
#
|
3174
3190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlot AWS API Documentation
|
3175
3191
|
#
|
@@ -4592,7 +4608,12 @@ module Aws::LexModelsV2
|
|
4592
4608
|
req.send_request(options)
|
4593
4609
|
end
|
4594
4610
|
|
4595
|
-
# Updates the password used to
|
4611
|
+
# Updates the password used to protect an export zip archive.
|
4612
|
+
#
|
4613
|
+
# The password is not required. If you don't supply a password, Amazon
|
4614
|
+
# Lex generates a zip file that is not protected by a password. This is
|
4615
|
+
# the archive that is available at the pre-signed S3 URL provided by the
|
4616
|
+
# operation.
|
4596
4617
|
#
|
4597
4618
|
# @option params [required, String] :export_id
|
4598
4619
|
# The unique identifier Amazon Lex assigned to the export.
|
@@ -5131,6 +5152,15 @@ module Aws::LexModelsV2
|
|
5131
5152
|
# @option params [required, String] :intent_id
|
5132
5153
|
# The identifier of the intent that contains the slot.
|
5133
5154
|
#
|
5155
|
+
# @option params [Types::MultipleValuesSetting] :multiple_values_setting
|
5156
|
+
# Determines whether the slot accepts multiple values in one response.
|
5157
|
+
# Multiple value slots are only available in the en-US locale. If you
|
5158
|
+
# set this value to `true` in any other locale, Amazon Lex throws a
|
5159
|
+
# `ValidationException`.
|
5160
|
+
#
|
5161
|
+
# If the `multipleValuesSetting` is not set, the default value is
|
5162
|
+
# `false`.
|
5163
|
+
#
|
5134
5164
|
# @return [Types::UpdateSlotResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5135
5165
|
#
|
5136
5166
|
# * {Types::UpdateSlotResponse#slot_id #slot_id} => String
|
@@ -5145,6 +5175,7 @@ module Aws::LexModelsV2
|
|
5145
5175
|
# * {Types::UpdateSlotResponse#intent_id #intent_id} => String
|
5146
5176
|
# * {Types::UpdateSlotResponse#creation_date_time #creation_date_time} => Time
|
5147
5177
|
# * {Types::UpdateSlotResponse#last_updated_date_time #last_updated_date_time} => Time
|
5178
|
+
# * {Types::UpdateSlotResponse#multiple_values_setting #multiple_values_setting} => Types::MultipleValuesSetting
|
5148
5179
|
#
|
5149
5180
|
# @example Request syntax with placeholder values
|
5150
5181
|
#
|
@@ -5392,6 +5423,9 @@ module Aws::LexModelsV2
|
|
5392
5423
|
# bot_version: "DraftBotVersion", # required
|
5393
5424
|
# locale_id: "LocaleId", # required
|
5394
5425
|
# intent_id: "Id", # required
|
5426
|
+
# multiple_values_setting: {
|
5427
|
+
# allow_multiple_values: false,
|
5428
|
+
# },
|
5395
5429
|
# })
|
5396
5430
|
#
|
5397
5431
|
# @example Response structure
|
@@ -5499,6 +5533,7 @@ module Aws::LexModelsV2
|
|
5499
5533
|
# resp.intent_id #=> String
|
5500
5534
|
# resp.creation_date_time #=> Time
|
5501
5535
|
# resp.last_updated_date_time #=> Time
|
5536
|
+
# resp.multiple_values_setting.allow_multiple_values #=> Boolean
|
5502
5537
|
#
|
5503
5538
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlot AWS API Documentation
|
5504
5539
|
#
|
@@ -5631,7 +5666,7 @@ module Aws::LexModelsV2
|
|
5631
5666
|
params: params,
|
5632
5667
|
config: config)
|
5633
5668
|
context[:gem_name] = 'aws-sdk-lexmodelsv2'
|
5634
|
-
context[:gem_version] = '1.
|
5669
|
+
context[:gem_version] = '1.5.0'
|
5635
5670
|
Seahorse::Client::Request.new(handlers, context)
|
5636
5671
|
end
|
5637
5672
|
|
@@ -243,6 +243,7 @@ module Aws::LexModelsV2
|
|
243
243
|
MessageGroup = Shapes::StructureShape.new(name: 'MessageGroup')
|
244
244
|
MessageGroupsList = Shapes::ListShape.new(name: 'MessageGroupsList')
|
245
245
|
MessageVariationsList = Shapes::ListShape.new(name: 'MessageVariationsList')
|
246
|
+
MultipleValuesSetting = Shapes::StructureShape.new(name: 'MultipleValuesSetting')
|
246
247
|
Name = Shapes::StringShape.new(name: 'Name')
|
247
248
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
248
249
|
NumericalBotVersion = Shapes::StringShape.new(name: 'NumericalBotVersion')
|
@@ -691,6 +692,7 @@ module Aws::LexModelsV2
|
|
691
692
|
CreateSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
692
693
|
CreateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
693
694
|
CreateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
695
|
+
CreateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
|
694
696
|
CreateSlotRequest.struct_class = Types::CreateSlotRequest
|
695
697
|
|
696
698
|
CreateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
|
@@ -704,6 +706,7 @@ module Aws::LexModelsV2
|
|
704
706
|
CreateSlotResponse.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, location_name: "localeId"))
|
705
707
|
CreateSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
706
708
|
CreateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
709
|
+
CreateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
|
707
710
|
CreateSlotResponse.struct_class = Types::CreateSlotResponse
|
708
711
|
|
709
712
|
CreateSlotTypeRequest.add_member(:slot_type_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "slotTypeName"))
|
@@ -980,6 +983,7 @@ module Aws::LexModelsV2
|
|
980
983
|
DescribeSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
981
984
|
DescribeSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
982
985
|
DescribeSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
986
|
+
DescribeSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
|
983
987
|
DescribeSlotResponse.struct_class = Types::DescribeSlotResponse
|
984
988
|
|
985
989
|
DescribeSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
|
@@ -1279,6 +1283,9 @@ module Aws::LexModelsV2
|
|
1279
1283
|
|
1280
1284
|
MessageVariationsList.member = Shapes::ShapeRef.new(shape: Message)
|
1281
1285
|
|
1286
|
+
MultipleValuesSetting.add_member(:allow_multiple_values, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowMultipleValues"))
|
1287
|
+
MultipleValuesSetting.struct_class = Types::MultipleValuesSetting
|
1288
|
+
|
1282
1289
|
ObfuscationSetting.add_member(:obfuscation_setting_type, Shapes::ShapeRef.new(shape: ObfuscationSettingType, required: true, location_name: "obfuscationSettingType"))
|
1283
1290
|
ObfuscationSetting.struct_class = Types::ObfuscationSetting
|
1284
1291
|
|
@@ -1596,6 +1603,7 @@ module Aws::LexModelsV2
|
|
1596
1603
|
UpdateSlotRequest.add_member(:bot_version, Shapes::ShapeRef.new(shape: DraftBotVersion, required: true, location: "uri", location_name: "botVersion"))
|
1597
1604
|
UpdateSlotRequest.add_member(:locale_id, Shapes::ShapeRef.new(shape: LocaleId, required: true, location: "uri", location_name: "localeId"))
|
1598
1605
|
UpdateSlotRequest.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "intentId"))
|
1606
|
+
UpdateSlotRequest.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
|
1599
1607
|
UpdateSlotRequest.struct_class = Types::UpdateSlotRequest
|
1600
1608
|
|
1601
1609
|
UpdateSlotResponse.add_member(:slot_id, Shapes::ShapeRef.new(shape: Id, location_name: "slotId"))
|
@@ -1610,6 +1618,7 @@ module Aws::LexModelsV2
|
|
1610
1618
|
UpdateSlotResponse.add_member(:intent_id, Shapes::ShapeRef.new(shape: Id, location_name: "intentId"))
|
1611
1619
|
UpdateSlotResponse.add_member(:creation_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDateTime"))
|
1612
1620
|
UpdateSlotResponse.add_member(:last_updated_date_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDateTime"))
|
1621
|
+
UpdateSlotResponse.add_member(:multiple_values_setting, Shapes::ShapeRef.new(shape: MultipleValuesSetting, location_name: "multipleValuesSetting"))
|
1613
1622
|
UpdateSlotResponse.struct_class = Types::UpdateSlotResponse
|
1614
1623
|
|
1615
1624
|
UpdateSlotTypeRequest.add_member(:slot_type_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "slotTypeId"))
|
@@ -2505,6 +2505,9 @@ module Aws::LexModelsV2
|
|
2505
2505
|
# bot_version: "DraftBotVersion", # required
|
2506
2506
|
# locale_id: "LocaleId", # required
|
2507
2507
|
# intent_id: "Id", # required
|
2508
|
+
# multiple_values_setting: {
|
2509
|
+
# allow_multiple_values: false,
|
2510
|
+
# },
|
2508
2511
|
# }
|
2509
2512
|
#
|
2510
2513
|
# @!attribute [rw] slot_name
|
@@ -2561,6 +2564,16 @@ module Aws::LexModelsV2
|
|
2561
2564
|
# The identifier of the intent that contains the slot.
|
2562
2565
|
# @return [String]
|
2563
2566
|
#
|
2567
|
+
# @!attribute [rw] multiple_values_setting
|
2568
|
+
# Indicates whether the slot returns multiple values in one response.
|
2569
|
+
# Multi-value slots are only available in the en-US locale. If you set
|
2570
|
+
# this value to `true` in any other locale, Amazon Lex throws a
|
2571
|
+
# `ValidationException`.
|
2572
|
+
#
|
2573
|
+
# If the `multipleValuesSetting` is not set, the default value is
|
2574
|
+
# `false`.
|
2575
|
+
# @return [Types::MultipleValuesSetting]
|
2576
|
+
#
|
2564
2577
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotRequest AWS API Documentation
|
2565
2578
|
#
|
2566
2579
|
class CreateSlotRequest < Struct.new(
|
@@ -2572,7 +2585,8 @@ module Aws::LexModelsV2
|
|
2572
2585
|
:bot_id,
|
2573
2586
|
:bot_version,
|
2574
2587
|
:locale_id,
|
2575
|
-
:intent_id
|
2588
|
+
:intent_id,
|
2589
|
+
:multiple_values_setting)
|
2576
2590
|
SENSITIVE = []
|
2577
2591
|
include Aws::Structure
|
2578
2592
|
end
|
@@ -2623,6 +2637,10 @@ module Aws::LexModelsV2
|
|
2623
2637
|
# The timestamp of the date and time that the slot was created.
|
2624
2638
|
# @return [Time]
|
2625
2639
|
#
|
2640
|
+
# @!attribute [rw] multiple_values_setting
|
2641
|
+
# Indicates whether the slot returns multiple values in one response.
|
2642
|
+
# @return [Types::MultipleValuesSetting]
|
2643
|
+
#
|
2626
2644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotResponse AWS API Documentation
|
2627
2645
|
#
|
2628
2646
|
class CreateSlotResponse < Struct.new(
|
@@ -2636,7 +2654,8 @@ module Aws::LexModelsV2
|
|
2636
2654
|
:bot_version,
|
2637
2655
|
:locale_id,
|
2638
2656
|
:intent_id,
|
2639
|
-
:creation_date_time
|
2657
|
+
:creation_date_time,
|
2658
|
+
:multiple_values_setting)
|
2640
2659
|
SENSITIVE = []
|
2641
2660
|
include Aws::Structure
|
2642
2661
|
end
|
@@ -4288,6 +4307,14 @@ module Aws::LexModelsV2
|
|
4288
4307
|
# A timestamp of the date and time that the slot was last updated.
|
4289
4308
|
# @return [Time]
|
4290
4309
|
#
|
4310
|
+
# @!attribute [rw] multiple_values_setting
|
4311
|
+
# Indicates whether the slot accepts multiple values in a single
|
4312
|
+
# utterance.
|
4313
|
+
#
|
4314
|
+
# If the `multipleValuesSetting` is not set, the default value is
|
4315
|
+
# `false`.
|
4316
|
+
# @return [Types::MultipleValuesSetting]
|
4317
|
+
#
|
4291
4318
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotResponse AWS API Documentation
|
4292
4319
|
#
|
4293
4320
|
class DescribeSlotResponse < Struct.new(
|
@@ -4302,7 +4329,8 @@ module Aws::LexModelsV2
|
|
4302
4329
|
:locale_id,
|
4303
4330
|
:intent_id,
|
4304
4331
|
:creation_date_time,
|
4305
|
-
:last_updated_date_time
|
4332
|
+
:last_updated_date_time,
|
4333
|
+
:multiple_values_setting)
|
4306
4334
|
SENSITIVE = []
|
4307
4335
|
include Aws::Structure
|
4308
4336
|
end
|
@@ -6464,6 +6492,36 @@ module Aws::LexModelsV2
|
|
6464
6492
|
include Aws::Structure
|
6465
6493
|
end
|
6466
6494
|
|
6495
|
+
# Indicates whether a slot can return multiple values.
|
6496
|
+
#
|
6497
|
+
# @note When making an API call, you may pass MultipleValuesSetting
|
6498
|
+
# data as a hash:
|
6499
|
+
#
|
6500
|
+
# {
|
6501
|
+
# allow_multiple_values: false,
|
6502
|
+
# }
|
6503
|
+
#
|
6504
|
+
# @!attribute [rw] allow_multiple_values
|
6505
|
+
# Indicates whether a slot can return multiple values. When `true`,
|
6506
|
+
# the slot may return more than one value in a response. When `false`,
|
6507
|
+
# the slot returns only a single value.
|
6508
|
+
#
|
6509
|
+
# Multi-value slots are only available in the en-US locale. If you set
|
6510
|
+
# this value to `true` in any other locale, Amazon Lex throws a
|
6511
|
+
# `ValidationException`.
|
6512
|
+
#
|
6513
|
+
# If the `allowMutlipleValues` is not set, the default value is
|
6514
|
+
# `false`.
|
6515
|
+
# @return [Boolean]
|
6516
|
+
#
|
6517
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/MultipleValuesSetting AWS API Documentation
|
6518
|
+
#
|
6519
|
+
class MultipleValuesSetting < Struct.new(
|
6520
|
+
:allow_multiple_values)
|
6521
|
+
SENSITIVE = []
|
6522
|
+
include Aws::Structure
|
6523
|
+
end
|
6524
|
+
|
6467
6525
|
# Determines whether Amazon Lex obscures slot values in conversation
|
6468
6526
|
# logs.
|
6469
6527
|
#
|
@@ -9124,6 +9182,9 @@ module Aws::LexModelsV2
|
|
9124
9182
|
# bot_version: "DraftBotVersion", # required
|
9125
9183
|
# locale_id: "LocaleId", # required
|
9126
9184
|
# intent_id: "Id", # required
|
9185
|
+
# multiple_values_setting: {
|
9186
|
+
# allow_multiple_values: false,
|
9187
|
+
# },
|
9127
9188
|
# }
|
9128
9189
|
#
|
9129
9190
|
# @!attribute [rw] slot_id
|
@@ -9176,6 +9237,16 @@ module Aws::LexModelsV2
|
|
9176
9237
|
# The identifier of the intent that contains the slot.
|
9177
9238
|
# @return [String]
|
9178
9239
|
#
|
9240
|
+
# @!attribute [rw] multiple_values_setting
|
9241
|
+
# Determines whether the slot accepts multiple values in one response.
|
9242
|
+
# Multiple value slots are only available in the en-US locale. If you
|
9243
|
+
# set this value to `true` in any other locale, Amazon Lex throws a
|
9244
|
+
# `ValidationException`.
|
9245
|
+
#
|
9246
|
+
# If the `multipleValuesSetting` is not set, the default value is
|
9247
|
+
# `false`.
|
9248
|
+
# @return [Types::MultipleValuesSetting]
|
9249
|
+
#
|
9179
9250
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotRequest AWS API Documentation
|
9180
9251
|
#
|
9181
9252
|
class UpdateSlotRequest < Struct.new(
|
@@ -9188,7 +9259,8 @@ module Aws::LexModelsV2
|
|
9188
9259
|
:bot_id,
|
9189
9260
|
:bot_version,
|
9190
9261
|
:locale_id,
|
9191
|
-
:intent_id
|
9262
|
+
:intent_id,
|
9263
|
+
:multiple_values_setting)
|
9192
9264
|
SENSITIVE = []
|
9193
9265
|
include Aws::Structure
|
9194
9266
|
end
|
@@ -9245,6 +9317,10 @@ module Aws::LexModelsV2
|
|
9245
9317
|
# The timestamp of the date and time that the slot was last updated.
|
9246
9318
|
# @return [Time]
|
9247
9319
|
#
|
9320
|
+
# @!attribute [rw] multiple_values_setting
|
9321
|
+
# Indicates whether the slot accepts multiple values in one response.
|
9322
|
+
# @return [Types::MultipleValuesSetting]
|
9323
|
+
#
|
9248
9324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotResponse AWS API Documentation
|
9249
9325
|
#
|
9250
9326
|
class UpdateSlotResponse < Struct.new(
|
@@ -9259,7 +9335,8 @@ module Aws::LexModelsV2
|
|
9259
9335
|
:locale_id,
|
9260
9336
|
:intent_id,
|
9261
9337
|
:creation_date_time,
|
9262
|
-
:last_updated_date_time
|
9338
|
+
:last_updated_date_time,
|
9339
|
+
:multiple_values_setting)
|
9263
9340
|
SENSITIVE = []
|
9264
9341
|
include Aws::Structure
|
9265
9342
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexmodelsv2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.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: 2021-
|
11
|
+
date: 2021-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|