Skip to content

Commit cbef83b

Browse files
author
AWS
committed
Amazon Lex Model Building V2 Update: Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug
1 parent ce9cb6d commit cbef83b

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
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": "Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug"
6+
}

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

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3649,6 +3649,10 @@
36493649
"documentation":"<p>The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.</p>"
36503650
},
36513651
"dataPrivacy":{"shape":"DataPrivacy"},
3652+
"errorLogSettings":{
3653+
"shape":"ErrorLogSettings",
3654+
"documentation":"<p>Allows you to configure destinations where error logs will be published during the bot import process.</p>"
3655+
},
36523656
"idleSessionTTLInSeconds":{
36533657
"shape":"SessionTTL",
36543658
"documentation":"<p>The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot. </p> <p>A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.</p> <p>You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.</p>"
@@ -5036,6 +5040,10 @@
50365040
"botMembers":{
50375041
"shape":"BotMembers",
50385042
"documentation":"<p>The list of bot members in a network to be created.</p>"
5043+
},
5044+
"errorLogSettings":{
5045+
"shape":"ErrorLogSettings",
5046+
"documentation":"<p>Specifies the configuration for error logging during bot creation.</p>"
50395047
}
50405048
}
50415049
},
@@ -5089,6 +5097,10 @@
50895097
"botMembers":{
50905098
"shape":"BotMembers",
50915099
"documentation":"<p>The list of bots in a network that was created.</p>"
5100+
},
5101+
"errorLogSettings":{
5102+
"shape":"ErrorLogSettings",
5103+
"documentation":"<p>Specifies configuration settings for delivering error logs to Cloudwatch Logs in an Amazon Lex bot response.</p>"
50925104
}
50935105
}
50945106
},
@@ -5274,6 +5286,10 @@
52745286
"qnAIntentConfiguration":{
52755287
"shape":"QnAIntentConfiguration",
52765288
"documentation":"<p>Specifies the configuration of the built-in <code>Amazon.QnAIntent</code>. The <code>AMAZON.QnAIntent</code> intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the <code>kendraConfiguration</code> field.</p>"
5289+
},
5290+
"qInConnectIntentConfiguration":{
5291+
"shape":"QInConnectIntentConfiguration",
5292+
"documentation":"<p>Qinconnect intent configuration details for the create intent request.</p>"
52775293
}
52785294
}
52795295
},
@@ -5351,6 +5367,10 @@
53515367
"qnAIntentConfiguration":{
53525368
"shape":"QnAIntentConfiguration",
53535369
"documentation":"<p>Details about the the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>"
5370+
},
5371+
"qInConnectIntentConfiguration":{
5372+
"shape":"QInConnectIntentConfiguration",
5373+
"documentation":"<p>Qinconnect intent configuration details for the create intent response.</p>"
53545374
}
53555375
}
53565376
},
@@ -6933,6 +6953,10 @@
69336953
"failureReasons":{
69346954
"shape":"FailureReasons",
69356955
"documentation":"<p>If the <code>botStatus</code> is <code>Failed</code>, this contains a list of reasons that the bot couldn't be built.</p>"
6956+
},
6957+
"errorLogSettings":{
6958+
"shape":"ErrorLogSettings",
6959+
"documentation":"<p>Contains the configuration for error logging that specifies where and how bot errors are recorded, including destinations like CloudWatch Logs.</p>"
69366960
}
69376961
}
69386962
},
@@ -7290,6 +7314,10 @@
72907314
"qnAIntentConfiguration":{
72917315
"shape":"QnAIntentConfiguration",
72927316
"documentation":"<p>Details about the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>"
7317+
},
7318+
"qInConnectIntentConfiguration":{
7319+
"shape":"QInConnectIntentConfiguration",
7320+
"documentation":"<p>Qinconnect intent configuration details for the describe intent response.</p>"
72937321
}
72947322
}
72957323
},
@@ -7905,6 +7933,17 @@
79057933
"INTERNAL_SERVER_FAILURE"
79067934
]
79077935
},
7936+
"ErrorLogSettings":{
7937+
"type":"structure",
7938+
"required":["enabled"],
7939+
"members":{
7940+
"enabled":{
7941+
"shape":"BoxedBoolean",
7942+
"documentation":"<p>Settings parameters for the error logs, when it is enabled.</p>"
7943+
}
7944+
},
7945+
"documentation":"<p>Settings parameters for the error logs, whether it is enabled or disabled.</p>"
7946+
},
79087947
"ErrorMessage":{"type":"string"},
79097948
"ExactResponseFields":{
79107949
"type":"structure",
@@ -11246,6 +11285,31 @@
1124611285
},
1124711286
"documentation":"<p>Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.</p>"
1124811287
},
11288+
"QInConnectAssistantARN":{
11289+
"type":"string",
11290+
"pattern":"^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$"
11291+
},
11292+
"QInConnectAssistantConfiguration":{
11293+
"type":"structure",
11294+
"required":["assistantArn"],
11295+
"members":{
11296+
"assistantArn":{
11297+
"shape":"QInConnectAssistantARN",
11298+
"documentation":"<p>The assistant Arn details of the Qinconnect assistant configuration.</p>"
11299+
}
11300+
},
11301+
"documentation":"<p>The configuration details of the Qinconnect assistant.</p>"
11302+
},
11303+
"QInConnectIntentConfiguration":{
11304+
"type":"structure",
11305+
"members":{
11306+
"qInConnectAssistantConfiguration":{
11307+
"shape":"QInConnectAssistantConfiguration",
11308+
"documentation":"<p>The Qinconnect assistant configuration details of the Qinconnect intent.</p>"
11309+
}
11310+
},
11311+
"documentation":"<p>The configuration details of the Qinconnect intent.</p>"
11312+
},
1124911313
"QnAIntentConfiguration":{
1125011314
"type":"structure",
1125111315
"members":{
@@ -13904,6 +13968,10 @@
1390413968
"botMembers":{
1390513969
"shape":"BotMembers",
1390613970
"documentation":"<p>The list of bot members in the network associated with the update action.</p>"
13971+
},
13972+
"errorLogSettings":{
13973+
"shape":"ErrorLogSettings",
13974+
"documentation":"<p>Allows you to modify how Amazon Lex logs errors during bot interactions, including destinations for error logs and the types of errors to be captured.</p>"
1390713975
}
1390813976
}
1390913977
},
@@ -13953,6 +14021,10 @@
1395314021
"botMembers":{
1395414022
"shape":"BotMembers",
1395514023
"documentation":"<p>The list of bot members in the network that was updated.</p>"
14024+
},
14025+
"errorLogSettings":{
14026+
"shape":"ErrorLogSettings",
14027+
"documentation":"<p>Settings for managing error logs within the response of an update bot operation.</p>"
1395614028
}
1395714029
}
1395814030
},
@@ -14096,6 +14168,10 @@
1409614168
"qnAIntentConfiguration":{
1409714169
"shape":"QnAIntentConfiguration",
1409814170
"documentation":"<p>Specifies the configuration of the built-in <code>Amazon.QnAIntent</code>. The <code>AMAZON.QnAIntent</code> intent is called when Amazon Lex can't determine another intent to invoke. If you specify this field, you can't specify the <code>kendraConfiguration</code> field.</p>"
14171+
},
14172+
"qInConnectIntentConfiguration":{
14173+
"shape":"QInConnectIntentConfiguration",
14174+
"documentation":"<p>Qinconnect intent configuration details for the update intent request.</p>"
1409914175
}
1410014176
}
1410114177
},
@@ -14181,6 +14257,10 @@
1418114257
"qnAIntentConfiguration":{
1418214258
"shape":"QnAIntentConfiguration",
1418314259
"documentation":"<p>Details about the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>"
14260+
},
14261+
"qInConnectIntentConfiguration":{
14262+
"shape":"QInConnectIntentConfiguration",
14263+
"documentation":"<p>Qinconnect intent configuration details for the update intent response.</p>"
1418414264
}
1418514265
}
1418614266
},

0 commit comments

Comments
 (0)