Updates the attributes of an ACL, such as its name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alb:UpdateAclAttribute |
update |
*Acl
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A client-generated token that ensures request idempotence. The token must be unique for each request. The token can contain only ASCII characters and cannot exceed 64 characters in length. Note
If you do not specify this parameter, the system automatically uses the request's |
5A2CFF0E-5718-45B5-9D4D-70B****** |
| AclId |
string |
Yes |
The ID of the ACL. |
acl-hp34s2h0xx1ht4nwo**** |
| AclName |
string |
Yes |
The name of the ACL. The name must be 2 to 128 characters long. It must start with a letter, a Chinese character, or a digit, and can contain digits, periods (.), underscores (_), hyphens (-), and spaces. |
test-acl |
| DryRun |
boolean |
No |
Specifies whether to perform a dry run on the request. Valid values:
|
true |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876F****** |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876F******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Conflict.Acl | There is already %s having the same configuration with %s. | There is already %s having the same configuration with %s. |
| 400 | IncorrectStatus.Acl | The status of %s [%s] is incorrect. | |
| 404 | ResourceNotFound.Acl | The specified resource %s is not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.