Deletes a security group. This action applies to both EC2 security groups and VPC security groups.
For information about VPC security groups and how they differ from EC2 security groups, see Security Groups
in the Amazon Virtual Private Cloud User Guide.
Note! If you attempt to delete a security group that contains instances, or attempt to delete a security
group that is referenced by another security group, an error is returned. For example, if security
group B has a rule that allows access from security group A, security group A cannot be deleted
until the rule is removed.
The fault returned is InvalidGroup.InUse for EC2 security groups, or DependencyViolation
for VPC security groups.