You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticBeanstalk::Types::DeleteApplicationVersionMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb

Overview

Note:

When making an API call, you may pass DeleteApplicationVersionMessage data as a hash:

{
  application_name: "ApplicationName", # required
  version_label: "VersionLabel", # required
  delete_source_bundle: false,
}

Request to delete an application version.

Instance Attribute Summary collapse

Instance Attribute Details

#application_nameString

The name of the application to which the version belongs.

Returns:

  • (String)


1462
1463
1464
1465
1466
1467
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1462

class DeleteApplicationVersionMessage < Struct.new(
  :application_name,
  :version_label,
  :delete_source_bundle)
  include Aws::Structure
end

#delete_source_bundleBoolean

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.

Returns:

  • (Boolean)


1462
1463
1464
1465
1466
1467
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1462

class DeleteApplicationVersionMessage < Struct.new(
  :application_name,
  :version_label,
  :delete_source_bundle)
  include Aws::Structure
end

#version_labelString

The label of the version to delete.

Returns:

  • (String)


1462
1463
1464
1465
1466
1467
# File 'gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/types.rb', line 1462

class DeleteApplicationVersionMessage < Struct.new(
  :application_name,
  :version_label,
  :delete_source_bundle)
  include Aws::Structure
end