Copyright | (c) 2013-2016 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
.
- rejectVPCPeeringConnection :: Text -> RejectVPCPeeringConnection
- data RejectVPCPeeringConnection
- rvpcDryRun :: Lens' RejectVPCPeeringConnection (Maybe Bool)
- rvpcVPCPeeringConnectionId :: Lens' RejectVPCPeeringConnection Text
- rejectVPCPeeringConnectionResponse :: Int -> RejectVPCPeeringConnectionResponse
- data RejectVPCPeeringConnectionResponse
- rvpcrsReturn :: Lens' RejectVPCPeeringConnectionResponse (Maybe Bool)
- rvpcrsResponseStatus :: 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:
rvpcDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.rvpcVPCPeeringConnectionId
- The ID of the VPC peering connection.
data RejectVPCPeeringConnection Source #
Contains the parameters for RejectVpcPeeringConnection.
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:
rvpcrsReturn
- Returnstrue
if the request succeeds; otherwise, it returns an error.rvpcrsResponseStatus
- -- | The response status code.
data RejectVPCPeeringConnectionResponse Source #
Contains the output of RejectVpcPeeringConnection.
See: rejectVPCPeeringConnectionResponse
smart constructor.
Response Lenses
rvpcrsReturn :: Lens' RejectVPCPeeringConnectionResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
rvpcrsResponseStatus :: Lens' RejectVPCPeeringConnectionResponse Int Source #
- - | The response status code.