Exports events that occur on a cloud desktop from an Alibaba Cloud Workspace client.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resourcesis used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
| Operation | Access level | Resource type | Condition key | Associated operation |
|---|---|---|---|---|
| ecd:ExportClientEvents | *All Resources * |
| none |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available. | cn-hangzhou |
| EndUserId | string | No | The ID of the endpoint user. | user01 |
| DesktopId | string | No | The cloud computer ID. | ecd-gx2x1dhsmucyy**** |
| DesktopName | string | No | The cloud computer name. | testName |
| OfficeSiteId | string | No | The office network ID. | cn-hangzhou+dir-363353**** |
| OfficeSiteName | string | No | The office network name. | test |
| EventType | string | No | The type of the event that you want to query. If you provide multiple values for EventTypes, the response will include events of all the specified types. If you provide no values for EventTypes and EventType, the response will include all events in the designated region. Valid values:
| CLIENT_LOGIN |
| StartTime | string | No | The beginning of the time range to query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC. If you do not specify a value for this parameter, all events that occurred before the point in time that you specify for | 2022-03-23T04:10:21Z |
| EndTime | string | No | The end of the time range to query. Specify the time in the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC. If you do not specify a value for this parameter, the current time is used. | 2022-03-23T07:11:01Z |
| EventTypes | array | No | The types of the events that you want to query. You can include multiple event types, and the response will return events matching the specified types or all events if none are specified. | |
| string | No | The type of the event that you want to query. Valid values:
| CLIENT_LOGIN | |
| LangType | string | No | The language displayed on the frontend page. The backend uses this setting to define the language of exported files. Valid values:
| zh-CN |
| MaxResults | integer | No | The number of entries to return on each page.
| 50 |
Response parameters
Examples
Sample success responses
JSONformat
{
"Url": "https://cn-shanghai-servicemanager.oss-cn-shanghai.aliyuncs.com/A0_CLIENT_EVENT/EDS_Events%20List_20220519234611_w5HuD83KGs.csv?Expires=1652975773&OSSAccessKeyId=****&Signature=4erMG*********k%3D",
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2022-11-22 | The request parameters of the API has changed | View Change Details |
| 2022-01-20 | Add Operation | View Change Details |
