UpdateDescription
Modifies the name of an Elasticsearch instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
elasticsearch:UpdateDescription |
update |
*Instance
|
None | None |
Request syntax
PATCH /openapi/instances/{InstanceId}/description HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
es-cn-n6w1ptcb30009**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clientToken |
string |
No |
Ensures the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
5A2CFF0E-5718-45B5-9D4D-70B350**** |
| body |
object |
No |
The request body. |
|
| description |
string |
No |
The updated name of the instance. |
aliyunes_name_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
FDF34727-1664-44C1-A8DA-3EB72D60**** |
| Result |
object |
The returned result. |
|
| description |
string |
The updated name of the instance. |
aliyunes_test_name |
In the following response example, only the parameters included in the returned data list are guaranteed to be present. Unmentioned parameters are for reference only. For parameter descriptions, see ListInstance. Do not hardcode dependencies on these unmentioned parameters in your programs.
Examples
Success response
JSON format
{
"RequestId": "FDF34727-1664-44C1-A8DA-3EB72D60****",
"Result": {
"description": "aliyunes_test_name"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.