Learn R Programming

paws.compute (version 0.7.0)

ec2_reject_vpc_peering_connection: Rejects a VPC peering connection request

Description

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.

See https://www.paws-r-sdk.com/docs/ec2_reject_vpc_peering_connection/ for full documentation.

Usage

ec2_reject_vpc_peering_connection(DryRun = NULL, VpcPeeringConnectionId)

Arguments

DryRun

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.

VpcPeeringConnectionId

[required] The ID of the VPC peering connection.