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.
 Declaration Syntax
 Declaration Syntax| C# | 
AcceptVpcPeeringConnectionResponse AcceptVpcPeeringConnection( AcceptVpcPeeringConnectionRequest request )
 Parameters
 Parameters- request (AcceptVpcPeeringConnectionRequest)
- AcceptVpcPeeringConnection request
 Return Value
 Return ValueAcceptVpcPeeringConnection Response from the service
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| WebException | |
| AmazonEC2Exception |