Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticbeanstalk
Class AWSElasticBeanstalkAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient
          extended by com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkAsyncClient
All Implemented Interfaces:
AWSElasticBeanstalk, AWSElasticBeanstalkAsync

public class AWSElasticBeanstalkAsyncClient
extends AWSElasticBeanstalkClient
implements AWSElasticBeanstalkAsync

Asynchronous client for accessing AWSElasticBeanstalk. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. AWS Elastic Beanstalk

This is the AWS Elastic Beanstalk API Reference. This guide provides detailed information about AWS Elastic Beanstalk actions, data types, parameters, and errors.

AWS Elastic Beanstalk is a tool that makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on Amazon Web Services cloud resources.

For more information about this product, go to the AWS Elastic Beanstalk details page. The location of the lastest AWS Elastic Beanstalk WSDL is http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl .

Endpoints

AWS Elastic Beanstalk supports the following region-specific endpoint:


Constructor Summary
AWSElasticBeanstalkAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk.
AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials.
AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials, executor service, and client configuration options.
AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials and executor service.
AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider.
AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider and client configuration options.
AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider, executor service, and client configuration options.
AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider and executor service.
AWSElasticBeanstalkAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk.
 
Method Summary
 Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest)
           Checks if the specified CNAME is available.
 Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest, AsyncHandler<CheckDNSAvailabilityRequest,CheckDNSAvailabilityResult> asyncHandler)
           Checks if the specified CNAME is available.
 Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest)
           Creates an application that has one configuration template named default and no application versions.
 Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
           Creates an application that has one configuration template named default and no application versions.
 Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest createApplicationVersionRequest)
           Creates an application version for the specified application.
 Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest createApplicationVersionRequest, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
           Creates an application version for the specified application.
 Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest createConfigurationTemplateRequest)
           Creates a configuration template.
 Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest createConfigurationTemplateRequest, AsyncHandler<CreateConfigurationTemplateRequest,CreateConfigurationTemplateResult> asyncHandler)
           Creates a configuration template.
 Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest)
           Launches an environment for the specified application using the specified configuration.
 Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
           Launches an environment for the specified application using the specified configuration.
 Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest createStorageLocationRequest)
           Creates the Amazon S3 storage location for the account.
 Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest createStorageLocationRequest, AsyncHandler<CreateStorageLocationRequest,CreateStorageLocationResult> asyncHandler)
           Creates the Amazon S3 storage location for the account.
 Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest)
           Deletes the specified application along with all associated versions and configurations.
 Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest, AsyncHandler<DeleteApplicationRequest,Void> asyncHandler)
           Deletes the specified application along with all associated versions and configurations.
 Future<Void> deleteApplicationVersionAsync(DeleteApplicationVersionRequest deleteApplicationVersionRequest)
           Deletes the specified version from the specified application.
 Future<Void> deleteApplicationVersionAsync(DeleteApplicationVersionRequest deleteApplicationVersionRequest, AsyncHandler<DeleteApplicationVersionRequest,Void> asyncHandler)
           Deletes the specified version from the specified application.
 Future<Void> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest)
           Deletes the specified configuration template.
 Future<Void> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest, AsyncHandler<DeleteConfigurationTemplateRequest,Void> asyncHandler)
           Deletes the specified configuration template.
 Future<Void> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest)
           Deletes the draft configuration associated with the running environment.
 Future<Void> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest, AsyncHandler<DeleteEnvironmentConfigurationRequest,Void> asyncHandler)
           Deletes the draft configuration associated with the running environment.
 Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest describeApplicationsRequest)
           Returns the descriptions of existing applications.
 Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest describeApplicationsRequest, AsyncHandler<DescribeApplicationsRequest,DescribeApplicationsResult> asyncHandler)
           Returns the descriptions of existing applications.
 Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest describeApplicationVersionsRequest)
           Returns descriptions for existing application versions.
 Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest describeApplicationVersionsRequest, AsyncHandler<DescribeApplicationVersionsRequest,DescribeApplicationVersionsResult> asyncHandler)
           Returns descriptions for existing application versions.
 Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest)
           Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines.
 Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest, AsyncHandler<DescribeConfigurationOptionsRequest,DescribeConfigurationOptionsResult> asyncHandler)
           Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines.
 Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest)
           Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.
 Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest, AsyncHandler<DescribeConfigurationSettingsRequest,DescribeConfigurationSettingsResult> asyncHandler)
           Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.
 Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest)
           Returns AWS resources for this environment.
 Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest, AsyncHandler<DescribeEnvironmentResourcesRequest,DescribeEnvironmentResourcesResult> asyncHandler)
           Returns AWS resources for this environment.
 Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest describeEnvironmentsRequest)
           Returns descriptions for existing environments.
 Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest describeEnvironmentsRequest, AsyncHandler<DescribeEnvironmentsRequest,DescribeEnvironmentsResult> asyncHandler)
           Returns descriptions for existing environments.
 Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest)
           Returns list of event descriptions matching criteria up to the last 6 weeks.
 Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
           Returns list of event descriptions matching criteria up to the last 6 weeks.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest)
           Returns a list of the available solution stack names.
 Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest, AsyncHandler<ListAvailableSolutionStacksRequest,ListAvailableSolutionStacksResult> asyncHandler)
           Returns a list of the available solution stack names.
 Future<Void> rebuildEnvironmentAsync(RebuildEnvironmentRequest rebuildEnvironmentRequest)
           Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.
 Future<Void> rebuildEnvironmentAsync(RebuildEnvironmentRequest rebuildEnvironmentRequest, AsyncHandler<RebuildEnvironmentRequest,Void> asyncHandler)
           Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.
 Future<Void> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest)
           Initiates a request to compile the specified type of information of the deployed environment.
 Future<Void> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest, AsyncHandler<RequestEnvironmentInfoRequest,Void> asyncHandler)
           Initiates a request to compile the specified type of information of the deployed environment.
 Future<Void> restartAppServerAsync(RestartAppServerRequest restartAppServerRequest)
           Causes the environment to restart the application container server running on each Amazon EC2 instance.
 Future<Void> restartAppServerAsync(RestartAppServerRequest restartAppServerRequest, AsyncHandler<RestartAppServerRequest,Void> asyncHandler)
           Causes the environment to restart the application container server running on each Amazon EC2 instance.
 Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest)
           Retrieves the compiled information from a RequestEnvironmentInfo request.
 Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest, AsyncHandler<RetrieveEnvironmentInfoRequest,RetrieveEnvironmentInfoResult> asyncHandler)
           Retrieves the compiled information from a RequestEnvironmentInfo request.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 Future<Void> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest)
           Swaps the CNAMEs of two environments.
 Future<Void> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest, AsyncHandler<SwapEnvironmentCNAMEsRequest,Void> asyncHandler)
           Swaps the CNAMEs of two environments.
 Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest terminateEnvironmentRequest)
           Terminates the specified environment.
 Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest terminateEnvironmentRequest, AsyncHandler<TerminateEnvironmentRequest,TerminateEnvironmentResult> asyncHandler)
           Terminates the specified environment.
 Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest)
           Updates the specified application to have the specified properties.
 Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
           Updates the specified application to have the specified properties.
 Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest updateApplicationVersionRequest)
           Updates the specified application version to have the specified properties.
 Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest updateApplicationVersionRequest, AsyncHandler<UpdateApplicationVersionRequest,UpdateApplicationVersionResult> asyncHandler)
           Updates the specified application version to have the specified properties.
 Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest)
           Updates the specified configuration template to have the specified properties or configuration option values.
 Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest, AsyncHandler<UpdateConfigurationTemplateRequest,UpdateConfigurationTemplateResult> asyncHandler)
           Updates the specified configuration template to have the specified properties or configuration option values.
 Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest)
           Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.
 Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
           Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.
 Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest)
           Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
 Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest, AsyncHandler<ValidateConfigurationSettingsRequest,ValidateConfigurationSettingsResult> asyncHandler)
           Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
 
Methods inherited from class com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient
checkDNSAvailability, createApplication, createApplicationVersion, createConfigurationTemplate, createEnvironment, createStorageLocation, createStorageLocation, deleteApplication, deleteApplicationVersion, deleteConfigurationTemplate, deleteEnvironmentConfiguration, describeApplications, describeApplications, describeApplicationVersions, describeApplicationVersions, describeConfigurationOptions, describeConfigurationSettings, describeEnvironmentResources, describeEnvironments, describeEnvironments, describeEvents, describeEvents, getCachedResponseMetadata, listAvailableSolutionStacks, listAvailableSolutionStacks, rebuildEnvironment, requestEnvironmentInfo, restartAppServer, retrieveEnvironmentInfo, setEndpoint, swapEnvironmentCNAMEs, swapEnvironmentCNAMEs, terminateEnvironment, updateApplication, updateApplicationVersion, updateConfigurationTemplate, updateEnvironment, validateConfigurationSettings
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk
checkDNSAvailability, createApplication, createApplicationVersion, createConfigurationTemplate, createEnvironment, createStorageLocation, createStorageLocation, deleteApplication, deleteApplicationVersion, deleteConfigurationTemplate, deleteEnvironmentConfiguration, describeApplications, describeApplications, describeApplicationVersions, describeApplicationVersions, describeConfigurationOptions, describeConfigurationSettings, describeEnvironmentResources, describeEnvironments, describeEnvironments, describeEvents, describeEvents, getCachedResponseMetadata, listAvailableSolutionStacks, listAvailableSolutionStacks, rebuildEnvironment, requestEnvironmentInfo, restartAppServer, retrieveEnvironmentInfo, setEndpoint, setRegion, swapEnvironmentCNAMEs, swapEnvironmentCNAMEs, terminateEnvironment, updateApplication, updateApplicationVersion, updateConfigurationTemplate, updateEnvironment, validateConfigurationSettings
 

Constructor Detail

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AWSElasticBeanstalk (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials,
                                      ClientConfiguration clientConfiguration,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).

AWSElasticBeanstalkAsyncClient

public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                      ClientConfiguration clientConfiguration,
                                      ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWSElasticBeanstalk using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AWSElasticBeanstalk
Overrides:
shutdown in class AmazonWebServiceClient

checkDNSAvailabilityAsync

public Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Checks if the specified CNAME is available.

Specified by:
checkDNSAvailabilityAsync in interface AWSElasticBeanstalkAsync
Parameters:
checkDNSAvailabilityRequest - Container for the necessary parameters to execute the CheckDNSAvailability operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CheckDNSAvailability service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

checkDNSAvailabilityAsync

public Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest,
                                                                    AsyncHandler<CheckDNSAvailabilityRequest,CheckDNSAvailabilityResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Checks if the specified CNAME is available.

Specified by:
checkDNSAvailabilityAsync in interface AWSElasticBeanstalkAsync
Parameters:
checkDNSAvailabilityRequest - Container for the necessary parameters to execute the CheckDNSAvailability operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CheckDNSAvailability service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeConfigurationOptionsAsync

public Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

Specified by:
describeConfigurationOptionsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeConfigurationOptionsRequest - Container for the necessary parameters to execute the DescribeConfigurationOptions operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeConfigurationOptions service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeConfigurationOptionsAsync

public Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest,
                                                                                    AsyncHandler<DescribeConfigurationOptionsRequest,DescribeConfigurationOptionsResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.

Specified by:
describeConfigurationOptionsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeConfigurationOptionsRequest - Container for the necessary parameters to execute the DescribeConfigurationOptions operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeConfigurationOptions service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteConfigurationTemplateAsync

public Future<Void> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest)
                                              throws AmazonServiceException,
                                                     AmazonClientException

Deletes the specified configuration template.

NOTE:When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.

Specified by:
deleteConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteConfigurationTemplateRequest - Container for the necessary parameters to execute the DeleteConfigurationTemplate operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DeleteConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteConfigurationTemplateAsync

public Future<Void> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest,
                                                     AsyncHandler<DeleteConfigurationTemplateRequest,Void> asyncHandler)
                                              throws AmazonServiceException,
                                                     AmazonClientException

Deletes the specified configuration template.

NOTE:When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.

Specified by:
deleteConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteConfigurationTemplateRequest - Container for the necessary parameters to execute the DeleteConfigurationTemplate operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DeleteConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createEnvironmentAsync

public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Launches an environment for the specified application using the specified configuration.

Specified by:
createEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
createEnvironmentRequest - Container for the necessary parameters to execute the CreateEnvironment operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CreateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createEnvironmentAsync

public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest createEnvironmentRequest,
                                                              AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Launches an environment for the specified application using the specified configuration.

Specified by:
createEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
createEnvironmentRequest - Container for the necessary parameters to execute the CreateEnvironment operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CreateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createStorageLocationAsync

public Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest createStorageLocationRequest)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.

Specified by:
createStorageLocationAsync in interface AWSElasticBeanstalkAsync
Parameters:
createStorageLocationRequest - Container for the necessary parameters to execute the CreateStorageLocation operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CreateStorageLocation service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createStorageLocationAsync

public Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest createStorageLocationRequest,
                                                                      AsyncHandler<CreateStorageLocationRequest,CreateStorageLocationResult> asyncHandler)
                                                               throws AmazonServiceException,
                                                                      AmazonClientException

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.

Specified by:
createStorageLocationAsync in interface AWSElasticBeanstalkAsync
Parameters:
createStorageLocationRequest - Container for the necessary parameters to execute the CreateStorageLocation operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CreateStorageLocation service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

requestEnvironmentInfoAsync

public Future<Void> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment. Use RetrieveEnvironmentInfo to access the compiled information.

Related Topics

Specified by:
requestEnvironmentInfoAsync in interface AWSElasticBeanstalkAsync
Parameters:
requestEnvironmentInfoRequest - Container for the necessary parameters to execute the RequestEnvironmentInfo operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the RequestEnvironmentInfo service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

requestEnvironmentInfoAsync

public Future<Void> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest,
                                                AsyncHandler<RequestEnvironmentInfoRequest,Void> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Initiates a request to compile the specified type of information of the deployed environment.

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in your environment. Use RetrieveEnvironmentInfo to access the compiled information.

Related Topics

Specified by:
requestEnvironmentInfoAsync in interface AWSElasticBeanstalkAsync
Parameters:
requestEnvironmentInfoRequest - Container for the necessary parameters to execute the RequestEnvironmentInfo operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the RequestEnvironmentInfo service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createApplicationVersionAsync

public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest createApplicationVersionRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Creates an application version for the specified application.

NOTE:Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

Specified by:
createApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
createApplicationVersionRequest - Container for the necessary parameters to execute the CreateApplicationVersion operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CreateApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createApplicationVersionAsync

public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest createApplicationVersionRequest,
                                                                            AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Creates an application version for the specified application.

NOTE:Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.

Specified by:
createApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
createApplicationVersionRequest - Container for the necessary parameters to execute the CreateApplicationVersion operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CreateApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteApplicationVersionAsync

public Future<Void> deleteApplicationVersionAsync(DeleteApplicationVersionRequest deleteApplicationVersionRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Deletes the specified version from the specified application.

NOTE:You cannot delete an application version that is associated with a running environment.

Specified by:
deleteApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteApplicationVersionRequest - Container for the necessary parameters to execute the DeleteApplicationVersion operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DeleteApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteApplicationVersionAsync

public Future<Void> deleteApplicationVersionAsync(DeleteApplicationVersionRequest deleteApplicationVersionRequest,
                                                  AsyncHandler<DeleteApplicationVersionRequest,Void> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Deletes the specified version from the specified application.

NOTE:You cannot delete an application version that is associated with a running environment.

Specified by:
deleteApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteApplicationVersionRequest - Container for the necessary parameters to execute the DeleteApplicationVersion operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DeleteApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeApplicationVersionsAsync

public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest describeApplicationVersionsRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns descriptions for existing application versions.

Specified by:
describeApplicationVersionsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeApplicationVersionsRequest - Container for the necessary parameters to execute the DescribeApplicationVersions operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeApplicationVersions service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeApplicationVersionsAsync

public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest describeApplicationVersionsRequest,
                                                                                  AsyncHandler<DescribeApplicationVersionsRequest,DescribeApplicationVersionsResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns descriptions for existing application versions.

Specified by:
describeApplicationVersionsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeApplicationVersionsRequest - Container for the necessary parameters to execute the DescribeApplicationVersions operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeApplicationVersions service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteApplicationAsync

public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest)
                                    throws AmazonServiceException,
                                           AmazonClientException

Deletes the specified application along with all associated versions and configurations.

NOTE:You cannot delete an application that has a running environment.

Specified by:
deleteApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteApplicationRequest - Container for the necessary parameters to execute the DeleteApplication operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DeleteApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteApplicationAsync

public Future<Void> deleteApplicationAsync(DeleteApplicationRequest deleteApplicationRequest,
                                           AsyncHandler<DeleteApplicationRequest,Void> asyncHandler)
                                    throws AmazonServiceException,
                                           AmazonClientException

Deletes the specified application along with all associated versions and configurations.

NOTE:You cannot delete an application that has a running environment.

Specified by:
deleteApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteApplicationRequest - Container for the necessary parameters to execute the DeleteApplication operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DeleteApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateApplicationVersionAsync

public Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest updateApplicationVersionRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Updates the specified application version to have the specified properties.

NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

Specified by:
updateApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateApplicationVersionRequest - Container for the necessary parameters to execute the UpdateApplicationVersion operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the UpdateApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateApplicationVersionAsync

public Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest updateApplicationVersionRequest,
                                                                            AsyncHandler<UpdateApplicationVersionRequest,UpdateApplicationVersionResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Updates the specified application version to have the specified properties.

NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

Specified by:
updateApplicationVersionAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateApplicationVersionRequest - Container for the necessary parameters to execute the UpdateApplicationVersion operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the UpdateApplicationVersion service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createApplicationAsync

public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Creates an application that has one configuration template named default and no application versions.

NOTE: The default configuration template is for a 32-bit version of the Amazon Linux operating system running the Tomcat 6 application container.

Specified by:
createApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
createApplicationRequest - Container for the necessary parameters to execute the CreateApplication operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CreateApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createApplicationAsync

public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest createApplicationRequest,
                                                              AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Creates an application that has one configuration template named default and no application versions.

NOTE: The default configuration template is for a 32-bit version of the Amazon Linux operating system running the Tomcat 6 application container.

Specified by:
createApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
createApplicationRequest - Container for the necessary parameters to execute the CreateApplication operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CreateApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

swapEnvironmentCNAMEsAsync

public Future<Void> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest)
                                        throws AmazonServiceException,
                                               AmazonClientException

Swaps the CNAMEs of two environments.

Specified by:
swapEnvironmentCNAMEsAsync in interface AWSElasticBeanstalkAsync
Parameters:
swapEnvironmentCNAMEsRequest - Container for the necessary parameters to execute the SwapEnvironmentCNAMEs operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the SwapEnvironmentCNAMEs service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

swapEnvironmentCNAMEsAsync

public Future<Void> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest,
                                               AsyncHandler<SwapEnvironmentCNAMEsRequest,Void> asyncHandler)
                                        throws AmazonServiceException,
                                               AmazonClientException

Swaps the CNAMEs of two environments.

Specified by:
swapEnvironmentCNAMEsAsync in interface AWSElasticBeanstalkAsync
Parameters:
swapEnvironmentCNAMEsRequest - Container for the necessary parameters to execute the SwapEnvironmentCNAMEs operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the SwapEnvironmentCNAMEs service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateConfigurationTemplateAsync

public Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Updates the specified configuration template to have the specified properties or configuration option values.

NOTE: If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.

Related Topics

Specified by:
updateConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateConfigurationTemplateRequest - Container for the necessary parameters to execute the UpdateConfigurationTemplate operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the UpdateConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateConfigurationTemplateAsync

public Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest,
                                                                                  AsyncHandler<UpdateConfigurationTemplateRequest,UpdateConfigurationTemplateResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Updates the specified configuration template to have the specified properties or configuration option values.

NOTE: If a property (for example, ApplicationName) is not provided, its value remains unchanged. To clear such properties, specify an empty string.

Related Topics

Specified by:
updateConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateConfigurationTemplateRequest - Container for the necessary parameters to execute the UpdateConfigurationTemplate operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the UpdateConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

retrieveEnvironmentInfoAsync

public Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

Specified by:
retrieveEnvironmentInfoAsync in interface AWSElasticBeanstalkAsync
Parameters:
retrieveEnvironmentInfoRequest - Container for the necessary parameters to execute the RetrieveEnvironmentInfo operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the RetrieveEnvironmentInfo service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

retrieveEnvironmentInfoAsync

public Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest,
                                                                          AsyncHandler<RetrieveEnvironmentInfoRequest,RetrieveEnvironmentInfoResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

Specified by:
retrieveEnvironmentInfoAsync in interface AWSElasticBeanstalkAsync
Parameters:
retrieveEnvironmentInfoRequest - Container for the necessary parameters to execute the RetrieveEnvironmentInfo operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the RetrieveEnvironmentInfo service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

listAvailableSolutionStacksAsync

public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of the available solution stack names.

Specified by:
listAvailableSolutionStacksAsync in interface AWSElasticBeanstalkAsync
Parameters:
listAvailableSolutionStacksRequest - Container for the necessary parameters to execute the ListAvailableSolutionStacks operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the ListAvailableSolutionStacks service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

listAvailableSolutionStacksAsync

public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest,
                                                                                  AsyncHandler<ListAvailableSolutionStacksRequest,ListAvailableSolutionStacksResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns a list of the available solution stack names.

Specified by:
listAvailableSolutionStacksAsync in interface AWSElasticBeanstalkAsync
Parameters:
listAvailableSolutionStacksRequest - Container for the necessary parameters to execute the ListAvailableSolutionStacks operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the ListAvailableSolutionStacks service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateApplicationAsync

public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Updates the specified application to have the specified properties.

NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.

Specified by:
updateApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateApplicationRequest - Container for the necessary parameters to execute the UpdateApplication operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the UpdateApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateApplicationAsync

public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest updateApplicationRequest,
                                                              AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Updates the specified application to have the specified properties.

NOTE: If a property (for example, description) is not provided, the value remains unchanged. To clear these properties, specify an empty string.

Specified by:
updateApplicationAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateApplicationRequest - Container for the necessary parameters to execute the UpdateApplication operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the UpdateApplication service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEnvironmentsAsync

public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest describeEnvironmentsRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Returns descriptions for existing environments.

Specified by:
describeEnvironmentsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEnvironmentsRequest - Container for the necessary parameters to execute the DescribeEnvironments operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeEnvironments service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEnvironmentsAsync

public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest describeEnvironmentsRequest,
                                                                    AsyncHandler<DescribeEnvironmentsRequest,DescribeEnvironmentsResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Returns descriptions for existing environments.

Specified by:
describeEnvironmentsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEnvironmentsRequest - Container for the necessary parameters to execute the DescribeEnvironments operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeEnvironments service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEnvironmentResourcesAsync

public Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns AWS resources for this environment.

Specified by:
describeEnvironmentResourcesAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEnvironmentResourcesRequest - Container for the necessary parameters to execute the DescribeEnvironmentResources operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeEnvironmentResources service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEnvironmentResourcesAsync

public Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest,
                                                                                    AsyncHandler<DescribeEnvironmentResourcesRequest,DescribeEnvironmentResourcesResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns AWS resources for this environment.

Specified by:
describeEnvironmentResourcesAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEnvironmentResourcesRequest - Container for the necessary parameters to execute the DescribeEnvironmentResources operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeEnvironmentResources service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

terminateEnvironmentAsync

public Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest terminateEnvironmentRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Terminates the specified environment.

Specified by:
terminateEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
terminateEnvironmentRequest - Container for the necessary parameters to execute the TerminateEnvironment operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the TerminateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

terminateEnvironmentAsync

public Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest terminateEnvironmentRequest,
                                                                    AsyncHandler<TerminateEnvironmentRequest,TerminateEnvironmentResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Terminates the specified environment.

Specified by:
terminateEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
terminateEnvironmentRequest - Container for the necessary parameters to execute the TerminateEnvironment operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the TerminateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

validateConfigurationSettingsAsync

public Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

Specified by:
validateConfigurationSettingsAsync in interface AWSElasticBeanstalkAsync
Parameters:
validateConfigurationSettingsRequest - Container for the necessary parameters to execute the ValidateConfigurationSettings operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the ValidateConfigurationSettings service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

validateConfigurationSettingsAsync

public Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest,
                                                                                      AsyncHandler<ValidateConfigurationSettingsRequest,ValidateConfigurationSettingsResult> asyncHandler)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.

This action returns a list of messages indicating any errors or warnings associated with the selection of option values.

Specified by:
validateConfigurationSettingsAsync in interface AWSElasticBeanstalkAsync
Parameters:
validateConfigurationSettingsRequest - Container for the necessary parameters to execute the ValidateConfigurationSettings operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the ValidateConfigurationSettings service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

restartAppServerAsync

public Future<Void> restartAppServerAsync(RestartAppServerRequest restartAppServerRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Specified by:
restartAppServerAsync in interface AWSElasticBeanstalkAsync
Parameters:
restartAppServerRequest - Container for the necessary parameters to execute the RestartAppServer operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the RestartAppServer service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

restartAppServerAsync

public Future<Void> restartAppServerAsync(RestartAppServerRequest restartAppServerRequest,
                                          AsyncHandler<RestartAppServerRequest,Void> asyncHandler)
                                   throws AmazonServiceException,
                                          AmazonClientException

Causes the environment to restart the application container server running on each Amazon EC2 instance.

Specified by:
restartAppServerAsync in interface AWSElasticBeanstalkAsync
Parameters:
restartAppServerRequest - Container for the necessary parameters to execute the RestartAppServer operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the RestartAppServer service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteEnvironmentConfigurationAsync

public Future<Void> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

Specified by:
deleteEnvironmentConfigurationAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteEnvironmentConfigurationRequest - Container for the necessary parameters to execute the DeleteEnvironmentConfiguration operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DeleteEnvironmentConfiguration service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

deleteEnvironmentConfigurationAsync

public Future<Void> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest,
                                                        AsyncHandler<DeleteEnvironmentConfigurationRequest,Void> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

Specified by:
deleteEnvironmentConfigurationAsync in interface AWSElasticBeanstalkAsync
Parameters:
deleteEnvironmentConfigurationRequest - Container for the necessary parameters to execute the DeleteEnvironmentConfiguration operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DeleteEnvironmentConfiguration service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateEnvironmentAsync

public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error.

When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different DeploymentStatus values.

Specified by:
updateEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateEnvironmentRequest - Container for the necessary parameters to execute the UpdateEnvironment operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the UpdateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

updateEnvironmentAsync

public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest updateEnvironmentRequest,
                                                              AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
                                                       throws AmazonServiceException,
                                                              AmazonClientException

Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.

Attempting to update both the release and configuration is not allowed and AWS Elastic Beanstalk returns an InvalidParameterCombination error.

When updating the configuration settings to a new template or individual settings, a draft configuration is created and DescribeConfigurationSettings for this environment returns two setting descriptions with different DeploymentStatus values.

Specified by:
updateEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
updateEnvironmentRequest - Container for the necessary parameters to execute the UpdateEnvironment operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the UpdateEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createConfigurationTemplateAsync

public Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest createConfigurationTemplateRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

Related Topics

Specified by:
createConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
createConfigurationTemplateRequest - Container for the necessary parameters to execute the CreateConfigurationTemplate operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the CreateConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

createConfigurationTemplateAsync

public Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest createConfigurationTemplateRequest,
                                                                                  AsyncHandler<CreateConfigurationTemplateRequest,CreateConfigurationTemplateResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Creates a configuration template. Templates are associated with a specific application and are used to deploy different versions of the application with the same configuration settings.

Related Topics

Specified by:
createConfigurationTemplateAsync in interface AWSElasticBeanstalkAsync
Parameters:
createConfigurationTemplateRequest - Container for the necessary parameters to execute the CreateConfigurationTemplate operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the CreateConfigurationTemplate service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeConfigurationSettingsAsync

public Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.

When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy.

Related Topics

Specified by:
describeConfigurationSettingsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeConfigurationSettingsRequest - Container for the necessary parameters to execute the DescribeConfigurationSettings operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeConfigurationSettings service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeConfigurationSettingsAsync

public Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest,
                                                                                      AsyncHandler<DescribeConfigurationSettingsRequest,DescribeConfigurationSettingsResult> asyncHandler)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.

When describing the settings for the configuration set associated with a running environment, it is possible to receive two sets of setting descriptions. One is the deployed configuration set, and the other is a draft configuration of an environment that is either in the process of deployment or that failed to deploy.

Related Topics

Specified by:
describeConfigurationSettingsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeConfigurationSettingsRequest - Container for the necessary parameters to execute the DescribeConfigurationSettings operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeConfigurationSettings service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeApplicationsAsync

public Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest describeApplicationsRequest)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Returns the descriptions of existing applications.

Specified by:
describeApplicationsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeApplicationsRequest - Container for the necessary parameters to execute the DescribeApplications operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeApplications service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeApplicationsAsync

public Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest describeApplicationsRequest,
                                                                    AsyncHandler<DescribeApplicationsRequest,DescribeApplicationsResult> asyncHandler)
                                                             throws AmazonServiceException,
                                                                    AmazonClientException

Returns the descriptions of existing applications.

Specified by:
describeApplicationsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeApplicationsRequest - Container for the necessary parameters to execute the DescribeApplications operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeApplications service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

rebuildEnvironmentAsync

public Future<Void> rebuildEnvironmentAsync(RebuildEnvironmentRequest rebuildEnvironmentRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

Specified by:
rebuildEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
rebuildEnvironmentRequest - Container for the necessary parameters to execute the RebuildEnvironment operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the RebuildEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

rebuildEnvironmentAsync

public Future<Void> rebuildEnvironmentAsync(RebuildEnvironmentRequest rebuildEnvironmentRequest,
                                            AsyncHandler<RebuildEnvironmentRequest,Void> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.

Specified by:
rebuildEnvironmentAsync in interface AWSElasticBeanstalkAsync
Parameters:
rebuildEnvironmentRequest - Container for the necessary parameters to execute the RebuildEnvironment operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the RebuildEnvironment service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEventsAsync

public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Returns list of event descriptions matching criteria up to the last 6 weeks.

NOTE: This action returns the most recent 1,000 events from the specified NextToken.

Specified by:
describeEventsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEventsRequest - Container for the necessary parameters to execute the DescribeEvents operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the DescribeEvents service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.

describeEventsAsync

public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest describeEventsRequest,
                                                        AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
                                                 throws AmazonServiceException,
                                                        AmazonClientException

Returns list of event descriptions matching criteria up to the last 6 weeks.

NOTE: This action returns the most recent 1,000 events from the specified NextToken.

Specified by:
describeEventsAsync in interface AWSElasticBeanstalkAsync
Parameters:
describeEventsRequest - Container for the necessary parameters to execute the DescribeEvents operation on AWSElasticBeanstalk.
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.
Returns:
A Java Future object containing the response from the DescribeEvents service method, as returned by AWSElasticBeanstalk.
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.
AmazonServiceException - If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.