use super::*;
#[derive(Debug, Args)]
pub struct DeleteVpc {
#[arg(long)]
vpc_id: String,
#[arg(long)]
dry_run: Option<bool>,
}
impl DeleteVpc {
pub(crate) async fn execute(self, config: &Config) -> Ec2Result {
config
.ec2()
.delete_vpc()
.vpc_id(self.vpc_id)
.set_dry_run(self.dry_run)
.send()
.await?;
Ok(Box::new(()))
}
}