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