public class AWSElasticBeanstalkClient extends AmazonWebServiceClient implements AWSElasticBeanstalk
This is the AWS Elastic Beanstalk API Reference. This guide provides detailed information about AWS Elastic Beanstalk actions, data types, parameters, and errors.
AWS Elastic Beanstalk is a tool that makes it easy for you to create, deploy, and manage scalable, fault-tolerant applications running on Amazon Web Services cloud resources.
For more information about this product, go to the AWS Elastic Beanstalk details page. The location of the latest AWS Elastic Beanstalk WSDL is http://elasticbeanstalk.s3.amazonaws.com/doc/2010-12-01/AWSElasticBeanstalk. wsdl. To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that enable you to access the API, go to Tools for Amazon Web Services.
Endpoints
For a list of region-specific endpoints that AWS Elastic Beanstalk supports, go to Regions and Endpoints in the Amazon Web Services Glossary.
Modifier and Type | Field and Description |
---|---|
protected List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,Node>> |
exceptionUnmarshallers
List of exception unmarshallers for all Elastic Beanstalk exceptions.
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSElasticBeanstalkClient()
Constructs a new client to invoke service methods on Elastic Beanstalk.
|
AWSElasticBeanstalkClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on Elastic Beanstalk
using the specified AWS account credentials.
|
AWSElasticBeanstalkClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Elastic Beanstalk
using the specified AWS account credentials and client configuration
options.
|
AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on Elastic Beanstalk
using the specified AWS account credentials provider.
|
AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Elastic Beanstalk
using the specified AWS account credentials provider and client
configuration options.
|
AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on Elastic Beanstalk
using the specified AWS account credentials provider, client
configuration options, and request metric collector.
|
AWSElasticBeanstalkClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on Elastic Beanstalk.
|
Modifier and Type | Method and Description |
---|---|
void |
abortEnvironmentUpdate()
Simplified method form for invoking the AbortEnvironmentUpdate operation.
|
void |
abortEnvironmentUpdate(AbortEnvironmentUpdateRequest abortEnvironmentUpdateRequest)
Cancels in-progress environment configuration update or application
version deployment.
|
CheckDNSAvailabilityResult |
checkDNSAvailability(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest)
Checks if the specified CNAME is available.
|
CreateApplicationResult |
createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application that has one configuration template named
default and no application versions. |
CreateApplicationVersionResult |
createApplicationVersion(CreateApplicationVersionRequest createApplicationVersionRequest)
Creates an application version for the specified application.
|
CreateConfigurationTemplateResult |
createConfigurationTemplate(CreateConfigurationTemplateRequest createConfigurationTemplateRequest)
Creates a configuration template.
|
CreateEnvironmentResult |
createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Launches an environment for the specified application using the specified
configuration.
|
CreateStorageLocationResult |
createStorageLocation()
Simplified method form for invoking the CreateStorageLocation operation.
|
CreateStorageLocationResult |
createStorageLocation(CreateStorageLocationRequest createStorageLocationRequest)
Creates the Amazon S3 storage location for the account.
|
void |
deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the specified application along with all associated versions and
configurations.
|
void |
deleteApplicationVersion(DeleteApplicationVersionRequest deleteApplicationVersionRequest)
Deletes the specified version from the specified application.
|
void |
deleteConfigurationTemplate(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest)
Deletes the specified configuration template.
|
void |
deleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest)
Deletes the draft configuration associated with the running environment.
|
DescribeApplicationsResult |
describeApplications()
Simplified method form for invoking the DescribeApplications operation.
|
DescribeApplicationsResult |
describeApplications(DescribeApplicationsRequest describeApplicationsRequest)
Returns the descriptions of existing applications.
|
DescribeApplicationVersionsResult |
describeApplicationVersions()
Simplified method form for invoking the DescribeApplicationVersions
operation.
|
DescribeApplicationVersionsResult |
describeApplicationVersions(DescribeApplicationVersionsRequest describeApplicationVersionsRequest)
Returns descriptions for existing application versions.
|
DescribeConfigurationOptionsResult |
describeConfigurationOptions(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest)
Describes the configuration options that are used in a particular
configuration template or environment, or that a specified solution stack
defines.
|
DescribeConfigurationSettingsResult |
describeConfigurationSettings(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest)
Returns a description of the settings for the specified configuration
set, that is, either a configuration template or the configuration set
associated with a running environment.
|
DescribeEnvironmentHealthResult |
describeEnvironmentHealth(DescribeEnvironmentHealthRequest describeEnvironmentHealthRequest)
Returns information about the overall health of the specified
environment.
|
DescribeEnvironmentResourcesResult |
describeEnvironmentResources(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest)
Returns AWS resources for this environment.
|
DescribeEnvironmentsResult |
describeEnvironments()
Simplified method form for invoking the DescribeEnvironments operation.
|
DescribeEnvironmentsResult |
describeEnvironments(DescribeEnvironmentsRequest describeEnvironmentsRequest)
Returns descriptions for existing environments.
|
DescribeEventsResult |
describeEvents()
Simplified method form for invoking the DescribeEvents operation.
|
DescribeEventsResult |
describeEvents(DescribeEventsRequest describeEventsRequest)
Returns list of event descriptions matching criteria up to the last 6
weeks.
|
DescribeInstancesHealthResult |
describeInstancesHealth(DescribeInstancesHealthRequest describeInstancesHealthRequest)
Returns more detailed information about the health of the specified
instances (for example, CPU utilization, load average, and causes).
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful,
request, typically used for debugging issues where a service isn't acting
as expected.
|
ListAvailableSolutionStacksResult |
listAvailableSolutionStacks()
Simplified method form for invoking the ListAvailableSolutionStacks
operation.
|
ListAvailableSolutionStacksResult |
listAvailableSolutionStacks(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest)
Returns a list of the available solution stack names.
|
void |
rebuildEnvironment(RebuildEnvironmentRequest rebuildEnvironmentRequest)
Deletes and recreates all of the AWS resources (for example: the Auto
Scaling group, load balancer, etc.) for a specified environment and
forces a restart.
|
void |
requestEnvironmentInfo(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest)
Initiates a request to compile the specified type of information of the
deployed environment.
|
void |
restartAppServer(RestartAppServerRequest restartAppServerRequest)
Causes the environment to restart the application container server
running on each Amazon EC2 instance.
|
RetrieveEnvironmentInfoResult |
retrieveEnvironmentInfo(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest)
Retrieves the compiled information from a RequestEnvironmentInfo
request.
|
void |
swapEnvironmentCNAMEs()
Simplified method form for invoking the SwapEnvironmentCNAMEs operation.
|
void |
swapEnvironmentCNAMEs(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest)
Swaps the CNAMEs of two environments.
|
TerminateEnvironmentResult |
terminateEnvironment(TerminateEnvironmentRequest terminateEnvironmentRequest)
Terminates the specified environment.
|
UpdateApplicationResult |
updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the specified application to have the specified properties.
|
UpdateApplicationVersionResult |
updateApplicationVersion(UpdateApplicationVersionRequest updateApplicationVersionRequest)
Updates the specified application version to have the specified
properties.
|
UpdateConfigurationTemplateResult |
updateConfigurationTemplate(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest)
Updates the specified configuration template to have the specified
properties or configuration option values.
|
UpdateEnvironmentResult |
updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates the environment description, deploys a new application version,
updates the configuration settings to an entirely new configuration
template, or updates select configuration option values in the running
environment.
|
ValidateConfigurationSettingsResult |
validateConfigurationSettings(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest)
Takes a set of configuration settings and either a configuration template
or environment, and determines whether those values are valid.
|
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
protected final List<com.amazonaws.transform.Unmarshaller<AmazonServiceException,Node>> exceptionUnmarshallers
public AWSElasticBeanstalkClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSElasticBeanstalkClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client
connects to Elastic Beanstalk (ex: proxy settings, retry counts,
etc.).DefaultAWSCredentialsProviderChain
public AWSElasticBeanstalkClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.public AWSElasticBeanstalkClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to Elastic Beanstalk (ex: proxy settings, retry counts,
etc.).public AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.public AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to Elastic Beanstalk (ex: proxy settings, retry counts,
etc.).public AWSElasticBeanstalkClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to Elastic Beanstalk (ex: proxy settings, retry counts,
etc.).requestMetricCollector
- optional request metric collectorpublic void abortEnvironmentUpdate(AbortEnvironmentUpdateRequest abortEnvironmentUpdateRequest)
Cancels in-progress environment configuration update or application version deployment.
abortEnvironmentUpdate
in interface AWSElasticBeanstalk
abortEnvironmentUpdateRequest
- InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic void abortEnvironmentUpdate()
AWSElasticBeanstalk
abortEnvironmentUpdate
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.abortEnvironmentUpdate(AbortEnvironmentUpdateRequest)
public CheckDNSAvailabilityResult checkDNSAvailability(CheckDNSAvailabilityRequest checkDNSAvailabilityRequest)
Checks if the specified CNAME is available.
checkDNSAvailability
in interface AWSElasticBeanstalk
checkDNSAvailabilityRequest
- Results message indicating whether a CNAME is available.public CreateApplicationResult createApplication(CreateApplicationRequest createApplicationRequest)
Creates an application that has one configuration template named
default
and no application versions.
createApplication
in interface AWSElasticBeanstalk
createApplicationRequest
- This documentation target is not reported in the API reference.TooManyApplicationsException
- The caller has exceeded the limit on the number of applications
associated with their account.public CreateApplicationVersionResult createApplicationVersion(CreateApplicationVersionRequest createApplicationVersionRequest)
Creates an application version for the specified application.
createApplicationVersion
in interface AWSElasticBeanstalk
createApplicationVersionRequest
- TooManyApplicationsException
- The caller has exceeded the limit on the number of applications
associated with their account.TooManyApplicationVersionsException
- The caller has exceeded the limit on the number of application
versions associated with their account.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicesS3LocationNotInServiceRegionException
- The specified S3 bucket does not belong to the S3 region in which
the service is running.public CreateConfigurationTemplateResult createConfigurationTemplate(CreateConfigurationTemplateRequest createConfigurationTemplateRequest)
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
createConfigurationTemplate
in interface AWSElasticBeanstalk
createConfigurationTemplateRequest
- This documentation target is not reported in the API reference.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicesTooManyConfigurationTemplatesException
- The caller has exceeded the limit on the number of configuration
templates associated with their account.public CreateEnvironmentResult createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)
Launches an environment for the specified application using the specified configuration.
createEnvironment
in interface AWSElasticBeanstalk
createEnvironmentRequest
- TooManyEnvironmentsException
- The caller has exceeded the limit of allowed environments
associated with the account.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic CreateStorageLocationResult createStorageLocation(CreateStorageLocationRequest createStorageLocationRequest)
Creates the Amazon S3 storage location for the account.
This location is used to store user log files.
createStorageLocation
in interface AWSElasticBeanstalk
createStorageLocationRequest
- TooManyBucketsException
- The web service attempted to create a bucket in an Amazon S3
account that already has 100 buckets.S3SubscriptionRequiredException
- The caller does not have a subscription to Amazon S3.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic CreateStorageLocationResult createStorageLocation()
AWSElasticBeanstalk
createStorageLocation
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.createStorageLocation(CreateStorageLocationRequest)
public void deleteApplication(DeleteApplicationRequest deleteApplicationRequest)
Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
deleteApplication
in interface AWSElasticBeanstalk
deleteApplicationRequest
- This documentation target is not reported in the API reference.OperationInProgressException
- Unable to perform the specified operation because another
operation is already in progress affecting an element in this
activity.public void deleteApplicationVersion(DeleteApplicationVersionRequest deleteApplicationVersionRequest)
Deletes the specified version from the specified application.
deleteApplicationVersion
in interface AWSElasticBeanstalk
deleteApplicationVersionRequest
- This documentation target is not reported in the API reference.SourceBundleDeletionException
- Unable to delete the Amazon S3 source bundle associated with the
application version, although the application version deleted
successfully.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicesOperationInProgressException
- Unable to perform the specified operation because another
operation is already in progress affecting an element in this
activity.S3LocationNotInServiceRegionException
- The specified S3 bucket does not belong to the S3 region in which
the service is running.public void deleteConfigurationTemplate(DeleteConfigurationTemplateRequest deleteConfigurationTemplateRequest)
Deletes the specified configuration template.
deleteConfigurationTemplate
in interface AWSElasticBeanstalk
deleteConfigurationTemplateRequest
- This documentation target is not reported in the API reference.OperationInProgressException
- Unable to perform the specified operation because another
operation is already in progress affecting an element in this
activity.public void deleteEnvironmentConfiguration(DeleteEnvironmentConfigurationRequest deleteEnvironmentConfigurationRequest)
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.
deleteEnvironmentConfiguration
in interface AWSElasticBeanstalk
deleteEnvironmentConfigurationRequest
- This documentation target is not reported in the API reference.public DescribeApplicationVersionsResult describeApplicationVersions(DescribeApplicationVersionsRequest describeApplicationVersionsRequest)
Returns descriptions for existing application versions.
describeApplicationVersions
in interface AWSElasticBeanstalk
describeApplicationVersionsRequest
- Result message containing a list of configuration descriptions.public DescribeApplicationVersionsResult describeApplicationVersions()
AWSElasticBeanstalk
describeApplicationVersions
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.describeApplicationVersions(DescribeApplicationVersionsRequest)
public DescribeApplicationsResult describeApplications(DescribeApplicationsRequest describeApplicationsRequest)
Returns the descriptions of existing applications.
describeApplications
in interface AWSElasticBeanstalk
describeApplicationsRequest
- This documentation target is not reported in the API reference.public DescribeApplicationsResult describeApplications()
AWSElasticBeanstalk
describeApplications
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.describeApplications(DescribeApplicationsRequest)
public DescribeConfigurationOptionsResult describeConfigurationOptions(DescribeConfigurationOptionsRequest describeConfigurationOptionsRequest)
Describes the configuration options that are used in a particular configuration template or environment, or that a specified solution stack defines. The description includes the values the options, their default values, and an indication of the required action on a running environment if an option value is changed.
describeConfigurationOptions
in interface AWSElasticBeanstalk
describeConfigurationOptionsRequest
- Result message containig a list of application version
descriptions.public DescribeConfigurationSettingsResult describeConfigurationSettings(DescribeConfigurationSettingsRequest describeConfigurationSettingsRequest)
Returns a description of the settings for the specified configuration set, that is, either a configuration template or the configuration set associated with a running environment.
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
describeConfigurationSettings
in interface AWSElasticBeanstalk
describeConfigurationSettingsRequest
- Result message containing all of the configuration settings for a
specified solution stack or configuration template.public DescribeEnvironmentHealthResult describeEnvironmentHealth(DescribeEnvironmentHealthRequest describeEnvironmentHealthRequest)
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
describeEnvironmentHealth
in interface AWSElasticBeanstalk
describeEnvironmentHealthRequest
- See the example below to learn how to create a request body.InvalidRequestException
- The request is invalid, please check parameters and their valuesElasticBeanstalkServiceException
public DescribeEnvironmentResourcesResult describeEnvironmentResources(DescribeEnvironmentResourcesRequest describeEnvironmentResourcesRequest)
Returns AWS resources for this environment.
describeEnvironmentResources
in interface AWSElasticBeanstalk
describeEnvironmentResourcesRequest
- This documentation target is not reported in the API reference.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic DescribeEnvironmentsResult describeEnvironments(DescribeEnvironmentsRequest describeEnvironmentsRequest)
Returns descriptions for existing environments.
describeEnvironments
in interface AWSElasticBeanstalk
describeEnvironmentsRequest
- This documentation target is not reported in the API reference.public DescribeEnvironmentsResult describeEnvironments()
AWSElasticBeanstalk
describeEnvironments
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.describeEnvironments(DescribeEnvironmentsRequest)
public DescribeEventsResult describeEvents(DescribeEventsRequest describeEventsRequest)
Returns list of event descriptions matching criteria up to the last 6 weeks.
NextToken
. describeEvents
in interface AWSElasticBeanstalk
describeEventsRequest
- This documentation target is not reported in the API reference.public DescribeEventsResult describeEvents()
AWSElasticBeanstalk
describeEvents
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.describeEvents(DescribeEventsRequest)
public DescribeInstancesHealthResult describeInstancesHealth(DescribeInstancesHealthRequest describeInstancesHealthRequest)
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.
describeInstancesHealth
in interface AWSElasticBeanstalk
describeInstancesHealthRequest
- See the example below to learn how to create a request body.InvalidRequestException
- The request is invalid, please check parameters and their valuesElasticBeanstalkServiceException
public ListAvailableSolutionStacksResult listAvailableSolutionStacks(ListAvailableSolutionStacksRequest listAvailableSolutionStacksRequest)
Returns a list of the available solution stack names.
listAvailableSolutionStacks
in interface AWSElasticBeanstalk
listAvailableSolutionStacksRequest
- public ListAvailableSolutionStacksResult listAvailableSolutionStacks()
AWSElasticBeanstalk
listAvailableSolutionStacks
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.listAvailableSolutionStacks(ListAvailableSolutionStacksRequest)
public void rebuildEnvironment(RebuildEnvironmentRequest rebuildEnvironmentRequest)
Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a restart.
rebuildEnvironment
in interface AWSElasticBeanstalk
rebuildEnvironmentRequest
- InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic void requestEnvironmentInfo(RequestEnvironmentInfoRequest requestEnvironmentInfoRequest)
Initiates a request to compile the specified type of information of the deployed environment.
Setting the InfoType
to tail
compiles the last
lines from the application server log files of every Amazon EC2 instance
in your environment.
Setting the InfoType
to bundle
compresses the
application server log files for every Amazon EC2 instance into a
.zip
file. Legacy and .NET containers do not support bundle
logs.
Use RetrieveEnvironmentInfo to obtain the set of logs.
Related Topics
requestEnvironmentInfo
in interface AWSElasticBeanstalk
requestEnvironmentInfoRequest
- This documentation target is not reported in the API reference.public void restartAppServer(RestartAppServerRequest restartAppServerRequest)
Causes the environment to restart the application container server running on each Amazon EC2 instance.
restartAppServer
in interface AWSElasticBeanstalk
restartAppServerRequest
- public RetrieveEnvironmentInfoResult retrieveEnvironmentInfo(RetrieveEnvironmentInfoRequest retrieveEnvironmentInfoRequest)
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
retrieveEnvironmentInfo
in interface AWSElasticBeanstalk
retrieveEnvironmentInfoRequest
- This documentation target is not reported in the API reference.public void swapEnvironmentCNAMEs(SwapEnvironmentCNAMEsRequest swapEnvironmentCNAMEsRequest)
Swaps the CNAMEs of two environments.
swapEnvironmentCNAMEs
in interface AWSElasticBeanstalk
swapEnvironmentCNAMEsRequest
- Swaps the CNAMEs of two environments.public void swapEnvironmentCNAMEs()
AWSElasticBeanstalk
swapEnvironmentCNAMEs
in interface AWSElasticBeanstalk
AWSElasticBeanstalk.swapEnvironmentCNAMEs(SwapEnvironmentCNAMEsRequest)
public TerminateEnvironmentResult terminateEnvironment(TerminateEnvironmentRequest terminateEnvironmentRequest)
Terminates the specified environment.
terminateEnvironment
in interface AWSElasticBeanstalk
terminateEnvironmentRequest
- This documentation target is not reported in the API reference.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic UpdateApplicationResult updateApplication(UpdateApplicationRequest updateApplicationRequest)
Updates the specified application to have the specified properties.
description
) is not
provided, the value remains unchanged. To clear these properties, specify
an empty string. updateApplication
in interface AWSElasticBeanstalk
updateApplicationRequest
- This documentation target is not reported in the API reference.public UpdateApplicationVersionResult updateApplicationVersion(UpdateApplicationVersionRequest updateApplicationVersionRequest)
Updates the specified application version to have the specified properties.
description
) is not
provided, the value remains unchanged. To clear properties, specify an
empty string. updateApplicationVersion
in interface AWSElasticBeanstalk
updateApplicationVersionRequest
- public UpdateConfigurationTemplateResult updateConfigurationTemplate(UpdateConfigurationTemplateRequest updateConfigurationTemplateRequest)
Updates the specified configuration template to have the specified properties or configuration option values.
ApplicationName
) is not
provided, its value remains unchanged. To clear such properties, specify
an empty string. Related Topics
updateConfigurationTemplate
in interface AWSElasticBeanstalk
updateConfigurationTemplateRequest
- The result message containing the options for the specified
solution stack.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic UpdateEnvironmentResult updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)
Updates the environment description, deploys a new application version, updates the configuration settings to an entirely new configuration template, or updates select configuration option values in the running environment.
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.
updateEnvironment
in interface AWSElasticBeanstalk
updateEnvironmentRequest
- This documentation target is not reported in the API reference.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic ValidateConfigurationSettingsResult validateConfigurationSettings(ValidateConfigurationSettingsRequest validateConfigurationSettingsRequest)
Takes a set of configuration settings and either a configuration template or environment, and determines whether those values are valid.
This action returns a list of messages indicating any errors or warnings associated with the selection of option values.
validateConfigurationSettings
in interface AWSElasticBeanstalk
validateConfigurationSettingsRequest
- A list of validation messages for a specified configuration
template.InsufficientPrivilegesException
- Unable to perform the specified operation because the user does
not have enough privileges for one of more downstream aws
servicespublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AWSElasticBeanstalk
request
- The originally executed requestCopyright © 2015. All rights reserved.