Skip to content

Commit 8cf41d6

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: This release introduces a new feature to stop a running BotRecommendation Job for Automated Chatbot Designer.
1 parent 4106eb3 commit 8cf41d6

File tree

2 files changed

+90
-1
lines changed

2 files changed

+90
-1
lines changed
Lines changed: 6 additions & 0 deletions
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 introduces a new feature to stop a running BotRecommendation Job for Automated Chatbot Designer."
6+
}

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

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,27 @@
999999
],
10001000
"documentation":"<p>Starts importing a bot, bot locale, or custom vocabulary from a zip archive that you uploaded to an S3 bucket.</p>"
10011001
},
1002+
"StopBotRecommendation":{
1003+
"name":"StopBotRecommendation",
1004+
"http":{
1005+
"method":"PUT",
1006+
"requestUri":"/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/botrecommendations/{botRecommendationId}/stopbotrecommendation",
1007+
"responseCode":202
1008+
},
1009+
"input":{"shape":"StopBotRecommendationRequest"},
1010+
"output":{"shape":"StopBotRecommendationResponse"},
1011+
"errors":[
1012+
{"shape":"ThrottlingException"},
1013+
{"shape":"ServiceQuotaExceededException"},
1014+
{"shape":"ValidationException"},
1015+
{"shape":"ResourceNotFoundException"},
1016+
{"shape":"ConflictException"},
1017+
{"shape":"PreconditionFailedException"},
1018+
{"shape":"ConflictException"},
1019+
{"shape":"InternalServerException"}
1020+
],
1021+
"documentation":"<p>Stop an already running Bot Recommendation request.</p>"
1022+
},
10021023
"TagResource":{
10031024
"name":"TagResource",
10041025
"http":{
@@ -1825,7 +1846,9 @@
18251846
"Downloading",
18261847
"Updating",
18271848
"Available",
1828-
"Failed"
1849+
"Failed",
1850+
"Stopping",
1851+
"Stopped"
18291852
]
18301853
},
18311854
"BotRecommendationSummary":{
@@ -7686,6 +7709,66 @@
76867709
"max":900,
76877710
"min":1
76887711
},
7712+
"StopBotRecommendationRequest":{
7713+
"type":"structure",
7714+
"required":[
7715+
"botId",
7716+
"botVersion",
7717+
"localeId",
7718+
"botRecommendationId"
7719+
],
7720+
"members":{
7721+
"botId":{
7722+
"shape":"Id",
7723+
"documentation":"<p>The unique identifier of the bot containing the bot recommendation to be stopped.</p>",
7724+
"location":"uri",
7725+
"locationName":"botId"
7726+
},
7727+
"botVersion":{
7728+
"shape":"DraftBotVersion",
7729+
"documentation":"<p>The version of the bot containing the bot recommendation.</p>",
7730+
"location":"uri",
7731+
"locationName":"botVersion"
7732+
},
7733+
"localeId":{
7734+
"shape":"LocaleId",
7735+
"documentation":"<p>The identifier of the language and locale of the bot recommendation to stop. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>",
7736+
"location":"uri",
7737+
"locationName":"localeId"
7738+
},
7739+
"botRecommendationId":{
7740+
"shape":"Id",
7741+
"documentation":"<p>The unique identifier of the bot recommendation to be stopped.</p>",
7742+
"location":"uri",
7743+
"locationName":"botRecommendationId"
7744+
}
7745+
}
7746+
},
7747+
"StopBotRecommendationResponse":{
7748+
"type":"structure",
7749+
"members":{
7750+
"botId":{
7751+
"shape":"Id",
7752+
"documentation":"<p>The unique identifier of the bot containing the bot recommendation that is being stopped.</p>"
7753+
},
7754+
"botVersion":{
7755+
"shape":"DraftBotVersion",
7756+
"documentation":"<p>The version of the bot containing the recommendation that is being stopped.</p>"
7757+
},
7758+
"localeId":{
7759+
"shape":"LocaleId",
7760+
"documentation":"<p>The identifier of the language and locale of the bot response to stop. The string must match one of the supported locales. For more information, see <a href=\"https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html\">Supported languages</a> </p>"
7761+
},
7762+
"botRecommendationStatus":{
7763+
"shape":"BotRecommendationStatus",
7764+
"documentation":"<p>The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.</p>"
7765+
},
7766+
"botRecommendationId":{
7767+
"shape":"Id",
7768+
"documentation":"<p>The unique identifier of the bot recommendation that is being stopped.</p>"
7769+
}
7770+
}
7771+
},
76897772
"String":{"type":"string"},
76907773
"StringMap":{
76917774
"type":"map",

0 commit comments

Comments
 (0)