Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- 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 the same VPC or in a peer VPC, or if they reference a security group in a peer VPC for which the VPC peering connection has been deleted.
This operation returns paginated results.
Synopsis
- data DescribeStaleSecurityGroups = DescribeStaleSecurityGroups' {}
- newDescribeStaleSecurityGroups :: Text -> DescribeStaleSecurityGroups
- describeStaleSecurityGroups_dryRun :: Lens' DescribeStaleSecurityGroups (Maybe Bool)
- describeStaleSecurityGroups_maxResults :: Lens' DescribeStaleSecurityGroups (Maybe Natural)
- describeStaleSecurityGroups_nextToken :: Lens' DescribeStaleSecurityGroups (Maybe Text)
- describeStaleSecurityGroups_vpcId :: Lens' DescribeStaleSecurityGroups Text
- data DescribeStaleSecurityGroupsResponse = DescribeStaleSecurityGroupsResponse' {}
- newDescribeStaleSecurityGroupsResponse :: Int -> DescribeStaleSecurityGroupsResponse
- describeStaleSecurityGroupsResponse_nextToken :: Lens' DescribeStaleSecurityGroupsResponse (Maybe Text)
- describeStaleSecurityGroupsResponse_staleSecurityGroupSet :: Lens' DescribeStaleSecurityGroupsResponse (Maybe [StaleSecurityGroup])
- describeStaleSecurityGroupsResponse_httpStatus :: Lens' DescribeStaleSecurityGroupsResponse Int
Creating a Request
data DescribeStaleSecurityGroups Source #
See: newDescribeStaleSecurityGroups
smart constructor.
DescribeStaleSecurityGroups' | |
|
Instances
newDescribeStaleSecurityGroups Source #
Create a value of DescribeStaleSecurityGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeStaleSecurityGroups'
, describeStaleSecurityGroups_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
.
$sel:maxResults:DescribeStaleSecurityGroups'
, describeStaleSecurityGroups_maxResults
- The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results.
DescribeStaleSecurityGroups
, describeStaleSecurityGroups_nextToken
- The token for the next set of items to return. (You received this token
from a prior call.)
DescribeStaleSecurityGroups
, describeStaleSecurityGroups_vpcId
- The ID of the VPC.
Request Lenses
describeStaleSecurityGroups_dryRun :: Lens' DescribeStaleSecurityGroups (Maybe Bool) Source #
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
.
describeStaleSecurityGroups_maxResults :: Lens' DescribeStaleSecurityGroups (Maybe Natural) Source #
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
describeStaleSecurityGroups_nextToken :: Lens' DescribeStaleSecurityGroups (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a prior call.)
describeStaleSecurityGroups_vpcId :: Lens' DescribeStaleSecurityGroups Text Source #
The ID of the VPC.
Destructuring the Response
data DescribeStaleSecurityGroupsResponse Source #
See: newDescribeStaleSecurityGroupsResponse
smart constructor.
DescribeStaleSecurityGroupsResponse' | |
|
Instances
newDescribeStaleSecurityGroupsResponse Source #
Create a value of DescribeStaleSecurityGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeStaleSecurityGroups
, describeStaleSecurityGroupsResponse_nextToken
- The token to use when requesting the next set of items. If there are no
additional items to return, the string is empty.
$sel:staleSecurityGroupSet:DescribeStaleSecurityGroupsResponse'
, describeStaleSecurityGroupsResponse_staleSecurityGroupSet
- Information about the stale security groups.
$sel:httpStatus:DescribeStaleSecurityGroupsResponse'
, describeStaleSecurityGroupsResponse_httpStatus
- The response's http status code.
Response Lenses
describeStaleSecurityGroupsResponse_nextToken :: Lens' DescribeStaleSecurityGroupsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
describeStaleSecurityGroupsResponse_staleSecurityGroupSet :: Lens' DescribeStaleSecurityGroupsResponse (Maybe [StaleSecurityGroup]) Source #
Information about the stale security groups.
describeStaleSecurityGroupsResponse_httpStatus :: Lens' DescribeStaleSecurityGroupsResponse Int Source #
The response's http status code.