// [VPC only] Describes the stale security group rules for security groups in a
// specified VPC. Rules are stale when they reference a deleted security group in a
// peer VPC, or a security group in a peer VPC for which the VPC peering connection
// has been deleted.
[VPC only] Describes the stale security group rules for security groups in a
specified VPC. Rules are stale when they reference a deleted security group in a
peer VPC, or a security group in a peer VPC for which the VPC peering connection
has been deleted.
// [ VPC only ] Describes the stale security group rules for security groups in a // specified VPC . Rules are stale when they reference a deleted security group in a // peer VPC or a security group in a peer VPC for which the VPC peering connection // has been deleted .
func (c *Client) DescribeStaleSecurityGroups(ctx context.Context, params *DescribeStaleSecurityGroupsInput, optFns ...func(*Options)) (*DescribeStaleSecurityGroupsOutput, error) {
	if params == nil {
		params = &DescribeStaleSecurityGroupsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribeStaleSecurityGroups", params, optFns, addOperationDescribeStaleSecurityGroupsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribeStaleSecurityGroupsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribeStaleSecurityGroups ( ctx context . Context , params * DescribeStaleSecurityGroupsInput , optFns ... func ( * Options ) ) ( * DescribeStaleSecurityGroupsOutput , error ) { if params == nil { params = & DescribeStaleSecurityGroupsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribeStaleSecurityGroupsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribeStaleSecurityGroupsOutput ) out . ResultMetadata = metadata return out , nil }
[VPC only] Describes the stale security group rules for security groups in a
specified VPC.
[ VPC only ] Describes the stale security group rules for security groups in a specified VPC .