Modifies the IPS whitelist of a virtual private cloud (VPC) firewall.
Debugging
Authorization information
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- The required resource types are displayed in bold characters.
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cloudfirewall:ModifyVpcFirewallIPSWhitelist | update |
|
| none |
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
MemberUid | long | No | The UID of the member that is managed by your Alibaba Cloud account. | 1415189284827022 |
VpcFirewallId | string | Yes | The instance ID of the VPC firewall. | vfw-d7b8ce273791475b9b0b |
WhiteType | long | Yes | The type of the whitelist. Valid values:
| 1 |
ListType | long | Yes | The type of the list. Valid values:
| 1 |
ListValue | string | No | The entry in the list. | 10.130.0.0/20,10.130.17.11/32 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ErrorParametersUid | The aliUid parameter is invalid. | The aliUid parameter is invalid. |
400 | ErrorParametersFirewallId | Invalid VPC firewall ID. | The VPC firewall ID is invalid. |
400 | ErrorParameters | Parameters error. | Parameter error. |
400 | ErrorDBSelect | An error occurred while querying database. | An error occurred while querying database. |
400 | ErrorAddressCountExceed | The maximum number of addresses is exceeded. | The maximum number of address is exceeded. |
400 | ErrorDBDelete | An error occurred while deleting the database. | An error occurred while deleting the database. |
400 | ErrorDBInsert | An error occurred while performing an insert operation in the database. | An error occurred while performing an insert operation in the database. |
400 | ErrorParametersWhitelistIP | Invalid whitelistIp. | The IP address is invalid. |
400 | ErrorRecordLog | update operation log error. | - |
400 | ErrorMarshalJSON | internal error: marshal json. | An error occurred. Try again later. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-08-29 | The Error code has changed | View Change Details |
2024-07-30 | The Error code has changed | View Change Details |