Exemplo n.º 1
0
        public async Task <string> CreatePeeringConnection(string owerId, string accepterVpc, string requesterVpc, string name)
        {
            var request = new CreateVpcPeeringConnectionRequest()
            {
                PeerOwnerId = owerId,
                PeerVpcId   = accepterVpc,
                VpcId       = requesterVpc
            };
            var response = await client.CreateVpcPeeringConnectionAsync(request);

            AssignNameToResource(response.VpcPeeringConnection.VpcPeeringConnectionId, name);
            return(response.VpcPeeringConnection.VpcPeeringConnectionId);
        }
 public void CreateVpcPeeringConnectionAsync(CreateVpcPeeringConnectionRequest request, AmazonServiceCallback <CreateVpcPeeringConnectionRequest, CreateVpcPeeringConnectionResponse> callback, AsyncOptions options = null)
 {
     throw new System.NotImplementedException();
 }