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

Contents

Description

This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.

Synopsis

Creating a Request

createJob Source #

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

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

data CreateJob Source #

Input structure for the CreateJob operation.

See: createJob smart constructor.

Instances

Eq CreateJob Source # 
Data CreateJob Source # 

Methods

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

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

toConstr :: CreateJob -> Constr #

dataTypeOf :: CreateJob -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateJob Source # 
Show CreateJob Source # 
Generic CreateJob Source # 

Associated Types

type Rep CreateJob :: * -> * #

Hashable CreateJob Source # 
NFData CreateJob Source # 

Methods

rnf :: CreateJob -> () #

AWSRequest CreateJob Source # 
ToHeaders CreateJob Source # 

Methods

toHeaders :: CreateJob -> [Header] #

ToPath CreateJob Source # 
ToQuery CreateJob Source # 
type Rep CreateJob Source # 
type Rep CreateJob = D1 * (MetaData "CreateJob" "Network.AWS.ImportExport.CreateJob" "amazonka-importexport-1.6.0-B6KLOktLzBs3lfbFbQ0912" False) (C1 * (MetaCons "CreateJob'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cjAPIVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cjManifestAddendum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cjJobType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * JobType)) ((:*:) * (S1 * (MetaSel (Just Symbol "_cjManifest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cjValidateOnly") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Bool))))))
type Rs CreateJob Source # 

Request Lenses

cjAPIVersion :: Lens' CreateJob (Maybe Text) Source #

Undocumented member.

cjJobType :: Lens' CreateJob JobType Source #

Undocumented member.

cjManifest :: Lens' CreateJob Text Source #

Undocumented member.

cjValidateOnly :: Lens' CreateJob Bool Source #

Undocumented member.

Destructuring the Response

createJobResponse Source #

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

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

data CreateJobResponse Source #

Output structure for the CreateJob operation.

See: createJobResponse smart constructor.

Instances

Eq CreateJobResponse Source # 
Data CreateJobResponse Source # 

Methods

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

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

toConstr :: CreateJobResponse -> Constr #

dataTypeOf :: CreateJobResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateJobResponse Source # 
Show CreateJobResponse Source # 
Generic CreateJobResponse Source # 
NFData CreateJobResponse Source # 

Methods

rnf :: CreateJobResponse -> () #

type Rep CreateJobResponse Source # 
type Rep CreateJobResponse = D1 * (MetaData "CreateJobResponse" "Network.AWS.ImportExport.CreateJob" "amazonka-importexport-1.6.0-B6KLOktLzBs3lfbFbQ0912" False) (C1 * (MetaCons "CreateJobResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cjrsSignature") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cjrsJobType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe JobType))) (S1 * (MetaSel (Just Symbol "_cjrsJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cjrsSignatureFileContents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cjrsWarningMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cjrsArtifactList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Artifact]))) (S1 * (MetaSel (Just Symbol "_cjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

cjrsResponseStatus :: Lens' CreateJobResponse Int Source #

  • - | The response status code.