Modifies the name and description of a NAT CIDR block.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the NAT gateway to which the NAT CIDR block belongs. You can call the DescribeRegions operation to query the most recent region list. | eu-central-1 |
NatIpCidrName | string | Yes | The new name of the NAT CIDR block. The name must be 2 to 128 characters in length, and can contain digits, periods (.), underscores (_), and hyphens (-). It must start with a letter. | newname |
DryRun | boolean | No | Specifies whether to perform only a dry run, without performing the actual request. Valid values:
| false |
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 |
NatIpCidrDescription | string | No | The new description of the NAT CIDR block. The description must be 2 to 256 characters in length. The description must start with a letter but cannot start with | newtest |
NatGatewayId | string | Yes | The ID of the Virtual Private Cloud (VPC) NAT gateway to which the NAT CIDR block belongs. | ngw-gw8v16wgvtq26vh59**** |
NatIpCidr | string | Yes | The NAT CIDR block whose name and description you want to modify. | 172.16.0.0/24 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
404 | ResourceNotFound.NatIpCidr | The specified resource of NatIpCidr is not found. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-23 | The Error code has changed | View Change Details |
2024-07-23 | API Description Update. The Error code has changed | View Change Details |
2023-03-01 | The Error code has changed | View Change Details |