ElasticBeanstalk / Client / delete_environment_configuration

delete_environment_configuration#

ElasticBeanstalk.Client.delete_environment_configuration(**kwargs)#

Deletes the draft configuration associated with the running environment.

Updating a running environment with any configuration changes creates a draft configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update fails. The DeploymentStatus for the draft configuration indicates whether the deployment is in process or has failed. The draft configuration remains in existence until it is deleted with this action.

See also: AWS API Documentation

Request Syntax

response = client.delete_environment_configuration(
    ApplicationName='string',
    EnvironmentName='string'
)
Parameters:
  • ApplicationName (string) –

    [REQUIRED]

    The name of the application the environment is associated with.

  • EnvironmentName (string) –

    [REQUIRED]

    The name of the environment to delete the draft configuration from.

Returns:

None

Examples

The following operation deletes a draft configuration for an environment named my-env:

response = client.delete_environment_configuration(
    ApplicationName='my-app',
    EnvironmentName='my-env',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}