/AWS1/CL_EC2=>GETSECURITYGROUPSFORVPC()
¶
About GetSecurityGroupsForVpc¶
Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_VPCID
TYPE /AWS1/EC2VPCID
/AWS1/EC2VPCID
¶
The VPC ID where the security group can be used.
Optional arguments:¶
IV_NEXTTOKEN
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
IV_MAXRESULTS
TYPE /AWS1/EC2GETSECGRSFORVPCREQM00
/AWS1/EC2GETSECGRSFORVPCREQM00
¶
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
IT_FILTERS
TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST
TT_FILTERLIST
¶
The filters. If using multiple filters, the results include security groups which match all filters.
group-id
: The security group ID.
description
: The security group's description.
group-name
: The security group name.
owner-id
: The security group owner ID.
primary-vpc-id
: The VPC ID in which the security group was created.
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
.