deleteApplicationVersion

Deletes the specified version from the specified application.

You cannot delete an application version that is associated with a running environment.

Samples


fun main() { 
   //sampleStart 
   // The following operation deletes an application version named 22a0 stage 150819_182129 for an
// application named my app
elasticBeanstalkClient.deleteApplicationVersion {
    applicationName = "my-app"
    versionLabel = "22a0-stage-150819_182129"
    deleteSourceBundle = true
} 
   //sampleEnd
}