Accept a VPC peering connection request. To accept a request, the VPC peering connection must be in the pending-acceptance state, and you must be the owner of the peer VPC. Use the DescribeVpcPeeringConnections request to view your outstanding VPC peering connection requests.
| C# |
AcceptVpcPeeringConnectionResponse AcceptVpcPeeringConnection( AcceptVpcPeeringConnectionRequest request )
- request (AcceptVpcPeeringConnectionRequest)
- AcceptVpcPeeringConnection request
AcceptVpcPeeringConnection Response from the service
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |