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 VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request.
Synopsis
- data DescribeSecurityGroupReferences = DescribeSecurityGroupReferences' {}
- newDescribeSecurityGroupReferences :: DescribeSecurityGroupReferences
- describeSecurityGroupReferences_dryRun :: Lens' DescribeSecurityGroupReferences (Maybe Bool)
- describeSecurityGroupReferences_groupId :: Lens' DescribeSecurityGroupReferences [Text]
- data DescribeSecurityGroupReferencesResponse = DescribeSecurityGroupReferencesResponse' {}
- newDescribeSecurityGroupReferencesResponse :: Int -> DescribeSecurityGroupReferencesResponse
- describeSecurityGroupReferencesResponse_securityGroupReferenceSet :: Lens' DescribeSecurityGroupReferencesResponse (Maybe [SecurityGroupReference])
- describeSecurityGroupReferencesResponse_httpStatus :: Lens' DescribeSecurityGroupReferencesResponse Int
Creating a Request
data DescribeSecurityGroupReferences Source #
See: newDescribeSecurityGroupReferences
smart constructor.
DescribeSecurityGroupReferences' | |
|
Instances
newDescribeSecurityGroupReferences :: DescribeSecurityGroupReferences Source #
Create a value of DescribeSecurityGroupReferences
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:DescribeSecurityGroupReferences'
, describeSecurityGroupReferences_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
.
DescribeSecurityGroupReferences
, describeSecurityGroupReferences_groupId
- The IDs of the security groups in your account.
Request Lenses
describeSecurityGroupReferences_dryRun :: Lens' DescribeSecurityGroupReferences (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
.
describeSecurityGroupReferences_groupId :: Lens' DescribeSecurityGroupReferences [Text] Source #
The IDs of the security groups in your account.
Destructuring the Response
data DescribeSecurityGroupReferencesResponse Source #
See: newDescribeSecurityGroupReferencesResponse
smart constructor.
DescribeSecurityGroupReferencesResponse' | |
|
Instances
newDescribeSecurityGroupReferencesResponse Source #
Create a value of DescribeSecurityGroupReferencesResponse
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:securityGroupReferenceSet:DescribeSecurityGroupReferencesResponse'
, describeSecurityGroupReferencesResponse_securityGroupReferenceSet
- Information about the VPCs with the referencing security groups.
$sel:httpStatus:DescribeSecurityGroupReferencesResponse'
, describeSecurityGroupReferencesResponse_httpStatus
- The response's http status code.
Response Lenses
describeSecurityGroupReferencesResponse_securityGroupReferenceSet :: Lens' DescribeSecurityGroupReferencesResponse (Maybe [SecurityGroupReference]) Source #
Information about the VPCs with the referencing security groups.
describeSecurityGroupReferencesResponse_httpStatus :: Lens' DescribeSecurityGroupReferencesResponse Int Source #
The response's http status code.