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.GetLaunchTemplateData

Contents

Description

Retrieves the configuration data of the specified instance. You can use this data to create a launch template.

Synopsis

Creating a Request

getLaunchTemplateData Source #

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

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

  • gltdDryRun - 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 .
  • gltdInstanceId - The ID of the instance.

data GetLaunchTemplateData Source #

See: getLaunchTemplateData smart constructor.

Instances

Eq GetLaunchTemplateData Source # 
Data GetLaunchTemplateData Source # 

Methods

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

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

toConstr :: GetLaunchTemplateData -> Constr #

dataTypeOf :: GetLaunchTemplateData -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetLaunchTemplateData Source # 
Show GetLaunchTemplateData Source # 
Generic GetLaunchTemplateData Source # 
Hashable GetLaunchTemplateData Source # 
NFData GetLaunchTemplateData Source # 

Methods

rnf :: GetLaunchTemplateData -> () #

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

Request Lenses

gltdDryRun :: Lens' GetLaunchTemplateData (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

getLaunchTemplateDataResponse Source #

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

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

data GetLaunchTemplateDataResponse Source #

See: getLaunchTemplateDataResponse smart constructor.

Instances

Eq GetLaunchTemplateDataResponse Source # 
Data GetLaunchTemplateDataResponse Source # 

Methods

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

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

toConstr :: GetLaunchTemplateDataResponse -> Constr #

dataTypeOf :: GetLaunchTemplateDataResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses