amazonka-m2-2.0: Amazon MainframeModernization 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.M2.StartBatchJob

Description

Starts a batch job and returns the unique identifier of this execution of the batch job. The associated application must be running in order to start the batch job.

Synopsis

Creating a Request

data StartBatchJob Source #

See: newStartBatchJob smart constructor.

Constructors

StartBatchJob' 

Fields

Instances

Instances details
ToJSON StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

ToHeaders StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

ToPath StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

ToQuery StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

AWSRequest StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Associated Types

type AWSResponse StartBatchJob #

Generic StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Associated Types

type Rep StartBatchJob :: Type -> Type #

Read StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Show StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

NFData StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Methods

rnf :: StartBatchJob -> () #

Eq StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Hashable StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

type AWSResponse StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

type Rep StartBatchJob Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

type Rep StartBatchJob = D1 ('MetaData "StartBatchJob" "Amazonka.M2.StartBatchJob" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "StartBatchJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobParams") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "batchJobIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BatchJobIdentifier))))

newStartBatchJob Source #

Create a value of StartBatchJob 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:jobParams:StartBatchJob', startBatchJob_jobParams - The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.

StartBatchJob, startBatchJob_applicationId - The unique identifier of the application associated with this batch job.

$sel:batchJobIdentifier:StartBatchJob', startBatchJob_batchJobIdentifier - The unique identifier of the batch job.

Request Lenses

startBatchJob_jobParams :: Lens' StartBatchJob (Maybe (HashMap Text Text)) Source #

The collection of batch job parameters. For details about limits for keys and values, see Coding variables in JCL.

startBatchJob_applicationId :: Lens' StartBatchJob Text Source #

The unique identifier of the application associated with this batch job.

Destructuring the Response

data StartBatchJobResponse Source #

See: newStartBatchJobResponse smart constructor.

Constructors

StartBatchJobResponse' 

Fields

Instances

Instances details
Generic StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Associated Types

type Rep StartBatchJobResponse :: Type -> Type #

Read StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Show StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

NFData StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

Methods

rnf :: StartBatchJobResponse -> () #

Eq StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

type Rep StartBatchJobResponse Source # 
Instance details

Defined in Amazonka.M2.StartBatchJob

type Rep StartBatchJobResponse = D1 ('MetaData "StartBatchJobResponse" "Amazonka.M2.StartBatchJob" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "StartBatchJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "executionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newStartBatchJobResponse Source #

Create a value of StartBatchJobResponse 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:httpStatus:StartBatchJobResponse', startBatchJobResponse_httpStatus - The response's http status code.

StartBatchJobResponse, startBatchJobResponse_executionId - The unique identifier of this execution of the batch job.

Response Lenses

startBatchJobResponse_executionId :: Lens' StartBatchJobResponse Text Source #

The unique identifier of this execution of the batch job.