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 #

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 #

Request to delete an application version.

See: deleteApplicationVersion smart constructor.

Instances

Eq DeleteApplicationVersion # 
Data DeleteApplicationVersion # 

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 # 
Show DeleteApplicationVersion # 
Generic DeleteApplicationVersion # 
Hashable DeleteApplicationVersion # 
NFData DeleteApplicationVersion # 
AWSRequest DeleteApplicationVersion # 
ToQuery DeleteApplicationVersion # 
ToPath DeleteApplicationVersion # 
ToHeaders DeleteApplicationVersion # 
type Rep DeleteApplicationVersion # 
type Rep DeleteApplicationVersion = D1 (MetaData "DeleteApplicationVersion" "Network.AWS.ElasticBeanstalk.DeleteApplicationVersion" "amazonka-elasticbeanstalk-1.4.5-GUwvc4uXtdOCAVsn3FPFRh" 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 # 

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.

Instances

Eq DeleteApplicationVersionResponse # 
Data DeleteApplicationVersionResponse # 

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 # 
Show DeleteApplicationVersionResponse # 
Generic DeleteApplicationVersionResponse # 
NFData DeleteApplicationVersionResponse # 
type Rep DeleteApplicationVersionResponse # 
type Rep DeleteApplicationVersionResponse = D1 (MetaData "DeleteApplicationVersionResponse" "Network.AWS.ElasticBeanstalk.DeleteApplicationVersion" "amazonka-elasticbeanstalk-1.4.5-GUwvc4uXtdOCAVsn3FPFRh" False) (C1 (MetaCons "DeleteApplicationVersionResponse'" PrefixI False) U1)