AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DeleteApplicationVersionInput

import "github.com/aws/aws-sdk-go/service/elasticbeanstalk"

type DeleteApplicationVersionInput struct { ApplicationName *string `min:"1" type:"string" required:"true"` DeleteSourceBundle *bool `type:"boolean"` VersionLabel *string `min:"1" type:"string" required:"true"` }

Request to delete an application version.

ApplicationName

Type: *string

The name of the application to which the version belongs.

ApplicationName is a required field

DeleteSourceBundle

Type: *bool

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.

VersionLabel

Type: *string

The label of the version to delete.

VersionLabel is a required field

Method

GoString

func (s DeleteApplicationVersionInput) GoString() string

GoString returns the string representation

SetApplicationName

func (s *DeleteApplicationVersionInput) SetApplicationName(v string) *DeleteApplicationVersionInput

SetApplicationName sets the ApplicationName field's value.

SetDeleteSourceBundle

func (s *DeleteApplicationVersionInput) SetDeleteSourceBundle(v bool) *DeleteApplicationVersionInput

SetDeleteSourceBundle sets the DeleteSourceBundle field's value.

SetVersionLabel

func (s *DeleteApplicationVersionInput) SetVersionLabel(v string) *DeleteApplicationVersionInput

SetVersionLabel sets the VersionLabel field's value.

String

func (s DeleteApplicationVersionInput) String() string

String returns the string representation

Validate

func (s *DeleteApplicationVersionInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: