Gets security groups that can be associated by the AWS account making the request with network interfaces in the specified VPC.
The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, seeCommon Query Parameters.
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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.
Type: Boolean
Required: No
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.
Type: Array ofFilter objects
Required: No
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, seePagination.
Type: Integer
Valid Range: Minimum value of 5. Maximum value of 1000.
Required: No
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
Type: String
Required: No
The VPC ID where the security group can be used.
Type: String
Required: Yes
The following elements are returned by the service.
The token to include in another request to get the next page of items. This value isnull when there are no more items to return.
Type: String
The ID of the request.
Type: String
The security group that can be used by interfaces in the VPC.
Type: Array ofSecurityGroupForVpc objects
For information about the errors that are common to all actions, seeCommon client error codes.
For more information about using this API in one of the language-specific AWS SDKs, see the following: