pydo.vpcnatgateways.update()
Generated on 9 Jun 2026
from pydo version
v0.36.0
Usage
client.vpcnatgateways.update(
id="70e1b58d-cdec-4e95-b3ee-2d4d95feff51",
body={
"name": "my-vpc-nat-gateway",
"size": 1,
"vpcs": [...],
...,
},
)Description
To update the configuration of an existing VPC NAT Gateway, send a PUT request to
/v2/vpc_nat_gateways/{id}. The request must contain a full representation
of the VPC NAT Gateway including existing attributes.
Parameters
idstring requiredThe unique identifier of the VPC NAT gateway.
namestring requiredExample:
my-vpc-nat-gatewayThe human-readable name of the VPC NAT gateway.
sizeinteger requiredExample:
1The size of the VPC NAT gateway.
vpcsarray of objects optionalAn array of VPCs associated with the VPC NAT gateway.
Show child properties
vpc_uuidstring optionalExample:
0d3db13e-a604-4944-9827-7ec2642d32acThe unique identifier of the VPC to which the NAT gateway is attached.
default_gatewayboolean optionalExample:
FalseThe classification of the NAT gateway as the default egress route for the VPC traffic.
udp_timeout_secondsinteger optionalExample:
30The UDP timeout in seconds for the VPC NAT gateway.
icmp_timeout_secondsinteger optionalExample:
30The ICMP timeout in seconds for the VPC NAT gateway.
tcp_timeout_secondsinteger optionalExample:
30The TCP timeout in seconds for the VPC NAT gateway.
Request Sample
Response Example
More Information
See /v2/vpc_nat_gateways/{id} in the API reference for additional detail on responses, headers, parameters, and more.