amazonka-importexport-2.0: Amazon Import/Export SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
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

AWSRequest CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type AWSResponse CreateJob #

Generic CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type Rep CreateJob :: Type -> Type #

Read CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Show CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

NFData CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Methods

rnf :: CreateJob -> () #

Eq CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Hashable CreateJob Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type AWSResponse 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" "amazonka-importexport-2.0-Jy65964a2E2FHiikVjI7dI" '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)))))

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.

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
Generic CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Associated Types

type Rep CreateJobResponse :: Type -> Type #

Read CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Show CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

NFData CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

Methods

rnf :: CreateJobResponse -> () #

Eq CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type Rep CreateJobResponse Source # 
Instance details

Defined in Amazonka.ImportExport.CreateJob

type Rep CreateJobResponse = D1 ('MetaData "CreateJobResponse" "Amazonka.ImportExport.CreateJob" "amazonka-importexport-2.0-Jy65964a2E2FHiikVjI7dI" 'False) (C1 ('MetaCons "CreateJobResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "artifactList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Artifact])) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobType)))) :*: ((S1 ('MetaSel ('Just "signature") '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 "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:artifactList:CreateJobResponse', createJobResponse_artifactList - Undocumented member.

CreateJobResponse, createJobResponse_jobId - Undocumented member.

CreateJob, createJobResponse_jobType - Undocumented member.

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

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

$sel:warningMessage:CreateJobResponse', createJobResponse_warningMessage - 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.