Skip to content

DetachClassicLinkVpcRequest

Source code in docs_src/capo_ec2/types/detach_classic_link_vpc_request.py
class DetachClassicLinkVpcRequest(TypedDict, closed=True):
    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>"""
    instance_id: NotRequired["capo_ec2.types.instance_id.InstanceId"]
    """<p>The ID of the instance to unlink from the VPC.</p>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>The ID of the VPC to which the instance is linked.</p>"""
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.

instance_id: NotRequired[InstanceId]

The ID of the instance to unlink from the VPC.

vpc_id: NotRequired[VpcId]

The ID of the VPC to which the instance is linked.