amazonka-ec2-1.6.0: Amazon Elastic Compute Cloud SDK.

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

Network.AWS.EC2.DeleteLaunchTemplate

Contents

Description

Deletes a launch template. Deleting a launch template deletes all of its versions.

Synopsis

Creating a Request

deleteLaunchTemplate :: DeleteLaunchTemplate Source #

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

Use one of the following lenses to modify other fields as desired:

  • dltLaunchTemplateName - The name of the launch template. You must specify either the launch template ID or launch template name in the request.
  • dltLaunchTemplateId - The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
  • dltDryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

data DeleteLaunchTemplate Source #

See: deleteLaunchTemplate smart constructor.

Instances

Eq DeleteLaunchTemplate Source # 
Data DeleteLaunchTemplate Source # 

Methods

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

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

toConstr :: DeleteLaunchTemplate -> Constr #

dataTypeOf :: DeleteLaunchTemplate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLaunchTemplate Source # 
Show DeleteLaunchTemplate Source # 
Generic DeleteLaunchTemplate Source # 
Hashable DeleteLaunchTemplate Source # 
NFData DeleteLaunchTemplate Source # 

Methods

rnf :: DeleteLaunchTemplate -> () #

AWSRequest DeleteLaunchTemplate Source # 
ToHeaders DeleteLaunchTemplate Source # 
ToPath DeleteLaunchTemplate Source # 
ToQuery DeleteLaunchTemplate Source # 
type Rep DeleteLaunchTemplate Source # 
type Rep DeleteLaunchTemplate = D1 * (MetaData "DeleteLaunchTemplate" "Network.AWS.EC2.DeleteLaunchTemplate" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DeleteLaunchTemplate'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dltLaunchTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dltLaunchTemplateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dltDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))))))
type Rs DeleteLaunchTemplate Source # 

Request Lenses

dltLaunchTemplateName :: Lens' DeleteLaunchTemplate (Maybe Text) Source #

The name of the launch template. You must specify either the launch template ID or launch template name in the request.

dltLaunchTemplateId :: Lens' DeleteLaunchTemplate (Maybe Text) Source #

The ID of the launch template. You must specify either the launch template ID or launch template name in the request.

dltDryRun :: Lens' DeleteLaunchTemplate (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation . Otherwise, it is UnauthorizedOperation .

Destructuring the Response

deleteLaunchTemplateResponse Source #

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

Use one of the following lenses to modify other fields as desired:

data DeleteLaunchTemplateResponse Source #

See: deleteLaunchTemplateResponse smart constructor.

Instances

Eq DeleteLaunchTemplateResponse Source # 
Data DeleteLaunchTemplateResponse Source # 

Methods

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

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

toConstr :: DeleteLaunchTemplateResponse -> Constr #

dataTypeOf :: DeleteLaunchTemplateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteLaunchTemplateResponse Source # 
Show DeleteLaunchTemplateResponse Source # 
Generic DeleteLaunchTemplateResponse Source # 
NFData DeleteLaunchTemplateResponse Source # 
type Rep DeleteLaunchTemplateResponse Source # 
type Rep DeleteLaunchTemplateResponse = D1 * (MetaData "DeleteLaunchTemplateResponse" "Network.AWS.EC2.DeleteLaunchTemplate" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DeleteLaunchTemplateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dltrsLaunchTemplate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LaunchTemplate))) (S1 * (MetaSel (Just Symbol "_dltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses