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

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

Go to download

The Amazon Web Services SDK for Java provides Java APIs for building software on AWS' cost-effective, scalable, and reliable infrastructure products. The AWS Java SDK allows developers to code against APIs for all of Amazon's infrastructure web services (Amazon S3, Amazon EC2, Amazon SQS, Amazon Relational Database Service, Amazon AutoScaling, etc).

The newest version!
/*
 * Copyright 2010-2014 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 

* Welcome to the AWS OpsWorks API Reference . This guide provides * descriptions, syntax, and usage examples about AWS OpsWorks actions * and data types, including common parameters and error codes. *

*

* AWS OpsWorks is an application management service that provides an * integrated experience for overseeing the complete application * lifecycle. For information about this product, go to the * AWS OpsWorks * details page. *

*

* SDKs and CLI *

*

* The most common way to use the AWS OpsWorks API is by using the AWS * Command Line Interface (CLI) or by using one of the AWS SDKs to * implement applications in your preferred language. For more * information, see: *

* * *

* Endpoints *

*

* AWS OpsWorks supports only one endpoint, * opsworks.us-east-1.amazonaws.com (HTTPS), so you must connect to that * endpoint. You can then use the API to direct AWS OpsWorks to create * stacks in any AWS Region. *

*

* Chef Version *

*

* When you call CreateStack, CloneStack, or UpdateStack we recommend you * use the ConfigurationManager parameter to specify the * Chef version, 0.9 or 11.4. The default value is currently 0.9. * However, we expect to change the default value to 11.4 in October * 2013. For more information, see * Using AWS OpsWorks with Chef 11 * . *

*/ public interface AWSOpsWorksAsync extends AWSOpsWorks { /** *

* Updates a user's SSH public key. *

*

* Required Permissions : To use this action, an IAM user must * have self-management enabled or an attached policy that explicitly * grants permissions. For more information on user permissions, see * Managing User Permissions * . *

* * @param updateMyUserProfileRequest Container for the necessary * parameters to execute the UpdateMyUserProfile operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateMyUserProfile 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 updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a user's SSH public key. *

*

* Required Permissions : To use this action, an IAM user must * have self-management enabled or an attached policy that explicitly * grants permissions. For more information on user permissions, see * Managing User Permissions * . *

* * @param updateMyUserProfileRequest Container for the necessary * parameters to execute the UpdateMyUserProfile 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 * UpdateMyUserProfile 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 updateMyUserProfileAsync(UpdateMyUserProfileRequest updateMyUserProfileRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deregisters an Amazon EBS volume. The volume can then be registered by * another stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param deregisterVolumeRequest Container for the necessary parameters * to execute the DeregisterVolume operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * DeregisterVolume 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 deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deregisters an Amazon EBS volume. The volume can then be registered by * another stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param deregisterVolumeRequest Container for the necessary parameters * to execute the DeregisterVolume 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 * DeregisterVolume 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 deregisterVolumeAsync(DeregisterVolumeRequest deregisterVolumeRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Specifies a stack's permissions. For more information, see * Security and Permissions * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User 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. For more information, see * Security and Permissions * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User 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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. You must stop an instance before you can * delete it. For more information, see * Deleting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. You must stop an instance before you can * delete it. For more information, see * Deleting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Clone a Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Clone a Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Detaches a specified Elastic Load Balancing instance from its layer. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param detachElasticLoadBalancerRequest Container for the necessary * parameters to execute the DetachElasticLoadBalancer operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DetachElasticLoadBalancer 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 detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest) throws AmazonServiceException, AmazonClientException; /** *

* Detaches a specified Elastic Load Balancing instance from its layer. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param detachElasticLoadBalancerRequest Container for the necessary * parameters to execute the DetachElasticLoadBalancer 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 * DetachElasticLoadBalancer 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 detachElasticLoadBalancerAsync(DetachElasticLoadBalancerRequest detachElasticLoadBalancerRequest, 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. For * more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For * more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Deploy or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Deploy or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Describes the results of specified commands. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Associates one of the stack's registered Elastic IP addresses with a * specified instance. The address must first be registered with the * stack by calling RegisterElasticIp. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param associateElasticIpRequest Container for the necessary * parameters to execute the AssociateElasticIp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * AssociateElasticIp 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 associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest) throws AmazonServiceException, AmazonClientException; /** *

* Associates one of the stack's registered Elastic IP addresses with a * specified instance. The address must first be registered with the * stack by calling RegisterElasticIp. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param associateElasticIpRequest Container for the necessary * parameters to execute the AssociateElasticIp 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 * AssociateElasticIp 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 associateElasticIpAsync(AssociateElasticIpRequest associateElasticIpRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Unassigns an assigned Amazon EBS volume. The volume remains registered * with the stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param unassignVolumeRequest Container for the necessary parameters to * execute the UnassignVolume operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UnassignVolume 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 unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest) throws AmazonServiceException, AmazonClientException; /** *

* Unassigns an assigned Amazon EBS volume. The volume remains registered * with the stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param unassignVolumeRequest Container for the necessary parameters to * execute the UnassignVolume 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 * UnassignVolume 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 unassignVolumeAsync(UnassignVolumeRequest unassignVolumeRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describe an instance's RAID arrays. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

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

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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 host name for the specified layer, based on the * current host name theme. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Specify the load-based auto scaling configuration for a specified * layer. For more information, see * Managing Load with Time-based and Load-based Instances * . *

*

* 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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Managing Load with Time-based and Load-based Instances * . *

*

* 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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Describes an instance's Amazon EBS volumes. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Assigns one of the stack's registered Amazon EBS volumes to a * specified instance. The volume must first be registered with the stack * by calling RegisterVolume. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param assignVolumeRequest Container for the necessary parameters to * execute the AssignVolume operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * AssignVolume 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 assignVolumeAsync(AssignVolumeRequest assignVolumeRequest) throws AmazonServiceException, AmazonClientException; /** *

* Assigns one of the stack's registered Amazon EBS volumes to a * specified instance. The volume must first be registered with the stack * by calling RegisterVolume. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param assignVolumeRequest Container for the necessary parameters to * execute the AssignVolume 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 * AssignVolume 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 assignVolumeAsync(AssignVolumeRequest assignVolumeRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes AWS OpsWorks service errors. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 AWS OpsWorks service errors. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Updates a specified layer. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Updates a registered Elastic IP address's name. For more information, * see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param updateElasticIpRequest Container for the necessary parameters * to execute the UpdateElasticIp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateElasticIp 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 updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates a registered Elastic IP address's name. For more information, * see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param updateElasticIpRequest Container for the necessary parameters * to execute the UpdateElasticIp 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 * UpdateElasticIp 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 updateElasticIpAsync(UpdateElasticIpRequest updateElasticIpRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Starts a specified instance. For more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Creates a layer. For more information, see * How to Create a Layer * . *

*

* NOTE:You should use CreateLayer for noncustom layer types such * as PHP App Server only if the stack does not have an existing layer of * that type. A stack can have at most one instance of each noncustom * layer; if you attempt to create a second instance, CreateLayer fails. * A stack can have an arbitrary number of custom layers, so you can call * CreateLayer as many times as you like for that layer type. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * How to Create a Layer * . *

*

* NOTE:You should use CreateLayer for noncustom layer types such * as PHP App Server only if the stack does not have an existing layer of * that type. A stack can have at most one instance of each noncustom * layer; if you attempt to create a second instance, CreateLayer fails. * A stack can have an arbitrary number of custom layers, so you can call * CreateLayer as many times as you like for that layer type. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Disassociates an Elastic IP address from its instance. The address * remains registered with the stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param disassociateElasticIpRequest Container for the necessary * parameters to execute the DisassociateElasticIp operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DisassociateElasticIp 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 disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest) throws AmazonServiceException, AmazonClientException; /** *

* Disassociates an Elastic IP address from its instance. The address * remains registered with the stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param disassociateElasticIpRequest Container for the necessary * parameters to execute the DisassociateElasticIp 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 * DisassociateElasticIp 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 disassociateElasticIpAsync(DisassociateElasticIpRequest disassociateElasticIpRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified stack. You must first delete all instances, * layers, and apps. For more information, see * Shut Down a Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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, * layers, and apps. For more information, see * Shut Down a Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Registers an Amazon EBS volume with a specified stack. A volume can be * registered with only one stack at a time. If the volume is already * registered, you must first deregister it by calling DeregisterVolume. * For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param registerVolumeRequest Container for the necessary parameters to * execute the RegisterVolume operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * RegisterVolume 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 registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest) throws AmazonServiceException, AmazonClientException; /** *

* Registers an Amazon EBS volume with a specified stack. A volume can be * registered with only one stack at a time. If the volume is already * registered, you must first deregister it by calling DeregisterVolume. * For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param registerVolumeRequest Container for the necessary parameters to * execute the RegisterVolume 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 * RegisterVolume 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 registerVolumeAsync(RegisterVolumeRequest registerVolumeRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified user profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Reboots a specified instance. For more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Starting, Stopping, and Rebooting Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Creates a new stack. For more information, see * Create a New Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Create a New Stack * . *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Creates an instance in a specified stack. For more information, see * Adding an Instance to a Layer * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Adding an Instance to a Layer * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Deletes a specified app. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Deregisters a specified Elastic IP address. The address can then be * registered by another stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param deregisterElasticIpRequest Container for the necessary * parameters to execute the DeregisterElasticIp operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DeregisterElasticIp 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 deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest) throws AmazonServiceException, AmazonClientException; /** *

* Deregisters a specified Elastic IP address. The address can then be * registered by another stack. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param deregisterElasticIpRequest Container for the necessary * parameters to execute the DeregisterElasticIp 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 * DeregisterElasticIp 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 deregisterElasticIpAsync(DeregisterElasticIpRequest deregisterElasticIpRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Attaches an Elastic Load Balancing load balancer to a specified layer. *

*

* NOTE:You must create the Elastic Load Balancing instance * separately, by using the Elastic Load Balancing console, API, or CLI. * For more information, see Elastic Load Balancing Developer Guide. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param attachElasticLoadBalancerRequest Container for the necessary * parameters to execute the AttachElasticLoadBalancer operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * AttachElasticLoadBalancer 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 attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest) throws AmazonServiceException, AmazonClientException; /** *

* Attaches an Elastic Load Balancing load balancer to a specified layer. *

*

* NOTE:You must create the Elastic Load Balancing instance * separately, by using the Elastic Load Balancing console, API, or CLI. * For more information, see Elastic Load Balancing Developer Guide. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param attachElasticLoadBalancerRequest Container for the necessary * parameters to execute the AttachElasticLoadBalancer 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 * AttachElasticLoadBalancer 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 attachElasticLoadBalancerAsync(AttachElasticLoadBalancerRequest attachElasticLoadBalancerRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Updates a specified stack. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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 profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

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

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Describes a stack's Elastic Load Balancing instances. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @param describeElasticLoadBalancersRequest Container for the necessary * parameters to execute the DescribeElasticLoadBalancers operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeElasticLoadBalancers 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 describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes a stack's Elastic Load Balancing instances. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @param describeElasticLoadBalancersRequest Container for the necessary * parameters to execute the DescribeElasticLoadBalancers 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 * DescribeElasticLoadBalancers 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 describeElasticLoadBalancersAsync(DescribeElasticLoadBalancersRequest describeElasticLoadBalancersRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Deletes a specified layer. You must first stop and then delete all * associated instances. For more information, see * How to Delete a Layer * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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 stop and then delete all * associated instances. For more information, see * How to Delete a Layer * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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 a user's SSH information. *

*

* Required Permissions : To use this action, an IAM user must * have self-management enabled or an attached policy that explicitly * grants permissions. For more information on user permissions, see * Managing User Permissions * . *

* * @param describeMyUserProfileRequest Container for the necessary * parameters to execute the DescribeMyUserProfile operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeMyUserProfile 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 describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes a user's SSH information. *

*

* Required Permissions : To use this action, an IAM user must * have self-management enabled or an attached policy that explicitly * grants permissions. For more information on user permissions, see * Managing User Permissions * . *

* * @param describeMyUserProfileRequest Container for the necessary * parameters to execute the DescribeMyUserProfile 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 * DescribeMyUserProfile 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 describeMyUserProfileAsync(DescribeMyUserProfileRequest describeMyUserProfileRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Specify the time-based auto scaling configuration for a specified * instance. For more information, see * Managing Load with Time-based and Load-based Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Managing Load with Time-based and Load-based Instances * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Creating Apps * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. For more information, see * Creating Apps * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

* Deletes a user profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 profile. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

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

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Updates an Amazon EBS volume's name or mount point. For more * information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param updateVolumeRequest Container for the necessary parameters to * execute the UpdateVolume operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * UpdateVolume 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 updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest) throws AmazonServiceException, AmazonClientException; /** *

* Updates an Amazon EBS volume's name or mount point. For more * information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param updateVolumeRequest Container for the necessary parameters to * execute the UpdateVolume 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 * UpdateVolume 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 updateVolumeAsync(UpdateVolumeRequest updateVolumeRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describe specified users. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have an attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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; /** *

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

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Registers an Elastic IP address with a specified stack. An address can * be registered with only one stack at a time. If the address is already * registered, you must first deregister it by calling * DeregisterElasticIp. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param registerElasticIpRequest Container for the necessary parameters * to execute the RegisterElasticIp operation on AWSOpsWorks. * * @return A Java Future object containing the response from the * RegisterElasticIp 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 registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest) throws AmazonServiceException, AmazonClientException; /** *

* Registers an Elastic IP address with a specified stack. An address can * be registered with only one stack at a time. If the address is already * registered, you must first deregister it by calling * DeregisterElasticIp. For more information, see * Resource Management * . *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @param registerElasticIpRequest Container for the necessary parameters * to execute the RegisterElasticIp 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 * RegisterElasticIp 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 registerElasticIpAsync(RegisterElasticIpRequest registerElasticIpRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Describes * Elastic IP addresses * . *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 * Elastic IP addresses * . *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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. *

*

* NOTE:You must specify at least one of the parameters. *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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; /** *

* Describes the number of layers and apps in a specified stack, and the * number of instances in each state, such as running_setup * or online . *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @param describeStackSummaryRequest Container for the necessary * parameters to execute the DescribeStackSummary operation on * AWSOpsWorks. * * @return A Java Future object containing the response from the * DescribeStackSummary 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 describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest) throws AmazonServiceException, AmazonClientException; /** *

* Describes the number of layers and apps in a specified stack, and the * number of instances in each state, such as running_setup * or online . *

*

* Required Permissions : To use this action, an IAM user must * have a Show, Deploy, or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @param describeStackSummaryRequest Container for the necessary * parameters to execute the DescribeStackSummary 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 * DescribeStackSummary 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 describeStackSummaryAsync(DescribeStackSummaryRequest describeStackSummaryRequest, AsyncHandler asyncHandler) throws AmazonServiceException, AmazonClientException; /** *

* Stops a specified stack. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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. *

*

* Required Permissions : To use this action, an IAM user must * have a Manage permissions level for the stack, or an attached policy * that explicitly grants permissions. For more information on user * permissions, see * Managing User Permissions * . *

* * @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.
  • * *
*

* For more information, see * Deploying Apps and Run Stack Commands * . *

*

* Required Permissions : To use this action, an IAM user must * have a Deploy or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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.
  • * *
*

* For more information, see * Deploying Apps and Run Stack Commands * . *

*

* Required Permissions : To use this action, an IAM user must * have a Deploy or Manage permissions level for the stack, or an * attached policy that explicitly grants permissions. For more * information on user permissions, see * Managing User Permissions * . *

* * @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 - 2025 Weber Informatics LLC | Privacy Policy