After you submit a task for a Python 3 script, use the returned requestUuid to retrieve the operational logs.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescriberPython3ScriptLogs |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RequestUuid |
string |
Yes |
The UUID that is returned when you run a Python 3 script. Note
Call the RunPython3Script operation to obtain this parameter. |
69edc2b4-c95c-424f-9114-xxxxxxx |
| Lang |
string |
No |
The language of the request and response.
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The unique ID of the request. This ID is generated by Alibaba Cloud and can be used to troubleshoot and locate issues. |
D22D8A0C-6E86-57B2-A142-929184122AB1 |
| RunResult |
string |
The operational logs of the Python 3 script. |
{ "logs": [ { "message": "function input is {}" } ] } |
Examples
Success response
JSON format
{
"RequestId": "D22D8A0C-6E86-57B2-A142-929184122AB1",
"RunResult": "{\n \"logs\": [\n {\n \"message\": \"function input is {}\"\n }\n ]\n}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.