libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Description

Deletes the specified version from the specified application.

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

Synopsis

Creating a Request

data DeleteApplicationVersion Source #

Request to delete an application version.

See: newDeleteApplicationVersion smart constructor.

Constructors

DeleteApplicationVersion' 

Fields

  • deleteSourceBundle :: Maybe 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.

  • applicationName :: Text

    The name of the application to which the version belongs.

  • versionLabel :: Text

    The label of the version to delete.

Instances

Instances details
Eq DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Read DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Show DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Generic DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Associated Types

type Rep DeleteApplicationVersion :: Type -> Type #

NFData DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Hashable DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

AWSRequest DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

ToHeaders DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

ToPath DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

ToQuery DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

type Rep DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

type Rep DeleteApplicationVersion = D1 ('MetaData "DeleteApplicationVersion" "Amazonka.ElasticBeanstalk.DeleteApplicationVersion" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DeleteApplicationVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteSourceBundle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "applicationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "versionLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteApplicationVersion Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

newDeleteApplicationVersion Source #

Create a value of DeleteApplicationVersion with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:deleteSourceBundle:DeleteApplicationVersion', deleteApplicationVersion_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.

$sel:applicationName:DeleteApplicationVersion', deleteApplicationVersion_applicationName - The name of the application to which the version belongs.

$sel:versionLabel:DeleteApplicationVersion', deleteApplicationVersion_versionLabel - The label of the version to delete.

Request Lenses

deleteApplicationVersion_deleteSourceBundle :: Lens' DeleteApplicationVersion (Maybe Bool) Source #

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.

deleteApplicationVersion_applicationName :: Lens' DeleteApplicationVersion Text Source #

The name of the application to which the version belongs.

Destructuring the Response

data DeleteApplicationVersionResponse Source #

See: newDeleteApplicationVersionResponse smart constructor.

Instances

Instances details
Eq DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Read DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Show DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Generic DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

Associated Types

type Rep DeleteApplicationVersionResponse :: Type -> Type #

NFData DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

type Rep DeleteApplicationVersionResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion

type Rep DeleteApplicationVersionResponse = D1 ('MetaData "DeleteApplicationVersionResponse" "Amazonka.ElasticBeanstalk.DeleteApplicationVersion" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DeleteApplicationVersionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteApplicationVersionResponse :: DeleteApplicationVersionResponse Source #

Create a value of DeleteApplicationVersionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.