Creates a flow log setting.
Operation description
-
To update a flow log setting by using an API, you must first create a flow log setting. After the setting is created, you can call the ReadChatFlowLogSetting operation to view the flow log setting information, and then call the UpdateChatFlowLogSetting operation to update the flow log setting.
-
If you do not need to update the flow log setting by using an API, you can manually update the flow log information in the Flow Editor > Settings > Log page.
-
Before calling this operation, make sure that you have a successfully created flow.
-
If you do not have a successfully created flow, you can manually create a flow in the Flow Editor page or call the CreateChatFlow operation to create a flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cams:CreateChatFlowLogSetting |
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 Editor page. |
9ccc41************************** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The access denied detail. |
None |
| Message |
string |
The error message. |
None |
| RequestId |
string |
The request ID. |
90E63D28-E31D-1EB2-8939-A94866411B2O |
| Data |
object |
The returned data. |
|
| 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.