libZSservicesZSamazonka-importexportZSamazonka-importexport
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ImportExport.CreateJob

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

data CreateJob Source #

Input structure for the CreateJob operation.

See: newCreateJob smart constructor.

Instances

Instances details
Eq CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Read CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Show CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Generic CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type Rep CreateJob :: Type -> Type #

NFData CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Methods

rnf :: CreateJob -> () #

Hashable CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

AWSRequest CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type AWSResponse CreateJob #

ToHeaders CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Methods

toHeaders :: CreateJob -> [Header] #

ToPath CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

ToQuery CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type Rep CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type Rep CreateJob = D1 ('MetaData "CreateJob" "Amazonka.ImportExport.CreateJob" "libZSservicesZSamazonka-importexportZSamazonka-importexport" 'False) (C1 ('MetaCons "CreateJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "aPIVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "manifestAddendum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "jobType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobType) :*: (S1 ('MetaSel ('Just "manifest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "validateOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))))
type AWSResponse CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

newCreateJob Source #

Create a value of CreateJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:aPIVersion:CreateJob', createJob_aPIVersion - Undocumented member.

$sel:manifestAddendum:CreateJob', createJob_manifestAddendum - Undocumented member.

$sel:jobType:CreateJob', createJob_jobType - Undocumented member.

$sel:manifest:CreateJob', createJob_manifest - Undocumented member.

$sel:validateOnly:CreateJob', createJob_validateOnly - Undocumented member.

Request Lenses

Destructuring the Response

data CreateJobResponse Source #

Output structure for the CreateJob operation.

See: newCreateJobResponse smart constructor.

Instances

Instances details
Eq CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Read CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Show CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Generic CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type Rep CreateJobResponse :: Type -> Type #

NFData CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Methods

rnf :: CreateJobResponse -> () #

type Rep CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type Rep CreateJobResponse = D1 ('MetaData "CreateJobResponse" "Amazonka.ImportExport.CreateJob" "libZSservicesZSamazonka-importexportZSamazonka-importexport" 'False) (C1 ('MetaCons "CreateJobResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "signature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobType)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "signatureFileContents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "warningMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "artifactList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artifact])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateJobResponse Source #

Create a value of CreateJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:signature:CreateJobResponse', createJobResponse_signature - Undocumented member.

$sel:jobType:CreateJob', createJobResponse_jobType - Undocumented member.

$sel:jobId:CreateJobResponse', createJobResponse_jobId - Undocumented member.

$sel:signatureFileContents:CreateJobResponse', createJobResponse_signatureFileContents - Undocumented member.

$sel:warningMessage:CreateJobResponse', createJobResponse_warningMessage - Undocumented member.

$sel:artifactList:CreateJobResponse', createJobResponse_artifactList - Undocumented member.

$sel:httpStatus:CreateJobResponse', createJobResponse_httpStatus - The response's http status code.

Response Lenses

createJobResponse_httpStatus :: Lens' CreateJobResponse Int Source #

The response's http status code.