Updates the flow log settings.
Operation description
-
You can call this operation to update flow log settings, or manually update them in Flow Builder > Settings > Log.
-
Before calling this operation, make sure that you have activated Simple Log Service and created flow log settings.
-
If you have not created flow log settings for the flow, first create them by calling the CreateChatFlowLogSetting operation.
-
Updating flow log settings may affect your business. Proceed with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:UpdateChatFlowLogSetting |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FlowCode |
string |
No |
The flow code. You can view the flow code in the Flow Builder. |
9ccc41************************** |
| Id |
integer |
No |
The unique ID of the setting. You can obtain this ID by calling the ReadChatFlowLogSetting operation. |
100 |
| Status |
string |
No |
The log enabling status. Valid values:
Valid values:
|
ENABLED |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The details about the access denial. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Data |
object |
The returned data object. |
|
| Code |
string |
The error code. For more information, see Error codes. |
OK |
| Success |
boolean |
Indicates whether the operation was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "None",
"RequestId": "90E63D28-E31D-1EB2-8939-A94866411B2O",
"Data": {
"test": "test",
"test2": 1
},
"Code": "OK",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.