Sets the attribute for a specified Bastionhost instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyInstanceAttribute |
The operation that you want to perform. Set the value to ModifyInstanceAttribute. |
InstanceId | String | Yes | bastionhost-cn-78v1gh**** |
The ID of the Bastionhost instance. Note You can call the DescribeInstances operation to obtain the ID of the Bastionhost instance.
|
Description | String | No | Bastionhost demo |
The description of the Bastionhost instance. |
RegionId | String | No | cn-hangzhou |
The region ID of the Bastionhost instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | E07158EA-D1A3-4BAA-84DA-2FE230D03884 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ModifyInstanceAttribute
&InstanceId=bastionhost-cn-78v1gh****
&<Common request parameters>
Sample success responses
XML
format
<ModifyInstanceAttributeResponse>
<RequestId>E07158EA-D1A3-4BAA-84DA-2FE230D03884</RequestId>
</ModifyInstanceAttributeResponse>
JSON
format
{
"RequestId":"E07158EA-D1A3-4BAA-84DA-2FE230D03884"
}
Error codes
For a list of error codes, visit the API Error Center.