/AWS1/CL_EC2=>DELETESECURITYGROUP()
¶
About DeleteSecurityGroup¶
Deletes a security group.
If you attempt to delete a security group that is associated with an instance or network interface, is
referenced by another security group in the same VPC, or has a VPC association, the operation fails with
DependencyViolation
.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_GROUPID
TYPE /AWS1/EC2SECURITYGROUPID
/AWS1/EC2SECURITYGROUPID
¶
The ID of the security group.
IV_GROUPNAME
TYPE /AWS1/EC2SECURITYGROUPNAME
/AWS1/EC2SECURITYGROUPNAME
¶
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
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 isUnauthorizedOperation
.
RETURNING¶
OO_OUTPUT
TYPE REF TO /AWS1/CL_EC2DELETESECGROUPRSLT
/AWS1/CL_EC2DELETESECGROUPRSLT
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC