aws ec2 detach-classic-link-vpc
This action is deprecated. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--instance-idThe ID of the instance to unlink from the VPC.--vpc-idThe ID of the VPC to which the instance is linked.