Class AWSElasticBeanstalkAsyncClient
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceClient
-
- com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient
-
- com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkAsyncClient
-
- All Implemented Interfaces:
AWSElasticBeanstalk
,AWSElasticBeanstalkAsync
@ThreadSafe public class AWSElasticBeanstalkAsyncClient extends AWSElasticBeanstalkClient implements AWSElasticBeanstalkAsync
Interface for accessing Elastic Beanstalk asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept anAsyncHandler
can be used to receive notification when an asynchronous operation completes.AWS Elastic Beanstalk AWS Elastic Beanstalk makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on the Amazon Web Services cloud.
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.
-
-
Field Summary
-
Fields inherited from class com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient
configFactory, exceptionUnmarshallers
-
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
-
Constructor Summary
Constructors Constructor Description AWSElasticBeanstalkAsyncClient()
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk.AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials.AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials provider.AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the provided 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 Elastic Beanstalk 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 Elastic Beanstalk using the specified AWS account credentials provider and executor service.AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk 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 Elastic Beanstalk using the specified AWS account credentials and executor service.AWSElasticBeanstalkAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk.
-
Method Summary
-
Methods inherited from class com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalkClient
abortEnvironmentUpdate, abortEnvironmentUpdate, applyEnvironmentManagedAction, checkDNSAvailability, composeEnvironments, createApplication, createApplicationVersion, createConfigurationTemplate, createEnvironment, createStorageLocation, createStorageLocation, deleteApplication, deleteApplicationVersion, deleteConfigurationTemplate, deleteEnvironmentConfiguration, describeApplications, describeApplications, describeApplicationVersions, describeApplicationVersions, describeConfigurationOptions, describeConfigurationSettings, describeEnvironmentHealth, describeEnvironmentManagedActionHistory, describeEnvironmentManagedActions, describeEnvironmentResources, describeEnvironments, describeEnvironments, describeEvents, describeEvents, describeInstancesHealth, getCachedResponseMetadata, listAvailableSolutionStacks, listAvailableSolutionStacks, rebuildEnvironment, requestEnvironmentInfo, restartAppServer, retrieveEnvironmentInfo, swapEnvironmentCNAMEs, swapEnvironmentCNAMEs, terminateEnvironment, updateApplication, updateApplicationVersion, updateConfigurationTemplate, updateEnvironment, validateConfigurationSettings
-
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.elasticbeanstalk.AWSElasticBeanstalk
abortEnvironmentUpdate, abortEnvironmentUpdate, applyEnvironmentManagedAction, checkDNSAvailability, composeEnvironments, createApplication, createApplicationVersion, createConfigurationTemplate, createEnvironment, createStorageLocation, createStorageLocation, deleteApplication, deleteApplicationVersion, deleteConfigurationTemplate, deleteEnvironmentConfiguration, describeApplications, describeApplications, describeApplicationVersions, describeApplicationVersions, describeConfigurationOptions, describeConfigurationSettings, describeEnvironmentHealth, describeEnvironmentManagedActionHistory, describeEnvironmentManagedActions, describeEnvironmentResources, describeEnvironments, describeEnvironments, describeEvents, describeEvents, describeInstancesHealth, 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 Elastic Beanstalk. 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
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
-
AWSElasticBeanstalkAsyncClient
public AWSElasticBeanstalkAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk. 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
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Elastic Beanstalk (ex: proxy settings, retry counts, etc).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AWSElasticBeanstalkAsyncClient
public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSElasticBeanstalkAsyncClient
public AWSElasticBeanstalkAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials and executor service. Default client settings will be used.- 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 Elastic Beanstalk using the specified AWS account credentials, executor service, and client configuration options.- 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 Elastic Beanstalk using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
Executors.newFixedThreadPool(int)
-
AWSElasticBeanstalkAsyncClient
public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- 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).- See Also:
DefaultAWSCredentialsProviderChain
,Executors.newFixedThreadPool(int)
-
AWSElasticBeanstalkAsyncClient
public AWSElasticBeanstalkAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials provider and executor service. Default client settings will be used.- 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, ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on Elastic Beanstalk using the specified AWS account credentials provider, executor service, and client configuration options.- 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 client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
abortEnvironmentUpdateAsync
public Future<AbortEnvironmentUpdateResult> abortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Cancels in-progress environment configuration update or application version deployment.
- Specified by:
abortEnvironmentUpdateAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the AbortEnvironmentUpdate operation returned by the service.
-
abortEnvironmentUpdateAsync
public Future<AbortEnvironmentUpdateResult> abortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest request, AsyncHandler<AbortEnvironmentUpdateRequest,AbortEnvironmentUpdateResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Cancels in-progress environment configuration update or application version deployment.
- Specified by:
abortEnvironmentUpdateAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AbortEnvironmentUpdate operation returned by the service.
-
abortEnvironmentUpdateAsync
public Future<AbortEnvironmentUpdateResult> abortEnvironmentUpdateAsync()
Simplified method form for invoking the AbortEnvironmentUpdate operation.- Specified by:
abortEnvironmentUpdateAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
abortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest)
-
abortEnvironmentUpdateAsync
public Future<AbortEnvironmentUpdateResult> abortEnvironmentUpdateAsync(AsyncHandler<AbortEnvironmentUpdateRequest,AbortEnvironmentUpdateResult> asyncHandler)
Simplified method form for invoking the AbortEnvironmentUpdate operation with an AsyncHandler.- Specified by:
abortEnvironmentUpdateAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
abortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest, com.amazonaws.handlers.AsyncHandler)
-
applyEnvironmentManagedActionAsync
public Future<ApplyEnvironmentManagedActionResult> applyEnvironmentManagedActionAsync(ApplyEnvironmentManagedActionRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Applies a scheduled managed action immediately. A managed action can be applied only if its status is
Scheduled
. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions.- Specified by:
applyEnvironmentManagedActionAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to execute a scheduled managed action immediately.- Returns:
- A Java Future containing the result of the ApplyEnvironmentManagedAction operation returned by the service.
-
applyEnvironmentManagedActionAsync
public Future<ApplyEnvironmentManagedActionResult> applyEnvironmentManagedActionAsync(ApplyEnvironmentManagedActionRequest request, AsyncHandler<ApplyEnvironmentManagedActionRequest,ApplyEnvironmentManagedActionResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Applies a scheduled managed action immediately. A managed action can be applied only if its status is
Scheduled
. Get the status and action ID of a managed action with DescribeEnvironmentManagedActions.- Specified by:
applyEnvironmentManagedActionAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to execute a scheduled managed action immediately.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ApplyEnvironmentManagedAction operation returned by the service.
-
checkDNSAvailabilityAsync
public Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Checks if the specified CNAME is available.
- Specified by:
checkDNSAvailabilityAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Results message indicating whether a CNAME is available.- Returns:
- A Java Future containing the result of the CheckDNSAvailability operation returned by the service.
-
checkDNSAvailabilityAsync
public Future<CheckDNSAvailabilityResult> checkDNSAvailabilityAsync(CheckDNSAvailabilityRequest request, AsyncHandler<CheckDNSAvailabilityRequest,CheckDNSAvailabilityResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Checks if the specified CNAME is available.
- Specified by:
checkDNSAvailabilityAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Results message indicating whether a CNAME is available.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CheckDNSAvailability operation returned by the service.
-
composeEnvironmentsAsync
public Future<ComposeEnvironmentsResult> composeEnvironmentsAsync(ComposeEnvironmentsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named
env.yaml
. See Compose Environments for details.- Specified by:
composeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create or update a group of environments.- Returns:
- A Java Future containing the result of the ComposeEnvironments operation returned by the service.
-
composeEnvironmentsAsync
public Future<ComposeEnvironmentsResult> composeEnvironmentsAsync(ComposeEnvironmentsRequest request, AsyncHandler<ComposeEnvironmentsRequest,ComposeEnvironmentsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Create or update a group of environments that each run a separate component of a single application. Takes a list of version labels that specify application source bundles for each of the environments to create or update. The name of each environment and other required information must be included in the source bundles in an environment manifest named
env.yaml
. See Compose Environments for details.- Specified by:
composeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create or update a group of environments.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ComposeEnvironments operation returned by the service.
-
createApplicationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Creates an application that has one configuration template named
default
and no application versions.- Specified by:
createApplicationAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create an application.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
-
createApplicationAsync
public Future<CreateApplicationResult> createApplicationAsync(CreateApplicationRequest request, AsyncHandler<CreateApplicationRequest,CreateApplicationResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Creates an application that has one configuration template named
default
and no application versions.- Specified by:
createApplicationAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create an application.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateApplication operation returned by the service.
-
createApplicationVersionAsync
public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Creates an application version for the specified application.
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 interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the CreateApplicationVersion operation returned by the service.
-
createApplicationVersionAsync
public Future<CreateApplicationVersionResult> createApplicationVersionAsync(CreateApplicationVersionRequest request, AsyncHandler<CreateApplicationVersionRequest,CreateApplicationVersionResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Creates an application version for the specified application.
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 interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateApplicationVersion operation returned by the service.
-
createConfigurationTemplateAsync
public Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create a configuration template.- Returns:
- A Java Future containing the result of the CreateConfigurationTemplate operation returned by the service.
-
createConfigurationTemplateAsync
public Future<CreateConfigurationTemplateResult> createConfigurationTemplateAsync(CreateConfigurationTemplateRequest request, AsyncHandler<CreateConfigurationTemplateRequest,CreateConfigurationTemplateResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to create a configuration template.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateConfigurationTemplate operation returned by the service.
-
createEnvironmentAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Launches an environment for the specified application using the specified configuration.
- Specified by:
createEnvironmentAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
-
createEnvironmentAsync
public Future<CreateEnvironmentResult> createEnvironmentAsync(CreateEnvironmentRequest request, AsyncHandler<CreateEnvironmentRequest,CreateEnvironmentResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Launches an environment for the specified application using the specified configuration.
- Specified by:
createEnvironmentAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateEnvironment operation returned by the service.
-
createStorageLocationAsync
public Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Creates the Amazon S3 storage location for the account.
This location is used to store user log files.
- Specified by:
createStorageLocationAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the CreateStorageLocation operation returned by the service.
-
createStorageLocationAsync
public Future<CreateStorageLocationResult> createStorageLocationAsync(CreateStorageLocationRequest request, AsyncHandler<CreateStorageLocationRequest,CreateStorageLocationResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Creates the Amazon S3 storage location for the account.
This location is used to store user log files.
- Specified by:
createStorageLocationAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateStorageLocation operation returned by the service.
-
createStorageLocationAsync
public Future<CreateStorageLocationResult> createStorageLocationAsync()
Simplified method form for invoking the CreateStorageLocation operation.- Specified by:
createStorageLocationAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
createStorageLocationAsync(CreateStorageLocationRequest)
-
createStorageLocationAsync
public Future<CreateStorageLocationResult> createStorageLocationAsync(AsyncHandler<CreateStorageLocationRequest,CreateStorageLocationResult> asyncHandler)
Simplified method form for invoking the CreateStorageLocation operation with an AsyncHandler.- Specified by:
createStorageLocationAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
createStorageLocationAsync(CreateStorageLocationRequest, com.amazonaws.handlers.AsyncHandler)
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
You cannot delete an application that has a running environment. - Specified by:
deleteApplicationAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete an application.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request, AsyncHandler<DeleteApplicationRequest,DeleteApplicationResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
You cannot delete an application that has a running environment. - Specified by:
deleteApplicationAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete an application.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteApplication operation returned by the service.
-
deleteApplicationVersionAsync
public Future<DeleteApplicationVersionResult> deleteApplicationVersionAsync(DeleteApplicationVersionRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment. - Specified by:
deleteApplicationVersionAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete an application version.- Returns:
- A Java Future containing the result of the DeleteApplicationVersion operation returned by the service.
-
deleteApplicationVersionAsync
public Future<DeleteApplicationVersionResult> deleteApplicationVersionAsync(DeleteApplicationVersionRequest request, AsyncHandler<DeleteApplicationVersionRequest,DeleteApplicationVersionResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment. - Specified by:
deleteApplicationVersionAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete an application version.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteApplicationVersion operation returned by the service.
-
deleteConfigurationTemplateAsync
public Future<DeleteConfigurationTemplateResult> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified configuration template.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete a configuration template.- Returns:
- A Java Future containing the result of the DeleteConfigurationTemplate operation returned by the service.
-
deleteConfigurationTemplateAsync
public Future<DeleteConfigurationTemplateResult> deleteConfigurationTemplateAsync(DeleteConfigurationTemplateRequest request, AsyncHandler<DeleteConfigurationTemplateRequest,DeleteConfigurationTemplateResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Deletes the specified configuration template.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete a configuration template.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteConfigurationTemplate operation returned by the service.
-
deleteEnvironmentConfigurationAsync
public Future<DeleteEnvironmentConfigurationResult> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete a draft environment configuration.- Returns:
- A Java Future containing the result of the DeleteEnvironmentConfiguration operation returned by the service.
-
deleteEnvironmentConfigurationAsync
public Future<DeleteEnvironmentConfigurationResult> deleteEnvironmentConfigurationAsync(DeleteEnvironmentConfigurationRequest request, AsyncHandler<DeleteEnvironmentConfigurationRequest,DeleteEnvironmentConfigurationResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to delete a draft environment configuration.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteEnvironmentConfiguration operation returned by the service.
-
describeApplicationVersionsAsync
public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Retrieve a list of application versions stored in your AWS Elastic Beanstalk storage bucket.
- Specified by:
describeApplicationVersionsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containing a list of configuration descriptions.- Returns:
- A Java Future containing the result of the DescribeApplicationVersions operation returned by the service.
-
describeApplicationVersionsAsync
public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(DescribeApplicationVersionsRequest request, AsyncHandler<DescribeApplicationVersionsRequest,DescribeApplicationVersionsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Retrieve a list of application versions stored in your AWS Elastic Beanstalk storage bucket.
- Specified by:
describeApplicationVersionsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containing a list of configuration descriptions.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeApplicationVersions operation returned by the service.
-
describeApplicationVersionsAsync
public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync()
Simplified method form for invoking the DescribeApplicationVersions operation.- Specified by:
describeApplicationVersionsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeApplicationVersionsAsync(DescribeApplicationVersionsRequest)
-
describeApplicationVersionsAsync
public Future<DescribeApplicationVersionsResult> describeApplicationVersionsAsync(AsyncHandler<DescribeApplicationVersionsRequest,DescribeApplicationVersionsResult> asyncHandler)
Simplified method form for invoking the DescribeApplicationVersions operation with an AsyncHandler.
-
describeApplicationsAsync
public Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns the descriptions of existing applications.
- Specified by:
describeApplicationsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe one or more applications.- Returns:
- A Java Future containing the result of the DescribeApplications operation returned by the service.
-
describeApplicationsAsync
public Future<DescribeApplicationsResult> describeApplicationsAsync(DescribeApplicationsRequest request, AsyncHandler<DescribeApplicationsRequest,DescribeApplicationsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns the descriptions of existing applications.
- Specified by:
describeApplicationsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe one or more applications.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeApplications operation returned by the service.
-
describeApplicationsAsync
public Future<DescribeApplicationsResult> describeApplicationsAsync()
Simplified method form for invoking the DescribeApplications operation.- Specified by:
describeApplicationsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeApplicationsAsync(DescribeApplicationsRequest)
-
describeApplicationsAsync
public Future<DescribeApplicationsResult> describeApplicationsAsync(AsyncHandler<DescribeApplicationsRequest,DescribeApplicationsResult> asyncHandler)
Simplified method form for invoking the DescribeApplications operation with an AsyncHandler.- Specified by:
describeApplicationsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeApplicationsAsync(DescribeApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeConfigurationOptionsAsync
public Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containig a list of application version descriptions.- Returns:
- A Java Future containing the result of the DescribeConfigurationOptions operation returned by the service.
-
describeConfigurationOptionsAsync
public Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest request, AsyncHandler<DescribeConfigurationOptionsRequest,DescribeConfigurationOptionsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containig a list of application version descriptions.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigurationOptions operation returned by the service.
-
describeConfigurationSettingsAsync
public Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containing all of the configuration settings for a specified solution stack or configuration template.- Returns:
- A Java Future containing the result of the DescribeConfigurationSettings operation returned by the service.
-
describeConfigurationSettingsAsync
public Future<DescribeConfigurationSettingsResult> describeConfigurationSettingsAsync(DescribeConfigurationSettingsRequest request, AsyncHandler<DescribeConfigurationSettingsRequest,DescribeConfigurationSettingsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Result message containing all of the configuration settings for a specified solution stack or configuration template.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigurationSettings operation returned by the service.
-
describeEnvironmentHealthAsync
public Future<DescribeEnvironmentHealthResult> describeEnvironmentHealthAsync(DescribeEnvironmentHealthRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeEnvironmentHealthAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- See the example below to learn how to create a request body.- Returns:
- A Java Future containing the result of the DescribeEnvironmentHealth operation returned by the service.
-
describeEnvironmentHealthAsync
public Future<DescribeEnvironmentHealthResult> describeEnvironmentHealthAsync(DescribeEnvironmentHealthRequest request, AsyncHandler<DescribeEnvironmentHealthRequest,DescribeEnvironmentHealthResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeEnvironmentHealthAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- See the example below to learn how to create a request body.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEnvironmentHealth operation returned by the service.
-
describeEnvironmentManagedActionHistoryAsync
public Future<DescribeEnvironmentManagedActionHistoryResult> describeEnvironmentManagedActionHistoryAsync(DescribeEnvironmentManagedActionHistoryRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Lists an environment's completed and failed managed actions.
- Specified by:
describeEnvironmentManagedActionHistoryAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to list completed and failed managed actions.- Returns:
- A Java Future containing the result of the DescribeEnvironmentManagedActionHistory operation returned by the service.
-
describeEnvironmentManagedActionHistoryAsync
public Future<DescribeEnvironmentManagedActionHistoryResult> describeEnvironmentManagedActionHistoryAsync(DescribeEnvironmentManagedActionHistoryRequest request, AsyncHandler<DescribeEnvironmentManagedActionHistoryRequest,DescribeEnvironmentManagedActionHistoryResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Lists an environment's completed and failed managed actions.
- Specified by:
describeEnvironmentManagedActionHistoryAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to list completed and failed managed actions.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEnvironmentManagedActionHistory operation returned by the service.
-
describeEnvironmentManagedActionsAsync
public Future<DescribeEnvironmentManagedActionsResult> describeEnvironmentManagedActionsAsync(DescribeEnvironmentManagedActionsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Lists an environment's upcoming and in-progress managed actions.
- Specified by:
describeEnvironmentManagedActionsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to list an environment's upcoming and in-progress managed actions.- Returns:
- A Java Future containing the result of the DescribeEnvironmentManagedActions operation returned by the service.
-
describeEnvironmentManagedActionsAsync
public Future<DescribeEnvironmentManagedActionsResult> describeEnvironmentManagedActionsAsync(DescribeEnvironmentManagedActionsRequest request, AsyncHandler<DescribeEnvironmentManagedActionsRequest,DescribeEnvironmentManagedActionsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Lists an environment's upcoming and in-progress managed actions.
- Specified by:
describeEnvironmentManagedActionsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to list an environment's upcoming and in-progress managed actions.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEnvironmentManagedActions operation returned by the service.
-
describeEnvironmentResourcesAsync
public Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns AWS resources for this environment.
- Specified by:
describeEnvironmentResourcesAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe the resources in an environment.- Returns:
- A Java Future containing the result of the DescribeEnvironmentResources operation returned by the service.
-
describeEnvironmentResourcesAsync
public Future<DescribeEnvironmentResourcesResult> describeEnvironmentResourcesAsync(DescribeEnvironmentResourcesRequest request, AsyncHandler<DescribeEnvironmentResourcesRequest,DescribeEnvironmentResourcesResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns AWS resources for this environment.
- Specified by:
describeEnvironmentResourcesAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe the resources in an environment.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEnvironmentResources operation returned by the service.
-
describeEnvironmentsAsync
public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns descriptions for existing environments.
- Specified by:
describeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe one or more environments.- Returns:
- A Java Future containing the result of the DescribeEnvironments operation returned by the service.
-
describeEnvironmentsAsync
public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(DescribeEnvironmentsRequest request, AsyncHandler<DescribeEnvironmentsRequest,DescribeEnvironmentsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns descriptions for existing environments.
- Specified by:
describeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to describe one or more environments.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEnvironments operation returned by the service.
-
describeEnvironmentsAsync
public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync()
Simplified method form for invoking the DescribeEnvironments operation.- Specified by:
describeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeEnvironmentsAsync(DescribeEnvironmentsRequest)
-
describeEnvironmentsAsync
public Future<DescribeEnvironmentsResult> describeEnvironmentsAsync(AsyncHandler<DescribeEnvironmentsRequest,DescribeEnvironmentsResult> asyncHandler)
Simplified method form for invoking the DescribeEnvironments operation with an AsyncHandler.- Specified by:
describeEnvironmentsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeEnvironmentsAsync(DescribeEnvironmentsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns list of event descriptions matching criteria up to the last 6 weeks.
This action returns the most recent 1,000 events from the specified NextToken
.- Specified by:
describeEventsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to retrieve a list of events for an environment.- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request, AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns list of event descriptions matching criteria up to the last 6 weeks.
This action returns the most recent 1,000 events from the specified NextToken
.- Specified by:
describeEventsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to retrieve a list of events for an environment.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeEvents operation returned by the service.
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync()
Simplified method form for invoking the DescribeEvents operation.- Specified by:
describeEventsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeEventsAsync(DescribeEventsRequest)
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(AsyncHandler<DescribeEventsRequest,DescribeEventsResult> asyncHandler)
Simplified method form for invoking the DescribeEvents operation with an AsyncHandler.- Specified by:
describeEventsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
describeEventsAsync(DescribeEventsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeInstancesHealthAsync
public Future<DescribeInstancesHealthResult> describeInstancesHealthAsync(DescribeInstancesHealthRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns more detailed information about the health of the specified instances (for example, CPU utilization, load average, and causes). The DescribeInstancesHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeInstancesHealthAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- See the example below to learn how to create a request body.- Returns:
- A Java Future containing the result of the DescribeInstancesHealth operation returned by the service.
-
describeInstancesHealthAsync
public Future<DescribeInstancesHealthResult> describeInstancesHealthAsync(DescribeInstancesHealthRequest request, AsyncHandler<DescribeInstancesHealthRequest,DescribeInstancesHealthResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns more detailed information about the health of the specified instances (for example, CPU utilization, load average, and causes). The DescribeInstancesHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeInstancesHealthAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- See the example below to learn how to create a request body.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeInstancesHealth operation returned by the service.
-
listAvailableSolutionStacksAsync
public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Returns a list of the available solution stack names.
- Specified by:
listAvailableSolutionStacksAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the ListAvailableSolutionStacks operation returned by the service.
-
listAvailableSolutionStacksAsync
public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest request, AsyncHandler<ListAvailableSolutionStacksRequest,ListAvailableSolutionStacksResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Returns a list of the available solution stack names.
- Specified by:
listAvailableSolutionStacksAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListAvailableSolutionStacks operation returned by the service.
-
listAvailableSolutionStacksAsync
public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync()
Simplified method form for invoking the ListAvailableSolutionStacks operation.- Specified by:
listAvailableSolutionStacksAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
listAvailableSolutionStacksAsync(ListAvailableSolutionStacksRequest)
-
listAvailableSolutionStacksAsync
public Future<ListAvailableSolutionStacksResult> listAvailableSolutionStacksAsync(AsyncHandler<ListAvailableSolutionStacksRequest,ListAvailableSolutionStacksResult> asyncHandler)
Simplified method form for invoking the ListAvailableSolutionStacks operation with an AsyncHandler.
-
rebuildEnvironmentAsync
public Future<RebuildEnvironmentResult> rebuildEnvironmentAsync(RebuildEnvironmentRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the RebuildEnvironment operation returned by the service.
-
rebuildEnvironmentAsync
public Future<RebuildEnvironmentResult> rebuildEnvironmentAsync(RebuildEnvironmentRequest request, AsyncHandler<RebuildEnvironmentRequest,RebuildEnvironmentResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RebuildEnvironment operation returned by the service.
-
requestEnvironmentInfoAsync
public Future<RequestEnvironmentInfoResult> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Initiates a request to compile the specified type of information of the deployed environment.
Setting the
InfoType
totail
compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.Setting the
InfoType
tobundle
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
- Specified by:
requestEnvironmentInfoAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.- Returns:
- A Java Future containing the result of the RequestEnvironmentInfo operation returned by the service.
-
requestEnvironmentInfoAsync
public Future<RequestEnvironmentInfoResult> requestEnvironmentInfoAsync(RequestEnvironmentInfoRequest request, AsyncHandler<RequestEnvironmentInfoRequest,RequestEnvironmentInfoResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Initiates a request to compile the specified type of information of the deployed environment.
Setting the
InfoType
totail
compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.Setting the
InfoType
tobundle
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
- Specified by:
requestEnvironmentInfoAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RequestEnvironmentInfo operation returned by the service.
-
restartAppServerAsync
public Future<RestartAppServerResult> restartAppServerAsync(RestartAppServerRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Causes the environment to restart the application container server running on each Amazon EC2 instance.
- Specified by:
restartAppServerAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the RestartAppServer operation returned by the service.
-
restartAppServerAsync
public Future<RestartAppServerResult> restartAppServerAsync(RestartAppServerRequest request, AsyncHandler<RestartAppServerRequest,RestartAppServerResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Causes the environment to restart the application container server running on each Amazon EC2 instance.
- Specified by:
restartAppServerAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RestartAppServer operation returned by the service.
-
retrieveEnvironmentInfoAsync
public Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- Specified by:
retrieveEnvironmentInfoAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to download logs retrieved with RequestEnvironmentInfo.- Returns:
- A Java Future containing the result of the RetrieveEnvironmentInfo operation returned by the service.
-
retrieveEnvironmentInfoAsync
public Future<RetrieveEnvironmentInfoResult> retrieveEnvironmentInfoAsync(RetrieveEnvironmentInfoRequest request, AsyncHandler<RetrieveEnvironmentInfoRequest,RetrieveEnvironmentInfoResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- Specified by:
retrieveEnvironmentInfoAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to download logs retrieved with RequestEnvironmentInfo.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RetrieveEnvironmentInfo operation returned by the service.
-
swapEnvironmentCNAMEsAsync
public Future<SwapEnvironmentCNAMEsResult> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Swaps the CNAMEs of two environments.
- Specified by:
swapEnvironmentCNAMEsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Swaps the CNAMEs of two environments.- Returns:
- A Java Future containing the result of the SwapEnvironmentCNAMEs operation returned by the service.
-
swapEnvironmentCNAMEsAsync
public Future<SwapEnvironmentCNAMEsResult> swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest request, AsyncHandler<SwapEnvironmentCNAMEsRequest,SwapEnvironmentCNAMEsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Swaps the CNAMEs of two environments.
- Specified by:
swapEnvironmentCNAMEsAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Swaps the CNAMEs of two environments.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SwapEnvironmentCNAMEs operation returned by the service.
-
swapEnvironmentCNAMEsAsync
public Future<SwapEnvironmentCNAMEsResult> swapEnvironmentCNAMEsAsync()
Simplified method form for invoking the SwapEnvironmentCNAMEs operation.- Specified by:
swapEnvironmentCNAMEsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest)
-
swapEnvironmentCNAMEsAsync
public Future<SwapEnvironmentCNAMEsResult> swapEnvironmentCNAMEsAsync(AsyncHandler<SwapEnvironmentCNAMEsRequest,SwapEnvironmentCNAMEsResult> asyncHandler)
Simplified method form for invoking the SwapEnvironmentCNAMEs operation with an AsyncHandler.- Specified by:
swapEnvironmentCNAMEsAsync
in interfaceAWSElasticBeanstalkAsync
- See Also:
swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest, com.amazonaws.handlers.AsyncHandler)
-
terminateEnvironmentAsync
public Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Terminates the specified environment.
- Specified by:
terminateEnvironmentAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to terminate an environment.- Returns:
- A Java Future containing the result of the TerminateEnvironment operation returned by the service.
-
terminateEnvironmentAsync
public Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest request, AsyncHandler<TerminateEnvironmentRequest,TerminateEnvironmentResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Terminates the specified environment.
- Specified by:
terminateEnvironmentAsync
in interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to terminate an environment.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the TerminateEnvironment operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified application to have the specified properties.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to update an application.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
-
updateApplicationAsync
public Future<UpdateApplicationResult> updateApplicationAsync(UpdateApplicationRequest request, AsyncHandler<UpdateApplicationRequest,UpdateApplicationResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified application to have the specified properties.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to update an application.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateApplication operation returned by the service.
-
updateApplicationVersionAsync
public Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified application version to have the specified properties.
If a property (for example, description
) is not provided, the value remains unchanged. To clear properties, specify an empty string.- Specified by:
updateApplicationVersionAsync
in interfaceAWSElasticBeanstalkAsync
- Returns:
- A Java Future containing the result of the UpdateApplicationVersion operation returned by the service.
-
updateApplicationVersionAsync
public Future<UpdateApplicationVersionResult> updateApplicationVersionAsync(UpdateApplicationVersionRequest request, AsyncHandler<UpdateApplicationVersionRequest,UpdateApplicationVersionResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified application version to have the specified properties.
If a property (for example, description
) is not provided, the value remains unchanged. To clear properties, specify an empty string.- Specified by:
updateApplicationVersionAsync
in interfaceAWSElasticBeanstalkAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateApplicationVersion operation returned by the service.
-
updateConfigurationTemplateAsync
public Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified configuration template to have the specified properties or configuration option values.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- The result message containing the options for the specified solution stack.- Returns:
- A Java Future containing the result of the UpdateConfigurationTemplate operation returned by the service.
-
updateConfigurationTemplateAsync
public Future<UpdateConfigurationTemplateResult> updateConfigurationTemplateAsync(UpdateConfigurationTemplateRequest request, AsyncHandler<UpdateConfigurationTemplateRequest,UpdateConfigurationTemplateResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
Updates the specified configuration template to have the specified properties or configuration option values.
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- The result message containing the options for the specified solution stack.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateConfigurationTemplate operation returned by the service.
-
updateEnvironmentAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to update an environment.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
-
updateEnvironmentAsync
public Future<UpdateEnvironmentResult> updateEnvironmentAsync(UpdateEnvironmentRequest request, AsyncHandler<UpdateEnvironmentRequest,UpdateEnvironmentResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- Request to update an environment.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateEnvironment operation returned by the service.
-
validateConfigurationSettingsAsync
public Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest request)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- A list of validation messages for a specified configuration template.- Returns:
- A Java Future containing the result of the ValidateConfigurationSettings operation returned by the service.
-
validateConfigurationSettingsAsync
public Future<ValidateConfigurationSettingsResult> validateConfigurationSettingsAsync(ValidateConfigurationSettingsRequest request, AsyncHandler<ValidateConfigurationSettingsRequest,ValidateConfigurationSettingsResult> asyncHandler)
Description copied from interface:AWSElasticBeanstalkAsync
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 interfaceAWSElasticBeanstalkAsync
- Parameters:
request
- A list of validation messages for a specified configuration template.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ValidateConfigurationSettings operation returned by the service.
-
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 callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAWSElasticBeanstalk
- Overrides:
shutdown
in classAmazonWebServiceClient
-
-