Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementClient.RegisterTaskWithMaintenanceWindowAsync C# (CSharp) Method

RegisterTaskWithMaintenanceWindowAsync() public method

Initiates the asynchronous execution of the RegisterTaskWithMaintenanceWindow operation.
public RegisterTaskWithMaintenanceWindowAsync ( RegisterTaskWithMaintenanceWindowRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.SimpleSystemsManagement.Model.RegisterTaskWithMaintenanceWindowRequest Container for the necessary parameters to execute the RegisterTaskWithMaintenanceWindow operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<RegisterTaskWithMaintenanceWindowResponse> RegisterTaskWithMaintenanceWindowAsync(RegisterTaskWithMaintenanceWindowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new RegisterTaskWithMaintenanceWindowRequestMarshaller();
            var unmarshaller = RegisterTaskWithMaintenanceWindowResponseUnmarshaller.Instance;

            return InvokeAsync<RegisterTaskWithMaintenanceWindowRequest,RegisterTaskWithMaintenanceWindowResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient