amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud 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.EC2.CancelBundleTask

Contents

Description

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

Synopsis

Creating a Request

cancelBundleTask #

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 #

Contains the parameters for CancelBundleTask.

See: cancelBundleTask smart constructor.

Instances

Eq CancelBundleTask # 
Data CancelBundleTask # 

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 # 
Show CancelBundleTask # 
Generic CancelBundleTask # 
Hashable CancelBundleTask # 
NFData CancelBundleTask # 

Methods

rnf :: CancelBundleTask -> () #

AWSRequest CancelBundleTask # 
ToQuery CancelBundleTask # 
ToPath CancelBundleTask # 
ToHeaders CancelBundleTask # 
type Rep CancelBundleTask # 
type Rep CancelBundleTask = D1 (MetaData "CancelBundleTask" "Network.AWS.EC2.CancelBundleTask" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

cbtDryRun :: Lens' CancelBundleTask (Maybe Bool) #

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 #

The ID of the bundle task.

Destructuring the Response

cancelBundleTaskResponse #

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 #

Contains the output of CancelBundleTask.

See: cancelBundleTaskResponse smart constructor.

Instances

Eq CancelBundleTaskResponse # 
Data CancelBundleTaskResponse # 

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 # 
Show CancelBundleTaskResponse # 
Generic CancelBundleTaskResponse # 
NFData CancelBundleTaskResponse # 
type Rep CancelBundleTaskResponse # 
type Rep CancelBundleTaskResponse = D1 (MetaData "CancelBundleTaskResponse" "Network.AWS.EC2.CancelBundleTask" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "CancelBundleTaskResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cbtrsBundleTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BundleTask))) (S1 (MetaSel (Just Symbol "_cbtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

cbtrsBundleTask :: Lens' CancelBundleTaskResponse (Maybe BundleTask) #

Information about the bundle task.

cbtrsResponseStatus :: Lens' CancelBundleTaskResponse Int #

  • - | The response status code.