Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.elasticbeanstalk;
  
  
  
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 latest AWS Elastic Beanstalk WSDL is http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk.wsdl . To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to access the API, go to Tools for Amazon Web Services .

Endpoints

For a list of region-specific endpoints that AWS Elastic Beanstalk supports, go to Regions and Endpoints in the Amazon Web Services Glossary .

  
          implements AWSElasticBeanstalkAsync {

    
Executor service for executing asynchronous requests.
  
      private ExecutorService executorService;
  
      private static final int DEFAULT_THREAD_POOL_SIZE = 50;

    
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:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

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

  
      public AWSElasticBeanstalkAsyncClient() {
          this(new DefaultAWSCredentialsProviderChain());
      }

    
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:
  • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
  • Java System Properties - aws.accessKeyId and aws.secretKey
  • Instance profile credentials delivered through the Amazon EC2 metadata service

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:
com.amazonaws.auth.DefaultAWSCredentialsProviderChain
 
     public AWSElasticBeanstalkAsyncClient(ClientConfiguration clientConfiguration) {
         this(new DefaultAWSCredentialsProviderChain(), clientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
     }

    
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 fixed size 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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials) {
         this(awsCredentials, Executors.newFixedThreadPool());
     }

    
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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentialsExecutorService executorService) {
         super(awsCredentials);
         this. = 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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsclientConfiguration);
         this. = executorService;
     }

    
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 fixed size 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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider) {
         this(awsCredentialsProvider, Executors.newFixedThreadPool());
     }

    
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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProviderExecutorService executorService) {
         this(awsCredentialsProvidernew ClientConfiguration(), executorService);
     }

    
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).
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfiguration) {
         this(awsCredentialsProviderclientConfiguration, Executors.newFixedThreadPool(clientConfiguration.getMaxConnections()));
     }

    
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.
 
     public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                 ClientConfiguration clientConfigurationExecutorService executorService) {
         super(awsCredentialsProviderclientConfiguration);
         this. = executorService;
     }

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

Returns:
The executor service used by this async client to execute requests.
 
     public ExecutorService getExecutorService() {
         return ;
     }

    
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() followed by getExecutorService().awaitTermination() prior to calling this method.
 
     @Override
     public void shutdown() {
         super.shutdown();
         .shutdownNow();
     }
            
    

Checks if the specified CNAME is available.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<CheckDNSAvailabilityResultcheckDNSAvailabilityAsync(final CheckDNSAvailabilityRequest checkDNSAvailabilityRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CheckDNSAvailabilityResult>() {
             public CheckDNSAvailabilityResult call() throws Exception {
                 return checkDNSAvailability(checkDNSAvailabilityRequest);
         }
     });
     }

    

Checks if the specified CNAME is available.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final CheckDNSAvailabilityRequest checkDNSAvailabilityRequest,
             final AsyncHandler<CheckDNSAvailabilityRequestCheckDNSAvailabilityResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CheckDNSAvailabilityResult>() {
             public CheckDNSAvailabilityResult call() throws Exception {
               CheckDNSAvailabilityResult result;
                 try {
                 result = checkDNSAvailability(checkDNSAvailabilityRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(checkDNSAvailabilityRequestresult);
                  return result;
         }
     });
     }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             throws AmazonServiceExceptionAmazonClientException {
             public DescribeConfigurationOptionsResult call() throws Exception {
                 return describeConfigurationOptions(describeConfigurationOptionsRequest);
         }
     });
     }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest,
                     throws AmazonServiceExceptionAmazonClientException {
             public DescribeConfigurationOptionsResult call() throws Exception {
               DescribeConfigurationOptionsResult result;
                 try {
                 result = describeConfigurationOptions(describeConfigurationOptionsRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(describeConfigurationOptionsRequestresult);
                  return result;
         }
     });
     }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteConfigurationTemplateAsync(final DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 deleteConfigurationTemplate(deleteConfigurationTemplateRequest);
                 return null;
         }
     });
     }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest,
             final AsyncHandler<DeleteConfigurationTemplateRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 deleteConfigurationTemplate(deleteConfigurationTemplateRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(deleteConfigurationTemplateRequestnull);
                  return null;
         }
     });
     }
    
    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<CreateEnvironmentResultcreateEnvironmentAsync(final CreateEnvironmentRequest createEnvironmentRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CreateEnvironmentResult>() {
             public CreateEnvironmentResult call() throws Exception {
                 return createEnvironment(createEnvironmentRequest);
         }
     });
     }

    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final CreateEnvironmentRequest createEnvironmentRequest,
             final AsyncHandler<CreateEnvironmentRequestCreateEnvironmentResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CreateEnvironmentResult>() {
             public CreateEnvironmentResult call() throws Exception {
               CreateEnvironmentResult result;
                 try {
                 result = createEnvironment(createEnvironmentRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(createEnvironmentRequestresult);
                  return result;
         }
     });
     }
    
    

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<CreateStorageLocationResultcreateStorageLocationAsync(final CreateStorageLocationRequest createStorageLocationRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CreateStorageLocationResult>() {
             public CreateStorageLocationResult call() throws Exception {
                 return createStorageLocation(createStorageLocationRequest);
         }
     });
     }

    

Creates the Amazon S3 storage location for the account.

This location is used to store user log files.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final CreateStorageLocationRequest createStorageLocationRequest,
             final AsyncHandler<CreateStorageLocationRequestCreateStorageLocationResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<CreateStorageLocationResult>() {
             public CreateStorageLocationResult call() throws Exception {
               CreateStorageLocationResult result;
                 try {
                 result = createStorageLocation(createStorageLocationRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(createStorageLocationRequestresult);
                  return result;
         }
     });
     }
    
    

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.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs.

Use RetrieveEnvironmentInfo to obtain the set of logs.

Related Topics

  • RetrieveEnvironmentInfo

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoidrequestEnvironmentInfoAsync(final RequestEnvironmentInfoRequest requestEnvironmentInfoRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 requestEnvironmentInfo(requestEnvironmentInfoRequest);
                 return null;
         }
     });
     }

    

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.

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a .zip file. Legacy and .NET containers do not support bundle logs.

Use RetrieveEnvironmentInfo to obtain the set of logs.

Related Topics

  • RetrieveEnvironmentInfo

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final RequestEnvironmentInfoRequest requestEnvironmentInfoRequest,
             final AsyncHandler<RequestEnvironmentInfoRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 requestEnvironmentInfo(requestEnvironmentInfoRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(requestEnvironmentInfoRequestnull);
                  return null;
         }
     });
     }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<CreateApplicationVersionResultcreateApplicationVersionAsync(final CreateApplicationVersionRequest createApplicationVersionRequest
             throws AmazonServiceExceptionAmazonClientException {
             public CreateApplicationVersionResult call() throws Exception {
                 return createApplicationVersion(createApplicationVersionRequest);
         }
     });
     }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final CreateApplicationVersionRequest createApplicationVersionRequest,
             final AsyncHandler<CreateApplicationVersionRequestCreateApplicationVersionResultasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
             public CreateApplicationVersionResult call() throws Exception {
               CreateApplicationVersionResult result;
                 try {
                 result = createApplicationVersion(createApplicationVersionRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(createApplicationVersionRequestresult);
                  return result;
         }
     });
     }
    
    

Deletes the specified version from the specified application.

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
     public Future<VoiddeleteApplicationVersionAsync(final DeleteApplicationVersionRequest deleteApplicationVersionRequest
             throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
                 deleteApplicationVersion(deleteApplicationVersionRequest);
                 return null;
         }
     });
     }

    

Deletes the specified version from the specified application.

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
 
             final DeleteApplicationVersionRequest deleteApplicationVersionRequest,
             final AsyncHandler<DeleteApplicationVersionRequestVoidasyncHandler)
                     throws AmazonServiceExceptionAmazonClientException {
         return .submit(new Callable<Void>() {
             public Void call() throws Exception {
               try {
                 deleteApplicationVersion(deleteApplicationVersionRequest);
               } catch (Exception ex) {
                   asyncHandler.onError(ex);
             throw ex;
               }
               asyncHandler.onSuccess(deleteApplicationVersionRequestnull);
                  return null;
         }
     });
     }
    
    

Returns descriptions for existing application versions.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public DescribeApplicationVersionsResult call() throws Exception {
                return describeApplicationVersions(describeApplicationVersionsRequest);
        }
    });
    }

    

Returns descriptions for existing application versions.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final DescribeApplicationVersionsRequest describeApplicationVersionsRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public DescribeApplicationVersionsResult call() throws Exception {
              DescribeApplicationVersionsResult result;
                try {
                result = describeApplicationVersions(describeApplicationVersionsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeApplicationVersionsRequestresult);
                 return result;
        }
    });
    }
    
    

Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteApplicationAsync(final DeleteApplicationRequest deleteApplicationRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                deleteApplication(deleteApplicationRequest);
                return null;
        }
    });
    }

    

Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final DeleteApplicationRequest deleteApplicationRequest,
            final AsyncHandler<DeleteApplicationRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                deleteApplication(deleteApplicationRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(deleteApplicationRequestnull);
                 return null;
        }
    });
    }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public UpdateApplicationVersionResult call() throws Exception {
                return updateApplicationVersion(updateApplicationVersionRequest);
        }
    });
    }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final UpdateApplicationVersionRequest updateApplicationVersionRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public UpdateApplicationVersionResult call() throws Exception {
              UpdateApplicationVersionResult result;
                try {
                result = updateApplicationVersion(updateApplicationVersionRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateApplicationVersionRequestresult);
                 return result;
        }
    });
    }
    
    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<CreateApplicationResultcreateApplicationAsync(final CreateApplicationRequest createApplicationRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<CreateApplicationResult>() {
            public CreateApplicationResult call() throws Exception {
                return createApplication(createApplicationRequest);
        }
    });
    }

    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final CreateApplicationRequest createApplicationRequest,
            final AsyncHandler<CreateApplicationRequestCreateApplicationResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<CreateApplicationResult>() {
            public CreateApplicationResult call() throws Exception {
              CreateApplicationResult result;
                try {
                result = createApplication(createApplicationRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(createApplicationRequestresult);
                 return result;
        }
    });
    }
    
    

Swaps the CNAMEs of two environments.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidswapEnvironmentCNAMEsAsync(final SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                swapEnvironmentCNAMEs(swapEnvironmentCNAMEsRequest);
                return null;
        }
    });
    }

    

Swaps the CNAMEs of two environments.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest,
            final AsyncHandler<SwapEnvironmentCNAMEsRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                swapEnvironmentCNAMEs(swapEnvironmentCNAMEsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(swapEnvironmentCNAMEsRequestnull);
                 return null;
        }
    });
    }
    
    

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

  • DescribeConfigurationOptions

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public UpdateConfigurationTemplateResult call() throws Exception {
                return updateConfigurationTemplate(updateConfigurationTemplateRequest);
        }
    });
    }

    

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

  • DescribeConfigurationOptions

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public UpdateConfigurationTemplateResult call() throws Exception {
              UpdateConfigurationTemplateResult result;
                try {
                result = updateConfigurationTemplate(updateConfigurationTemplateRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateConfigurationTemplateRequestresult);
                 return result;
        }
    });
    }
    
    

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public RetrieveEnvironmentInfoResult call() throws Exception {
                return retrieveEnvironmentInfo(retrieveEnvironmentInfoRequest);
        }
    });
    }

    

Retrieves the compiled information from a RequestEnvironmentInfo request.

Related Topics

  • RequestEnvironmentInfo

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest,
            final AsyncHandler<RetrieveEnvironmentInfoRequestRetrieveEnvironmentInfoResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public RetrieveEnvironmentInfoResult call() throws Exception {
              RetrieveEnvironmentInfoResult result;
                try {
                result = retrieveEnvironmentInfo(retrieveEnvironmentInfoRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(retrieveEnvironmentInfoRequestresult);
                 return result;
        }
    });
    }
    
    

Returns a list of the available solution stack names.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public ListAvailableSolutionStacksResult call() throws Exception {
                return listAvailableSolutionStacks(listAvailableSolutionStacksRequest);
        }
    });
    }

    

Returns a list of the available solution stack names.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public ListAvailableSolutionStacksResult call() throws Exception {
              ListAvailableSolutionStacksResult result;
                try {
                result = listAvailableSolutionStacks(listAvailableSolutionStacksRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(listAvailableSolutionStacksRequestresult);
                 return result;
        }
    });
    }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<UpdateApplicationResultupdateApplicationAsync(final UpdateApplicationRequest updateApplicationRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<UpdateApplicationResult>() {
            public UpdateApplicationResult call() throws Exception {
                return updateApplication(updateApplicationRequest);
        }
    });
    }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final UpdateApplicationRequest updateApplicationRequest,
            final AsyncHandler<UpdateApplicationRequestUpdateApplicationResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<UpdateApplicationResult>() {
            public UpdateApplicationResult call() throws Exception {
              UpdateApplicationResult result;
                try {
                result = updateApplication(updateApplicationRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(updateApplicationRequestresult);
                 return result;
        }
    });
    }
    
    

Returns descriptions for existing environments.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<DescribeEnvironmentsResultdescribeEnvironmentsAsync(final DescribeEnvironmentsRequest describeEnvironmentsRequest
            throws AmazonServiceExceptionAmazonClientException {
            public DescribeEnvironmentsResult call() throws Exception {
                return describeEnvironments(describeEnvironmentsRequest);
        }
    });
    }

    

Returns descriptions for existing environments.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final DescribeEnvironmentsRequest describeEnvironmentsRequest,
            final AsyncHandler<DescribeEnvironmentsRequestDescribeEnvironmentsResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public DescribeEnvironmentsResult call() throws Exception {
              DescribeEnvironmentsResult result;
                try {
                result = describeEnvironments(describeEnvironmentsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeEnvironmentsRequestresult);
                 return result;
        }
    });
    }
    
    

Returns AWS resources for this environment.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public DescribeEnvironmentResourcesResult call() throws Exception {
                return describeEnvironmentResources(describeEnvironmentResourcesRequest);
        }
    });
    }

    

Returns AWS resources for this environment.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public DescribeEnvironmentResourcesResult call() throws Exception {
              DescribeEnvironmentResourcesResult result;
                try {
                result = describeEnvironmentResources(describeEnvironmentResourcesRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(describeEnvironmentResourcesRequestresult);
                 return result;
        }
    });
    }
    
    

Terminates the specified environment.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<TerminateEnvironmentResultterminateEnvironmentAsync(final TerminateEnvironmentRequest terminateEnvironmentRequest
            throws AmazonServiceExceptionAmazonClientException {
            public TerminateEnvironmentResult call() throws Exception {
                return terminateEnvironment(terminateEnvironmentRequest);
        }
    });
    }

    

Terminates the specified environment.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final TerminateEnvironmentRequest terminateEnvironmentRequest,
            final AsyncHandler<TerminateEnvironmentRequestTerminateEnvironmentResultasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
            public TerminateEnvironmentResult call() throws Exception {
              TerminateEnvironmentResult result;
                try {
                result = terminateEnvironment(terminateEnvironmentRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(terminateEnvironmentRequestresult);
                 return result;
        }
    });
    }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            throws AmazonServiceExceptionAmazonClientException {
            public ValidateConfigurationSettingsResult call() throws Exception {
                return validateConfigurationSettings(validateConfigurationSettingsRequest);
        }
    });
    }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest,
                    throws AmazonServiceExceptionAmazonClientException {
            public ValidateConfigurationSettingsResult call() throws Exception {
              ValidateConfigurationSettingsResult result;
                try {
                result = validateConfigurationSettings(validateConfigurationSettingsRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(validateConfigurationSettingsRequestresult);
                 return result;
        }
    });
    }
    
    

Cancels in-progress environment configuration update or application version deployment.

Parameters:
abortEnvironmentUpdateRequest Container for the necessary parameters to execute the AbortEnvironmentUpdate operation on AWSElasticBeanstalk.
Returns:
A Java Future object containing the response from the AbortEnvironmentUpdate service method, as returned by AWSElasticBeanstalk.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidabortEnvironmentUpdateAsync(final AbortEnvironmentUpdateRequest abortEnvironmentUpdateRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                abortEnvironmentUpdate(abortEnvironmentUpdateRequest);
                return null;
        }
    });
    }

    

Cancels in-progress environment configuration update or application version deployment.

Parameters:
abortEnvironmentUpdateRequest Container for the necessary parameters to execute the AbortEnvironmentUpdate 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 AbortEnvironmentUpdate service method, as returned by AWSElasticBeanstalk.
Throws:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final AbortEnvironmentUpdateRequest abortEnvironmentUpdateRequest,
            final AsyncHandler<AbortEnvironmentUpdateRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                abortEnvironmentUpdate(abortEnvironmentUpdateRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(abortEnvironmentUpdateRequestnull);
                 return null;
        }
    });
    }
    
    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<VoidrestartAppServerAsync(final RestartAppServerRequest restartAppServerRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                restartAppServer(restartAppServerRequest);
                return null;
        }
    });
    }

    

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

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final RestartAppServerRequest restartAppServerRequest,
            final AsyncHandler<RestartAppServerRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                restartAppServer(restartAppServerRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(restartAppServerRequestnull);
                 return null;
        }
    });
    }
    
    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
    public Future<VoiddeleteEnvironmentConfigurationAsync(final DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest
            throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
                deleteEnvironmentConfiguration(deleteEnvironmentConfigurationRequest);
                return null;
        }
    });
    }

    

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.

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:
com.amazonaws.AmazonClientException If any internal errors are encountered inside the client while attempting to make the request or handle the response. For example if a network connection is not available.
com.amazonaws.AmazonServiceException If an error response is returned by AWSElasticBeanstalk indicating either a problem with the data in the request, or a server side issue.
            final DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest,
            final AsyncHandler<DeleteEnvironmentConfigurationRequestVoidasyncHandler)
                    throws AmazonServiceExceptionAmazonClientException {
        return .submit(new Callable<Void>() {
            public Void call() throws Exception {
              try {
                deleteEnvironmentConfiguration(deleteEnvironmentConfigurationRequest);
              } catch (Exception ex) {
                  asyncHandler.onError(ex);
            throw ex;
              }
              asyncHandler.onSuccess(deleteEnvironmentConfigurationRequestnull);
                 return null;
        }