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

ModifyInstancePlacementAsync() public method

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

            return InvokeAsync<ModifyInstancePlacementRequest,ModifyInstancePlacementResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonEC2Client