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

StartMaintenanceAsync() public method

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

            return InvokeAsync<StartMaintenanceRequest,StartMaintenanceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }