Amazon.OpsWorksCM.AmazonOpsWorksCMClient.UpdateServerAsync C# (CSharp) Method

UpdateServerAsync() public method

Initiates the asynchronous execution of the UpdateServer operation.
public UpdateServerAsync ( UpdateServerRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.OpsWorksCM.Model.UpdateServerRequest Container for the necessary parameters to execute the UpdateServer operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<UpdateServerResponse> UpdateServerAsync(UpdateServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new UpdateServerRequestMarshaller();
            var unmarshaller = UpdateServerResponseUnmarshaller.Instance;

            return InvokeAsync<UpdateServerRequest,UpdateServerResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }