Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Rejects a VPC peering connection request. The VPC peering connection must be in the 'pending-acceptance' state. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests. To delete an active VPC peering connection, or to delete a VPC peering connection request that you initiated, use DeleteVpcPeeringConnection.
See: AWS API Reference for RejectVPCPeeringConnection.
- rejectVPCPeeringConnection :: Text -> RejectVPCPeeringConnection
- data RejectVPCPeeringConnection
- rvpcDryRun :: Lens' RejectVPCPeeringConnection (Maybe Bool)
- rvpcVPCPeeringConnectionId :: Lens' RejectVPCPeeringConnection Text
- rejectVPCPeeringConnectionResponse :: Int -> RejectVPCPeeringConnectionResponse
- data RejectVPCPeeringConnectionResponse
- rvpcrsReturn :: Lens' RejectVPCPeeringConnectionResponse (Maybe Bool)
- rvpcrsStatus :: Lens' RejectVPCPeeringConnectionResponse Int
Creating a Request
rejectVPCPeeringConnection Source
Creates a value of RejectVPCPeeringConnection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RejectVPCPeeringConnection Source
See: rejectVPCPeeringConnection
smart constructor.
Request Lenses
rvpcDryRun :: Lens' RejectVPCPeeringConnection (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
.
rvpcVPCPeeringConnectionId :: Lens' RejectVPCPeeringConnection Text Source
The ID of the VPC peering connection.
Destructuring the Response
rejectVPCPeeringConnectionResponse Source
Creates a value of RejectVPCPeeringConnectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RejectVPCPeeringConnectionResponse Source
See: rejectVPCPeeringConnectionResponse
smart constructor.
Response Lenses
rvpcrsReturn :: Lens' RejectVPCPeeringConnectionResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.
rvpcrsStatus :: Lens' RejectVPCPeeringConnectionResponse Int Source
The response status code.