Modifies the attributes of a network access control list (ACL).
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyNetworkAclAttributes |
The operation that you want to perform. Set the value to ModifyNetworkAclAttributes. |
NetworkAclId | String | Yes | acl-bp1lhl0taikrxxxxxxxx |
The description of the network ACL. |
RegionId | String | Yes | cn-hangzhou |
The region where the network ACL is deployed. You can call the DescribeRegions operation to query the region IDs. |
Description | String | No | This is my NetworkAcl. |
The description of the network ACL. The description must be 2 to 256 characters in length. The description must start
with a letter but cannot start with |
NetworkAclName | String | No | acl-1 |
The name of the network ACL. The name must be 2 to 128 characters in length and can contain digits, underscores
(_), and hyphens (-). The name must start with a letter but cannot start with |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 8F76C3E4-B39F-465D-B8B3-50BAF03CA833 |
The ID of the request. |
Examples
Sample requests
https://vpc.aliyuncs.com/?Action=ModifyNetworkAclAttributes
&NetworkAclId=acl-bp1lhl0taikrxxxxxxxx
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<ModifyNetworkAclAttributesResponse>
<RequestId>8F76C3E4-B39F-465D-B8B3-50BAF03CA833</RequestId>
</ModifyNetworkAclAttributesResponse>
JSON
format
{
"RequestId":"8F76C3E4-B39F-465D-B8B3-50BAF03CA833"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
500 | InternalError | The request processing has failed due to some unknown error. | The error message returned because unknown errors have occurred. |
For a list of error codes, visit the API Error Center.