Modify the specification of a NAT gateway.

The NAT Gateway is billed at the largest specification used in a day.

NAT Gateway has different specifications. NAT Gateway specification influences performance metrics (maximum connections and the number of new connections per second), but does not influence data throughput.

The relationship between NAT Gateway specification and SNAT function is as follows:

Specification Max Connections Connections Per Second (CPS)
Small 10 thousand 1 thousand
Medium 50,000 5,000
Large 200,000 10,000

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:


RegionId String Yes

The region of the NAT gateway.

You can obtain the region ID by calling the DescribeRegions API.

NatGatewayId String Yes

The ID of the NAT gateway.

Spec String No
The specification of the NAT gateway. Valid value:
  • Small(default): small

  • Middle: medium

  • Large: large

ClientToken String No

A client token used to guarantee the idempotence of requests.

This parameter value is generated by the client and must be unique. It cannot exceed 64 ASCII characters.

Response parameters

Name Type Description
RequestId String The ID of the request.


Request example
Response example
  • XML format

    <? xml version="1.0" encoding="UTF-8" ? >
  • JSON format

      "RequestId": "2315DEB7-5E92-423A-91F7-4C1EC9AD97C3"