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

ModifyVpcPeeringConnectionOptionsAsync() public method

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

            return InvokeAsync<ModifyVpcPeeringConnectionOptionsRequest,ModifyVpcPeeringConnectionOptionsResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client