amazonka-importexport-1.4.4: Amazon Import/Export 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.ImportExport.UpdateJob

Contents

Description

You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.

Synopsis

Creating a Request

updateJob Source #

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

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

data UpdateJob Source #

Input structure for the UpateJob operation.

See: updateJob smart constructor.

Instances

Eq UpdateJob Source # 
Data UpdateJob Source # 

Methods

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

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

toConstr :: UpdateJob -> Constr #

dataTypeOf :: UpdateJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateJob Source # 
Show UpdateJob Source # 
Generic UpdateJob Source # 

Associated Types

type Rep UpdateJob :: * -> * #

Hashable UpdateJob Source # 
NFData UpdateJob Source # 

Methods

rnf :: UpdateJob -> () #

AWSRequest UpdateJob Source # 
ToPath UpdateJob Source # 
ToHeaders UpdateJob Source # 

Methods

toHeaders :: UpdateJob -> [Header] #

ToQuery UpdateJob Source # 
type Rep UpdateJob Source # 
type Rep UpdateJob = D1 (MetaData "UpdateJob" "Network.AWS.ImportExport.UpdateJob" "amazonka-importexport-1.4.4-FUkuHF6fZ2E6N1AAweCMzN" False) (C1 (MetaCons "UpdateJob'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ujAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ujJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ujManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_ujJobType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 JobType)) (S1 (MetaSel (Just Symbol "_ujValidateOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Rs UpdateJob Source # 

Request Lenses

ujAPIVersion :: Lens' UpdateJob (Maybe Text) Source #

Undocumented member.

ujJobId :: Lens' UpdateJob Text Source #

Undocumented member.

ujManifest :: Lens' UpdateJob Text Source #

Undocumented member.

ujJobType :: Lens' UpdateJob JobType Source #

Undocumented member.

ujValidateOnly :: Lens' UpdateJob Bool Source #

Undocumented member.

Destructuring the Response

updateJobResponse Source #

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

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

data UpdateJobResponse Source #

Output structure for the UpateJob operation.

See: updateJobResponse smart constructor.

Instances

Eq UpdateJobResponse Source # 
Data UpdateJobResponse Source # 

Methods

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

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

toConstr :: UpdateJobResponse -> Constr #

dataTypeOf :: UpdateJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateJobResponse Source # 
Show UpdateJobResponse Source # 
Generic UpdateJobResponse Source # 
NFData UpdateJobResponse Source # 

Methods

rnf :: UpdateJobResponse -> () #

type Rep UpdateJobResponse Source # 
type Rep UpdateJobResponse = D1 (MetaData "UpdateJobResponse" "Network.AWS.ImportExport.UpdateJob" "amazonka-importexport-1.4.4-FUkuHF6fZ2E6N1AAweCMzN" False) (C1 (MetaCons "UpdateJobResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ujrsSuccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_ujrsWarningMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ujrsArtifactList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Artifact]))) (S1 (MetaSel (Just Symbol "_ujrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses