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

CreateMaintenanceWindowAsync() public method

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

            return InvokeAsync<CreateMaintenanceWindowRequest,CreateMaintenanceWindowResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonSimpleSystemsManagementClient