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

Contents

Description

Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.

Synopsis

Creating a Request

cancelExportTask Source #

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

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

  • cetExportTaskId - The ID of the export task. This is the ID returned by CreateInstanceExportTask .

data CancelExportTask Source #

Contains the parameters for CancelExportTask.

See: cancelExportTask smart constructor.

Instances

Eq CancelExportTask Source # 
Data CancelExportTask Source # 

Methods

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

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

toConstr :: CancelExportTask -> Constr #

dataTypeOf :: CancelExportTask -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelExportTask Source # 
Show CancelExportTask Source # 
Generic CancelExportTask Source # 
Hashable CancelExportTask Source # 
NFData CancelExportTask Source # 

Methods

rnf :: CancelExportTask -> () #

AWSRequest CancelExportTask Source # 
ToHeaders CancelExportTask Source # 
ToPath CancelExportTask Source # 
ToQuery CancelExportTask Source # 
type Rep CancelExportTask Source # 
type Rep CancelExportTask = D1 * (MetaData "CancelExportTask" "Network.AWS.EC2.CancelExportTask" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" True) (C1 * (MetaCons "CancelExportTask'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cetExportTaskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs CancelExportTask Source # 

Request Lenses

cetExportTaskId :: Lens' CancelExportTask Text Source #

The ID of the export task. This is the ID returned by CreateInstanceExportTask .

Destructuring the Response

cancelExportTaskResponse :: CancelExportTaskResponse Source #

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

data CancelExportTaskResponse Source #

See: cancelExportTaskResponse smart constructor.

Instances

Eq CancelExportTaskResponse Source # 
Data CancelExportTaskResponse Source # 

Methods

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

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

toConstr :: CancelExportTaskResponse -> Constr #

dataTypeOf :: CancelExportTaskResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelExportTaskResponse Source # 
Show CancelExportTaskResponse Source # 
Generic CancelExportTaskResponse Source # 
NFData CancelExportTaskResponse Source # 
type Rep CancelExportTaskResponse Source # 
type Rep CancelExportTaskResponse = D1 * (MetaData "CancelExportTaskResponse" "Network.AWS.EC2.CancelExportTask" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "CancelExportTaskResponse'" PrefixI False) (U1 *))