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

Copyright(c) 2013-2017 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.CancelBundleTask

Contents

Description

Cancels a bundling operation for an instance store-backed Windows instance.

Synopsis

Creating a Request

cancelBundleTask Source #

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

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

  • cbtDryRun - 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 .
  • cbtBundleId - The ID of the bundle task.

data CancelBundleTask Source #

Contains the parameters for CancelBundleTask.

See: cancelBundleTask smart constructor.

Instances

Eq CancelBundleTask Source # 
Data CancelBundleTask Source # 

Methods

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

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

toConstr :: CancelBundleTask -> Constr #

dataTypeOf :: CancelBundleTask -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelBundleTask Source # 
Show CancelBundleTask Source # 
Generic CancelBundleTask Source # 
Hashable CancelBundleTask Source # 
NFData CancelBundleTask Source # 

Methods

rnf :: CancelBundleTask -> () #

AWSRequest CancelBundleTask Source # 
ToQuery CancelBundleTask Source # 
ToPath CancelBundleTask Source # 
ToHeaders CancelBundleTask Source # 
type Rep CancelBundleTask Source # 
type Rep CancelBundleTask = D1 (MetaData "CancelBundleTask" "Network.AWS.EC2.CancelBundleTask" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CancelBundleTask'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cbtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_cbtBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CancelBundleTask Source # 

Request Lenses

cbtDryRun :: Lens' CancelBundleTask (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 .

cbtBundleId :: Lens' CancelBundleTask Text Source #

The ID of the bundle task.

Destructuring the Response

cancelBundleTaskResponse Source #

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

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

data CancelBundleTaskResponse Source #

Contains the output of CancelBundleTask.

See: cancelBundleTaskResponse smart constructor.

Instances

Eq CancelBundleTaskResponse Source # 
Data CancelBundleTaskResponse Source # 

Methods

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

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

toConstr :: CancelBundleTaskResponse -> Constr #

dataTypeOf :: CancelBundleTaskResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelBundleTaskResponse Source # 
Show CancelBundleTaskResponse Source # 
Generic CancelBundleTaskResponse Source # 
NFData CancelBundleTaskResponse Source # 
type Rep CancelBundleTaskResponse Source # 
type Rep CancelBundleTaskResponse = D1 (MetaData "CancelBundleTaskResponse" "Network.AWS.EC2.CancelBundleTask" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "CancelBundleTaskResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cbtrsBundleTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BundleTask))) (S1 (MetaSel (Just Symbol "_cbtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask) Source #

Information about the bundle task.