amazonka-ec2-1.6.1: 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 # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Data CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

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 # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Show CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Generic CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Associated Types

type Rep CancelExportTask :: Type -> Type #

Hashable CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

AWSRequest CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Associated Types

type Rs CancelExportTask :: Type #

ToHeaders CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

ToPath CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

ToQuery CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

NFData CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Methods

rnf :: CancelExportTask -> () #

type Rep CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

type Rep CancelExportTask = D1 (MetaData "CancelExportTask" "Network.AWS.EC2.CancelExportTask" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" True) (C1 (MetaCons "CancelExportTask'" PrefixI True) (S1 (MetaSel (Just "_cetExportTaskId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs CancelExportTask Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

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 # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Data CancelExportTaskResponse Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

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 # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Show CancelExportTaskResponse Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Generic CancelExportTaskResponse Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

Associated Types

type Rep CancelExportTaskResponse :: Type -> Type #

NFData CancelExportTaskResponse Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

type Rep CancelExportTaskResponse Source # 
Instance details

Defined in Network.AWS.EC2.CancelExportTask

type Rep CancelExportTaskResponse = D1 (MetaData "CancelExportTaskResponse" "Network.AWS.EC2.CancelExportTask" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "CancelExportTaskResponse'" PrefixI False) (U1 :: Type -> Type))