Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes the specified version from the specified application.
You cannot delete an application version that is associated with a running environment.
Synopsis
- data DeleteApplicationVersion = DeleteApplicationVersion' {}
- newDeleteApplicationVersion :: Text -> Text -> DeleteApplicationVersion
- deleteApplicationVersion_deleteSourceBundle :: Lens' DeleteApplicationVersion (Maybe Bool)
- deleteApplicationVersion_applicationName :: Lens' DeleteApplicationVersion Text
- deleteApplicationVersion_versionLabel :: Lens' DeleteApplicationVersion Text
- data DeleteApplicationVersionResponse = DeleteApplicationVersionResponse' {
- newDeleteApplicationVersionResponse :: DeleteApplicationVersionResponse
Creating a Request
data DeleteApplicationVersion Source #
Request to delete an application version.
See: newDeleteApplicationVersion
smart constructor.
DeleteApplicationVersion' | |
|
Instances
newDeleteApplicationVersion Source #
:: Text | |
-> Text | |
-> DeleteApplicationVersion |
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.
deleteApplicationVersion_versionLabel :: Lens' DeleteApplicationVersion Text Source #
The label of the version to delete.
Destructuring the Response
data DeleteApplicationVersionResponse Source #
See: newDeleteApplicationVersionResponse
smart constructor.
Instances
Eq DeleteApplicationVersionResponse Source # | |
Read DeleteApplicationVersionResponse Source # | |
Show DeleteApplicationVersionResponse Source # | |
Generic DeleteApplicationVersionResponse Source # | |
NFData DeleteApplicationVersionResponse Source # | |
Defined in Amazonka.ElasticBeanstalk.DeleteApplicationVersion rnf :: DeleteApplicationVersionResponse -> () # | |
type Rep DeleteApplicationVersionResponse Source # | |
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.