Amazon.EC2.AmazonEC2Client.CreateVpcEndpointAsync C# (CSharp) Method

CreateVpcEndpointAsync() public method

Initiates the asynchronous execution of the CreateVpcEndpoint operation.
public CreateVpcEndpointAsync ( CreateVpcEndpointRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateVpcEndpointRequest Container for the necessary parameters to execute the CreateVpcEndpoint operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateVpcEndpointResponse> CreateVpcEndpointAsync(CreateVpcEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateVpcEndpointRequestMarshaller();
            var unmarshaller = CreateVpcEndpointResponseUnmarshaller.Instance;

            return InvokeAsync<CreateVpcEndpointRequest,CreateVpcEndpointResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client