amazonka-elasticbeanstalk-1.4.5: Amazon Elastic Beanstalk SDK.

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

Network.AWS.ElasticBeanstalk.DeleteApplicationVersion

Contents

Description

Deletes the specified version from the specified application.

Synopsis

Creating a Request

deleteApplicationVersion Source #

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 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 - The name of the application to which the version belongs.
  • davVersionLabel - The label of the version to delete.

data DeleteApplicationVersion Source #

Request to delete an application version.

See: deleteApplicationVersion smart constructor.

Instances

Eq DeleteApplicationVersion Source # 
Data DeleteApplicationVersion Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteApplicationVersion -> c DeleteApplicationVersion #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteApplicationVersion #

toConstr :: DeleteApplicationVersion -> Constr #

dataTypeOf :: DeleteApplicationVersion -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteApplicationVersion) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteApplicationVersion) #

gmapT :: (forall b. Data b => b -> b) -> DeleteApplicationVersion -> DeleteApplicationVersion #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteApplicationVersion -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteApplicationVersion -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteApplicationVersion -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteApplicationVersion -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteApplicationVersion -> m DeleteApplicationVersion #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteApplicationVersion -> m DeleteApplicationVersion #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteApplicationVersion -> m DeleteApplicationVersion #

Read DeleteApplicationVersion Source # 
Show DeleteApplicationVersion Source # 
Generic DeleteApplicationVersion Source # 
Hashable DeleteApplicationVersion Source # 
NFData DeleteApplicationVersion Source # 
AWSRequest DeleteApplicationVersion Source # 
ToPath DeleteApplicationVersion Source # 
ToHeaders DeleteApplicationVersion Source # 
ToQuery DeleteApplicationVersion Source # 
type Rep DeleteApplicationVersion Source # 
type Rep DeleteApplicationVersion = D1 (MetaData "DeleteApplicationVersion" "Network.AWS.ElasticBeanstalk.DeleteApplicationVersion" "amazonka-elasticbeanstalk-1.4.5-9zMrDsTBP1RFx5BKCNaBTX" False) (C1 (MetaCons "DeleteApplicationVersion'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_davDeleteSourceBundle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_davApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_davVersionLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs DeleteApplicationVersion Source # 

Request Lenses

davDeleteSourceBundle :: 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.

davApplicationName :: Lens' DeleteApplicationVersion Text Source #

The name of the application to which the version belongs.

davVersionLabel :: Lens' DeleteApplicationVersion Text Source #

The label of the version to delete.

Destructuring the Response

deleteApplicationVersionResponse :: DeleteApplicationVersionResponse Source #

Creates a value of DeleteApplicationVersionResponse with the minimum fields required to make a request.

data DeleteApplicationVersionResponse Source #

See: deleteApplicationVersionResponse smart constructor.

Instances

Eq DeleteApplicationVersionResponse Source # 
Data DeleteApplicationVersionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteApplicationVersionResponse -> c DeleteApplicationVersionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteApplicationVersionResponse #

toConstr :: DeleteApplicationVersionResponse -> Constr #

dataTypeOf :: DeleteApplicationVersionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteApplicationVersionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteApplicationVersionResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteApplicationVersionResponse -> DeleteApplicationVersionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteApplicationVersionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteApplicationVersionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteApplicationVersionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteApplicationVersionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteApplicationVersionResponse -> m DeleteApplicationVersionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteApplicationVersionResponse -> m DeleteApplicationVersionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteApplicationVersionResponse -> m DeleteApplicationVersionResponse #

Read DeleteApplicationVersionResponse Source # 
Show DeleteApplicationVersionResponse Source # 
Generic DeleteApplicationVersionResponse Source # 
NFData DeleteApplicationVersionResponse Source # 
type Rep DeleteApplicationVersionResponse Source # 
type Rep DeleteApplicationVersionResponse = D1 (MetaData "DeleteApplicationVersionResponse" "Network.AWS.ElasticBeanstalk.DeleteApplicationVersion" "amazonka-elasticbeanstalk-1.4.5-9zMrDsTBP1RFx5BKCNaBTX" False) (C1 (MetaCons "DeleteApplicationVersionResponse'" PrefixI False) U1)