Skip to content

Update Application Version

elasticbeanstalk_update_application_version R Documentation

Updates the specified application version to have the specified properties

Description

Updates the specified application version to have the specified properties.

If a property (for example, description) is not provided, the value remains unchanged. To clear properties, specify an empty string.

Usage

elasticbeanstalk_update_application_version(ApplicationName,
  VersionLabel, Description)

Arguments

ApplicationName

[required] The name of the application associated with this version.

If no application is found with this name, update_application returns an InvalidParameterValue error.

VersionLabel

[required] The name of the version to update.

If no application version is found with this label, update_application returns an InvalidParameterValue error.

Description

A new description for this version.

Value

A list with the following syntax:

list(
  ApplicationVersion = list(
    ApplicationVersionArn = "string",
    ApplicationName = "string",
    Description = "string",
    VersionLabel = "string",
    SourceBuildInformation = list(
      SourceType = "Git"|"Zip",
      SourceRepository = "CodeCommit"|"S3",
      SourceLocation = "string"
    ),
    BuildArn = "string",
    SourceBundle = list(
      S3Bucket = "string",
      S3Key = "string"
    ),
    DateCreated = as.POSIXct(
      "2015-01-01"
    ),
    DateUpdated = as.POSIXct(
      "2015-01-01"
    ),
    Status = "Processed"|"Unprocessed"|"Failed"|"Processing"|"Building"
  )
)

Request syntax

svc$update_application_version(
  ApplicationName = "string",
  VersionLabel = "string",
  Description = "string"
)

Examples

## Not run: 
# The following operation updates the description of an application
# version named 22a0-stage-150819_185942:
svc$update_application_version(
  ApplicationName = "my-app",
  Description = "new description",
  VersionLabel = "22a0-stage-150819_185942"
)

## End(Not run)