Skip to content

DisassociateNatGatewayAddressRequest

Source code in docs_src/capo_ec2/types/disassociate_nat_gateway_address_request.py
class DisassociateNatGatewayAddressRequest(TypedDict, closed=True):
    nat_gateway_id: NotRequired["capo_ec2.types.nat_gateway_id.NatGatewayId"]
    """<p>The ID of the NAT gateway.</p>"""
    association_ids: NotRequired[
        "capo_ec2.types.eip_association_id_list.EipAssociationIdList"
    ]
    """<p>The association IDs of EIPs that have been associated with the NAT gateway.</p>"""
    max_drain_duration_seconds: NotRequired["capo_ec2.types.drain_seconds.DrainSeconds"]
    """<p>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.</p>"""
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""

association_ids instance-attribute

association_ids: NotRequired[EipAssociationIdList]

The association IDs of EIPs that have been associated with the NAT gateway.

dry_run instance-attribute

dry_run: NotRequired[Boolean]

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.

max_drain_duration_seconds instance-attribute

max_drain_duration_seconds: NotRequired[DrainSeconds]

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.

nat_gateway_id instance-attribute

nat_gateway_id: NotRequired[NatGatewayId]

The ID of the NAT gateway.