Learn R Programming

paws.compute (version 0.7.0)

ec2_get_security_groups_for_vpc: Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC

Description

Gets security groups that can be associated by the Amazon Web Services account making the request with network interfaces in the specified VPC.

See https://www.paws-r-sdk.com/docs/ec2_get_security_groups_for_vpc/ for full documentation.

Usage

ec2_get_security_groups_for_vpc(
  VpcId,
  NextToken = NULL,
  MaxResults = NULL,
  Filters = NULL,
  DryRun = NULL
)

Arguments

VpcId

[required] The VPC ID where the security group can be used.

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

MaxResults

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.

Filters

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.

DryRun

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 is UnauthorizedOperation.