public class AmazonECSAsyncClient extends AmazonECSClient implements AmazonECSAsync
Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run, stop, and manage Docker containers on a cluster of Amazon EC2 instances. Amazon ECS lets you launch and stop container-enabled applications with simple API calls, allows you to get the state of your cluster from a centralized service, and gives you access to many familiar Amazon EC2 features like security groups, Amazon EBS volumes, and IAM roles.
You can use Amazon ECS to schedule the placement of containers across your cluster based on your resource needs, isolation policies, and availability requirements. Amazon EC2 Container Service eliminates the need for you to operate your own cluster management and configuration management systems or worry about scaling your management infrastructure.
jsonErrorUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description | 
|---|
| AmazonECSAsyncClient()Constructs a new asynchronous client to invoke service methods on
 AmazonECS. | 
| AmazonECSAsyncClient(AWSCredentials awsCredentials)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials. | 
| AmazonECSAsyncClient(AWSCredentials awsCredentials,
                    ClientConfiguration clientConfiguration,
                    ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials,
 executor service, and client configuration options. | 
| AmazonECSAsyncClient(AWSCredentials awsCredentials,
                    ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials
 and executor service. | 
| AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials provider. | 
| AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                    ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials
 provider and client configuration options. | 
| AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                    ClientConfiguration clientConfiguration,
                    ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials
 provider, executor service, and client configuration options. | 
| AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                    ExecutorService executorService)Constructs a new asynchronous client to invoke service methods on
 AmazonECS using the specified AWS account credentials provider
 and executor service. | 
| AmazonECSAsyncClient(ClientConfiguration clientConfiguration)Constructs a new asynchronous client to invoke service methods on
 AmazonECS. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<CreateClusterResult> | createClusterAsync(CreateClusterRequest createClusterRequest)
 Creates a new Amazon ECS cluster. | 
| Future<CreateClusterResult> | createClusterAsync(CreateClusterRequest createClusterRequest,
                  AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler)
 Creates a new Amazon ECS cluster. | 
| Future<CreateServiceResult> | createServiceAsync(CreateServiceRequest createServiceRequest)
 Runs and maintains a desired number of tasks from a specified task
 definition. | 
| Future<CreateServiceResult> | createServiceAsync(CreateServiceRequest createServiceRequest,
                  AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler)
 Runs and maintains a desired number of tasks from a specified task
 definition. | 
| Future<DeleteClusterResult> | deleteClusterAsync(DeleteClusterRequest deleteClusterRequest)
 Deletes the specified cluster. | 
| Future<DeleteClusterResult> | deleteClusterAsync(DeleteClusterRequest deleteClusterRequest,
                  AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler)
 Deletes the specified cluster. | 
| Future<DeleteServiceResult> | deleteServiceAsync(DeleteServiceRequest deleteServiceRequest)
 Deletes a specified service within a cluster. | 
| Future<DeleteServiceResult> | deleteServiceAsync(DeleteServiceRequest deleteServiceRequest,
                  AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler)
 Deletes a specified service within a cluster. | 
| Future<DeregisterContainerInstanceResult> | deregisterContainerInstanceAsync(DeregisterContainerInstanceRequest deregisterContainerInstanceRequest)
 Deregisters an Amazon ECS container instance from the specified
 cluster. | 
| Future<DeregisterContainerInstanceResult> | deregisterContainerInstanceAsync(DeregisterContainerInstanceRequest deregisterContainerInstanceRequest,
                                AsyncHandler<DeregisterContainerInstanceRequest,DeregisterContainerInstanceResult> asyncHandler)
 Deregisters an Amazon ECS container instance from the specified
 cluster. | 
| Future<DeregisterTaskDefinitionResult> | deregisterTaskDefinitionAsync(DeregisterTaskDefinitionRequest deregisterTaskDefinitionRequest)
 Deregisters the specified task definition by family and revision. | 
| Future<DeregisterTaskDefinitionResult> | deregisterTaskDefinitionAsync(DeregisterTaskDefinitionRequest deregisterTaskDefinitionRequest,
                             AsyncHandler<DeregisterTaskDefinitionRequest,DeregisterTaskDefinitionResult> asyncHandler)
 Deregisters the specified task definition by family and revision. | 
| Future<DescribeClustersResult> | describeClustersAsync(DescribeClustersRequest describeClustersRequest)
 Describes one or more of your clusters. | 
| Future<DescribeClustersResult> | describeClustersAsync(DescribeClustersRequest describeClustersRequest,
                     AsyncHandler<DescribeClustersRequest,DescribeClustersResult> asyncHandler)
 Describes one or more of your clusters. | 
| Future<DescribeContainerInstancesResult> | describeContainerInstancesAsync(DescribeContainerInstancesRequest describeContainerInstancesRequest)
 Describes Amazon EC2 Container Service container instances. | 
| Future<DescribeContainerInstancesResult> | describeContainerInstancesAsync(DescribeContainerInstancesRequest describeContainerInstancesRequest,
                               AsyncHandler<DescribeContainerInstancesRequest,DescribeContainerInstancesResult> asyncHandler)
 Describes Amazon EC2 Container Service container instances. | 
| Future<DescribeServicesResult> | describeServicesAsync(DescribeServicesRequest describeServicesRequest)
 Describes the specified services running in your cluster. | 
| Future<DescribeServicesResult> | describeServicesAsync(DescribeServicesRequest describeServicesRequest,
                     AsyncHandler<DescribeServicesRequest,DescribeServicesResult> asyncHandler)
 Describes the specified services running in your cluster. | 
| Future<DescribeTaskDefinitionResult> | describeTaskDefinitionAsync(DescribeTaskDefinitionRequest describeTaskDefinitionRequest)
 Describes a task definition. | 
| Future<DescribeTaskDefinitionResult> | describeTaskDefinitionAsync(DescribeTaskDefinitionRequest describeTaskDefinitionRequest,
                           AsyncHandler<DescribeTaskDefinitionRequest,DescribeTaskDefinitionResult> asyncHandler)
 Describes a task definition. | 
| Future<DescribeTasksResult> | describeTasksAsync(DescribeTasksRequest describeTasksRequest)
 Describes a specified task or tasks. | 
| Future<DescribeTasksResult> | describeTasksAsync(DescribeTasksRequest describeTasksRequest,
                  AsyncHandler<DescribeTasksRequest,DescribeTasksResult> asyncHandler)
 Describes a specified task or tasks. | 
| Future<DiscoverPollEndpointResult> | discoverPollEndpointAsync(DiscoverPollEndpointRequest discoverPollEndpointRequest)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<DiscoverPollEndpointResult> | discoverPollEndpointAsync(DiscoverPollEndpointRequest discoverPollEndpointRequest,
                         AsyncHandler<DiscoverPollEndpointRequest,DiscoverPollEndpointResult> asyncHandler)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| ExecutorService | getExecutorService()Returns the executor service used by this async client to execute
 requests. | 
| Future<ListClustersResult> | listClustersAsync(ListClustersRequest listClustersRequest)
 Returns a list of existing clusters. | 
| Future<ListClustersResult> | listClustersAsync(ListClustersRequest listClustersRequest,
                 AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler)
 Returns a list of existing clusters. | 
| Future<ListContainerInstancesResult> | listContainerInstancesAsync(ListContainerInstancesRequest listContainerInstancesRequest)
 Returns a list of container instances in a specified cluster. | 
| Future<ListContainerInstancesResult> | listContainerInstancesAsync(ListContainerInstancesRequest listContainerInstancesRequest,
                           AsyncHandler<ListContainerInstancesRequest,ListContainerInstancesResult> asyncHandler)
 Returns a list of container instances in a specified cluster. | 
| Future<ListServicesResult> | listServicesAsync(ListServicesRequest listServicesRequest)
 Lists the services that are running in a specified cluster. | 
| Future<ListServicesResult> | listServicesAsync(ListServicesRequest listServicesRequest,
                 AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler)
 Lists the services that are running in a specified cluster. | 
| Future<ListTaskDefinitionFamiliesResult> | listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest listTaskDefinitionFamiliesRequest)
 Returns a list of task definition families that are registered to
 your account (which may include task definition families that no
 longer have any  ACTIVEtask definitions). | 
| Future<ListTaskDefinitionFamiliesResult> | listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest listTaskDefinitionFamiliesRequest,
                               AsyncHandler<ListTaskDefinitionFamiliesRequest,ListTaskDefinitionFamiliesResult> asyncHandler)
 Returns a list of task definition families that are registered to
 your account (which may include task definition families that no
 longer have any  ACTIVEtask definitions). | 
| Future<ListTaskDefinitionsResult> | listTaskDefinitionsAsync(ListTaskDefinitionsRequest listTaskDefinitionsRequest)
 Returns a list of task definitions that are registered to your
 account. | 
| Future<ListTaskDefinitionsResult> | listTaskDefinitionsAsync(ListTaskDefinitionsRequest listTaskDefinitionsRequest,
                        AsyncHandler<ListTaskDefinitionsRequest,ListTaskDefinitionsResult> asyncHandler)
 Returns a list of task definitions that are registered to your
 account. | 
| Future<ListTasksResult> | listTasksAsync(ListTasksRequest listTasksRequest)
 Returns a list of tasks for a specified cluster. | 
| Future<ListTasksResult> | listTasksAsync(ListTasksRequest listTasksRequest,
              AsyncHandler<ListTasksRequest,ListTasksResult> asyncHandler)
 Returns a list of tasks for a specified cluster. | 
| Future<RegisterContainerInstanceResult> | registerContainerInstanceAsync(RegisterContainerInstanceRequest registerContainerInstanceRequest)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<RegisterContainerInstanceResult> | registerContainerInstanceAsync(RegisterContainerInstanceRequest registerContainerInstanceRequest,
                              AsyncHandler<RegisterContainerInstanceRequest,RegisterContainerInstanceResult> asyncHandler)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<RegisterTaskDefinitionResult> | registerTaskDefinitionAsync(RegisterTaskDefinitionRequest registerTaskDefinitionRequest)
 Registers a new task definition from the supplied  familyandcontainerDefinitions. | 
| Future<RegisterTaskDefinitionResult> | registerTaskDefinitionAsync(RegisterTaskDefinitionRequest registerTaskDefinitionRequest,
                           AsyncHandler<RegisterTaskDefinitionRequest,RegisterTaskDefinitionResult> asyncHandler)
 Registers a new task definition from the supplied  familyandcontainerDefinitions. | 
| Future<RunTaskResult> | runTaskAsync(RunTaskRequest runTaskRequest)
 Start a task using random placement and the default Amazon ECS
 scheduler. | 
| Future<RunTaskResult> | runTaskAsync(RunTaskRequest runTaskRequest,
            AsyncHandler<RunTaskRequest,RunTaskResult> asyncHandler)
 Start a task using random placement and the default Amazon ECS
 scheduler. | 
| void | shutdown()Shuts down the client, releasing all managed resources. | 
| Future<StartTaskResult> | startTaskAsync(StartTaskRequest startTaskRequest)
 Starts a new task from the specified task definition on the specified
 container instance or instances. | 
| Future<StartTaskResult> | startTaskAsync(StartTaskRequest startTaskRequest,
              AsyncHandler<StartTaskRequest,StartTaskResult> asyncHandler)
 Starts a new task from the specified task definition on the specified
 container instance or instances. | 
| Future<StopTaskResult> | stopTaskAsync(StopTaskRequest stopTaskRequest)
 Stops a running task. | 
| Future<StopTaskResult> | stopTaskAsync(StopTaskRequest stopTaskRequest,
             AsyncHandler<StopTaskRequest,StopTaskResult> asyncHandler)
 Stops a running task. | 
| Future<SubmitContainerStateChangeResult> | submitContainerStateChangeAsync(SubmitContainerStateChangeRequest submitContainerStateChangeRequest)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<SubmitContainerStateChangeResult> | submitContainerStateChangeAsync(SubmitContainerStateChangeRequest submitContainerStateChangeRequest,
                               AsyncHandler<SubmitContainerStateChangeRequest,SubmitContainerStateChangeResult> asyncHandler)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<SubmitTaskStateChangeResult> | submitTaskStateChangeAsync(SubmitTaskStateChangeRequest submitTaskStateChangeRequest)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<SubmitTaskStateChangeResult> | submitTaskStateChangeAsync(SubmitTaskStateChangeRequest submitTaskStateChangeRequest,
                          AsyncHandler<SubmitTaskStateChangeRequest,SubmitTaskStateChangeResult> asyncHandler)
 NOTE: This action is only used by the Amazon EC2 Container
 Service agent, and it is not intended for use outside of the agent. | 
| Future<UpdateContainerAgentResult> | updateContainerAgentAsync(UpdateContainerAgentRequest updateContainerAgentRequest)
 Updates the Amazon ECS container agent on a specified container
 instance. | 
| Future<UpdateContainerAgentResult> | updateContainerAgentAsync(UpdateContainerAgentRequest updateContainerAgentRequest,
                         AsyncHandler<UpdateContainerAgentRequest,UpdateContainerAgentResult> asyncHandler)
 Updates the Amazon ECS container agent on a specified container
 instance. | 
| Future<UpdateServiceResult> | updateServiceAsync(UpdateServiceRequest updateServiceRequest)
 Modify the desired count or task definition used in a service. | 
| Future<UpdateServiceResult> | updateServiceAsync(UpdateServiceRequest updateServiceRequest,
                  AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler)
 Modify the desired count or task definition used in a service. | 
createCluster, createCluster, createService, deleteCluster, deleteService, deregisterContainerInstance, deregisterTaskDefinition, describeClusters, describeClusters, describeContainerInstances, describeServices, describeTaskDefinition, describeTasks, discoverPollEndpoint, discoverPollEndpoint, getCachedResponseMetadata, listClusters, listClusters, listContainerInstances, listContainerInstances, listServices, listServices, listTaskDefinitionFamilies, listTaskDefinitionFamilies, listTaskDefinitions, listTaskDefinitions, listTasks, listTasks, registerContainerInstance, registerTaskDefinition, runTask, setEndpoint, setEndpoint, startTask, stopTask, submitContainerStateChange, submitContainerStateChange, submitTaskStateChange, updateContainerAgent, updateServiceaddRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateCluster, createCluster, createService, deleteCluster, deleteService, deregisterContainerInstance, deregisterTaskDefinition, describeClusters, describeClusters, describeContainerInstances, describeServices, describeTaskDefinition, describeTasks, discoverPollEndpoint, discoverPollEndpoint, getCachedResponseMetadata, listClusters, listClusters, listContainerInstances, listContainerInstances, listServices, listServices, listTaskDefinitionFamilies, listTaskDefinitionFamilies, listTaskDefinitions, listTaskDefinitions, listTasks, listTasks, registerContainerInstance, registerTaskDefinition, runTask, setEndpoint, setRegion, startTask, stopTask, submitContainerStateChange, submitContainerStateChange, submitTaskStateChange, updateContainerAgent, updateServicepublic AmazonECSAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonECSAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
                       client connects to AmazonECS
                       (ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonECSAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
                       when authenticating with AWS services.public AmazonECSAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
            when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonECSAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
            when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.public AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
            be executed.public AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).public AmazonECSAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
            to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
            settings, etc).executorService - The executor service by which all asynchronous requests will
            be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonECSshutdown in class AmazonWebServiceClientpublic Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.
deleteClusterAsync in interface AmazonECSAsyncdeleteClusterRequest - Container for the necessary parameters to
           execute the DeleteCluster operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeleteClusterResult> deleteClusterAsync(DeleteClusterRequest deleteClusterRequest, AsyncHandler<DeleteClusterRequest,DeleteClusterResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified cluster. You must deregister all container instances from this cluster before you may delete it. You can list the container instances in a cluster with ListContainerInstances and deregister them with DeregisterContainerInstance.
deleteClusterAsync in interface AmazonECSAsyncdeleteClusterRequest - Container for the necessary parameters to
           execute the DeleteCluster operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<SubmitContainerStateChangeResult> submitContainerStateChangeAsync(SubmitContainerStateChangeRequest submitContainerStateChangeRequest) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a container changed states.
submitContainerStateChangeAsync in interface AmazonECSAsyncsubmitContainerStateChangeRequest - Container for the necessary
           parameters to execute the SubmitContainerStateChange operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<SubmitContainerStateChangeResult> submitContainerStateChangeAsync(SubmitContainerStateChangeRequest submitContainerStateChangeRequest, AsyncHandler<SubmitContainerStateChangeRequest,SubmitContainerStateChangeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a container changed states.
submitContainerStateChangeAsync in interface AmazonECSAsyncsubmitContainerStateChangeRequest - Container for the necessary
           parameters to execute the SubmitContainerStateChange operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest) throws AmazonServiceException, AmazonClientException
Deletes a specified service within a cluster.
deleteServiceAsync in interface AmazonECSAsyncdeleteServiceRequest - Container for the necessary parameters to
           execute the DeleteService operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeleteServiceResult> deleteServiceAsync(DeleteServiceRequest deleteServiceRequest, AsyncHandler<DeleteServiceRequest,DeleteServiceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes a specified service within a cluster.
deleteServiceAsync in interface AmazonECSAsyncdeleteServiceRequest - Container for the necessary parameters to
           execute the DeleteService operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTaskDefinitionsResult> listTaskDefinitionsAsync(ListTaskDefinitionsRequest listTaskDefinitionsRequest) throws AmazonServiceException, AmazonClientException
 Returns a list of task definitions that are registered to your
 account. You can filter the results by family name with the
 familyPrefix parameter or by status with the
 status parameter.
 
listTaskDefinitionsAsync in interface AmazonECSAsynclistTaskDefinitionsRequest - Container for the necessary
           parameters to execute the ListTaskDefinitions operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTaskDefinitionsResult> listTaskDefinitionsAsync(ListTaskDefinitionsRequest listTaskDefinitionsRequest, AsyncHandler<ListTaskDefinitionsRequest,ListTaskDefinitionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Returns a list of task definitions that are registered to your
 account. You can filter the results by family name with the
 familyPrefix parameter or by status with the
 status parameter.
 
listTaskDefinitionsAsync in interface AmazonECSAsynclistTaskDefinitionsRequest - Container for the necessary
           parameters to execute the ListTaskDefinitions operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RunTaskResult> runTaskAsync(RunTaskRequest runTaskRequest) throws AmazonServiceException, AmazonClientException
 Start a task using random placement and the default Amazon ECS
 scheduler. If you want to use your own scheduler or place a task on a
 specific container instance, use StartTask instead.
 
IMPORTANT: The count parameter is limited to 10 tasks per call.
runTaskAsync in interface AmazonECSAsyncrunTaskRequest - Container for the necessary parameters to
           execute the RunTask operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RunTaskResult> runTaskAsync(RunTaskRequest runTaskRequest, AsyncHandler<RunTaskRequest,RunTaskResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Start a task using random placement and the default Amazon ECS
 scheduler. If you want to use your own scheduler or place a task on a
 specific container instance, use StartTask instead.
 
IMPORTANT: The count parameter is limited to 10 tasks per call.
runTaskAsync in interface AmazonECSAsyncrunTaskRequest - Container for the necessary parameters to
           execute the RunTask operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest) throws AmazonServiceException, AmazonClientException
Returns a list of existing clusters.
listClustersAsync in interface AmazonECSAsynclistClustersRequest - Container for the necessary parameters to
           execute the ListClusters operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListClustersResult> listClustersAsync(ListClustersRequest listClustersRequest, AsyncHandler<ListClustersRequest,ListClustersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of existing clusters.
listClustersAsync in interface AmazonECSAsynclistClustersRequest - Container for the necessary parameters to
           execute the ListClusters operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest) throws AmazonServiceException, AmazonClientException
 Creates a new Amazon ECS cluster. By default, your account will
 receive a default cluster when you launch your first
 container instance. However, you can create your own cluster with a
 unique name with the CreateCluster action.
 
createClusterAsync in interface AmazonECSAsynccreateClusterRequest - Container for the necessary parameters to
           execute the CreateCluster operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<CreateClusterResult> createClusterAsync(CreateClusterRequest createClusterRequest, AsyncHandler<CreateClusterRequest,CreateClusterResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Creates a new Amazon ECS cluster. By default, your account will
 receive a default cluster when you launch your first
 container instance. However, you can create your own cluster with a
 unique name with the CreateCluster action.
 
createClusterAsync in interface AmazonECSAsynccreateClusterRequest - Container for the necessary parameters to
           execute the CreateCluster operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest describeClustersRequest) throws AmazonServiceException, AmazonClientException
Describes one or more of your clusters.
describeClustersAsync in interface AmazonECSAsyncdescribeClustersRequest - Container for the necessary parameters
           to execute the DescribeClusters operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeClustersResult> describeClustersAsync(DescribeClustersRequest describeClustersRequest, AsyncHandler<DescribeClustersRequest,DescribeClustersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more of your clusters.
describeClustersAsync in interface AmazonECSAsyncdescribeClustersRequest - Container for the necessary parameters
           to execute the DescribeClusters operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeregisterContainerInstanceResult> deregisterContainerInstanceAsync(DeregisterContainerInstanceRequest deregisterContainerInstanceRequest) throws AmazonServiceException, AmazonClientException
Deregisters an Amazon ECS container instance from the specified cluster. This instance will no longer be available to run tasks.
deregisterContainerInstanceAsync in interface AmazonECSAsyncderegisterContainerInstanceRequest - Container for the necessary
           parameters to execute the DeregisterContainerInstance operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeregisterContainerInstanceResult> deregisterContainerInstanceAsync(DeregisterContainerInstanceRequest deregisterContainerInstanceRequest, AsyncHandler<DeregisterContainerInstanceRequest,DeregisterContainerInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deregisters an Amazon ECS container instance from the specified cluster. This instance will no longer be available to run tasks.
deregisterContainerInstanceAsync in interface AmazonECSAsyncderegisterContainerInstanceRequest - Container for the necessary
           parameters to execute the DeregisterContainerInstance operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListContainerInstancesResult> listContainerInstancesAsync(ListContainerInstancesRequest listContainerInstancesRequest) throws AmazonServiceException, AmazonClientException
Returns a list of container instances in a specified cluster.
listContainerInstancesAsync in interface AmazonECSAsynclistContainerInstancesRequest - Container for the necessary
           parameters to execute the ListContainerInstances operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListContainerInstancesResult> listContainerInstancesAsync(ListContainerInstancesRequest listContainerInstancesRequest, AsyncHandler<ListContainerInstancesRequest,ListContainerInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of container instances in a specified cluster.
listContainerInstancesAsync in interface AmazonECSAsynclistContainerInstancesRequest - Container for the necessary
           parameters to execute the ListContainerInstances operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeregisterTaskDefinitionResult> deregisterTaskDefinitionAsync(DeregisterTaskDefinitionRequest deregisterTaskDefinitionRequest) throws AmazonServiceException, AmazonClientException
 Deregisters the specified task definition by family and revision.
 Upon deregistration, the task definition is marked as
 INACTIVE . Existing tasks and services that reference an
 INACTIVE task definition continue to run without
 disruption. Existing services that reference an INACTIVE
 task definition can still scale up or down by modifying the service's
 desired count.
 
 You cannot use an INACTIVE task definition to run new
 tasks or create new services, and you cannot update an existing
 service to reference an INACTIVE task definition
 (although there may be up to a 10 minute window following
 deregistration where these restrictions have not yet taken effect).
 
deregisterTaskDefinitionAsync in interface AmazonECSAsyncderegisterTaskDefinitionRequest - Container for the necessary
           parameters to execute the DeregisterTaskDefinition operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DeregisterTaskDefinitionResult> deregisterTaskDefinitionAsync(DeregisterTaskDefinitionRequest deregisterTaskDefinitionRequest, AsyncHandler<DeregisterTaskDefinitionRequest,DeregisterTaskDefinitionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Deregisters the specified task definition by family and revision.
 Upon deregistration, the task definition is marked as
 INACTIVE . Existing tasks and services that reference an
 INACTIVE task definition continue to run without
 disruption. Existing services that reference an INACTIVE
 task definition can still scale up or down by modifying the service's
 desired count.
 
 You cannot use an INACTIVE task definition to run new
 tasks or create new services, and you cannot update an existing
 service to reference an INACTIVE task definition
 (although there may be up to a 10 minute window following
 deregistration where these restrictions have not yet taken effect).
 
deregisterTaskDefinitionAsync in interface AmazonECSAsyncderegisterTaskDefinitionRequest - Container for the necessary
           parameters to execute the DeregisterTaskDefinition operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<UpdateContainerAgentResult> updateContainerAgentAsync(UpdateContainerAgentRequest updateContainerAgentRequest) throws AmazonServiceException, AmazonClientException
Updates the Amazon ECS container agent on a specified container instance.
updateContainerAgentAsync in interface AmazonECSAsyncupdateContainerAgentRequest - Container for the necessary
           parameters to execute the UpdateContainerAgent operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<UpdateContainerAgentResult> updateContainerAgentAsync(UpdateContainerAgentRequest updateContainerAgentRequest, AsyncHandler<UpdateContainerAgentRequest,UpdateContainerAgentResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates the Amazon ECS container agent on a specified container instance.
updateContainerAgentAsync in interface AmazonECSAsyncupdateContainerAgentRequest - Container for the necessary
           parameters to execute the UpdateContainerAgent operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeTaskDefinitionResult> describeTaskDefinitionAsync(DescribeTaskDefinitionRequest describeTaskDefinitionRequest) throws AmazonServiceException, AmazonClientException
 Describes a task definition. You can specify a family
 and revision to find information on a specific task
 definition, or you can simply specify the family to find the latest
 ACTIVE revision in that family.
 
NOTE: You can only describe INACTIVE task definitions while an active task or service references them.
describeTaskDefinitionAsync in interface AmazonECSAsyncdescribeTaskDefinitionRequest - Container for the necessary
           parameters to execute the DescribeTaskDefinition operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeTaskDefinitionResult> describeTaskDefinitionAsync(DescribeTaskDefinitionRequest describeTaskDefinitionRequest, AsyncHandler<DescribeTaskDefinitionRequest,DescribeTaskDefinitionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Describes a task definition. You can specify a family
 and revision to find information on a specific task
 definition, or you can simply specify the family to find the latest
 ACTIVE revision in that family.
 
NOTE: You can only describe INACTIVE task definitions while an active task or service references them.
describeTaskDefinitionAsync in interface AmazonECSAsyncdescribeTaskDefinitionRequest - Container for the necessary
           parameters to execute the DescribeTaskDefinition operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RegisterTaskDefinitionResult> registerTaskDefinitionAsync(RegisterTaskDefinitionRequest registerTaskDefinitionRequest) throws AmazonServiceException, AmazonClientException
 Registers a new task definition from the supplied family
 and containerDefinitions . Optionally, you can add data
 volumes to your containers with the volumes parameter.
 For more information on task definition parameters and defaults, see
  Amazon ECS Task Definitions 
 in the Amazon EC2 Container Service Developer Guide .
 
registerTaskDefinitionAsync in interface AmazonECSAsyncregisterTaskDefinitionRequest - Container for the necessary
           parameters to execute the RegisterTaskDefinition operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RegisterTaskDefinitionResult> registerTaskDefinitionAsync(RegisterTaskDefinitionRequest registerTaskDefinitionRequest, AsyncHandler<RegisterTaskDefinitionRequest,RegisterTaskDefinitionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Registers a new task definition from the supplied family
 and containerDefinitions . Optionally, you can add data
 volumes to your containers with the volumes parameter.
 For more information on task definition parameters and defaults, see
  Amazon ECS Task Definitions 
 in the Amazon EC2 Container Service Developer Guide .
 
registerTaskDefinitionAsync in interface AmazonECSAsyncregisterTaskDefinitionRequest - Container for the necessary
           parameters to execute the RegisterTaskDefinition operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<SubmitTaskStateChangeResult> submitTaskStateChangeAsync(SubmitTaskStateChangeRequest submitTaskStateChangeRequest) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a task changed states.
submitTaskStateChangeAsync in interface AmazonECSAsyncsubmitTaskStateChangeRequest - Container for the necessary
           parameters to execute the SubmitTaskStateChange operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<SubmitTaskStateChangeResult> submitTaskStateChangeAsync(SubmitTaskStateChangeRequest submitTaskStateChangeRequest, AsyncHandler<SubmitTaskStateChangeRequest,SubmitTaskStateChangeResult> asyncHandler) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a task changed states.
submitTaskStateChangeAsync in interface AmazonECSAsyncsubmitTaskStateChangeRequest - Container for the necessary
           parameters to execute the SubmitTaskStateChange operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeContainerInstancesResult> describeContainerInstancesAsync(DescribeContainerInstancesRequest describeContainerInstancesRequest) throws AmazonServiceException, AmazonClientException
Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested.
describeContainerInstancesAsync in interface AmazonECSAsyncdescribeContainerInstancesRequest - Container for the necessary
           parameters to execute the DescribeContainerInstances operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeContainerInstancesResult> describeContainerInstancesAsync(DescribeContainerInstancesRequest describeContainerInstancesRequest, AsyncHandler<DescribeContainerInstancesRequest,DescribeContainerInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes Amazon EC2 Container Service container instances. Returns metadata about registered and remaining resources on each container instance requested.
describeContainerInstancesAsync in interface AmazonECSAsyncdescribeContainerInstancesRequest - Container for the necessary
           parameters to execute the DescribeContainerInstances operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RegisterContainerInstanceResult> registerContainerInstanceAsync(RegisterContainerInstanceRequest registerContainerInstanceRequest) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Registers an Amazon EC2 instance into the specified cluster. This instance will become available to place containers on.
registerContainerInstanceAsync in interface AmazonECSAsyncregisterContainerInstanceRequest - Container for the necessary
           parameters to execute the RegisterContainerInstance operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<RegisterContainerInstanceResult> registerContainerInstanceAsync(RegisterContainerInstanceRequest registerContainerInstanceRequest, AsyncHandler<RegisterContainerInstanceRequest,RegisterContainerInstanceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Registers an Amazon EC2 instance into the specified cluster. This instance will become available to place containers on.
registerContainerInstanceAsync in interface AmazonECSAsyncregisterContainerInstanceRequest - Container for the necessary
           parameters to execute the RegisterContainerInstance operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeServicesResult> describeServicesAsync(DescribeServicesRequest describeServicesRequest) throws AmazonServiceException, AmazonClientException
Describes the specified services running in your cluster.
describeServicesAsync in interface AmazonECSAsyncdescribeServicesRequest - Container for the necessary parameters
           to execute the DescribeServices operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeServicesResult> describeServicesAsync(DescribeServicesRequest describeServicesRequest, AsyncHandler<DescribeServicesRequest,DescribeServicesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the specified services running in your cluster.
describeServicesAsync in interface AmazonECSAsyncdescribeServicesRequest - Container for the necessary parameters
           to execute the DescribeServices operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest) throws AmazonServiceException, AmazonClientException
 Runs and maintains a desired number of tasks from a specified task
 definition. If the number of tasks running in a service drops below
 desiredCount , Amazon ECS will spawn another
 instantiation of the task in the specified cluster.
 
createServiceAsync in interface AmazonECSAsynccreateServiceRequest - Container for the necessary parameters to
           execute the CreateService operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<CreateServiceResult> createServiceAsync(CreateServiceRequest createServiceRequest, AsyncHandler<CreateServiceRequest,CreateServiceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Runs and maintains a desired number of tasks from a specified task
 definition. If the number of tasks running in a service drops below
 desiredCount , Amazon ECS will spawn another
 instantiation of the task in the specified cluster.
 
createServiceAsync in interface AmazonECSAsynccreateServiceRequest - Container for the necessary parameters to
           execute the CreateService operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest) throws AmazonServiceException, AmazonClientException
Lists the services that are running in a specified cluster.
listServicesAsync in interface AmazonECSAsynclistServicesRequest - Container for the necessary parameters to
           execute the ListServices operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListServicesResult> listServicesAsync(ListServicesRequest listServicesRequest, AsyncHandler<ListServicesRequest,ListServicesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the services that are running in a specified cluster.
listServicesAsync in interface AmazonECSAsynclistServicesRequest - Container for the necessary parameters to
           execute the ListServices operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest updateServiceRequest) throws AmazonServiceException, AmazonClientException
Modify the desired count or task definition used in a service.
 You can add to or subtract from the number of instantiations of a
 task definition in a service by specifying the cluster that the
 service is running in and a new desiredCount parameter.
 
 You can use UpdateService to modify your task definition
 and deploy a new version of your service, one task at a time. If you
 modify the task definition with UpdateService , Amazon
 ECS spawns a task with the new version of the task definition and then
 stops an old task after the new version is running. Because
 UpdateService starts a new version of the task before
 stopping an old version, your cluster must have capacity to support
 one more instantiation of the task when UpdateService is
 run. If your cluster cannot support another instantiation of the task
 used in your service, you can reduce the desired count of your service
 by one before modifying the task definition.
 
updateServiceAsync in interface AmazonECSAsyncupdateServiceRequest - Container for the necessary parameters to
           execute the UpdateService operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<UpdateServiceResult> updateServiceAsync(UpdateServiceRequest updateServiceRequest, AsyncHandler<UpdateServiceRequest,UpdateServiceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Modify the desired count or task definition used in a service.
 You can add to or subtract from the number of instantiations of a
 task definition in a service by specifying the cluster that the
 service is running in and a new desiredCount parameter.
 
 You can use UpdateService to modify your task definition
 and deploy a new version of your service, one task at a time. If you
 modify the task definition with UpdateService , Amazon
 ECS spawns a task with the new version of the task definition and then
 stops an old task after the new version is running. Because
 UpdateService starts a new version of the task before
 stopping an old version, your cluster must have capacity to support
 one more instantiation of the task when UpdateService is
 run. If your cluster cannot support another instantiation of the task
 used in your service, you can reduce the desired count of your service
 by one before modifying the task definition.
 
updateServiceAsync in interface AmazonECSAsyncupdateServiceRequest - Container for the necessary parameters to
           execute the UpdateService operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTaskDefinitionFamiliesResult> listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest listTaskDefinitionFamiliesRequest) throws AmazonServiceException, AmazonClientException
 Returns a list of task definition families that are registered to
 your account (which may include task definition families that no
 longer have any ACTIVE task definitions). You can filter
 the results with the familyPrefix parameter.
 
listTaskDefinitionFamiliesAsync in interface AmazonECSAsynclistTaskDefinitionFamiliesRequest - Container for the necessary
           parameters to execute the ListTaskDefinitionFamilies operation on
           AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTaskDefinitionFamiliesResult> listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest listTaskDefinitionFamiliesRequest, AsyncHandler<ListTaskDefinitionFamiliesRequest,ListTaskDefinitionFamiliesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Returns a list of task definition families that are registered to
 your account (which may include task definition families that no
 longer have any ACTIVE task definitions). You can filter
 the results with the familyPrefix parameter.
 
listTaskDefinitionFamiliesAsync in interface AmazonECSAsynclistTaskDefinitionFamiliesRequest - Container for the necessary
           parameters to execute the ListTaskDefinitionFamilies operation on
           AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeTasksResult> describeTasksAsync(DescribeTasksRequest describeTasksRequest) throws AmazonServiceException, AmazonClientException
Describes a specified task or tasks.
describeTasksAsync in interface AmazonECSAsyncdescribeTasksRequest - Container for the necessary parameters to
           execute the DescribeTasks operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DescribeTasksResult> describeTasksAsync(DescribeTasksRequest describeTasksRequest, AsyncHandler<DescribeTasksRequest,DescribeTasksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes a specified task or tasks.
describeTasksAsync in interface AmazonECSAsyncdescribeTasksRequest - Container for the necessary parameters to
           execute the DescribeTasks operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DiscoverPollEndpointResult> discoverPollEndpointAsync(DiscoverPollEndpointRequest discoverPollEndpointRequest) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates.
discoverPollEndpointAsync in interface AmazonECSAsyncdiscoverPollEndpointRequest - Container for the necessary
           parameters to execute the DiscoverPollEndpoint operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<DiscoverPollEndpointResult> discoverPollEndpointAsync(DiscoverPollEndpointRequest discoverPollEndpointRequest, AsyncHandler<DiscoverPollEndpointRequest,DiscoverPollEndpointResult> asyncHandler) throws AmazonServiceException, AmazonClientException
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates.
discoverPollEndpointAsync in interface AmazonECSAsyncdiscoverPollEndpointRequest - Container for the necessary
           parameters to execute the DiscoverPollEndpoint operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<StartTaskResult> startTaskAsync(StartTaskRequest startTaskRequest) throws AmazonServiceException, AmazonClientException
 Starts a new task from the specified task definition on the specified
 container instance or instances. If you want to use the default Amazon
 ECS scheduler to place your task, use RunTask instead.
 
IMPORTANT: The list of container instances to start tasks on is limited to 10.
startTaskAsync in interface AmazonECSAsyncstartTaskRequest - Container for the necessary parameters to
           execute the StartTask operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<StartTaskResult> startTaskAsync(StartTaskRequest startTaskRequest, AsyncHandler<StartTaskRequest,StartTaskResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Starts a new task from the specified task definition on the specified
 container instance or instances. If you want to use the default Amazon
 ECS scheduler to place your task, use RunTask instead.
 
IMPORTANT: The list of container instances to start tasks on is limited to 10.
startTaskAsync in interface AmazonECSAsyncstartTaskRequest - Container for the necessary parameters to
           execute the StartTask operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTasksResult> listTasksAsync(ListTasksRequest listTasksRequest) throws AmazonServiceException, AmazonClientException
 Returns a list of tasks for a specified cluster. You can filter the
 results by family name, by a particular container instance, or by the
 desired status of the task with the family ,
 containerInstance , and desiredStatus
 parameters.
 
listTasksAsync in interface AmazonECSAsynclistTasksRequest - Container for the necessary parameters to
           execute the ListTasks operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<ListTasksResult> listTasksAsync(ListTasksRequest listTasksRequest, AsyncHandler<ListTasksRequest,ListTasksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
 Returns a list of tasks for a specified cluster. You can filter the
 results by family name, by a particular container instance, or by the
 desired status of the task with the family ,
 containerInstance , and desiredStatus
 parameters.
 
listTasksAsync in interface AmazonECSAsynclistTasksRequest - Container for the necessary parameters to
           execute the ListTasks operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<StopTaskResult> stopTaskAsync(StopTaskRequest stopTaskRequest) throws AmazonServiceException, AmazonClientException
Stops a running task.
stopTaskAsync in interface AmazonECSAsyncstopTaskRequest - Container for the necessary parameters to
           execute the StopTask operation on AmazonECS.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.public Future<StopTaskResult> stopTaskAsync(StopTaskRequest stopTaskRequest, AsyncHandler<StopTaskRequest,StopTaskResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops a running task.
stopTaskAsync in interface AmazonECSAsyncstopTaskRequest - Container for the necessary parameters to
           execute the StopTask operation on AmazonECS.asyncHandler - Asynchronous callback handler for events in the
           life-cycle of the request. Users could provide the implementation of
           the four callback methods in this interface to process the operation
           result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
             attempting to make the request or handle the response.  For example
             if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonECS indicating
             either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.