VPC_ID=$(aws ec2 create-vpc \
--cidr-block 10.10.0.0/16 \
--tag-specifications 'ResourceType=vpc,Tags=[{Key=Name,Value=AWSCookbookSuryendu201}]' \
--output text --query Vpc.VpcId )
aws ec2 describe-vpcs --vpc-ids $VPC_ID
This will result in a similar output.
aws ec2 delete-vpc --vpc-id $VPC_ID