ClearAgentInstanceMemory
Clears the memory of a specified agent instance.
Operation description
Call ListAgentInstanceMemory to query the target instance ID and the associated user. Verify the instance and user before clearing the memory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ClearAgentInstanceMemory |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentInstanceId |
string |
No |
The ID of the agent instance whose memory you want to clear. This parameter is required and can be obtained from the response of ListAgentInstanceMemory. |
agi-08vm**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response of the API call. |
||
| RequestId |
string |
The unique ID of the request, which can be used for troubleshooting. |
01A1CEEB-CDFF-18F9-B2BF-9997600D**** |
Examples
Success response
JSON format
{
"RequestId": "01A1CEEB-CDFF-18F9-B2BF-9997600D****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.