Retrieves the audit trail delivery configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetServiceTrail |
get |
*SasTrail
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The ID of the region in which the instance resides. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. The system generates a unique identifier for each request. You can use the ID to troubleshoot issues. |
C699E4E4-F2F4-58FC-A949-457FFE59**** |
| ServiceTrail |
object |
The service trail configuration. |
|
| Config |
string |
The enabling status of the service trail. Valid values:
|
on |
| CreateTime |
integer |
The timestamp when the service trail was created. Unit: milliseconds. |
1687250241000 |
| UpdateTime |
integer |
The timestamp when the service trail was last updated. Unit: milliseconds. |
1687250241000 |
Examples
Success response
JSON format
{
"RequestId": "C699E4E4-F2F4-58FC-A949-457FFE59****",
"ServiceTrail": {
"Config": "on",
"CreateTime": 1687250241000,
"UpdateTime": 1687250241000
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.