amazonka-dataexchange-2.0: Amazon Data Exchange 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.DataExchange.CreateJob

Description

This operation creates a job.

Synopsis

Creating a Request

data CreateJob Source #

See: newCreateJob smart constructor.

Constructors

CreateJob' 

Fields

Instances

Instances details
ToJSON CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

ToHeaders CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Methods

toHeaders :: CreateJob -> [Header] #

ToPath CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

ToQuery CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

AWSRequest CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Associated Types

type AWSResponse CreateJob #

Generic CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Associated Types

type Rep CreateJob :: Type -> Type #

Read CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Show CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

NFData CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Methods

rnf :: CreateJob -> () #

Eq CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Hashable CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

type AWSResponse CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

type Rep CreateJob Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

type Rep CreateJob = D1 ('MetaData "CreateJob" "Amazonka.DataExchange.CreateJob" "amazonka-dataexchange-2.0-E9wmOad6xSxAaT3Y4FNlvY" 'False) (C1 ('MetaCons "CreateJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RequestDetails) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Type)))

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:

CreateJob, createJob_details - The details for the CreateJob request.

CreateJob, createJob_type - The type of job to be created.

Request Lenses

createJob_details :: Lens' CreateJob RequestDetails Source #

The details for the CreateJob request.

createJob_type :: Lens' CreateJob Type Source #

The type of job to be created.

Destructuring the Response

data CreateJobResponse Source #

See: newCreateJobResponse smart constructor.

Constructors

CreateJobResponse' 

Fields

Instances

Instances details
Generic CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Associated Types

type Rep CreateJobResponse :: Type -> Type #

Read CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Show CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

NFData CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

Methods

rnf :: CreateJobResponse -> () #

Eq CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

type Rep CreateJobResponse Source # 
Instance details

Defined in Amazonka.DataExchange.CreateJob

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:

CreateJobResponse, createJobResponse_arn - The ARN for the job.

CreateJobResponse, createJobResponse_createdAt - The date and time that the job was created, in ISO 8601 format.

CreateJob, createJobResponse_details - Details about the job.

CreateJobResponse, createJobResponse_errors - The errors associated with jobs.

CreateJobResponse, createJobResponse_id - The unique identifier for the job.

CreateJobResponse, createJobResponse_state - The state of the job.

CreateJob, createJobResponse_type - The job type.

CreateJobResponse, createJobResponse_updatedAt - The date and time that the job was last updated, in ISO 8601 format.

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

Response Lenses

createJobResponse_createdAt :: Lens' CreateJobResponse (Maybe UTCTime) Source #

The date and time that the job was created, in ISO 8601 format.

createJobResponse_errors :: Lens' CreateJobResponse (Maybe [JobError]) Source #

The errors associated with jobs.

createJobResponse_id :: Lens' CreateJobResponse (Maybe Text) Source #

The unique identifier for the job.

createJobResponse_updatedAt :: Lens' CreateJobResponse (Maybe UTCTime) Source #

The date and time that the job was last updated, in ISO 8601 format.

createJobResponse_httpStatus :: Lens' CreateJobResponse Int Source #

The response's http status code.