Skip to content

Delete Application Version

elasticbeanstalk_delete_application_version R Documentation

Deletes the specified version from the specified application

Description

Deletes the specified version from the specified application.

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

Usage

elasticbeanstalk_delete_application_version(ApplicationName,
  VersionLabel, DeleteSourceBundle)

Arguments

ApplicationName

[required] The name of the application to which the version belongs.

VersionLabel

[required] The label of the version to delete.

DeleteSourceBundle

Set to true to delete the source bundle from your storage bucket. Otherwise, the application version is deleted only from Elastic Beanstalk and the source bundle remains in Amazon S3.

Value

An empty list.

Request syntax

svc$delete_application_version(
  ApplicationName = "string",
  VersionLabel = "string",
  DeleteSourceBundle = TRUE|FALSE
)

Examples

## Not run: 
# The following operation deletes an application version named
# 22a0-stage-150819_182129 for an application named my-app:
svc$delete_application_version(
  ApplicationName = "my-app",
  DeleteSourceBundle = TRUE,
  VersionLabel = "22a0-stage-150819_182129"
)

## End(Not run)