Skip to content

DescribeStaleSecurityGroupsRequest

Source code in docs_src/capo_ec2/types/describe_stale_security_groups_request.py
class DescribeStaleSecurityGroupsRequest(TypedDict, closed=True):
    dry_run: NotRequired["capo_ec2.types.boolean.Boolean"]
    """<p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"""
    max_results: NotRequired[
        "capo_ec2.types.describe_stale_security_groups_max_results.DescribeStaleSecurityGroupsMaxResults"
    ]
    """<p>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 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>"""
    next_token: NotRequired[
        "capo_ec2.types.describe_stale_security_groups_next_token.DescribeStaleSecurityGroupsNextToken"
    ]
    """<p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>"""
    vpc_id: NotRequired["capo_ec2.types.vpc_id.VpcId"]
    """<p>The ID of the VPC.</p>"""

dry_run instance-attribute

dry_run: NotRequired[Boolean]

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.

max_results instance-attribute

max_results: NotRequired[DescribeStaleSecurityGroupsMaxResults]

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.

next_token instance-attribute

next_token: NotRequired[DescribeStaleSecurityGroupsNextToken]

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

vpc_id instance-attribute

vpc_id: NotRequired[VpcId]

The ID of the VPC.