ModifyAgentInstanceMemoryConfig
Enables or disables the memory feature for the specified agent instances.
Operation description
Call ListAgentInstanceMemory to obtain the target instance IDs. The server validates all instances in the request before updating the memory settings. After the update, you can query the memory settings of the instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
appstreaming:ModifyAgentInstanceMemoryConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentInstanceIds |
array |
No |
The list of agent instance IDs. You can specify 1 to 100 IDs, and the IDs must be unique. Each instance must belong to the current account, support memory management, and have the memory feature configured. |
|
|
string |
No |
The ID of the agent instance for which you want to update the memory settings. |
agi-08vm**** |
|
| Enabled |
boolean |
No |
Required. Specifies whether to enable the memory feature. Valid values:
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response to the API call. |
||
| RequestId |
string |
The unique identifier of the request, which can be used to troubleshoot issues. |
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.