Rejects a VPC peering connection request. The VPC peering connection
must be in the pending-acceptance
state. Use the
describe_vpc_peering_connections
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
delete_vpc_peering_connection
.
ec2_reject_vpc_peering_connection(DryRun, VpcPeeringConnectionId)
A list with the following syntax:
list(
Return = TRUE|FALSE
)
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
.
[required] The ID of the VPC peering connection.
svc$reject_vpc_peering_connection(
DryRun = TRUE|FALSE,
VpcPeeringConnectionId = "string"
)