delete_application
(**kwargs)¶Deletes the specified application along with all associated versions and configurations. The application versions will not be deleted from your Amazon S3 bucket.
Note
You cannot delete an application that has a running environment.
See also: AWS API Documentation
Request Syntax
response = client.delete_application(
ApplicationName='string',
TerminateEnvByForce=True|False
)
[REQUIRED]
The name of the application to delete.
None
Exceptions
ElasticBeanstalk.Client.exceptions.OperationInProgressException
Examples
The following operation deletes an application named my-app:
response = client.delete_application(
ApplicationName='my-app',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}