/*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.batch;
import javax.annotation.Generated;
import com.amazonaws.services.batch.model.*;
/**
* Interface for accessing AWS Batch asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive
* notification when an asynchronous operation completes.
* <p>
* <b>Note:</b> Do not directly implement this interface, new methods are added to it regularly. Extend from
* {@link com.amazonaws.services.batch.AbstractAWSBatchAsync} instead.
* </p>
* <p>
* <p>
* AWS Batch enables you to run batch computing workloads on the AWS Cloud. Batch computing is a common way for
* developers, scientists, and engineers to access large amounts of compute resources, and AWS Batch removes the
* undifferentiated heavy lifting of configuring and managing the required infrastructure. AWS Batch will be familiar to
* users of traditional batch computing software. This service can efficiently provision resources in response to jobs
* submitted in order to eliminate capacity constraints, reduce compute costs, and deliver results quickly.
* </p>
* <p>
* As a fully managed service, AWS Batch enables developers, scientists, and engineers to run batch computing workloads
* of any scale. AWS Batch automatically provisions compute resources and optimizes the workload distribution based on
* the quantity and scale of the workloads. With AWS Batch, there is no need to install or manage batch computing
* software, which allows you to focus on analyzing results and solving problems. AWS Batch reduces operational
* complexities, saves time, and reduces costs, which makes it easy for developers, scientists, and engineers to run
* their batch jobs in the AWS Cloud.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSBatchAsync extends AWSBatch {
/**
* <p>
* Cancels jobs in an AWS Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
* <code>RUNNABLE</code> state are cancelled. Jobs that have progressed to <code>STARTING</code> or
* <code>RUNNING</code> are not cancelled (but the API operation still succeeds, even if no jobs are cancelled);
* these jobs must be terminated with the <a>TerminateJob</a> operation.
* </p>
*
* @param cancelJobRequest
* @return A Java Future containing the result of the CancelJob operation returned by the service.
* @sample AWSBatchAsync.CancelJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest);
/**
* <p>
* Cancels jobs in an AWS Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or
* <code>RUNNABLE</code> state are cancelled. Jobs that have progressed to <code>STARTING</code> or
* <code>RUNNING</code> are not cancelled (but the API operation still succeeds, even if no jobs are cancelled);
* these jobs must be terminated with the <a>TerminateJob</a> operation.
* </p>
*
* @param cancelJobRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CancelJob operation returned by the service.
* @sample AWSBatchAsyncHandler.CancelJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CancelJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CancelJobResult> cancelJobAsync(CancelJobRequest cancelJobRequest,
com.amazonaws.handlers.AsyncHandler<CancelJobRequest, CancelJobResult> asyncHandler);
/**
* <p>
* Creates an AWS Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
* environments.
* </p>
* <p>
* In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the
* compute resources that you specify. Instances launched into a managed compute environment use the latest Amazon
* ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in your managed compute environment, or
* you can use Amazon EC2 Spot instances that only launch when the Spot bid price is below a specified percentage of
* the On-Demand price.
* </p>
* <p>
* In an unmanaged compute environment, you can manage your own compute resources. This provides more compute
* resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon
* ECS container instance AMI specification. For more information, see <a
* href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">Container Instance
* AMIs</a> in the <i>Amazon EC2 Container Service Developer Guide</i>. After you have created your unmanaged
* compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster
* that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For
* more information, see <a
* href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an
* Amazon ECS Container Instance</a> in the <i>Amazon EC2 Container Service Developer Guide</i>.
* </p>
*
* @param createComputeEnvironmentRequest
* @return A Java Future containing the result of the CreateComputeEnvironment operation returned by the service.
* @sample AWSBatchAsync.CreateComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<CreateComputeEnvironmentResult> createComputeEnvironmentAsync(CreateComputeEnvironmentRequest createComputeEnvironmentRequest);
/**
* <p>
* Creates an AWS Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute
* environments.
* </p>
* <p>
* In a managed compute environment, AWS Batch manages the compute resources within the environment, based on the
* compute resources that you specify. Instances launched into a managed compute environment use the latest Amazon
* ECS-optimized AMI. You can choose to use Amazon EC2 On-Demand instances in your managed compute environment, or
* you can use Amazon EC2 Spot instances that only launch when the Spot bid price is below a specified percentage of
* the On-Demand price.
* </p>
* <p>
* In an unmanaged compute environment, you can manage your own compute resources. This provides more compute
* resource configuration options, such as using a custom AMI, but you must ensure that your AMI meets the Amazon
* ECS container instance AMI specification. For more information, see <a
* href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html">Container Instance
* AMIs</a> in the <i>Amazon EC2 Container Service Developer Guide</i>. After you have created your unmanaged
* compute environment, you can use the <a>DescribeComputeEnvironments</a> operation to find the Amazon ECS cluster
* that is associated with it and then manually launch your container instances into that Amazon ECS cluster. For
* more information, see <a
* href="http://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html">Launching an
* Amazon ECS Container Instance</a> in the <i>Amazon EC2 Container Service Developer Guide</i>.
* </p>
*
* @param createComputeEnvironmentRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateComputeEnvironment operation returned by the service.
* @sample AWSBatchAsyncHandler.CreateComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<CreateComputeEnvironmentResult> createComputeEnvironmentAsync(CreateComputeEnvironmentRequest createComputeEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler<CreateComputeEnvironmentRequest, CreateComputeEnvironmentResult> asyncHandler);
/**
* <p>
* Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to
* the queue and assign an order of preference for the compute environments.
* </p>
* <p>
* You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs
* onto its associated compute environments. For example, if a compute environment is associated with more than one
* job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute
* environment.
* </p>
*
* @param createJobQueueRequest
* @return A Java Future containing the result of the CreateJobQueue operation returned by the service.
* @sample AWSBatchAsync.CreateJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CreateJobQueueResult> createJobQueueAsync(CreateJobQueueRequest createJobQueueRequest);
/**
* <p>
* Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to
* the queue and assign an order of preference for the compute environments.
* </p>
* <p>
* You also set a priority to the job queue that determines the order in which the AWS Batch scheduler places jobs
* onto its associated compute environments. For example, if a compute environment is associated with more than one
* job queue, the job queue with a higher priority is given preference for scheduling jobs to that compute
* environment.
* </p>
*
* @param createJobQueueRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the CreateJobQueue operation returned by the service.
* @sample AWSBatchAsyncHandler.CreateJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<CreateJobQueueResult> createJobQueueAsync(CreateJobQueueRequest createJobQueueRequest,
com.amazonaws.handlers.AsyncHandler<CreateJobQueueRequest, CreateJobQueueResult> asyncHandler);
/**
* <p>
* Deletes an AWS Batch compute environment.
* </p>
* <p>
* Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the
* <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the
* <a>UpdateJobQueue</a> API operation.
* </p>
*
* @param deleteComputeEnvironmentRequest
* @return A Java Future containing the result of the DeleteComputeEnvironment operation returned by the service.
* @sample AWSBatchAsync.DeleteComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DeleteComputeEnvironmentResult> deleteComputeEnvironmentAsync(DeleteComputeEnvironmentRequest deleteComputeEnvironmentRequest);
/**
* <p>
* Deletes an AWS Batch compute environment.
* </p>
* <p>
* Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the
* <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the
* <a>UpdateJobQueue</a> API operation.
* </p>
*
* @param deleteComputeEnvironmentRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteComputeEnvironment operation returned by the service.
* @sample AWSBatchAsyncHandler.DeleteComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DeleteComputeEnvironmentResult> deleteComputeEnvironmentAsync(DeleteComputeEnvironmentRequest deleteComputeEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler<DeleteComputeEnvironmentRequest, DeleteComputeEnvironmentResult> asyncHandler);
/**
* <p>
* Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a>
* operation and terminate any jobs that have not completed with the <a>TerminateJob</a>.
* </p>
* <p>
* It is not necessary to disassociate compute environments from a queue before submitting a
* <code>DeleteJobQueue</code> request.
* </p>
*
* @param deleteJobQueueRequest
* @return A Java Future containing the result of the DeleteJobQueue operation returned by the service.
* @sample AWSBatchAsync.DeleteJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DeleteJobQueueResult> deleteJobQueueAsync(DeleteJobQueueRequest deleteJobQueueRequest);
/**
* <p>
* Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a>
* operation and terminate any jobs that have not completed with the <a>TerminateJob</a>.
* </p>
* <p>
* It is not necessary to disassociate compute environments from a queue before submitting a
* <code>DeleteJobQueue</code> request.
* </p>
*
* @param deleteJobQueueRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeleteJobQueue operation returned by the service.
* @sample AWSBatchAsyncHandler.DeleteJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeleteJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DeleteJobQueueResult> deleteJobQueueAsync(DeleteJobQueueRequest deleteJobQueueRequest,
com.amazonaws.handlers.AsyncHandler<DeleteJobQueueRequest, DeleteJobQueueResult> asyncHandler);
/**
* <p>
* Deregisters an AWS Batch job definition.
* </p>
*
* @param deregisterJobDefinitionRequest
* @return A Java Future containing the result of the DeregisterJobDefinition operation returned by the service.
* @sample AWSBatchAsync.DeregisterJobDefinition
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DeregisterJobDefinitionResult> deregisterJobDefinitionAsync(DeregisterJobDefinitionRequest deregisterJobDefinitionRequest);
/**
* <p>
* Deregisters an AWS Batch job definition.
* </p>
*
* @param deregisterJobDefinitionRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DeregisterJobDefinition operation returned by the service.
* @sample AWSBatchAsyncHandler.DeregisterJobDefinition
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DeregisterJobDefinition" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DeregisterJobDefinitionResult> deregisterJobDefinitionAsync(DeregisterJobDefinitionRequest deregisterJobDefinitionRequest,
com.amazonaws.handlers.AsyncHandler<DeregisterJobDefinitionRequest, DeregisterJobDefinitionResult> asyncHandler);
/**
* <p>
* Describes one or more of your compute environments.
* </p>
* <p>
* If you are using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code>
* operation to determine the <code>ecsClusterArn</code> that you should launch your Amazon ECS container instances
* into.
* </p>
*
* @param describeComputeEnvironmentsRequest
* @return A Java Future containing the result of the DescribeComputeEnvironments operation returned by the service.
* @sample AWSBatchAsync.DescribeComputeEnvironments
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments"
* target="_top">AWS API Documentation</a>
*/
java.util.concurrent.Future<DescribeComputeEnvironmentsResult> describeComputeEnvironmentsAsync(
DescribeComputeEnvironmentsRequest describeComputeEnvironmentsRequest);
/**
* <p>
* Describes one or more of your compute environments.
* </p>
* <p>
* If you are using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code>
* operation to determine the <code>ecsClusterArn</code> that you should launch your Amazon ECS container instances
* into.
* </p>
*
* @param describeComputeEnvironmentsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeComputeEnvironments operation returned by the service.
* @sample AWSBatchAsyncHandler.DescribeComputeEnvironments
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments"
* target="_top">AWS API Documentation</a>
*/
java.util.concurrent.Future<DescribeComputeEnvironmentsResult> describeComputeEnvironmentsAsync(
DescribeComputeEnvironmentsRequest describeComputeEnvironmentsRequest,
com.amazonaws.handlers.AsyncHandler<DescribeComputeEnvironmentsRequest, DescribeComputeEnvironmentsResult> asyncHandler);
/**
* <p>
* Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
* return job definitions that match that status.
* </p>
*
* @param describeJobDefinitionsRequest
* @return A Java Future containing the result of the DescribeJobDefinitions operation returned by the service.
* @sample AWSBatchAsync.DescribeJobDefinitions
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DescribeJobDefinitionsResult> describeJobDefinitionsAsync(DescribeJobDefinitionsRequest describeJobDefinitionsRequest);
/**
* <p>
* Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only
* return job definitions that match that status.
* </p>
*
* @param describeJobDefinitionsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeJobDefinitions operation returned by the service.
* @sample AWSBatchAsyncHandler.DescribeJobDefinitions
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobDefinitions" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<DescribeJobDefinitionsResult> describeJobDefinitionsAsync(DescribeJobDefinitionsRequest describeJobDefinitionsRequest,
com.amazonaws.handlers.AsyncHandler<DescribeJobDefinitionsRequest, DescribeJobDefinitionsResult> asyncHandler);
/**
* <p>
* Describes one or more of your job queues.
* </p>
*
* @param describeJobQueuesRequest
* @return A Java Future containing the result of the DescribeJobQueues operation returned by the service.
* @sample AWSBatchAsync.DescribeJobQueues
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeJobQueuesResult> describeJobQueuesAsync(DescribeJobQueuesRequest describeJobQueuesRequest);
/**
* <p>
* Describes one or more of your job queues.
* </p>
*
* @param describeJobQueuesRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeJobQueues operation returned by the service.
* @sample AWSBatchAsyncHandler.DescribeJobQueues
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobQueues" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeJobQueuesResult> describeJobQueuesAsync(DescribeJobQueuesRequest describeJobQueuesRequest,
com.amazonaws.handlers.AsyncHandler<DescribeJobQueuesRequest, DescribeJobQueuesResult> asyncHandler);
/**
* <p>
* Describes a list of AWS Batch jobs.
* </p>
*
* @param describeJobsRequest
* @return A Java Future containing the result of the DescribeJobs operation returned by the service.
* @sample AWSBatchAsync.DescribeJobs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest describeJobsRequest);
/**
* <p>
* Describes a list of AWS Batch jobs.
* </p>
*
* @param describeJobsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the DescribeJobs operation returned by the service.
* @sample AWSBatchAsyncHandler.DescribeJobs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeJobs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<DescribeJobsResult> describeJobsAsync(DescribeJobsRequest describeJobsRequest,
com.amazonaws.handlers.AsyncHandler<DescribeJobsRequest, DescribeJobsResult> asyncHandler);
/**
* <p>
* Returns a list of task jobs for a specified job queue. You can filter the results by job status with the
* <code>jobStatus</code> parameter.
* </p>
*
* @param listJobsRequest
* @return A Java Future containing the result of the ListJobs operation returned by the service.
* @sample AWSBatchAsync.ListJobs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListJobsResult> listJobsAsync(ListJobsRequest listJobsRequest);
/**
* <p>
* Returns a list of task jobs for a specified job queue. You can filter the results by job status with the
* <code>jobStatus</code> parameter.
* </p>
*
* @param listJobsRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the ListJobs operation returned by the service.
* @sample AWSBatchAsyncHandler.ListJobs
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ListJobs" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<ListJobsResult> listJobsAsync(ListJobsRequest listJobsRequest,
com.amazonaws.handlers.AsyncHandler<ListJobsRequest, ListJobsResult> asyncHandler);
/**
* <p>
* Registers an AWS Batch job definition.
* </p>
*
* @param registerJobDefinitionRequest
* @return A Java Future containing the result of the RegisterJobDefinition operation returned by the service.
* @sample AWSBatchAsync.RegisterJobDefinition
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<RegisterJobDefinitionResult> registerJobDefinitionAsync(RegisterJobDefinitionRequest registerJobDefinitionRequest);
/**
* <p>
* Registers an AWS Batch job definition.
* </p>
*
* @param registerJobDefinitionRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the RegisterJobDefinition operation returned by the service.
* @sample AWSBatchAsyncHandler.RegisterJobDefinition
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RegisterJobDefinition" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<RegisterJobDefinitionResult> registerJobDefinitionAsync(RegisterJobDefinitionRequest registerJobDefinitionRequest,
com.amazonaws.handlers.AsyncHandler<RegisterJobDefinitionRequest, RegisterJobDefinitionResult> asyncHandler);
/**
* <p>
* Submits an AWS Batch job from a job definition. Parameters specified during <a>SubmitJob</a> override parameters
* defined in the job definition.
* </p>
*
* @param submitJobRequest
* @return A Java Future containing the result of the SubmitJob operation returned by the service.
* @sample AWSBatchAsync.SubmitJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<SubmitJobResult> submitJobAsync(SubmitJobRequest submitJobRequest);
/**
* <p>
* Submits an AWS Batch job from a job definition. Parameters specified during <a>SubmitJob</a> override parameters
* defined in the job definition.
* </p>
*
* @param submitJobRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the SubmitJob operation returned by the service.
* @sample AWSBatchAsyncHandler.SubmitJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/SubmitJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<SubmitJobResult> submitJobAsync(SubmitJobRequest submitJobRequest,
com.amazonaws.handlers.AsyncHandler<SubmitJobRequest, SubmitJobResult> asyncHandler);
/**
* <p>
* Terminates jobs in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
* terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
* <code>STARTING</code> state are cancelled.
* </p>
*
* @param terminateJobRequest
* @return A Java Future containing the result of the TerminateJob operation returned by the service.
* @sample AWSBatchAsync.TerminateJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<TerminateJobResult> terminateJobAsync(TerminateJobRequest terminateJobRequest);
/**
* <p>
* Terminates jobs in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are
* terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the
* <code>STARTING</code> state are cancelled.
* </p>
*
* @param terminateJobRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the TerminateJob operation returned by the service.
* @sample AWSBatchAsyncHandler.TerminateJob
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/TerminateJob" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<TerminateJobResult> terminateJobAsync(TerminateJobRequest terminateJobRequest,
com.amazonaws.handlers.AsyncHandler<TerminateJobRequest, TerminateJobResult> asyncHandler);
/**
* <p>
* Updates an AWS Batch compute environment.
* </p>
*
* @param updateComputeEnvironmentRequest
* @return A Java Future containing the result of the UpdateComputeEnvironment operation returned by the service.
* @sample AWSBatchAsync.UpdateComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<UpdateComputeEnvironmentResult> updateComputeEnvironmentAsync(UpdateComputeEnvironmentRequest updateComputeEnvironmentRequest);
/**
* <p>
* Updates an AWS Batch compute environment.
* </p>
*
* @param updateComputeEnvironmentRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateComputeEnvironment operation returned by the service.
* @sample AWSBatchAsyncHandler.UpdateComputeEnvironment
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironment" target="_top">AWS
* API Documentation</a>
*/
java.util.concurrent.Future<UpdateComputeEnvironmentResult> updateComputeEnvironmentAsync(UpdateComputeEnvironmentRequest updateComputeEnvironmentRequest,
com.amazonaws.handlers.AsyncHandler<UpdateComputeEnvironmentRequest, UpdateComputeEnvironmentResult> asyncHandler);
/**
* <p>
* Updates a job queue.
* </p>
*
* @param updateJobQueueRequest
* @return A Java Future containing the result of the UpdateJobQueue operation returned by the service.
* @sample AWSBatchAsync.UpdateJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateJobQueueResult> updateJobQueueAsync(UpdateJobQueueRequest updateJobQueueRequest);
/**
* <p>
* Updates a job queue.
* </p>
*
* @param updateJobQueueRequest
* @param asyncHandler
* Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
* implementation of the callback methods in this interface to receive notification of successful or
* unsuccessful completion of the operation.
* @return A Java Future containing the result of the UpdateJobQueue operation returned by the service.
* @sample AWSBatchAsyncHandler.UpdateJobQueue
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateJobQueue" target="_top">AWS API
* Documentation</a>
*/
java.util.concurrent.Future<UpdateJobQueueResult> updateJobQueueAsync(UpdateJobQueueRequest updateJobQueueRequest,
com.amazonaws.handlers.AsyncHandler<UpdateJobQueueRequest, UpdateJobQueueResult> asyncHandler);
}