Class ElasticBeanstalkClient
Client to interact with AWS Elastic Beanstalk
- Guzzle\Common\AbstractHasDispatcher implements Guzzle\Common\HasDispatcherInterface
- Guzzle\Http\Client implements Guzzle\Http\ClientInterface
- Guzzle\Service\Client implements Guzzle\Service\ClientInterface
- Aws\Common\Client\AbstractClient implements Aws\Common\Client\AwsClientInterface
- Aws\ElasticBeanstalk\ElasticBeanstalkClient
Link: User guide
Link: API docs
Located at Aws/ElasticBeanstalk/ElasticBeanstalkClient.php
Methods summary
-
public static
factory ( array|Collection $config = array() )
Factory method to create a new AWS Elastic Beanstalk client using an array of configuration options.
-
public
abortEnvironmentUpdate ( array $args = array() )
Executes the AbortEnvironmentUpdate operation.
-
public
checkDNSAvailability ( array $args = array() )
Executes the CheckDNSAvailability operation.
-
public
createApplication ( array $args = array() )
Executes the CreateApplication operation.
-
public
createApplicationVersion ( array $args = array() )
Executes the CreateApplicationVersion operation.
-
public
createConfigurationTemplate ( array $args = array() )
Executes the CreateConfigurationTemplate operation.
-
public
createEnvironment ( array $args = array() )
Executes the CreateEnvironment operation.
-
public
createStorageLocation ( array $args = array() )
Executes the CreateStorageLocation operation.
-
public
deleteApplication ( array $args = array() )
Executes the DeleteApplication operation.
-
public
deleteApplicationVersion ( array $args = array() )
Executes the DeleteApplicationVersion operation.
-
public
deleteConfigurationTemplate ( array $args = array() )
Executes the DeleteConfigurationTemplate operation.
-
public
deleteEnvironmentConfiguration ( array $args = array() )
Executes the DeleteEnvironmentConfiguration operation.
-
public
describeApplicationVersions ( array $args = array() )
Executes the DescribeApplicationVersions operation.
-
public
describeApplications ( array $args = array() )
Executes the DescribeApplications operation.
-
public
describeConfigurationOptions ( array $args = array() )
Executes the DescribeConfigurationOptions operation.
-
public
describeConfigurationSettings ( array $args = array() )
Executes the DescribeConfigurationSettings operation.
-
public
describeEnvironmentHealth ( array $args = array() )
Executes the DescribeEnvironmentHealth operation.
-
public
describeEnvironmentResources ( array $args = array() )
Executes the DescribeEnvironmentResources operation.
-
public
describeEnvironments ( array $args = array() )
Executes the DescribeEnvironments operation.
-
public
describeEvents ( array $args = array() )
Executes the DescribeEvents operation.
-
public
describeInstancesHealth ( array $args = array() )
Executes the DescribeInstancesHealth operation.
-
public
listAvailableSolutionStacks ( array $args = array() )
Executes the ListAvailableSolutionStacks operation.
-
public
rebuildEnvironment ( array $args = array() )
Executes the RebuildEnvironment operation.
-
public
requestEnvironmentInfo ( array $args = array() )
Executes the RequestEnvironmentInfo operation.
-
public
restartAppServer ( array $args = array() )
Executes the RestartAppServer operation.
-
public
retrieveEnvironmentInfo ( array $args = array() )
Executes the RetrieveEnvironmentInfo operation.
-
public
swapEnvironmentCNAMEs ( array $args = array() )
Executes the SwapEnvironmentCNAMEs operation.
-
public
terminateEnvironment ( array $args = array() )
Executes the TerminateEnvironment operation.
-
public
updateApplication ( array $args = array() )
Executes the UpdateApplication operation.
-
public
updateApplicationVersion ( array $args = array() )
Executes the UpdateApplicationVersion operation.
-
public
updateConfigurationTemplate ( array $args = array() )
Executes the UpdateConfigurationTemplate operation.
-
public
updateEnvironment ( array $args = array() )
Executes the UpdateEnvironment operation.
-
public
validateConfigurationSettings ( array $args = array() )
Executes the ValidateConfigurationSettings operation.
-
public
waitUntilEnvironmentReady ( array $input )
The input array uses the parameters of the DescribeEnvironments operation and waiter specific settings
-
public
waitUntilEnvironmentTerminated ( array $input )
The input array uses the parameters of the DescribeEnvironments operation and waiter specific settings
-
public
getDescribeApplicationVersionsIterator ( array $args = array() )
The input array uses the parameters of the DescribeApplicationVersions operation
-
public
getDescribeApplicationsIterator ( array $args = array() )
The input array uses the parameters of the DescribeApplications operation
-
public
getDescribeConfigurationOptionsIterator ( array $args = array() )
The input array uses the parameters of the DescribeConfigurationOptions operation
-
public
getDescribeEnvironmentsIterator ( array $args = array() )
The input array uses the parameters of the DescribeEnvironments operation
-
public
getDescribeEventsIterator ( array $args = array() )
The input array uses the parameters of the DescribeEvents operation
-
public
getListAvailableSolutionStacksIterator ( array $args = array() )
The input array uses the parameters of the ListAvailableSolutionStacks operation
Methods detail
public static
Aws\ElasticBeanstalk\ElasticBeanstalkClient
factory( array|Guzzle\Common\Collection
$config = array() )
Factory method to create a new AWS Elastic Beanstalk client using an array of configuration options.
Parameters
- $config
array|
Guzzle\Common\Collection
$config Client configuration data
Returns
Link
Overrides
Executes the AbortEnvironmentUpdate operation.
Cancels in-progress environment configuration update or application version deployment.
Examples
- Basic formatting example
$result = $client->abortEnvironmentUpdate(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)This specifies the ID of the environment with the in-progress update that you want to cancel.
-
EnvironmentName => (string)This specifies the name of the environment with the in-progress update that you want to cancel.
-
Returns
Executes the CheckDNSAvailability operation.
Checks if the specified CNAME is available.
Examples
- Basic formatting example
$result = $client->checkDNSAvailability(array( // CNAMEPrefix is required 'CNAMEPrefix' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
CNAMEPrefix => (string)The prefix used when this CNAME is reserved.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Available => (bool)Indicates if the specified CNAME is available:
true : The CNAME is available.
true : The CNAME is not available.
- true : The CNAME is available.
- false : The CNAME is not available.
-
FullyQualifiedCNAME => (string)The fully qualified CNAME to reserve when CreateEnvironment is called with the provided prefix.
Executes the CreateApplication operation.
Creates an application that has one configuration template named
Examples
- Basic formatting example
$result = $client->createApplication(array( // ApplicationName is required 'ApplicationName' => 'string', 'Description' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application.
Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.
-
Description => (string)Describes the application.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Application => (associative-array)The ApplicationDescription of the application.
-
ApplicationName => (string)The name of the application.
-
Description => (string)User-defined description of the application.
-
DateCreated => (string)The date when the application was created.
-
DateUpdated => (string)The date when the application was last modified.
-
Versions => (array<string>)The names of the versions for this application.
-
ConfigurationTemplates => (array<string>)The names of the configuration templates associated with this application.
-
Executes the CreateApplicationVersion operation.
Creates an application version for the specified application.
Once you create an application version with a specified Amazon S3 bucket and key location, you cannot change that Amazon S3 location. If you change the Amazon S3 location, you receive an exception when you attempt to launch an environment from the application version.Examples
- Basic formatting example
$result = $client->createApplicationVersion(array( // ApplicationName is required 'ApplicationName' => 'string', // VersionLabel is required 'VersionLabel' => 'string', 'Description' => 'string', 'SourceBundle' => array( 'S3Bucket' => 'string', 'S3Key' => 'string', ), 'AutoCreateApplication' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application. If no application is found with this name, and AutoCreateApplication is false, returns an InvalidParameterValue error.
-
VersionLabel => (string)A label identifying this version.
Constraint: Must be unique per application. If an application version already exists with this label for the specified application, AWS Elastic Beanstalk returns an InvalidParameterValue error.
-
Description => (string)Describes this version.
-
SourceBundle => (associative-array)The Amazon S3 bucket and key that identify the location of the source bundle for this version.
If data found at the Amazon S3 location exceeds the maximum allowed source bundle size, AWS Elastic Beanstalk returns an InvalidParameterValue error. The maximum size allowed is 512 MB.
Default: If not specified, AWS Elastic Beanstalk uses a sample application. If only partially specified (for example, a bucket is provided but not the key) or if no data is found at the Amazon S3 location, AWS Elastic Beanstalk returns an InvalidParameterCombination error.
-
S3Bucket => (string)The Amazon S3 bucket where the data is located.
-
S3Key => (string)The Amazon S3 key where the data is located.
-
-
AutoCreateApplication => (bool)Determines how the system behaves if the specified application for this version does not already exist:
true: Automatically creates the specified application for this version if it does not already exist.
false: Returns an InvalidParameterValue if the specified application for this version does not already exist.
- true : Automatically creates the specified application for this release if it does not already exist.
- false : Throws an InvalidParameterValue if the specified application for this release does not already exist.
Default: false
Valid Values: true | false
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ApplicationVersion => (associative-array)The ApplicationVersionDescription of the application version.
-
ApplicationName => (string)The name of the application associated with this release.
-
Description => (string)The description of this application version.
-
VersionLabel => (string)A label uniquely identifying the version for the associated application.
-
SourceBundle => (associative-array)The location where the source bundle is located for this version.
-
S3Bucket => (string)The Amazon S3 bucket where the data is located.
-
S3Key => (string)The Amazon S3 key where the data is located.
-
-
DateCreated => (string)The creation date of the application version.
-
DateUpdated => (string)The last modified date of the application version.
-
Executes the CreateConfigurationTemplate operation.
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
- DescribeConfigurationOptions
- DescribeConfigurationSettings
- ListAvailableSolutionStacks
Examples
- Basic formatting example
$result = $client->createConfigurationTemplate(array( // ApplicationName is required 'ApplicationName' => 'string', // TemplateName is required 'TemplateName' => 'string', 'SolutionStackName' => 'string', 'SourceConfiguration' => array( 'ApplicationName' => 'string', 'TemplateName' => 'string', ), 'EnvironmentId' => 'string', 'Description' => 'string', 'OptionSettings' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', 'Value' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
-
TemplateName => (string)The name of the configuration template.
Constraint: This name must be unique per application.
Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
-
SolutionStackName => (string)The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.
Use ListAvailableSolutionStacks to obtain a list of available solution stacks.
A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error.
If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.
-
SourceConfiguration => (associative-array)If specified, AWS Elastic Beanstalk uses the configuration values from the specified configuration template to create a new configuration.
Values specified in the OptionSettings parameter of this call overrides any values obtained from the SourceConfiguration.
If no configuration template is found, returns an InvalidParameterValue error.
Constraint: If both the solution stack name parameter and the source configuration parameters are specified, the solution stack of the source configuration template must match the specified solution stack name or else AWS Elastic Beanstalk returns an InvalidParameterCombination error.
-
ApplicationName => (string)The name of the application associated with the configuration.
-
TemplateName => (string)The name of the configuration template.
-
-
EnvironmentId => (string)The ID of the environment used with this configuration template.
-
Description => (string)Describes this configuration.
-
OptionSettings => (array<associative-array>)If specified, AWS Elastic Beanstalk sets the specified configuration option to the requested value. The new value overrides the value obtained from the solution stack or the source configuration template.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
SolutionStackName => (string)The name of the solution stack this configuration set uses.
-
ApplicationName => (string)The name of the application associated with this configuration set.
-
TemplateName => (string)If not null, the name of the configuration template for this configuration set.
-
Description => (string)Describes this configuration set.
-
EnvironmentName => (string)If not null, the name of the environment for this configuration set.
-
DeploymentStatus => (string)If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set:
null: This configuration is not associated with a running environment.
pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
deployed: This is the configuration that is currently deployed to the associated running environment.
failed: This is a draft configuration, that failed to successfully deploy.
- null: This configuration is not associated with a running environment.
- pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
- deployed: This is the configuration that is currently deployed to the associated running environment.
- failed: This is a draft configuration that failed to successfully deploy.
-
DateCreated => (string)The date (in UTC time) when this configuration set was created.
-
DateUpdated => (string)The date (in UTC time) when this configuration set was last modified.
-
OptionSettings => (array<associative-array>)A list of the configuration options and their values in this configuration set.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
Executes the CreateEnvironment operation.
Launches an environment for the specified application using the specified configuration.
Examples
- Basic formatting example
$result = $client->createEnvironment(array( // ApplicationName is required 'ApplicationName' => 'string', // EnvironmentName is required 'EnvironmentName' => 'string', 'Description' => 'string', 'CNAMEPrefix' => 'string', 'Tier' => array( 'Name' => 'string', 'Type' => 'string', 'Version' => 'string', ), 'Tags' => array( array( 'Key' => 'string', 'Value' => 'string', ), // ... repeated ), 'VersionLabel' => 'string', 'TemplateName' => 'string', 'SolutionStackName' => 'string', 'OptionSettings' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', 'Value' => 'string', ), // ... repeated ), 'OptionsToRemove' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application that contains the version to be deployed.
If no application is found with this name, CreateEnvironment returns an InvalidParameterValue error.
-
EnvironmentName => (string)A unique name for the deployment environment. Used in the application URL.
Constraint: Must be from 4 to 23 characters in length. The name can contain only letters, numbers, and hyphens. It cannot start or end with a hyphen. This name must be unique in your account. If the specified name already exists, AWS Elastic Beanstalk returns an InvalidParameterValue error.
Default: If the CNAME parameter is not specified, the environment name becomes part of the CNAME, and therefore part of the visible URL for your application.
-
Description => (string)Describes this environment.
-
CNAMEPrefix => (string)If specified, the environment attempts to use this value as the prefix for the CNAME. If not specified, the CNAME is generated automatically by appending a random alphanumeric string to the environment name.
-
Tier => (associative-array)This specifies the tier to use for creating this environment.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
-
Tags => (array<associative-array>)This specifies the tags applied to resources in the environment.
- (associative-array)
Describes a tag applied to a resource in an environment.
-
Key => (string)The key of the tag.
-
Value => (string)The value of the tag.
-
- (associative-array)
-
VersionLabel => (string)The name of the application version to deploy.
If the specified application has no associated application versions, AWS Elastic Beanstalk UpdateEnvironment returns an InvalidParameterValue error.
Default: If not specified, AWS Elastic Beanstalk attempts to launch the sample application in the container.
-
TemplateName => (string)The name of the configuration template to use in deployment. If no configuration template is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
Condition: You must specify either this parameter or a SolutionStackName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter error.
-
SolutionStackName => (string)This is an alternative to specifying a configuration name. If specified, AWS Elastic Beanstalk sets the configuration values to the default values associated with the specified solution stack.
Condition: You must specify either this or a TemplateName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter error.
-
OptionSettings => (array<associative-array>)If specified, AWS Elastic Beanstalk sets the specified configuration options to the requested value in the configuration set for the new environment. These override the values obtained from the solution stack or the configuration template.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
OptionsToRemove => (array<associative-array>)A list of custom user-defined configuration options to remove from the configuration set for this new environment.
- (associative-array)
A specification identifying an individual configuration option.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentName => (string)The name of this environment.
-
EnvironmentId => (string)The ID of this environment.
-
ApplicationName => (string)The name of the application associated with this environment.
-
VersionLabel => (string)The application version deployed in this environment.
-
SolutionStackName => (string)The name of the SolutionStack deployed with this environment.
-
TemplateName => (string)The name of the configuration template used to originally launch this environment.
-
Description => (string)Describes this environment.
-
EndpointURL => (string)For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
-
CNAME => (string)The URL to the CNAME for this environment.
-
DateCreated => (string)The creation date for this environment.
-
DateUpdated => (string)The last modified date for this environment.
-
Status => (string)The current operational status of the environment:
- Launching: Environment is in the process of initial deployment.
- Updating: Environment is in the process of updating its configuration settings or application version.
- Ready: Environment is available to have an action performed on it, such as update or terminate.
- Terminating: Environment is in the shut-down process.
- Terminated: Environment is not running.
-
AbortableOperationInProgress => (bool)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true: There is an update in progress.
false: There are no updates currently in progress.
-
Health => (string)Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
Red : Indicates the environment is not working.
Yellow: Indicates that something is wrong, the application might not be available, but the instances appear running.
Green: Indicates the environment is healthy and fully functional.
- Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
- Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
- Green: Indicates the environment is healthy and fully functional.
- Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironement request.
Default: Grey
-
HealthStatus => (string)Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
-
Resources => (associative-array)The description of the AWS resources used by this environment.
-
LoadBalancer => (associative-array)Describes the LoadBalancer.
-
LoadBalancerName => (string)The name of the LoadBalancer.
-
Domain => (string)The domain name of the LoadBalancer.
-
Listeners => (array<associative-array>)A list of Listeners used by the LoadBalancer.
- (associative-array)
Describes the properties of a Listener for the LoadBalancer.
-
Protocol => (string)The protocol that is used by the Listener.
-
Port => (int)The port that is used by the Listener.
-
- (associative-array)
-
-
-
Tier => (associative-array)Describes the current tier of this environment.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
Executes the CreateStorageLocation operation.
Creates the Amazon S3 storage location for the account.
This location is used to store user log files.
Examples
- Basic formatting example
$result = $client->createStorageLocation(array( ));
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
S3Bucket => (string)The name of the Amazon S3 bucket created.
Executes the DeleteApplication operation.
Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
You cannot delete an application that has a running environment.Examples
- Basic formatting example
$result = $client->deleteApplication(array( // ApplicationName is required 'ApplicationName' => 'string', 'TerminateEnvByForce' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application to delete.
-
TerminateEnvByForce => (bool)When set to true, running environments will be terminated before deleting the application.
-
Returns
Executes the DeleteApplicationVersion operation.
Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment.Examples
- Basic formatting example
$result = $client->deleteApplicationVersion(array( // ApplicationName is required 'ApplicationName' => 'string', // VersionLabel is required 'VersionLabel' => 'string', 'DeleteSourceBundle' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application to delete releases from.
-
VersionLabel => (string)The label of the version to delete.
-
DeleteSourceBundle => (bool)Indicates whether to delete the associated source bundle from Amazon S3:
- true: An attempt is made to delete the associated Amazon S3 source bundle specified at time of creation.
- false: No action is taken on the Amazon S3 source bundle specified at time of creation.
Valid Values: true | false
-
Returns
Executes the DeleteConfigurationTemplate operation.
Deletes the specified configuration template.
When you launch an environment using a configuration template, the environment gets a copy of the template. You can delete or modify the environment's copy of the template without affecting the running environment.Examples
- Basic formatting example
$result = $client->deleteConfigurationTemplate(array( // ApplicationName is required 'ApplicationName' => 'string', // TemplateName is required 'TemplateName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application to delete the configuration template from.
-
TemplateName => (string)The name of the configuration template to delete.
-
Returns
Executes the DeleteEnvironmentConfiguration operation.
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
Examples
- Basic formatting example
$result = $client->deleteEnvironmentConfiguration(array( // ApplicationName is required 'ApplicationName' => 'string', // EnvironmentName is required 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application the environment is associated with.
-
EnvironmentName => (string)The name of the environment to delete the draft configuration from.
-
Returns
Executes the DescribeApplicationVersions operation.
Returns descriptions for existing application versions.
Examples
- Basic formatting example
$result = $client->describeApplicationVersions(array( 'ApplicationName' => 'string', 'VersionLabels' => array('string', ... ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include ones that are associated with the specified application.
-
VersionLabels => (array<string>)If specified, restricts the returned descriptions to only include ones that have the specified version labels.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ApplicationVersions => (array<associative-array>)A list of ApplicationVersionDescription .
- (associative-array)
Describes the properties of an application version.
-
ApplicationName => (string)The name of the application associated with this release.
-
Description => (string)The description of this application version.
-
VersionLabel => (string)A label uniquely identifying the version for the associated application.
-
SourceBundle => (associative-array)The location where the source bundle is located for this version.
-
S3Bucket => (string)The Amazon S3 bucket where the data is located.
-
S3Key => (string)The Amazon S3 key where the data is located.
-
-
DateCreated => (string)The creation date of the application version.
-
DateUpdated => (string)The last modified date of the application version.
-
- (associative-array)
Executes the DescribeApplications operation.
Returns the descriptions of existing applications.
Examples
- Basic formatting example
$result = $client->describeApplications(array( 'ApplicationNames' => array('string', ... ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationNames => (array<string>)If specified, AWS Elastic Beanstalk restricts the returned descriptions to only include those with the specified names.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Applications => (array<associative-array>)This parameter contains a list of ApplicationDescription.
- (associative-array)
Describes the properties of an application.
-
ApplicationName => (string)The name of the application.
-
Description => (string)User-defined description of the application.
-
DateCreated => (string)The date when the application was created.
-
DateUpdated => (string)The date when the application was last modified.
-
Versions => (array<string>)The names of the versions for this application.
-
ConfigurationTemplates => (array<string>)The names of the configuration templates associated with this application.
-
- (associative-array)
Executes the DescribeConfigurationOptions operation.
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.
Examples
- Basic formatting example
$result = $client->describeConfigurationOptions(array( 'ApplicationName' => 'string', 'TemplateName' => 'string', 'EnvironmentName' => 'string', 'SolutionStackName' => 'string', 'Options' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application associated with the configuration template or environment. Only needed if you want to describe the configuration options associated with either the configuration template or environment.
-
TemplateName => (string)The name of the configuration template whose configuration options you want to describe.
-
EnvironmentName => (string)The name of the environment whose configuration options you want to describe.
-
SolutionStackName => (string)The name of the solution stack whose configuration options you want to describe.
-
Options => (array<associative-array>)If specified, restricts the descriptions to only the specified options.
- (associative-array)
A specification identifying an individual configuration option.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
SolutionStackName => (string)The name of the solution stack these configuration options belong to.
-
Options => (array<associative-array>)A list of ConfigurationOptionDescription.
- (associative-array)
Describes the possible values for a configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
Name => (string)The name of the configuration option.
-
DefaultValue => (string)The default value for this configuration option.
-
ChangeSeverity => (string)An indication of which action is required if the value for this configuration option changes:
NoInterruption - There is no interruption to the environment or application availability.
RestartEnvironment - The environment is restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
RestartApplicationServer - The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
- NoInterruption : There is no interruption to the environment or application availability.
- RestartEnvironment : The environment is entirely restarted, all AWS resources are deleted and recreated, and the environment is unavailable during the process.
- RestartApplicationServer : The environment is available the entire time. However, a short application outage occurs when the application servers on the running Amazon EC2 instances are restarted.
-
UserDefined => (bool)An indication of whether the user defined this configuration option:
true : This configuration option was defined by the user. It is a valid choice for specifying this as an Option to Remove when updating configuration settings.
false : This configuration was not defined by the user.
-
true : This configuration option was defined by the user. It is a valid choice for specifying if this as an Option to Remove when updating configuration settings.
- false : This configuration was not defined by the user.
Constraint: You can remove only UserDefined options from a configuration.
Valid Values: true | false
-
-
ValueType => (string)An indication of which type of values this option has and whether it is allowable to select one or more than one of the possible values:
Scalar : Values for this option are a single selection from the possible values, or a unformatted string or numeric value governed by the MIN/MAX/Regex constraints:
List : Values for this option are multiple selections of the possible values.
Boolean : Values for this option are either true or false .
Json : Values for this option are a JSON representation of a ConfigDocument.
- Scalar : Values for this option are a single selection from the possible values, or an unformatted string, or numeric value governed by the MIN/MAX/Regex constraints.
- List : Values for this option are multiple selections from the possible values.
- Boolean : Values for this option are either true or false .
- Json : Values for this option are a JSON representation of a ConfigDocument.
-
ValueOptions => (array<string>)If specified, values for the configuration option are selected from this list.
-
MinValue => (int)If specified, the configuration option must be a numeric value greater than this value.
-
MaxValue => (int)If specified, the configuration option must be a numeric value less than this value.
-
MaxLength => (int)If specified, the configuration option must be a string value no longer than this value.
-
Regex => (associative-array)If specified, the configuration option must be a string value that satisfies this regular expression.
-
Pattern => (string)The regular expression pattern that a string configuration option value with this restriction must match.
-
Label => (string)A unique name representing this regular expression.
-
-
- (associative-array)
Executes the DescribeConfigurationSettings operation.
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
- DeleteEnvironmentConfiguration
Examples
- Basic formatting example
$result = $client->describeConfigurationSettings(array( // ApplicationName is required 'ApplicationName' => 'string', 'TemplateName' => 'string', 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The application for the environment or configuration template.
-
TemplateName => (string)The name of the configuration template to describe.
Conditional: You must specify either this parameter or an EnvironmentName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns a MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to describe.
Condition: You must specify either this or a TemplateName, but not both. If you specify both, AWS Elastic Beanstalk returns an InvalidParameterCombination error. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ConfigurationSettings => (array<associative-array>)A list of ConfigurationSettingsDescription.
- (associative-array)
Describes the settings for a configuration set.
-
SolutionStackName => (string)The name of the solution stack this configuration set uses.
-
ApplicationName => (string)The name of the application associated with this configuration set.
-
TemplateName => (string)If not null, the name of the configuration template for this configuration set.
-
Description => (string)Describes this configuration set.
-
EnvironmentName => (string)If not null, the name of the environment for this configuration set.
-
DeploymentStatus => (string)If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set:
null: This configuration is not associated with a running environment.
pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
deployed: This is the configuration that is currently deployed to the associated running environment.
failed: This is a draft configuration, that failed to successfully deploy.
- null: This configuration is not associated with a running environment.
- pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
- deployed: This is the configuration that is currently deployed to the associated running environment.
- failed: This is a draft configuration that failed to successfully deploy.
-
DateCreated => (string)The date (in UTC time) when this configuration set was created.
-
DateUpdated => (string)The date (in UTC time) when this configuration set was last modified.
-
OptionSettings => (array<associative-array>)A list of the configuration options and their values in this configuration set.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
- (associative-array)
Executes the DescribeEnvironmentHealth operation.
Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.
Examples
- Basic formatting example
$result = $client->describeEnvironmentHealth(array( 'EnvironmentName' => 'string', 'EnvironmentId' => 'string', 'AttributeNames' => array('string', ... ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentName => (string)Specifies the AWS Elastic Beanstalk environment name.
-
EnvironmentId => (string)Specifies the AWS Elastic Beanstalk environment ID.
-
AttributeNames => (array<string:Status |Color |Causes |ApplicationMetrics |InstancesHealth |All |HealthStatus |RefreshedAt >)Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk returns all response elements.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentName => (string)The AWS Elastic Beanstalk environment name.
-
HealthStatus => (string)Contains the response body with information about the health of the environment.
-
Status => (string)Returns the health status value of the environment. For more information, see Health Colors and Statuses.
-
Color => (string)Returns the color indicator that tells you information about the health of the environment. For more information, see Health Colors and Statuses.
-
Causes => (array<string>)Returns potential causes for the reported status.
-
ApplicationMetrics => (associative-array)Represents the application metrics for a specified environment.
-
Duration => (int)The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration).
-
RequestCount => (int)Average number of requests handled by the web server per second over the last 10 seconds.
-
StatusCodes => (associative-array)Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
-
Status2xx => (int)The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
-
Status3xx => (int)The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
-
Status4xx => (int)The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
-
Status5xx => (int)The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
-
-
Latency => (associative-array)Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one milisecond resolution.
-
P999 => (int)The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
-
P99 => (int)The average latency for the slowest 1 percent of requests over the last 10 seconds.
-
P95 => (int)The average latency for the slowest 5 percent of requests over the last 10 seconds.
-
P90 => (int)The average latency for the slowest 10 percent of requests over the last 10 seconds.
-
P85 => (int)The average latency for the slowest 15 percent of requests over the last 10 seconds.
-
P75 => (int)The average latency for the slowest 25 percent of requests over the last 10 seconds.
-
P50 => (int)The average latency for the slowest 50 percent of requests over the last 10 seconds.
-
P10 => (int)The average latency for the slowest 90 percent of requests over the last 10 seconds.
-
-
-
InstancesHealth => (associative-array)Represents summary information about the health of an instance. For more information, see Health Colors and Statuses.
-
NoData => (int)Grey. AWS Elastic Beanstalk and the health agent are reporting no data on an instance.
-
Unknown => (int)Grey. AWS Elastic Beanstalk and the health agent are reporting an insufficient amount of data on an instance.
-
Pending => (int)Grey. An operation is in progress on an instance within the command timeout.
-
Ok => (int)Green. An instance is passing health checks and the health agent is not reporting any problems.
-
Info => (int)Green. An operation is in progress on an instance.
-
Warning => (int)Yellow. The health agent is reporting a moderate number of request failures or other issues for an instance or environment.
-
Degraded => (int)Red. The health agent is reporting a high number of request failures or other issues for an instance or environment.
-
Severe => (int)Red. The health agent is reporting a very high number of request failures or other issues for an instance or environment.
-
-
RefreshedAt => (string)The date and time the information was last refreshed.
Executes the DescribeEnvironmentResources operation.
Returns AWS resources for this environment.
Examples
- Basic formatting example
$result = $client->describeEnvironmentResources(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentResources => (associative-array)A list of EnvironmentResourceDescription.
-
EnvironmentName => (string)The name of the environment.
-
AutoScalingGroups => (array<associative-array>)The AutoScalingGroups used by this environment.
- (associative-array)
Describes an Auto Scaling launch configuration.
-
Name => (string)The name of the AutoScalingGroup .
-
- (associative-array)
-
Instances => (array<associative-array>)The Amazon EC2 instances used by this environment.
- (associative-array)
The description of an Amazon EC2 instance.
-
Id => (string)The ID of the Amazon EC2 instance.
-
- (associative-array)
-
LaunchConfigurations => (array<associative-array>)The Auto Scaling launch configurations in use by this environment.
- (associative-array)
Describes an Auto Scaling launch configuration.
-
Name => (string)The name of the launch configuration.
-
- (associative-array)
-
LoadBalancers => (array<associative-array>)The LoadBalancers in use by this environment.
- (associative-array)
Describes a LoadBalancer.
-
Name => (string)The name of the LoadBalancer.
-
- (associative-array)
-
Triggers => (array<associative-array>)The AutoScaling triggers in use by this environment.
- (associative-array)
Describes a trigger.
-
Name => (string)The name of the trigger.
-
- (associative-array)
-
Queues => (array<associative-array>)The queues used by this environment.
- (associative-array)
Describes a queue.
-
Name => (string)The name of the queue.
-
URL => (string)The URL of the queue.
-
- (associative-array)
-
Executes the DescribeEnvironments operation.
Returns descriptions for existing environments.
Examples
- Basic formatting example
$result = $client->describeEnvironments(array( 'ApplicationName' => 'string', 'VersionLabel' => 'string', 'EnvironmentIds' => array('string', ... ), 'EnvironmentNames' => array('string', ... ), 'IncludeDeleted' => true || false, 'IncludedDeletedBackTo' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
-
VersionLabel => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
-
EnvironmentIds => (array<string>)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
-
EnvironmentNames => (array<string>)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
-
IncludeDeleted => (bool)Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
-
IncludedDeletedBackTo => (string [date format]|int [unix timestamp]|\DateTime)If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Environments => (array<associative-array>)Returns an EnvironmentDescription list.
- (associative-array)
Describes the properties of an environment.
-
EnvironmentName => (string)The name of this environment.
-
EnvironmentId => (string)The ID of this environment.
-
ApplicationName => (string)The name of the application associated with this environment.
-
VersionLabel => (string)The application version deployed in this environment.
-
SolutionStackName => (string)The name of the SolutionStack deployed with this environment.
-
TemplateName => (string)The name of the configuration template used to originally launch this environment.
-
Description => (string)Describes this environment.
-
EndpointURL => (string)For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
-
CNAME => (string)The URL to the CNAME for this environment.
-
DateCreated => (string)The creation date for this environment.
-
DateUpdated => (string)The last modified date for this environment.
-
Status => (string)The current operational status of the environment:
- Launching: Environment is in the process of initial deployment.
- Updating: Environment is in the process of updating its configuration settings or application version.
- Ready: Environment is available to have an action performed on it, such as update or terminate.
- Terminating: Environment is in the shut-down process.
- Terminated: Environment is not running.
-
AbortableOperationInProgress => (bool)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true: There is an update in progress.
false: There are no updates currently in progress.
-
Health => (string)Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
Red : Indicates the environment is not working.
Yellow: Indicates that something is wrong, the application might not be available, but the instances appear running.
Green: Indicates the environment is healthy and fully functional.
- Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
- Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
- Green: Indicates the environment is healthy and fully functional.
- Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironement request.
Default: Grey
-
HealthStatus => (string)Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
-
Resources => (associative-array)The description of the AWS resources used by this environment.
-
LoadBalancer => (associative-array)Describes the LoadBalancer.
-
LoadBalancerName => (string)The name of the LoadBalancer.
-
Domain => (string)The domain name of the LoadBalancer.
-
Listeners => (array<associative-array>)A list of Listeners used by the LoadBalancer.
- (associative-array)
Describes the properties of a Listener for the LoadBalancer.
-
Protocol => (string)The protocol that is used by the Listener.
-
Port => (int)The port that is used by the Listener.
-
- (associative-array)
-
-
-
Tier => (associative-array)Describes the current tier of this environment.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
-
- (associative-array)
Executes the DescribeEvents operation.
Returns list of event descriptions matching criteria up to the last 6 weeks.
This action returns the most recent 1,000 events from the specifiedExamples
- Basic formatting example
$result = $client->describeEvents(array( 'ApplicationName' => 'string', 'VersionLabel' => 'string', 'TemplateName' => 'string', 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', 'RequestId' => 'string', 'Severity' => 'string', 'StartTime' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', 'EndTime' => 'mixed type: string (date format)|int (unix timestamp)|\DateTime', 'MaxRecords' => integer, 'NextToken' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
-
VersionLabel => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
-
TemplateName => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
-
EnvironmentId => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
-
EnvironmentName => (string)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
-
RequestId => (string)If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
-
Severity => (string:TRACE |DEBUG |INFO |WARN |ERROR |FATAL )If specified, limits the events returned from this call to include only those with the specified severity or higher.
-
StartTime => (string [date format]|int [unix timestamp]|\DateTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
-
EndTime => (string [date format]|int [unix timestamp]|\DateTime)If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime.
-
MaxRecords => (int)Specifies the maximum number of events that can be returned, beginning with the most recent event.
-
NextToken => (string)Pagination token. If specified, the events return the next batch of results.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Events => (array<associative-array>)A list of EventDescription.
- (associative-array)
Describes an event.
-
EventDate => (string)The date when the event occurred.
-
Message => (string)The event message.
-
ApplicationName => (string)The application associated with the event.
-
VersionLabel => (string)The release label for the application version associated with this event.
-
TemplateName => (string)The name of the configuration associated with this event.
-
EnvironmentName => (string)The name of the environment associated with this event.
-
RequestId => (string)The web service request ID for the activity of this event.
-
Severity => (string)The severity level of this event.
-
- (associative-array)
-
NextToken => (string)If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.
Executes the DescribeInstancesHealth operation.
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.
Examples
- Basic formatting example
$result = $client->describeInstancesHealth(array( 'EnvironmentName' => 'string', 'EnvironmentId' => 'string', 'AttributeNames' => array('string', ... ), 'NextToken' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentName => (string)Specifies the AWS Elastic Beanstalk environment name.
-
EnvironmentId => (string)Specifies the AWS Elastic Beanstalk environment ID.
-
AttributeNames => (array<string:HealthStatus |Color |Causes |ApplicationMetrics |RefreshedAt |LaunchedAt |System |All >)Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk returns all response elements.
-
NextToken => (string)Specifies the next token of the request.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
InstanceHealthList => (array<associative-array>)Contains the response body with information about the health of the instance.
- (associative-array)
Represents health information from the specified instance that belongs to the AWS Elastic Beanstalk environment. Use the InstanceId property to specify the application instance for which you'd like to return data.
-
InstanceId => (string)The ID of the Amazon EC2 instance.
-
HealthStatus => (string)Returns the health status of the specified instance. For more information, see .
-
Color => (string)Represents the color indicator that gives you information about the health of the EC2 instance. For more information, see Health Colors and Statuses.
-
Causes => (array<string>)Represents the causes, which provide more information about the current health status.
-
LaunchedAt => (string)The time at which the EC2 instance was launched.
-
ApplicationMetrics => (associative-array)Represents the application metrics for a specified environment.
-
Duration => (int)The amount of time that the metrics cover (usually 10 seconds). For example, you might have 5 requests (request_count) within the most recent time slice of 10 seconds (duration).
-
RequestCount => (int)Average number of requests handled by the web server per second over the last 10 seconds.
-
StatusCodes => (associative-array)Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response.
-
Status2xx => (int)The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
-
Status3xx => (int)The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
-
Status4xx => (int)The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
-
Status5xx => (int)The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
-
-
Latency => (associative-array)Represents the average latency for the slowest X percent of requests over the last 10 seconds. Latencies are in seconds with one milisecond resolution.
-
P999 => (int)The average latency for the slowest 0.1 percent of requests over the last 10 seconds.
-
P99 => (int)The average latency for the slowest 1 percent of requests over the last 10 seconds.
-
P95 => (int)The average latency for the slowest 5 percent of requests over the last 10 seconds.
-
P90 => (int)The average latency for the slowest 10 percent of requests over the last 10 seconds.
-
P85 => (int)The average latency for the slowest 15 percent of requests over the last 10 seconds.
-
P75 => (int)The average latency for the slowest 25 percent of requests over the last 10 seconds.
-
P50 => (int)The average latency for the slowest 50 percent of requests over the last 10 seconds.
-
P10 => (int)The average latency for the slowest 90 percent of requests over the last 10 seconds.
-
-
-
System => (associative-array)Represents CPU utilization and load average information for applications running in the specified environment.
-
CPUUtilization => (associative-array)Represents CPU utilization information from the specified instance that belongs to the AWS Elastic Beanstalk environment. Use the instanceId property to specify the application instance for which you'd like to return data.
-
User => (int)Percentage of time that the CPU has spent in the User state over the last 10 seconds.
-
Nice => (int)Percentage of time that the CPU has spent in the Nice state over the last 10 seconds.
-
System => (int)Percentage of time that the CPU has spent in the System state over the last 10 seconds.
-
Idle => (int)Percentage of time that the CPU has spent in the Idle state over the last 10 seconds.
-
IOWait => (int)Percentage of time that the CPU has spent in the I/O Wait state over the last 10 seconds.
-
IRQ => (int)Percentage of time that the CPU has spent in the IRQ state over the last 10 seconds.
-
SoftIRQ => (int)Percentage of time that the CPU has spent in the SoftIRQ state over the last 10 seconds.
-
-
LoadAverage => (array<int>)Load average in the last 1-minute and 5-minute periods. For more information, see Operating System Metrics.
-
-
- (associative-array)
-
RefreshedAt => (string)The date and time the information was last refreshed.
-
NextToken => (string)The next token.
Executes the ListAvailableSolutionStacks operation.
Returns a list of the available solution stack names.
Examples
- Basic formatting example
$result = $client->listAvailableSolutionStacks(array( ));
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
SolutionStacks => (array<string>)A list of available solution stacks.
-
SolutionStackDetails => (array<associative-array>)A list of available solution stacks and their SolutionStackDescription.
- (associative-array)
Describes the solution stack.
-
SolutionStackName => (string)The name of the solution stack.
-
PermittedFileTypes => (array<string>)The permitted file types allowed for a solution stack.
-
- (associative-array)
Executes the RebuildEnvironment operation.
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.
Examples
- Basic formatting example
$result = $client->rebuildEnvironment(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment to rebuild.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to rebuild.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
Returns
Executes the RequestEnvironmentInfo operation.
Initiates a request to compile the specified type of information of the deployed environment.
Setting the
Setting the
Use RetrieveEnvironmentInfo to obtain the set of logs.
Related Topics
- RetrieveEnvironmentInfo
Examples
- Basic formatting example
$result = $client->requestEnvironmentInfo(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', // InfoType is required 'InfoType' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
InfoType => (string:tail |bundle )The type of information to request.
-
Returns
Executes the RestartAppServer operation.
Causes the environment to restart the application container server running on each Amazon EC2 instance.
Examples
- Basic formatting example
$result = $client->restartAppServer(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to restart the server for.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
Returns
Executes the RetrieveEnvironmentInfo operation.
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
- RequestEnvironmentInfo
Examples
- Basic formatting example
$result = $client->retrieveEnvironmentInfo(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', // InfoType is required 'InfoType' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the data's environment.
If no such environment is found, returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the data's environment.
If no such environment is found, returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
InfoType => (string:tail |bundle )The type of information to retrieve.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentInfo => (array<associative-array>)The EnvironmentInfoDescription of the environment.
- (associative-array)
The information retrieved from the Amazon EC2 instances.
-
InfoType => (string)The type of information retrieved.
-
Ec2InstanceId => (string)The Amazon EC2 Instance ID for this information.
-
SampleTimestamp => (string)The time stamp when this information was retrieved.
-
Message => (string)The retrieved information.
-
- (associative-array)
Executes the SwapEnvironmentCNAMEs operation.
Swaps the CNAMEs of two environments.
Examples
- Basic formatting example
$result = $client->swapEnvironmentCNAMEs(array( 'SourceEnvironmentId' => 'string', 'SourceEnvironmentName' => 'string', 'DestinationEnvironmentId' => 'string', 'DestinationEnvironmentName' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
SourceEnvironmentId => (string)The ID of the source environment.
Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentId, you must specify the DestinationEnvironmentId.
-
SourceEnvironmentName => (string)The name of the source environment.
Condition: You must specify at least the SourceEnvironmentID or the SourceEnvironmentName. You may also specify both. If you specify the SourceEnvironmentName, you must specify the DestinationEnvironmentName.
-
DestinationEnvironmentId => (string)The ID of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentId with the DestinationEnvironmentId.
-
DestinationEnvironmentName => (string)The name of the destination environment.
Condition: You must specify at least the DestinationEnvironmentID or the DestinationEnvironmentName. You may also specify both. You must specify the SourceEnvironmentName with the DestinationEnvironmentName.
-
Returns
Executes the TerminateEnvironment operation.
Terminates the specified environment.
Examples
- Basic formatting example
$result = $client->terminateEnvironment(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', 'TerminateResources' => true || false, ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment to terminate.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to terminate.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
TerminateResources => (bool)Indicates whether the associated AWS resources should shut down when the environment is terminated:
true: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.
false: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.
- true: The specified environment as well as the associated AWS resources, such as Auto Scaling group and LoadBalancer, are terminated.
- false: AWS Elastic Beanstalk resource management is removed from the environment, but the AWS resources continue to operate.
For more information, see the AWS Elastic Beanstalk User Guide.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentName => (string)The name of this environment.
-
EnvironmentId => (string)The ID of this environment.
-
ApplicationName => (string)The name of the application associated with this environment.
-
VersionLabel => (string)The application version deployed in this environment.
-
SolutionStackName => (string)The name of the SolutionStack deployed with this environment.
-
TemplateName => (string)The name of the configuration template used to originally launch this environment.
-
Description => (string)Describes this environment.
-
EndpointURL => (string)For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
-
CNAME => (string)The URL to the CNAME for this environment.
-
DateCreated => (string)The creation date for this environment.
-
DateUpdated => (string)The last modified date for this environment.
-
Status => (string)The current operational status of the environment:
- Launching: Environment is in the process of initial deployment.
- Updating: Environment is in the process of updating its configuration settings or application version.
- Ready: Environment is available to have an action performed on it, such as update or terminate.
- Terminating: Environment is in the shut-down process.
- Terminated: Environment is not running.
-
AbortableOperationInProgress => (bool)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true: There is an update in progress.
false: There are no updates currently in progress.
-
Health => (string)Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
Red : Indicates the environment is not working.
Yellow: Indicates that something is wrong, the application might not be available, but the instances appear running.
Green: Indicates the environment is healthy and fully functional.
- Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
- Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
- Green: Indicates the environment is healthy and fully functional.
- Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironement request.
Default: Grey
-
HealthStatus => (string)Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
-
Resources => (associative-array)The description of the AWS resources used by this environment.
-
LoadBalancer => (associative-array)Describes the LoadBalancer.
-
LoadBalancerName => (string)The name of the LoadBalancer.
-
Domain => (string)The domain name of the LoadBalancer.
-
Listeners => (array<associative-array>)A list of Listeners used by the LoadBalancer.
- (associative-array)
Describes the properties of a Listener for the LoadBalancer.
-
Protocol => (string)The protocol that is used by the Listener.
-
Port => (int)The port that is used by the Listener.
-
- (associative-array)
-
-
-
Tier => (associative-array)Describes the current tier of this environment.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
Executes the UpdateApplication operation.
Updates the specified application to have the specified properties.
If a property (for example,Examples
- Basic formatting example
$result = $client->updateApplication(array( // ApplicationName is required 'ApplicationName' => 'string', 'Description' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application to update. If no such application is found, UpdateApplication returns an InvalidParameterValue error.
-
Description => (string)A new description for the application.
Default: If not specified, AWS Elastic Beanstalk does not update the description.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Application => (associative-array)The ApplicationDescription of the application.
-
ApplicationName => (string)The name of the application.
-
Description => (string)User-defined description of the application.
-
DateCreated => (string)The date when the application was created.
-
DateUpdated => (string)The date when the application was last modified.
-
Versions => (array<string>)The names of the versions for this application.
-
ConfigurationTemplates => (array<string>)The names of the configuration templates associated with this application.
-
Executes the UpdateApplicationVersion operation.
Updates the specified application version to have the specified properties.
If a property (for example,Examples
- Basic formatting example
$result = $client->updateApplicationVersion(array( // ApplicationName is required 'ApplicationName' => 'string', // VersionLabel is required 'VersionLabel' => 'string', 'Description' => 'string', ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application associated with this version.
If no application is found with this name, UpdateApplication returns an InvalidParameterValue error.
-
VersionLabel => (string)The name of the version to update.
If no application version is found with this label, UpdateApplication returns an InvalidParameterValue error.
-
Description => (string)A new description for this release.
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
ApplicationVersion => (associative-array)The ApplicationVersionDescription of the application version.
-
ApplicationName => (string)The name of the application associated with this release.
-
Description => (string)The description of this application version.
-
VersionLabel => (string)A label uniquely identifying the version for the associated application.
-
SourceBundle => (associative-array)The location where the source bundle is located for this version.
-
S3Bucket => (string)The Amazon S3 bucket where the data is located.
-
S3Key => (string)The Amazon S3 key where the data is located.
-
-
DateCreated => (string)The creation date of the application version.
-
DateUpdated => (string)The last modified date of the application version.
-
Executes the UpdateConfigurationTemplate operation.
Updates the specified configuration template to have the specified properties or configuration option values.
If a property (for example,Related Topics
- DescribeConfigurationOptions
Examples
- Basic formatting example
$result = $client->updateConfigurationTemplate(array( // ApplicationName is required 'ApplicationName' => 'string', // TemplateName is required 'TemplateName' => 'string', 'Description' => 'string', 'OptionSettings' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', 'Value' => 'string', ), // ... repeated ), 'OptionsToRemove' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application associated with the configuration template to update.
If no application is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.
-
TemplateName => (string)The name of the configuration template to update.
If no configuration template is found with this name, UpdateConfigurationTemplate returns an InvalidParameterValue error.
-
Description => (string)A new description for the configuration.
-
OptionSettings => (array<associative-array>)A list of configuration option settings to update with the new specified option value.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
OptionsToRemove => (array<associative-array>)A list of configuration options to remove from the configuration set.
Constraint: You can remove only UserDefined configuration options.
- (associative-array)
A specification identifying an individual configuration option.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
SolutionStackName => (string)The name of the solution stack this configuration set uses.
-
ApplicationName => (string)The name of the application associated with this configuration set.
-
TemplateName => (string)If not null, the name of the configuration template for this configuration set.
-
Description => (string)Describes this configuration set.
-
EnvironmentName => (string)If not null, the name of the environment for this configuration set.
-
DeploymentStatus => (string)If this configuration set is associated with an environment, the DeploymentStatus parameter indicates the deployment status of this configuration set:
null: This configuration is not associated with a running environment.
pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
deployed: This is the configuration that is currently deployed to the associated running environment.
failed: This is a draft configuration, that failed to successfully deploy.
- null: This configuration is not associated with a running environment.
- pending: This is a draft configuration that is not deployed to the associated environment but is in the process of deploying.
- deployed: This is the configuration that is currently deployed to the associated running environment.
- failed: This is a draft configuration that failed to successfully deploy.
-
DateCreated => (string)The date (in UTC time) when this configuration set was created.
-
DateUpdated => (string)The date (in UTC time) when this configuration set was last modified.
-
OptionSettings => (array<associative-array>)A list of the configuration options and their values in this configuration set.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
Executes the UpdateEnvironment operation.
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
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
Examples
- Basic formatting example
$result = $client->updateEnvironment(array( 'EnvironmentId' => 'string', 'EnvironmentName' => 'string', 'Description' => 'string', 'Tier' => array( 'Name' => 'string', 'Type' => 'string', 'Version' => 'string', ), 'VersionLabel' => 'string', 'TemplateName' => 'string', 'SolutionStackName' => 'string', 'OptionSettings' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', 'Value' => 'string', ), // ... repeated ), 'OptionsToRemove' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
EnvironmentId => (string)The ID of the environment to update.
If no environment with this ID exists, AWS Elastic Beanstalk returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
EnvironmentName => (string)The name of the environment to update. If no environment with this name exists, AWS Elastic Beanstalk returns an InvalidParameterValue error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
-
Description => (string)If this parameter is specified, AWS Elastic Beanstalk updates the description of this environment.
-
Tier => (associative-array)This specifies the tier to use to update the environment.
Condition: At this time, if you change the tier version, name, or type, AWS Elastic Beanstalk returns InvalidParameterValue error.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
-
VersionLabel => (string)If this parameter is specified, AWS Elastic Beanstalk deploys the named application version to the environment. If no such application version is found, returns an InvalidParameterValue error.
-
TemplateName => (string)If this parameter is specified, AWS Elastic Beanstalk deploys this configuration template to the environment. If no such configuration template is found, AWS Elastic Beanstalk returns an InvalidParameterValue error.
-
SolutionStackName => (string)This specifies the platform version that the environment will run after the environment is updated.
-
OptionSettings => (array<associative-array>)If specified, AWS Elastic Beanstalk updates the configuration set associated with the running environment and sets the specified configuration options to the requested value.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
OptionsToRemove => (array<associative-array>)A list of custom user-defined configuration options to remove from the configuration set for this environment.
- (associative-array)
A specification identifying an individual configuration option.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
EnvironmentName => (string)The name of this environment.
-
EnvironmentId => (string)The ID of this environment.
-
ApplicationName => (string)The name of the application associated with this environment.
-
VersionLabel => (string)The application version deployed in this environment.
-
SolutionStackName => (string)The name of the SolutionStack deployed with this environment.
-
TemplateName => (string)The name of the configuration template used to originally launch this environment.
-
Description => (string)Describes this environment.
-
EndpointURL => (string)For load-balanced, autoscaling environments, the URL to the LoadBalancer. For single-instance environments, the IP address of the instance.
-
CNAME => (string)The URL to the CNAME for this environment.
-
DateCreated => (string)The creation date for this environment.
-
DateUpdated => (string)The last modified date for this environment.
-
Status => (string)The current operational status of the environment:
- Launching: Environment is in the process of initial deployment.
- Updating: Environment is in the process of updating its configuration settings or application version.
- Ready: Environment is available to have an action performed on it, such as update or terminate.
- Terminating: Environment is in the shut-down process.
- Terminated: Environment is not running.
-
AbortableOperationInProgress => (bool)Indicates if there is an in-progress environment configuration update or application version deployment that you can cancel.
true: There is an update in progress.
false: There are no updates currently in progress.
-
Health => (string)Describes the health status of the environment. AWS Elastic Beanstalk indicates the failure levels for a running environment:
Red : Indicates the environment is not working.
Yellow: Indicates that something is wrong, the application might not be available, but the instances appear running.
Green: Indicates the environment is healthy and fully functional.
- Red: Indicates the environment is not responsive. Occurs when three or more consecutive failures occur for an environment.
- Yellow: Indicates that something is wrong. Occurs when two consecutive failures occur for an environment.
- Green: Indicates the environment is healthy and fully functional.
- Grey: Default health for a new environment. The environment is not fully launched and health checks have not started or health checks are suspended during an UpdateEnvironment or RestartEnvironement request.
Default: Grey
-
HealthStatus => (string)Returns the health status of the application running in your environment. For more information, see Health Colors and Statuses.
-
Resources => (associative-array)The description of the AWS resources used by this environment.
-
LoadBalancer => (associative-array)Describes the LoadBalancer.
-
LoadBalancerName => (string)The name of the LoadBalancer.
-
Domain => (string)The domain name of the LoadBalancer.
-
Listeners => (array<associative-array>)A list of Listeners used by the LoadBalancer.
- (associative-array)
Describes the properties of a Listener for the LoadBalancer.
-
Protocol => (string)The protocol that is used by the Listener.
-
Port => (int)The port that is used by the Listener.
-
- (associative-array)
-
-
-
Tier => (associative-array)Describes the current tier of this environment.
-
Name => (string)The name of this environment tier.
-
Type => (string)The type of this environment tier.
-
Version => (string)The version of this environment tier.
-
Executes the ValidateConfigurationSettings operation.
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.
Examples
- Basic formatting example
$result = $client->validateConfigurationSettings(array( // ApplicationName is required 'ApplicationName' => 'string', 'TemplateName' => 'string', 'EnvironmentName' => 'string', // OptionSettings is required 'OptionSettings' => array( array( 'ResourceName' => 'string', 'Namespace' => 'string', 'OptionName' => 'string', 'Value' => 'string', ), // ... repeated ), ));
Parameters
- $args
array
$arg Associative array containing the following keys (required keys are bold):-
ApplicationName => (string)The name of the application that the configuration template or environment belongs to.
-
TemplateName => (string)The name of the configuration template to validate the settings against.
Condition: You cannot specify both this and an environment name.
-
EnvironmentName => (string)The name of the environment to validate the settings against.
Condition: You cannot specify both this and a configuration template name.
-
OptionSettings => (array<associative-array>)A list of the options and desired values to evaluate.
- (associative-array)
A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values in the AWS Elastic Beanstalk Developer Guide.
-
ResourceName => (string)A unique resource name for a time-based scaling configuration option.
-
Namespace => (string)A unique namespace identifying the option's associated AWS resource.
-
OptionName => (string)The name of the configuration option.
-
Value => (string)The current value for the configuration option.
-
- (associative-array)
-
Returns
Guzzle\Service\Resource\Model
Returns a response Model object
-
Messages => (array<associative-array>)A list of ValidationMessage.
- (associative-array)
An error or warning for a desired configuration option value.
-
Message => (string)A message describing the error or warning.
-
Severity => (string)An indication of the severity of this message:
error: This message indicates that this is not a valid setting for an option.
warning: This message is providing information you should take into account.
- error: This message indicates that this is not a valid setting for an option.
- warning: This message is providing information you should take into account.
-
Namespace => (string) -
OptionName => (string)
-
- (associative-array)
The input array uses the parameters of the DescribeEnvironments operation and waiter specific settings
Parameters
- $input
array
$input
The input array uses the parameters of the DescribeEnvironments operation and waiter specific settings
Parameters
- $input
array
$input
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeApplicationVersionsIterator( array $args = array() )
The input array uses the parameters of the DescribeApplicationVersions operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeApplicationsIterator( array $args = array() )
The input array uses the parameters of the DescribeApplications operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeConfigurationOptionsIterator( array $args = array() )
The input array uses the parameters of the DescribeConfigurationOptions operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeEnvironmentsIterator( array $args = array() )
The input array uses the parameters of the DescribeEnvironments operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getDescribeEventsIterator( array $args = array() )
The input array uses the parameters of the DescribeEvents operation
Parameters
- $args
array
$args
Returns
public
Guzzle\Service\Resource\ResourceIteratorInterface
getListAvailableSolutionStacksIterator( array $args = array() )
The input array uses the parameters of the ListAvailableSolutionStacks operation
Parameters
- $args
array
$args
Returns
Methods inherited from Aws\Common\Client\AbstractClient
__call()
,
__construct()
,
createRequest()
,
getAllEvents()
,
getApiVersion()
,
getCredentials()
,
getRegion()
,
getRegions()
,
getSignature()
,
getWaiter()
,
getWaiterFactory()
,
send()
,
setCredentials()
,
setRegion()
,
setWaiterFactory()
,
waitUntil()
Methods inherited from Guzzle\Service\Client
execute()
,
executeMultiple()
,
getCommand()
,
getCommandFactory()
,
getDescription()
,
getInflector()
,
getIterator()
,
getResourceIteratorFactory()
,
prepareCommand()
,
setCommandFactory()
,
setDescription()
,
setInflector()
,
setResourceIteratorFactory()
Methods inherited from Guzzle\Http\Client
delete()
,
expandTemplate()
,
extractPharCacert()
,
get()
,
getBaseUrl()
,
getConfig()
,
getCurlMulti()
,
getDefaultOption()
,
getDefaultUserAgent()
,
getUriTemplate()
,
head()
,
initSsl()
,
options()
,
patch()
,
post()
,
prepareRequest()
,
put()
,
sendMultiple()
,
setBaseUrl()
,
setConfig()
,
setCurlMulti()
,
setDefaultOption()
,
setRequestFactory()
,
setSslVerification()
,
setUriTemplate()
,
setUserAgent()
Methods inherited from Guzzle\Common\AbstractHasDispatcher
addSubscriber()
,
dispatch()
,
getEventDispatcher()
,
setEventDispatcher()
Magic methods summary
Constants summary
string |
LATEST_API_VERSION |
'2010-12-01' |
Constants inherited from Guzzle\Service\Client
Constants inherited from Guzzle\Http\Client
CURL_OPTIONS
,
DEFAULT_SELECT_TIMEOUT
,
DISABLE_REDIRECTS
,
MAX_HANDLES
,
REQUEST_OPTIONS
,
SSL_CERT_AUTHORITY
Constants inherited from Guzzle\Http\ClientInterface
Properties summary
Properties inherited from Aws\Common\Client\AbstractClient
$aggregator
,
$credentials
,
$signature
,
$waiterFactory
Properties inherited from Guzzle\Service\Client
$commandFactory
,
$inflector
,
$resourceIteratorFactory
,
$serviceDescription
Properties inherited from Guzzle\Http\Client
$defaultHeaders
,
$requestFactory
,
$userAgent