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 |
Retrieves information on VPC peering connections. Use this operation to get peering information for all fleets or for one specific fleet ID.
To retrieve connection information, call this operation from the Amazon Web Services account that is used to manage the Amazon GameLift fleets. Specify a fleet ID or leave the parameter empty to retrieve all connection records. If successful, the retrieved information includes both active and pending connections. Active connections identify the IpV4 CIDR block that the VPC uses to connect.
Related actions
Synopsis
- data DescribeVpcPeeringConnections = DescribeVpcPeeringConnections' {}
- newDescribeVpcPeeringConnections :: DescribeVpcPeeringConnections
- describeVpcPeeringConnections_fleetId :: Lens' DescribeVpcPeeringConnections (Maybe Text)
- data DescribeVpcPeeringConnectionsResponse = DescribeVpcPeeringConnectionsResponse' {}
- newDescribeVpcPeeringConnectionsResponse :: Int -> DescribeVpcPeeringConnectionsResponse
- describeVpcPeeringConnectionsResponse_vpcPeeringConnections :: Lens' DescribeVpcPeeringConnectionsResponse (Maybe [VpcPeeringConnection])
- describeVpcPeeringConnectionsResponse_httpStatus :: Lens' DescribeVpcPeeringConnectionsResponse Int
Creating a Request
data DescribeVpcPeeringConnections Source #
See: newDescribeVpcPeeringConnections
smart constructor.
Instances
newDescribeVpcPeeringConnections :: DescribeVpcPeeringConnections Source #
Create a value of DescribeVpcPeeringConnections
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:
DescribeVpcPeeringConnections
, describeVpcPeeringConnections_fleetId
- A unique identifier for the fleet. You can use either the fleet ID or
ARN value.
Request Lenses
describeVpcPeeringConnections_fleetId :: Lens' DescribeVpcPeeringConnections (Maybe Text) Source #
A unique identifier for the fleet. You can use either the fleet ID or ARN value.
Destructuring the Response
data DescribeVpcPeeringConnectionsResponse Source #
See: newDescribeVpcPeeringConnectionsResponse
smart constructor.
DescribeVpcPeeringConnectionsResponse' | |
|
Instances
newDescribeVpcPeeringConnectionsResponse Source #
Create a value of DescribeVpcPeeringConnectionsResponse
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:vpcPeeringConnections:DescribeVpcPeeringConnectionsResponse'
, describeVpcPeeringConnectionsResponse_vpcPeeringConnections
- A collection of VPC peering connection records that match the request.
$sel:httpStatus:DescribeVpcPeeringConnectionsResponse'
, describeVpcPeeringConnectionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeVpcPeeringConnectionsResponse_vpcPeeringConnections :: Lens' DescribeVpcPeeringConnectionsResponse (Maybe [VpcPeeringConnection]) Source #
A collection of VPC peering connection records that match the request.
describeVpcPeeringConnectionsResponse_httpStatus :: Lens' DescribeVpcPeeringConnectionsResponse Int Source #
The response's http status code.