Movatterモバイル変換


[0]ホーム

URL:


GetSecurityGroupsForVpc - Amazon Elastic Compute Cloud
DocumentationAmazon EC2API Reference
Request ParametersResponse ElementsErrorsSee Also

GetSecurityGroupsForVpc

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

Request Parameters

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.

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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.

Type: Boolean

Required: No

Filter.N

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

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, seePagination.

Type: Integer

Valid Range: Minimum value of 5. Maximum value of 1000.

Required: No

NextToken

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

VpcId

The VPC ID where the security group can be used.

Type: String

Required: Yes

Response Elements

The following elements are returned by the service.

nextToken

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

requestId

The ID of the request.

Type: String

securityGroupForVpcSet

The security group that can be used by interfaces in the VPC.

Type: Array ofSecurityGroupForVpc objects

Errors

For information about the errors that are common to all actions, seeCommon client error codes.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

GetRouteServerRoutingDatabase
GetSerialConsoleAccessStatus

[8]
ページ先頭

©2009-2025 Movatter.jp