Disassociates secondary Elastic IP addresses (EIPs) from a public NAT gateway. You cannot disassociate your primary EIP. For more information, see Edit secondary IP address associations in the Amazon VPC User Guide.
See https://www.paws-r-sdk.com/docs/ec2_disassociate_nat_gateway_address/ for full documentation.
ec2_disassociate_nat_gateway_address(
NatGatewayId,
AssociationIds,
MaxDrainDurationSeconds = NULL,
DryRun = NULL
)
[required] The ID of the NAT gateway.
[required] The association IDs of EIPs that have been associated with the NAT gateway.
The maximum amount of time to wait (in seconds) before forcibly releasing the IP addresses if connections are still in progress. Default value is 350 seconds.
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.