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

Defined in Network.AWS.ImportExport.CreateJob

Data CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

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

Defined in Network.AWS.ImportExport.CreateJob

Show CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Generic CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Associated Types

type Rep CreateJob :: Type -> Type #

Hashable CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

AWSRequest CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Associated Types

type Rs CreateJob :: Type #

ToHeaders CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Methods

toHeaders :: CreateJob -> [Header] #

ToPath CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

ToQuery CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

NFData CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Methods

rnf :: CreateJob -> () #

type Rep CreateJob Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

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

Defined in Network.AWS.ImportExport.CreateJob

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

Defined in Network.AWS.ImportExport.CreateJob

Data CreateJobResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

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

Defined in Network.AWS.ImportExport.CreateJob

Show CreateJobResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Generic CreateJobResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Associated Types

type Rep CreateJobResponse :: Type -> Type #

NFData CreateJobResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

Methods

rnf :: CreateJobResponse -> () #

type Rep CreateJobResponse Source # 
Instance details

Defined in Network.AWS.ImportExport.CreateJob

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

Response Lenses

cjrsResponseStatus :: Lens' CreateJobResponse Int Source #

  • - | The response status code.