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

com.amazonaws.services.opsworks.AWSOpsWorksAsync Maven / Gradle / Ivy

/*
 * Copyright 2010-2013 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.opsworks;
            
import java.util.concurrent.Future;

import com.amazonaws.AmazonClientException;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.handlers.AsyncHandler;
import com.amazonaws.services.opsworks.model.*;

/**
 * Interface for accessing AWSOpsWorks asynchronously.
 * Each asynchronous method will return a Java Future object, and users are also allowed
 * to provide a callback handler.
 * AWS OpsWorks 
 */       
public interface AWSOpsWorksAsync extends AWSOpsWorks {
    /**
     * 

* Updates a specified user's SSH name and public key. *

* * @param updateUserProfileRequest Container for the necessary parameters * to execute the UpdateUserProfile operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified user's SSH name and public key. *

* * @param updateUserProfileRequest Container for the necessary parameters * to execute the UpdateUserProfile operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * UpdateUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateUserProfileAsync(UpdateUserProfileRequest updateUserProfileRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates a new stack. *

* * @param createStackRequest Container for the necessary parameters to * execute the CreateStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createStackAsync(CreateStackRequest createStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates a new stack. *

* * @param createStackRequest Container for the necessary parameters to * execute the CreateStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createStackAsync(CreateStackRequest createStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Reboots a specified instance. *

* * @param rebootInstanceRequest Container for the necessary parameters to * execute the RebootInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * RebootInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Reboots a specified instance. *

* * @param rebootInstanceRequest Container for the necessary parameters to * execute the RebootInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * RebootInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future rebootInstanceAsync(RebootInstanceRequest rebootInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Specifies a stack's permissions. *

* * @param setPermissionRequest Container for the necessary parameters to * execute the SetPermission operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * SetPermission service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setPermissionAsync(SetPermissionRequest setPermissionRequest) throws AmazonServiceException, AmazonClientException; /** *

* Specifies a stack's permissions. *

* * @param setPermissionRequest Container for the necessary parameters to * execute the SetPermission operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * SetPermission service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setPermissionAsync(SetPermissionRequest setPermissionRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a set of instances associated with a * specified ID or IDs. *

* * @param describeInstancesRequest Container for the necessary parameters * to execute the DescribeInstances operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeInstances service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a set of instances associated with a * specified ID or IDs. *

* * @param describeInstancesRequest Container for the necessary parameters * to execute the DescribeInstances operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeInstances service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeInstancesAsync(DescribeInstancesRequest describeInstancesRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes the permissions for a specified stack. You must specify at * least one of the two request values. *

* * @param describePermissionsRequest Container for the necessary * parameters to execute the DescribePermissions operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribePermissions service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes the permissions for a specified stack. You must specify at * least one of the two request values. *

* * @param describePermissionsRequest Container for the necessary * parameters to execute the DescribePermissions operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribePermissions service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describePermissionsAsync(DescribePermissionsRequest describePermissionsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified instance. *

* * @param deleteInstanceRequest Container for the necessary parameters to * execute the DeleteInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeleteInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified instance. *

* * @param deleteInstanceRequest Container for the necessary parameters to * execute the DeleteInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DeleteInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteInstanceAsync(DeleteInstanceRequest deleteInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates a clone of a specified stack. *

* * @param cloneStackRequest Container for the necessary parameters to * execute the CloneStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CloneStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future cloneStackAsync(CloneStackRequest cloneStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates a clone of a specified stack. *

* * @param cloneStackRequest Container for the necessary parameters to * execute the CloneStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CloneStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future cloneStackAsync(CloneStackRequest cloneStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates an instance in a specified stack. *

* * @param createInstanceRequest Container for the necessary parameters to * execute the CreateInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createInstanceAsync(CreateInstanceRequest createInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates an instance in a specified stack. *

* * @param createInstanceRequest Container for the necessary parameters to * execute the CreateInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createInstanceAsync(CreateInstanceRequest createInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Stops a specified instance. When you stop a standard instance, the * data disappears and must be reinstalled when you restart the instance. * You can stop an Amazon EBS-backed instance without losing data. *

* * @param stopInstanceRequest Container for the necessary parameters to * execute the StopInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * StopInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future stopInstanceAsync(StopInstanceRequest stopInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Stops a specified instance. When you stop a standard instance, the * data disappears and must be reinstalled when you restart the instance. * You can stop an Amazon EBS-backed instance without losing data. *

* * @param stopInstanceRequest Container for the necessary parameters to * execute the StopInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * StopInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future stopInstanceAsync(StopInstanceRequest stopInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified app. *

* * @param updateAppRequest Container for the necessary parameters to * execute the UpdateApp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateAppAsync(UpdateAppRequest updateAppRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified app. *

* * @param updateAppRequest Container for the necessary parameters to * execute the UpdateApp operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * UpdateApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateAppAsync(UpdateAppRequest updateAppRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified app. *

* * @param deleteAppRequest Container for the necessary parameters to * execute the DeleteApp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeleteApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteAppAsync(DeleteAppRequest deleteAppRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified app. *

* * @param deleteAppRequest Container for the necessary parameters to * execute the DeleteApp operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DeleteApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteAppAsync(DeleteAppRequest deleteAppRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes the results of specified commands. *

* * @param describeCommandsRequest Container for the necessary parameters * to execute the DescribeCommands operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeCommands service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes the results of specified commands. *

* * @param describeCommandsRequest Container for the necessary parameters * to execute the DescribeCommands operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeCommands service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeCommandsAsync(DescribeCommandsRequest describeCommandsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified stack. *

* * @param updateStackRequest Container for the necessary parameters to * execute the UpdateStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateStackAsync(UpdateStackRequest updateStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified stack. *

* * @param updateStackRequest Container for the necessary parameters to * execute the UpdateStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * UpdateStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateStackAsync(UpdateStackRequest updateStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates a new user. *

* * @param createUserProfileRequest Container for the necessary parameters * to execute the CreateUserProfile operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates a new user. *

* * @param createUserProfileRequest Container for the necessary parameters * to execute the CreateUserProfile operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createUserProfileAsync(CreateUserProfileRequest createUserProfileRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Gets a generated hostname for the specified layer, based on the * current hostname theme. *

* * @param getHostnameSuggestionRequest Container for the necessary * parameters to execute the GetHostnameSuggestion operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * GetHostnameSuggestion service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest) throws AmazonServiceException, AmazonClientException; /** *

* Gets a generated hostname for the specified layer, based on the * current hostname theme. *

* * @param getHostnameSuggestionRequest Container for the necessary * parameters to execute the GetHostnameSuggestion operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * GetHostnameSuggestion service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future getHostnameSuggestionAsync(GetHostnameSuggestionRequest getHostnameSuggestionRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describe an instance's RAID arrays. *

* * @param describeRaidArraysRequest Container for the necessary * parameters to execute the DescribeRaidArrays operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeRaidArrays service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describe an instance's RAID arrays. *

* * @param describeRaidArraysRequest Container for the necessary * parameters to execute the DescribeRaidArrays operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeRaidArrays service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeRaidArraysAsync(DescribeRaidArraysRequest describeRaidArraysRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of one or more layers in a specified stack. *

* * @param describeLayersRequest Container for the necessary parameters to * execute the DescribeLayers operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeLayers service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeLayersAsync(DescribeLayersRequest describeLayersRequest) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of one or more layers in a specified stack. *

* * @param describeLayersRequest Container for the necessary parameters to * execute the DescribeLayers operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeLayers service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeLayersAsync(DescribeLayersRequest describeLayersRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes load-based auto scaling configurations for specified layers. *

* * @param describeLoadBasedAutoScalingRequest Container for the necessary * parameters to execute the DescribeLoadBasedAutoScaling operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeLoadBasedAutoScaling service method, as returned by * AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes load-based auto scaling configurations for specified layers. *

* * @param describeLoadBasedAutoScalingRequest Container for the necessary * parameters to execute the DescribeLoadBasedAutoScaling operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeLoadBasedAutoScaling service method, as returned by * AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeLoadBasedAutoScalingAsync(DescribeLoadBasedAutoScalingRequest describeLoadBasedAutoScalingRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Specify the load-based auto scaling configuration for a specified * layer. *

*

* NOTE:To use load-based auto scaling, you must create a set of * load-based auto scaling instances. Load-based auto scaling operates * only on the instances from that set, so you must ensure that you have * created enough instances to handle the maximum anticipated load. *

* * @param setLoadBasedAutoScalingRequest Container for the necessary * parameters to execute the SetLoadBasedAutoScaling operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * SetLoadBasedAutoScaling service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException; /** *

* Specify the load-based auto scaling configuration for a specified * layer. *

*

* NOTE:To use load-based auto scaling, you must create a set of * load-based auto scaling instances. Load-based auto scaling operates * only on the instances from that set, so you must ensure that you have * created enough instances to handle the maximum anticipated load. *

* * @param setLoadBasedAutoScalingRequest Container for the necessary * parameters to execute the SetLoadBasedAutoScaling operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * SetLoadBasedAutoScaling service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setLoadBasedAutoScalingAsync(SetLoadBasedAutoScalingRequest setLoadBasedAutoScalingRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified layer. You must first remove all associated * instances. *

* * @param deleteLayerRequest Container for the necessary parameters to * execute the DeleteLayer operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeleteLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteLayerAsync(DeleteLayerRequest deleteLayerRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified layer. You must first remove all associated * instances. *

* * @param deleteLayerRequest Container for the necessary parameters to * execute the DeleteLayer operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DeleteLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteLayerAsync(DeleteLayerRequest deleteLayerRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes an instance's Amazon EBS volumes. *

* * @param describeVolumesRequest Container for the necessary parameters * to execute the DescribeVolumes operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeVolumes service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes an instance's Amazon EBS volumes. *

* * @param describeVolumesRequest Container for the necessary parameters * to execute the DescribeVolumes operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeVolumes service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeVolumesAsync(DescribeVolumesRequest describeVolumesRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Specify the time-based auto scaling configuration for a specified * instance. *

* * @param setTimeBasedAutoScalingRequest Container for the necessary * parameters to execute the SetTimeBasedAutoScaling operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * SetTimeBasedAutoScaling service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException; /** *

* Specify the time-based auto scaling configuration for a specified * instance. *

* * @param setTimeBasedAutoScalingRequest Container for the necessary * parameters to execute the SetTimeBasedAutoScaling operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * SetTimeBasedAutoScaling service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future setTimeBasedAutoScalingAsync(SetTimeBasedAutoScalingRequest setTimeBasedAutoScalingRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates an app for a specified stack. *

* * @param createAppRequest Container for the necessary parameters to * execute the CreateApp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createAppAsync(CreateAppRequest createAppRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates an app for a specified stack. *

* * @param createAppRequest Container for the necessary parameters to * execute the CreateApp operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateApp service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createAppAsync(CreateAppRequest createAppRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes time-based auto scaling configurations for specified * instances. *

* * @param describeTimeBasedAutoScalingRequest Container for the necessary * parameters to execute the DescribeTimeBasedAutoScaling operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeTimeBasedAutoScaling service method, as returned by * AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes time-based auto scaling configurations for specified * instances. *

* * @param describeTimeBasedAutoScalingRequest Container for the necessary * parameters to execute the DescribeTimeBasedAutoScaling operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeTimeBasedAutoScaling service method, as returned by * AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeTimeBasedAutoScalingAsync(DescribeTimeBasedAutoScalingRequest describeTimeBasedAutoScalingRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a user. *

* * @param deleteUserProfileRequest Container for the necessary parameters * to execute the DeleteUserProfile operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeleteUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a user. *

* * @param deleteUserProfileRequest Container for the necessary parameters * to execute the DeleteUserProfile operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DeleteUserProfile service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteUserProfileAsync(DeleteUserProfileRequest deleteUserProfileRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describe specified users. *

* * @param describeUserProfilesRequest Container for the necessary * parameters to execute the DescribeUserProfiles operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeUserProfiles service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describe specified users. *

* * @param describeUserProfilesRequest Container for the necessary * parameters to execute the DescribeUserProfiles operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeUserProfiles service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeUserProfilesAsync(DescribeUserProfilesRequest describeUserProfilesRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified instance. *

* * @param updateInstanceRequest Container for the necessary parameters to * execute the UpdateInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified instance. *

* * @param updateInstanceRequest Container for the necessary parameters to * execute the UpdateInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * UpdateInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateInstanceAsync(UpdateInstanceRequest updateInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes OpsWorks service errors. *

* * @param describeServiceErrorsRequest Container for the necessary * parameters to execute the DescribeServiceErrors operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeServiceErrors service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes OpsWorks service errors. *

* * @param describeServiceErrorsRequest Container for the necessary * parameters to execute the DescribeServiceErrors operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeServiceErrors service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeServiceErrorsAsync(DescribeServiceErrorsRequest describeServiceErrorsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a specified set of deployments. *

* * @param describeDeploymentsRequest Container for the necessary * parameters to execute the DescribeDeployments operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeDeployments service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a specified set of deployments. *

* * @param describeDeploymentsRequest Container for the necessary * parameters to execute the DescribeDeployments operation on * AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeDeployments service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeDeploymentsAsync(DescribeDeploymentsRequest describeDeploymentsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified layer. *

* * @param updateLayerRequest Container for the necessary parameters to * execute the UpdateLayer operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateLayerAsync(UpdateLayerRequest updateLayerRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified layer. *

* * @param updateLayerRequest Container for the necessary parameters to * execute the UpdateLayer operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * UpdateLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future updateLayerAsync(UpdateLayerRequest updateLayerRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Starts a specified instance. *

* * @param startInstanceRequest Container for the necessary parameters to * execute the StartInstance operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * StartInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future startInstanceAsync(StartInstanceRequest startInstanceRequest) throws AmazonServiceException, AmazonClientException; /** *

* Starts a specified instance. *

* * @param startInstanceRequest Container for the necessary parameters to * execute the StartInstance operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * StartInstance service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future startInstanceAsync(StartInstanceRequest startInstanceRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes an instance's * Elastic IP addresses . *

* * @param describeElasticIpsRequest Container for the necessary * parameters to execute the DescribeElasticIps operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeElasticIps service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes an instance's * Elastic IP addresses . *

* * @param describeElasticIpsRequest Container for the necessary * parameters to execute the DescribeElasticIps operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeElasticIps service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeElasticIpsAsync(DescribeElasticIpsRequest describeElasticIpsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of one or more stacks. *

* * @param describeStacksRequest Container for the necessary parameters to * execute the DescribeStacks operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeStacks service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeStacksAsync(DescribeStacksRequest describeStacksRequest) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of one or more stacks. *

* * @param describeStacksRequest Container for the necessary parameters to * execute the DescribeStacks operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeStacks service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeStacksAsync(DescribeStacksRequest describeStacksRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a specified set of apps. *

* * @param describeAppsRequest Container for the necessary parameters to * execute the DescribeApps operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeApps service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeAppsAsync(DescribeAppsRequest describeAppsRequest) throws AmazonServiceException, AmazonClientException; /** *

* Requests a description of a specified set of apps. *

* * @param describeAppsRequest Container for the necessary parameters to * execute the DescribeApps operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DescribeApps service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future describeAppsAsync(DescribeAppsRequest describeAppsRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Creates a layer. *

* * @param createLayerRequest Container for the necessary parameters to * execute the CreateLayer operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createLayerAsync(CreateLayerRequest createLayerRequest) throws AmazonServiceException, AmazonClientException; /** *

* Creates a layer. *

* * @param createLayerRequest Container for the necessary parameters to * execute the CreateLayer operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateLayer service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createLayerAsync(CreateLayerRequest createLayerRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified stack. You must first delete all instances and * layers. *

* * @param deleteStackRequest Container for the necessary parameters to * execute the DeleteStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeleteStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteStackAsync(DeleteStackRequest deleteStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified stack. You must first delete all instances and * layers. *

* * @param deleteStackRequest Container for the necessary parameters to * execute the DeleteStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * DeleteStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future deleteStackAsync(DeleteStackRequest deleteStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Starts stack's instances. *

* * @param startStackRequest Container for the necessary parameters to * execute the StartStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * StartStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future startStackAsync(StartStackRequest startStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Starts stack's instances. *

* * @param startStackRequest Container for the necessary parameters to * execute the StartStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * StartStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future startStackAsync(StartStackRequest startStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Stops a specified stack. *

* * @param stopStackRequest Container for the necessary parameters to * execute the StopStack operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * StopStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future stopStackAsync(StopStackRequest stopStackRequest) throws AmazonServiceException, AmazonClientException; /** *

* Stops a specified stack. *

* * @param stopStackRequest Container for the necessary parameters to * execute the StopStack operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * StopStack service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future stopStackAsync(StopStackRequest stopStackRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deploys a stack or app. *

* *
    *
  • App deployment generates a deploy event, which runs * the associated recipes and passes them a JSON stack configuration * object that includes information about the app.
  • *
  • Stack deployment runs the deploy recipes but does * not raise an event.
  • * *
* * @param createDeploymentRequest Container for the necessary parameters * to execute the CreateDeployment operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * CreateDeployment service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deploys a stack or app. *

* *
    *
  • App deployment generates a deploy event, which runs * the associated recipes and passes them a JSON stack configuration * object that includes information about the app.
  • *
  • Stack deployment runs the deploy recipes but does * not raise an event.
  • * *
* * @param createDeploymentRequest Container for the necessary parameters * to execute the CreateDeployment operation on AWSOpsWorks. * @param 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. * * @return A Java Future object containing the response from the * CreateDeployment service method, as returned by AWSOpsWorks. * * @throws 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. * @throws AmazonServiceException * If an error response is returned by AWSOpsWorks indicating * either a problem with the data in the request, or a server side issue. */ public Future createDeploymentAsync(CreateDeploymentRequest createDeploymentRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy