Skip to content

Commit 9041fff

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: This release adds support for Multi Valued slots in Amazon Lex V2 APIs for model building
1 parent 90ce8a3 commit 9041fff

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Lex Model Building V2",
4+
"contributor": "",
5+
"description": "This release adds support for Multi Valued slots in Amazon Lex V2 APIs for model building"
6+
}

services/lexmodelsv2/src/main/resources/codegen-resources/service-2.json

+32-2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
{"shape":"InternalServerException"},
184184
{"shape":"ThrottlingException"}
185185
],
186-
"documentation":"<p>Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.</p> <p>You can create a resource policy statement that allows cross-account access.</p>"
186+
"documentation":"<p>Adds a new resource policy statement to a bot or bot alias. If a resource policy exists, the statement is added to the current resource policy. If a policy doesn't exist, a new policy is created.</p> <p>You can't create a resource policy statement that allows cross-account access.</p>"
187187
},
188188
"CreateSlot":{
189189
"name":"CreateSlot",
@@ -946,7 +946,7 @@
946946
{"shape":"ConflictException"},
947947
{"shape":"InternalServerException"}
948948
],
949-
"documentation":"<p>Updates the password used to encrypt an export zip archive.</p>"
949+
"documentation":"<p>Updates the password used to protect an export zip archive.</p> <p>The password is not required. If you don't supply a password, Amazon Lex generates a zip file that is not protected by a password. This is the archive that is available at the pre-signed S3 URL provided by the operation.</p>"
950950
},
951951
"UpdateIntent":{
952952
"name":"UpdateIntent",
@@ -2507,6 +2507,10 @@
25072507
"documentation":"<p>The identifier of the intent that contains the slot.</p>",
25082508
"location":"uri",
25092509
"locationName":"intentId"
2510+
},
2511+
"multipleValuesSetting":{
2512+
"shape":"MultipleValuesSetting",
2513+
"documentation":"<p>Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>. </p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>"
25102514
}
25112515
}
25122516
},
@@ -2556,6 +2560,10 @@
25562560
"creationDateTime":{
25572561
"shape":"Timestamp",
25582562
"documentation":"<p>The timestamp of the date and time that the slot was created.</p>"
2563+
},
2564+
"multipleValuesSetting":{
2565+
"shape":"MultipleValuesSetting",
2566+
"documentation":"<p>Indicates whether the slot returns multiple values in one response.</p>"
25592567
}
25602568
}
25612569
},
@@ -3724,6 +3732,10 @@
37243732
"lastUpdatedDateTime":{
37253733
"shape":"Timestamp",
37263734
"documentation":"<p>A timestamp of the date and time that the slot was last updated.</p>"
3735+
},
3736+
"multipleValuesSetting":{
3737+
"shape":"MultipleValuesSetting",
3738+
"documentation":"<p>Indicates whether the slot accepts multiple values in a single utterance.</p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>"
37273739
}
37283740
}
37293741
},
@@ -5030,6 +5042,16 @@
50305042
"max":2,
50315043
"min":0
50325044
},
5045+
"MultipleValuesSetting":{
5046+
"type":"structure",
5047+
"members":{
5048+
"allowMultipleValues":{
5049+
"shape":"Boolean",
5050+
"documentation":"<p>Indicates whether a slot can return multiple values. When <code>true</code>, the slot may return more than one value in a response. When <code>false</code>, the slot returns only a single value.</p> <p>Multi-value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>.</p> <p>If the <code>allowMutlipleValues</code> is not set, the default value is <code>false</code>.</p>"
5051+
}
5052+
},
5053+
"documentation":"<p>Indicates whether a slot can return multiple values.</p>"
5054+
},
50335055
"Name":{
50345056
"type":"string",
50355057
"max":100,
@@ -6463,6 +6485,10 @@
64636485
"documentation":"<p>The identifier of the intent that contains the slot.</p>",
64646486
"location":"uri",
64656487
"locationName":"intentId"
6488+
},
6489+
"multipleValuesSetting":{
6490+
"shape":"MultipleValuesSetting",
6491+
"documentation":"<p>Determines whether the slot accepts multiple values in one response. Multiple value slots are only available in the en-US locale. If you set this value to <code>true</code> in any other locale, Amazon Lex throws a <code>ValidationException</code>.</p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>"
64666492
}
64676493
}
64686494
},
@@ -6516,6 +6542,10 @@
65166542
"lastUpdatedDateTime":{
65176543
"shape":"Timestamp",
65186544
"documentation":"<p>The timestamp of the date and time that the slot was last updated.</p>"
6545+
},
6546+
"multipleValuesSetting":{
6547+
"shape":"MultipleValuesSetting",
6548+
"documentation":"<p>Indicates whether the slot accepts multiple values in one response.</p>"
65196549
}
65206550
}
65216551
},

0 commit comments

Comments
 (0)