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 |
Removes a VPC peering connection. To delete the connection, you must have a valid authorization for the VPC peering connection that you want to delete. You can check for an authorization by calling DescribeVpcPeeringAuthorizations
or request a new one using CreateVpcPeeringAuthorization
.
Once a valid authorization exists, call this operation from the AWS account that is used to manage the Amazon GameLift fleets. Identify the connection to delete by the connection ID and fleet ID. If successful, the connection is removed.
VPC peering connection operations include:
CreateVpcPeeringAuthorization
DescribeVpcPeeringAuthorizations
DeleteVpcPeeringAuthorization
CreateVpcPeeringConnection
DescribeVpcPeeringConnections
DeleteVpcPeeringConnection
- deleteVPCPeeringConnection :: Text -> Text -> DeleteVPCPeeringConnection
- data DeleteVPCPeeringConnection
- dvpcFleetId :: Lens' DeleteVPCPeeringConnection Text
- dvpcVPCPeeringConnectionId :: Lens' DeleteVPCPeeringConnection Text
- deleteVPCPeeringConnectionResponse :: Int -> DeleteVPCPeeringConnectionResponse
- data DeleteVPCPeeringConnectionResponse
- dvpcrsResponseStatus :: Lens' DeleteVPCPeeringConnectionResponse Int
Creating a Request
deleteVPCPeeringConnection Source #
Creates a value of DeleteVPCPeeringConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvpcFleetId
- Unique identifier for a fleet. This value must match the fleet ID referenced in the VPC peering connection record.dvpcVPCPeeringConnectionId
- Unique identifier for a VPC peering connection. This value is included in theVpcPeeringConnection
object, which can be retrieved by callingDescribeVpcPeeringConnections
.
data DeleteVPCPeeringConnection Source #
Represents the input for a request action.
See: deleteVPCPeeringConnection
smart constructor.
Request Lenses
dvpcFleetId :: Lens' DeleteVPCPeeringConnection Text Source #
Unique identifier for a fleet. This value must match the fleet ID referenced in the VPC peering connection record.
dvpcVPCPeeringConnectionId :: Lens' DeleteVPCPeeringConnection Text Source #
Unique identifier for a VPC peering connection. This value is included in the VpcPeeringConnection
object, which can be retrieved by calling DescribeVpcPeeringConnections
.
Destructuring the Response
deleteVPCPeeringConnectionResponse Source #
Creates a value of DeleteVPCPeeringConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dvpcrsResponseStatus
- -- | The response status code.
data DeleteVPCPeeringConnectionResponse Source #
See: deleteVPCPeeringConnectionResponse
smart constructor.
Response Lenses
dvpcrsResponseStatus :: Lens' DeleteVPCPeeringConnectionResponse Int Source #
- - | The response status code.