Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.ElasticBeanstalk.DeleteApplicationVersion
Description
Deletes the specified version from the specified application.
- deleteApplicationVersion :: Text -> Text -> DeleteApplicationVersion
- data DeleteApplicationVersion
- davDeleteSourceBundle :: Lens' DeleteApplicationVersion (Maybe Bool)
- davApplicationName :: Lens' DeleteApplicationVersion Text
- davVersionLabel :: Lens' DeleteApplicationVersion Text
- deleteApplicationVersionResponse :: DeleteApplicationVersionResponse
- data DeleteApplicationVersionResponse
Creating a Request
Arguments
:: Text | |
-> Text | |
-> DeleteApplicationVersion |
Creates a value of DeleteApplicationVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
davDeleteSourceBundle
- Set totrue
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.davApplicationName
- The name of the application to which the version belongs.davVersionLabel
- The label of the version to delete.
data DeleteApplicationVersion #
Request to delete an application version.
See: deleteApplicationVersion
smart constructor.
Instances
Request Lenses
davDeleteSourceBundle :: Lens' DeleteApplicationVersion (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.
davApplicationName :: Lens' DeleteApplicationVersion Text #
The name of the application to which the version belongs.
davVersionLabel :: Lens' DeleteApplicationVersion Text #
The label of the version to delete.
Destructuring the Response
deleteApplicationVersionResponse :: DeleteApplicationVersionResponse #
Creates a value of DeleteApplicationVersionResponse
with the minimum fields required to make a request.
data DeleteApplicationVersionResponse #
See: deleteApplicationVersionResponse
smart constructor.