Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- EC2-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.
- describeStaleSecurityGroups :: Text -> DescribeStaleSecurityGroups
- data DescribeStaleSecurityGroups
- dssgNextToken :: Lens' DescribeStaleSecurityGroups (Maybe Text)
- dssgDryRun :: Lens' DescribeStaleSecurityGroups (Maybe Bool)
- dssgMaxResults :: Lens' DescribeStaleSecurityGroups (Maybe Natural)
- dssgVPCId :: Lens' DescribeStaleSecurityGroups Text
- describeStaleSecurityGroupsResponse :: Int -> DescribeStaleSecurityGroupsResponse
- data DescribeStaleSecurityGroupsResponse
- dssgrsStaleSecurityGroupSet :: Lens' DescribeStaleSecurityGroupsResponse [StaleSecurityGroup]
- dssgrsNextToken :: Lens' DescribeStaleSecurityGroupsResponse (Maybe Text)
- dssgrsResponseStatus :: Lens' DescribeStaleSecurityGroupsResponse Int
Creating a Request
describeStaleSecurityGroups Source #
Creates a value of DescribeStaleSecurityGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssgNextToken
- The token for the next set of items to return. (You received this token from a prior call.)dssgDryRun
- Checks whether you have the required permissions for the operation, 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.dssgMaxResults
- 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.dssgVPCId
- The ID of the VPC.
data DescribeStaleSecurityGroups Source #
See: describeStaleSecurityGroups
smart constructor.
Request Lenses
dssgNextToken :: Lens' DescribeStaleSecurityGroups (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a prior call.)
dssgDryRun :: Lens' DescribeStaleSecurityGroups (Maybe Bool) Source #
Checks whether you have the required permissions for the operation, 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.
dssgMaxResults :: 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.
Destructuring the Response
describeStaleSecurityGroupsResponse Source #
Creates a value of DescribeStaleSecurityGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dssgrsStaleSecurityGroupSet
- Information about the stale security groups.dssgrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.dssgrsResponseStatus
- -- | The response status code.
data DescribeStaleSecurityGroupsResponse Source #
See: describeStaleSecurityGroupsResponse
smart constructor.
Response Lenses
dssgrsStaleSecurityGroupSet :: Lens' DescribeStaleSecurityGroupsResponse [StaleSecurityGroup] Source #
Information about the stale security groups.
dssgrsNextToken :: 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.
dssgrsResponseStatus :: Lens' DescribeStaleSecurityGroupsResponse Int Source #
- - | The response status code.