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
.
- data RejectVpcPeeringConnection
- rejectVpcPeeringConnection :: Text -> RejectVpcPeeringConnection
- rvpcDryRun :: Lens' RejectVpcPeeringConnection (Maybe Bool)
- rvpcVpcPeeringConnectionId :: Lens' RejectVpcPeeringConnection Text
- data RejectVpcPeeringConnectionResponse
- rejectVpcPeeringConnectionResponse :: RejectVpcPeeringConnectionResponse
- rvpcrReturn :: Lens' RejectVpcPeeringConnectionResponse (Maybe Bool)
Request
data RejectVpcPeeringConnection Source
Request constructor
rejectVpcPeeringConnection Source
RejectVpcPeeringConnection
constructor.
The fields accessible through corresponding lenses are:
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.
Response
Response constructor
rejectVpcPeeringConnectionResponse :: RejectVpcPeeringConnectionResponse Source
RejectVpcPeeringConnectionResponse
constructor.
The fields accessible through corresponding lenses are:
rvpcrReturn
::
Maybe
Bool
Response lenses
rvpcrReturn :: Lens' RejectVpcPeeringConnectionResponse (Maybe Bool) Source
Returns true
if the request succeeds; otherwise, it returns an error.