Skip to content

/AWS1/CL_EC2=>REJECTVPCPEERINGCONNECTION()

About RejectVpcPeeringConnection

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.

Method Signature

IMPORTING

Required arguments:

IV_VPCPEERINGCONNECTIONID TYPE /AWS1/EC2VPCPEERINGCONNID /AWS1/EC2VPCPEERINGCONNID

The ID of the VPC peering connection.

Optional arguments:

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2REJVPCPEERINGCXNRS /AWS1/CL_EC2REJVPCPEERINGCXNRS