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 anAsyncHandlercan 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:AWSElasticBeanstalkAsyncCancels in-progress environment configuration update or application version deployment.
- Specified by:
abortEnvironmentUpdateAsyncin 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:AWSElasticBeanstalkAsyncCancels in-progress environment configuration update or application version deployment.
- Specified by:
abortEnvironmentUpdateAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:
abortEnvironmentUpdateAsyncin 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:
abortEnvironmentUpdateAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
abortEnvironmentUpdateAsync(AbortEnvironmentUpdateRequest, com.amazonaws.handlers.AsyncHandler)
-
applyEnvironmentManagedActionAsync
public Future<ApplyEnvironmentManagedActionResult> applyEnvironmentManagedActionAsync(ApplyEnvironmentManagedActionRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncApplies 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:
applyEnvironmentManagedActionAsyncin 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:AWSElasticBeanstalkAsyncApplies 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:
applyEnvironmentManagedActionAsyncin 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:AWSElasticBeanstalkAsyncChecks if the specified CNAME is available.
- Specified by:
checkDNSAvailabilityAsyncin 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:AWSElasticBeanstalkAsyncChecks if the specified CNAME is available.
- Specified by:
checkDNSAvailabilityAsyncin 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:AWSElasticBeanstalkAsyncCreate 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:
composeEnvironmentsAsyncin 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:AWSElasticBeanstalkAsyncCreate 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:
composeEnvironmentsAsyncin 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:AWSElasticBeanstalkAsyncCreates an application that has one configuration template named
defaultand no application versions.- Specified by:
createApplicationAsyncin 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:AWSElasticBeanstalkAsyncCreates an application that has one configuration template named
defaultand no application versions.- Specified by:
createApplicationAsyncin 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:AWSElasticBeanstalkAsyncCreates 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:
createApplicationVersionAsyncin 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:AWSElasticBeanstalkAsyncCreates 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:
createApplicationVersionAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:AWSElasticBeanstalkAsyncCreates 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:
createConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncCreates 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:
createConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncLaunches an environment for the specified application using the specified configuration.
- Specified by:
createEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncLaunches an environment for the specified application using the specified configuration.
- Specified by:
createEnvironmentAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:AWSElasticBeanstalkAsyncCreates the Amazon S3 storage location for the account.
This location is used to store user log files.
- Specified by:
createStorageLocationAsyncin 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:AWSElasticBeanstalkAsyncCreates the Amazon S3 storage location for the account.
This location is used to store user log files.
- Specified by:
createStorageLocationAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:
createStorageLocationAsyncin 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:
createStorageLocationAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
createStorageLocationAsync(CreateStorageLocationRequest, com.amazonaws.handlers.AsyncHandler)
-
deleteApplicationAsync
public Future<DeleteApplicationResult> deleteApplicationAsync(DeleteApplicationRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncDeletes 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:
deleteApplicationAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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:
deleteApplicationAsyncin 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:AWSElasticBeanstalkAsyncDeletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment. - Specified by:
deleteApplicationVersionAsyncin 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:AWSElasticBeanstalkAsyncDeletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment. - Specified by:
deleteApplicationVersionAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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:
deleteConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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:
deleteConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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
DeploymentStatusfor 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:
deleteEnvironmentConfigurationAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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
DeploymentStatusfor 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:
deleteEnvironmentConfigurationAsyncin 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:AWSElasticBeanstalkAsyncRetrieve a list of application versions stored in your AWS Elastic Beanstalk storage bucket.
- Specified by:
describeApplicationVersionsAsyncin 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:AWSElasticBeanstalkAsyncRetrieve a list of application versions stored in your AWS Elastic Beanstalk storage bucket.
- Specified by:
describeApplicationVersionsAsyncin 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:
describeApplicationVersionsAsyncin 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:AWSElasticBeanstalkAsyncReturns the descriptions of existing applications.
- Specified by:
describeApplicationsAsyncin 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:AWSElasticBeanstalkAsyncReturns the descriptions of existing applications.
- Specified by:
describeApplicationsAsyncin 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:
describeApplicationsAsyncin 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:
describeApplicationsAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
describeApplicationsAsync(DescribeApplicationsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeConfigurationOptionsAsync
public Future<DescribeConfigurationOptionsResult> describeConfigurationOptionsAsync(DescribeConfigurationOptionsRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncDescribes 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:
describeConfigurationOptionsAsyncin 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:AWSElasticBeanstalkAsyncDescribes 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:
describeConfigurationOptionsAsyncin 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:AWSElasticBeanstalkAsyncReturns 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:
describeConfigurationSettingsAsyncin 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:AWSElasticBeanstalkAsyncReturns 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:
describeConfigurationSettingsAsyncin 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:AWSElasticBeanstalkAsyncReturns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeEnvironmentHealthAsyncin 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:AWSElasticBeanstalkAsyncReturns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
- Specified by:
describeEnvironmentHealthAsyncin 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:AWSElasticBeanstalkAsyncLists an environment's completed and failed managed actions.
- Specified by:
describeEnvironmentManagedActionHistoryAsyncin 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:AWSElasticBeanstalkAsyncLists an environment's completed and failed managed actions.
- Specified by:
describeEnvironmentManagedActionHistoryAsyncin 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:AWSElasticBeanstalkAsyncLists an environment's upcoming and in-progress managed actions.
- Specified by:
describeEnvironmentManagedActionsAsyncin 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:AWSElasticBeanstalkAsyncLists an environment's upcoming and in-progress managed actions.
- Specified by:
describeEnvironmentManagedActionsAsyncin 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:AWSElasticBeanstalkAsyncReturns AWS resources for this environment.
- Specified by:
describeEnvironmentResourcesAsyncin 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:AWSElasticBeanstalkAsyncReturns AWS resources for this environment.
- Specified by:
describeEnvironmentResourcesAsyncin 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:AWSElasticBeanstalkAsyncReturns descriptions for existing environments.
- Specified by:
describeEnvironmentsAsyncin 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:AWSElasticBeanstalkAsyncReturns descriptions for existing environments.
- Specified by:
describeEnvironmentsAsyncin 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:
describeEnvironmentsAsyncin 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:
describeEnvironmentsAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
describeEnvironmentsAsync(DescribeEnvironmentsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeEventsAsync
public Future<DescribeEventsResult> describeEventsAsync(DescribeEventsRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncReturns 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:
describeEventsAsyncin 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:AWSElasticBeanstalkAsyncReturns 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:
describeEventsAsyncin 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:
describeEventsAsyncin 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:
describeEventsAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
describeEventsAsync(DescribeEventsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeInstancesHealthAsync
public Future<DescribeInstancesHealthResult> describeInstancesHealthAsync(DescribeInstancesHealthRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncReturns 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:
describeInstancesHealthAsyncin 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:AWSElasticBeanstalkAsyncReturns 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:
describeInstancesHealthAsyncin 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:AWSElasticBeanstalkAsyncReturns a list of the available solution stack names.
- Specified by:
listAvailableSolutionStacksAsyncin 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:AWSElasticBeanstalkAsyncReturns a list of the available solution stack names.
- Specified by:
listAvailableSolutionStacksAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:
listAvailableSolutionStacksAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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:
rebuildEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncDeletes 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:
rebuildEnvironmentAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:AWSElasticBeanstalkAsyncInitiates a request to compile the specified type of information of the deployed environment.
Setting the
InfoTypetotailcompiles the last lines from the application server log files of every Amazon EC2 instance in your environment.Setting the
InfoTypetobundlecompresses the application server log files for every Amazon EC2 instance into a.zipfile. Legacy and .NET containers do not support bundle logs.Use RetrieveEnvironmentInfo to obtain the set of logs.
Related Topics
- Specified by:
requestEnvironmentInfoAsyncin 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:AWSElasticBeanstalkAsyncInitiates a request to compile the specified type of information of the deployed environment.
Setting the
InfoTypetotailcompiles the last lines from the application server log files of every Amazon EC2 instance in your environment.Setting the
InfoTypetobundlecompresses the application server log files for every Amazon EC2 instance into a.zipfile. Legacy and .NET containers do not support bundle logs.Use RetrieveEnvironmentInfo to obtain the set of logs.
Related Topics
- Specified by:
requestEnvironmentInfoAsyncin 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:AWSElasticBeanstalkAsyncCauses the environment to restart the application container server running on each Amazon EC2 instance.
- Specified by:
restartAppServerAsyncin 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:AWSElasticBeanstalkAsyncCauses the environment to restart the application container server running on each Amazon EC2 instance.
- Specified by:
restartAppServerAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:AWSElasticBeanstalkAsyncRetrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- Specified by:
retrieveEnvironmentInfoAsyncin 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:AWSElasticBeanstalkAsyncRetrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- Specified by:
retrieveEnvironmentInfoAsyncin 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:AWSElasticBeanstalkAsyncSwaps the CNAMEs of two environments.
- Specified by:
swapEnvironmentCNAMEsAsyncin 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:AWSElasticBeanstalkAsyncSwaps the CNAMEs of two environments.
- Specified by:
swapEnvironmentCNAMEsAsyncin 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:
swapEnvironmentCNAMEsAsyncin 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:
swapEnvironmentCNAMEsAsyncin interfaceAWSElasticBeanstalkAsync- See Also:
swapEnvironmentCNAMEsAsync(SwapEnvironmentCNAMEsRequest, com.amazonaws.handlers.AsyncHandler)
-
terminateEnvironmentAsync
public Future<TerminateEnvironmentResult> terminateEnvironmentAsync(TerminateEnvironmentRequest request)
Description copied from interface:AWSElasticBeanstalkAsyncTerminates the specified environment.
- Specified by:
terminateEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncTerminates the specified environment.
- Specified by:
terminateEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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:
updateApplicationAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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:
updateApplicationAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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:
updateApplicationVersionAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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:
updateApplicationVersionAsyncin interfaceAWSElasticBeanstalkAsyncasyncHandler- 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:AWSElasticBeanstalkAsyncUpdates 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:
updateConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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:
updateConfigurationTemplateAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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
InvalidParameterCombinationerror.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
DeploymentStatusvalues.- Specified by:
updateEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncUpdates 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
InvalidParameterCombinationerror.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
DeploymentStatusvalues.- Specified by:
updateEnvironmentAsyncin 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:AWSElasticBeanstalkAsyncTakes 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:
validateConfigurationSettingsAsyncin 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:AWSElasticBeanstalkAsyncTakes 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:
validateConfigurationSettingsAsyncin 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:
shutdownin interfaceAWSElasticBeanstalk- Overrides:
shutdownin classAmazonWebServiceClient
-
-