Copyright | (c) 2013-2017 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 VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.
- describeSecurityGroupReferences :: DescribeSecurityGroupReferences
- data DescribeSecurityGroupReferences
- dsgrDryRun :: Lens' DescribeSecurityGroupReferences (Maybe Bool)
- dsgrGroupId :: Lens' DescribeSecurityGroupReferences [Text]
- describeSecurityGroupReferencesResponse :: Int -> DescribeSecurityGroupReferencesResponse
- data DescribeSecurityGroupReferencesResponse
- dsgrrsSecurityGroupReferenceSet :: Lens' DescribeSecurityGroupReferencesResponse [SecurityGroupReference]
- dsgrrsResponseStatus :: Lens' DescribeSecurityGroupReferencesResponse Int
Creating a Request
describeSecurityGroupReferences :: DescribeSecurityGroupReferences Source #
Creates a value of DescribeSecurityGroupReferences
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsgrDryRun
- 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.dsgrGroupId
- One or more security group IDs in your account.
data DescribeSecurityGroupReferences Source #
See: describeSecurityGroupReferences
smart constructor.
Request Lenses
dsgrDryRun :: Lens' DescribeSecurityGroupReferences (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.
dsgrGroupId :: Lens' DescribeSecurityGroupReferences [Text] Source #
One or more security group IDs in your account.
Destructuring the Response
describeSecurityGroupReferencesResponse Source #
Creates a value of DescribeSecurityGroupReferencesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsgrrsSecurityGroupReferenceSet
- Information about the VPCs with the referencing security groups.dsgrrsResponseStatus
- -- | The response status code.
data DescribeSecurityGroupReferencesResponse Source #
See: describeSecurityGroupReferencesResponse
smart constructor.
Response Lenses
dsgrrsSecurityGroupReferenceSet :: Lens' DescribeSecurityGroupReferencesResponse [SecurityGroupReference] Source #
Information about the VPCs with the referencing security groups.
dsgrrsResponseStatus :: Lens' DescribeSecurityGroupReferencesResponse Int Source #
- - | The response status code.