All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.ecs.AbstractAmazonECSAsync Maven / Gradle / Ivy

/*
 * Copyright 2010-2016 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.ecs;

import com.amazonaws.services.ecs.model.*;

/**
 * Abstract implementation of {@code AmazonECSAsync}. Convenient method forms
 * pass through to the corresponding overload that takes a request object and an
 * {@code AsyncHandler}, which throws an {@code UnsupportedOperationException}.
 */
public class AbstractAmazonECSAsync extends AbstractAmazonECS implements
        AmazonECSAsync {

    protected AbstractAmazonECSAsync() {
    }

    @Override
    public java.util.concurrent.Future createClusterAsync(
            CreateClusterRequest request) {

        return createClusterAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future createClusterAsync(
            CreateClusterRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the CreateCluster operation.
     *
     * @see #createClusterAsync(CreateClusterRequest)
     */
    @Override
    public java.util.concurrent.Future createClusterAsync() {

        return createClusterAsync(new CreateClusterRequest());
    }

    /**
     * Simplified method form for invoking the CreateCluster operation with an
     * AsyncHandler.
     *
     * @see #createClusterAsync(CreateClusterRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future createClusterAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return createClusterAsync(new CreateClusterRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future createServiceAsync(
            CreateServiceRequest request) {

        return createServiceAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future createServiceAsync(
            CreateServiceRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future deleteClusterAsync(
            DeleteClusterRequest request) {

        return deleteClusterAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future deleteClusterAsync(
            DeleteClusterRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future deleteServiceAsync(
            DeleteServiceRequest request) {

        return deleteServiceAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future deleteServiceAsync(
            DeleteServiceRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future deregisterContainerInstanceAsync(
            DeregisterContainerInstanceRequest request) {

        return deregisterContainerInstanceAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future deregisterContainerInstanceAsync(
            DeregisterContainerInstanceRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future deregisterTaskDefinitionAsync(
            DeregisterTaskDefinitionRequest request) {

        return deregisterTaskDefinitionAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future deregisterTaskDefinitionAsync(
            DeregisterTaskDefinitionRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future describeClustersAsync(
            DescribeClustersRequest request) {

        return describeClustersAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future describeClustersAsync(
            DescribeClustersRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the DescribeClusters operation.
     *
     * @see #describeClustersAsync(DescribeClustersRequest)
     */
    @Override
    public java.util.concurrent.Future describeClustersAsync() {

        return describeClustersAsync(new DescribeClustersRequest());
    }

    /**
     * Simplified method form for invoking the DescribeClusters operation with
     * an AsyncHandler.
     *
     * @see #describeClustersAsync(DescribeClustersRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future describeClustersAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return describeClustersAsync(new DescribeClustersRequest(),
                asyncHandler);
    }

    @Override
    public java.util.concurrent.Future describeContainerInstancesAsync(
            DescribeContainerInstancesRequest request) {

        return describeContainerInstancesAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future describeContainerInstancesAsync(
            DescribeContainerInstancesRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future describeServicesAsync(
            DescribeServicesRequest request) {

        return describeServicesAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future describeServicesAsync(
            DescribeServicesRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future describeTaskDefinitionAsync(
            DescribeTaskDefinitionRequest request) {

        return describeTaskDefinitionAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future describeTaskDefinitionAsync(
            DescribeTaskDefinitionRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future describeTasksAsync(
            DescribeTasksRequest request) {

        return describeTasksAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future describeTasksAsync(
            DescribeTasksRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future discoverPollEndpointAsync(
            DiscoverPollEndpointRequest request) {

        return discoverPollEndpointAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future discoverPollEndpointAsync(
            DiscoverPollEndpointRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the DiscoverPollEndpoint operation.
     *
     * @see #discoverPollEndpointAsync(DiscoverPollEndpointRequest)
     */
    @Override
    public java.util.concurrent.Future discoverPollEndpointAsync() {

        return discoverPollEndpointAsync(new DiscoverPollEndpointRequest());
    }

    /**
     * Simplified method form for invoking the DiscoverPollEndpoint operation
     * with an AsyncHandler.
     *
     * @see #discoverPollEndpointAsync(DiscoverPollEndpointRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future discoverPollEndpointAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return discoverPollEndpointAsync(new DiscoverPollEndpointRequest(),
                asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listClustersAsync(
            ListClustersRequest request) {

        return listClustersAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listClustersAsync(
            ListClustersRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListClusters operation.
     *
     * @see #listClustersAsync(ListClustersRequest)
     */
    @Override
    public java.util.concurrent.Future listClustersAsync() {

        return listClustersAsync(new ListClustersRequest());
    }

    /**
     * Simplified method form for invoking the ListClusters operation with an
     * AsyncHandler.
     *
     * @see #listClustersAsync(ListClustersRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listClustersAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listClustersAsync(new ListClustersRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listContainerInstancesAsync(
            ListContainerInstancesRequest request) {

        return listContainerInstancesAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listContainerInstancesAsync(
            ListContainerInstancesRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListContainerInstances operation.
     *
     * @see #listContainerInstancesAsync(ListContainerInstancesRequest)
     */
    @Override
    public java.util.concurrent.Future listContainerInstancesAsync() {

        return listContainerInstancesAsync(new ListContainerInstancesRequest());
    }

    /**
     * Simplified method form for invoking the ListContainerInstances operation
     * with an AsyncHandler.
     *
     * @see #listContainerInstancesAsync(ListContainerInstancesRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listContainerInstancesAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listContainerInstancesAsync(new ListContainerInstancesRequest(),
                asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listServicesAsync(
            ListServicesRequest request) {

        return listServicesAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listServicesAsync(
            ListServicesRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListServices operation.
     *
     * @see #listServicesAsync(ListServicesRequest)
     */
    @Override
    public java.util.concurrent.Future listServicesAsync() {

        return listServicesAsync(new ListServicesRequest());
    }

    /**
     * Simplified method form for invoking the ListServices operation with an
     * AsyncHandler.
     *
     * @see #listServicesAsync(ListServicesRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listServicesAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listServicesAsync(new ListServicesRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listTaskDefinitionFamiliesAsync(
            ListTaskDefinitionFamiliesRequest request) {

        return listTaskDefinitionFamiliesAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listTaskDefinitionFamiliesAsync(
            ListTaskDefinitionFamiliesRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListTaskDefinitionFamilies
     * operation.
     *
     * @see #listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest)
     */
    @Override
    public java.util.concurrent.Future listTaskDefinitionFamiliesAsync() {

        return listTaskDefinitionFamiliesAsync(new ListTaskDefinitionFamiliesRequest());
    }

    /**
     * Simplified method form for invoking the ListTaskDefinitionFamilies
     * operation with an AsyncHandler.
     *
     * @see #listTaskDefinitionFamiliesAsync(ListTaskDefinitionFamiliesRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listTaskDefinitionFamiliesAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listTaskDefinitionFamiliesAsync(
                new ListTaskDefinitionFamiliesRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listTaskDefinitionsAsync(
            ListTaskDefinitionsRequest request) {

        return listTaskDefinitionsAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listTaskDefinitionsAsync(
            ListTaskDefinitionsRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListTaskDefinitions operation.
     *
     * @see #listTaskDefinitionsAsync(ListTaskDefinitionsRequest)
     */
    @Override
    public java.util.concurrent.Future listTaskDefinitionsAsync() {

        return listTaskDefinitionsAsync(new ListTaskDefinitionsRequest());
    }

    /**
     * Simplified method form for invoking the ListTaskDefinitions operation
     * with an AsyncHandler.
     *
     * @see #listTaskDefinitionsAsync(ListTaskDefinitionsRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listTaskDefinitionsAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listTaskDefinitionsAsync(new ListTaskDefinitionsRequest(),
                asyncHandler);
    }

    @Override
    public java.util.concurrent.Future listTasksAsync(
            ListTasksRequest request) {

        return listTasksAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future listTasksAsync(
            ListTasksRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the ListTasks operation.
     *
     * @see #listTasksAsync(ListTasksRequest)
     */
    @Override
    public java.util.concurrent.Future listTasksAsync() {

        return listTasksAsync(new ListTasksRequest());
    }

    /**
     * Simplified method form for invoking the ListTasks operation with an
     * AsyncHandler.
     *
     * @see #listTasksAsync(ListTasksRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future listTasksAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return listTasksAsync(new ListTasksRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future registerContainerInstanceAsync(
            RegisterContainerInstanceRequest request) {

        return registerContainerInstanceAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future registerContainerInstanceAsync(
            RegisterContainerInstanceRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future registerTaskDefinitionAsync(
            RegisterTaskDefinitionRequest request) {

        return registerTaskDefinitionAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future registerTaskDefinitionAsync(
            RegisterTaskDefinitionRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future runTaskAsync(
            RunTaskRequest request) {

        return runTaskAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future runTaskAsync(
            RunTaskRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future startTaskAsync(
            StartTaskRequest request) {

        return startTaskAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future startTaskAsync(
            StartTaskRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future stopTaskAsync(
            StopTaskRequest request) {

        return stopTaskAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future stopTaskAsync(
            StopTaskRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future submitContainerStateChangeAsync(
            SubmitContainerStateChangeRequest request) {

        return submitContainerStateChangeAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future submitContainerStateChangeAsync(
            SubmitContainerStateChangeRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    /**
     * Simplified method form for invoking the SubmitContainerStateChange
     * operation.
     *
     * @see #submitContainerStateChangeAsync(SubmitContainerStateChangeRequest)
     */
    @Override
    public java.util.concurrent.Future submitContainerStateChangeAsync() {

        return submitContainerStateChangeAsync(new SubmitContainerStateChangeRequest());
    }

    /**
     * Simplified method form for invoking the SubmitContainerStateChange
     * operation with an AsyncHandler.
     *
     * @see #submitContainerStateChangeAsync(SubmitContainerStateChangeRequest,
     *      com.amazonaws.handlers.AsyncHandler)
     */
    public java.util.concurrent.Future submitContainerStateChangeAsync(
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        return submitContainerStateChangeAsync(
                new SubmitContainerStateChangeRequest(), asyncHandler);
    }

    @Override
    public java.util.concurrent.Future submitTaskStateChangeAsync(
            SubmitTaskStateChangeRequest request) {

        return submitTaskStateChangeAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future submitTaskStateChangeAsync(
            SubmitTaskStateChangeRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future updateContainerAgentAsync(
            UpdateContainerAgentRequest request) {

        return updateContainerAgentAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future updateContainerAgentAsync(
            UpdateContainerAgentRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

    @Override
    public java.util.concurrent.Future updateServiceAsync(
            UpdateServiceRequest request) {

        return updateServiceAsync(request, null);
    }

    @Override
    public java.util.concurrent.Future updateServiceAsync(
            UpdateServiceRequest request,
            com.amazonaws.handlers.AsyncHandler asyncHandler) {

        throw new java.lang.UnsupportedOperationException();
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy