Modifies a FULLNAT entry.
Operation description
-
ModifyFullNatEntryAttribute is an asynchronous operation. After a request is sent, the system returns a request ID and runs the task in the background. You can call the ListFullNatEntries operation to query the status of a FULLNAT entry.
- Modifying: indicates that the system is modifying the FULLNAT entry. You can query the FULLNAT entry, but cannot perform other operations.
- Available: indicates that the FULLNAT entry is modified.
-
You cannot repeatedly call the ModifyFullNatEntryAttribute operation to modify a FULLNAT entry within the specified period of time.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ClientToken | string | No | The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters. Note
If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
| 5A2CFF0E-5718-45B5-9D4D-70B3FF3898 |
FullNatTableId | string | Yes | The ID of the FULLNAT table to be modified. | fulltb-gw88z7hhlv43rmb26**** |
FullNatEntryId | string | Yes | The ID of the FULLNAT entry to be modified. | fullnat-gw8fz23jezpbblf1j**** |
NetworkInterfaceId | string | No | The ID of the elastic network interface (ENI) to be modified. | eni-gw8g131ef2dnbu3k**** |
NatIp | string | No | The NAT IP address to be modified. | 192.168.XX.XX |
NatIpPort | string | No | The frontend port to be modified in FULLNAT port mapping. Valid values: 1 to 65535. | 80 |
AccessIp | string | No | The backend IP address to be modified in FULLNAT address translation. | 192.168.XX.XX |
AccessPort | string | No | The backend port to be modified in FULLNAT port mapping. Valid values: 1 to 65535. | 80 |
IpProtocol | string | No | The protocol of the packets that are forwarded by the port. Valid values:
| TCP |
FullNatEntryName | string | No | The new name of the FULLNAT entry. The name must be 2 to 128 characters in length. It must start with a letter but cannot start with | modify |
FullNatEntryDescription | string | No | The new description of the FULLNAT entry. You can leave this parameter empty or enter a description. If you enter a description, the description must be 2 to 256 characters in length and cannot start with | abcd |
DryRun | boolean | No | Specifies whether to perform only a dry run, without performing the actual request. Valid values:
| false |
RegionId | string | Yes | The region ID of the Virtual Private Cloud (VPC) NAT gateway to which the FULLNAT entry to be modified belongs. You can call the DescribeRegions operation to query the most recent region list. | eu-central-1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ResourceNotFound.NetworkInterfaceId | The specified resource is not found. | The specified resource is not found. |
400 | ResourceAlreadyExist.FullNatEntry | The specified resource of %s is already exist. | The FULLNAT rule already exists. |
400 | IncorrectStatus.NatIp | The status of %s [%s] is incorrect. | The status of NatIp is incorrect. |
400 | UnsupportedFeature.PrivateLinkMode | The feature of %s is not supported. | The feature of reverse access is not supported. |
400 | DependencyViolation.PrivateLinkMode | The specified resource of %s depends on %s, so the operation cannot be completed. | The %s resource depends on %s. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-07-23 | The Error code has changed | View Change Details |