amazonka-emr-serverless-2.0: Amazon EMR Serverless 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.EMRServerless.StartJobRun

Description

Starts a job run.

Synopsis

Creating a Request

data StartJobRun Source #

See: newStartJobRun smart constructor.

Constructors

StartJobRun' 

Fields

Instances

Instances details
ToJSON StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

ToHeaders StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Methods

toHeaders :: StartJobRun -> [Header] #

ToPath StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

ToQuery StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

AWSRequest StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Associated Types

type AWSResponse StartJobRun #

Generic StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Associated Types

type Rep StartJobRun :: Type -> Type #

Show StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

NFData StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Methods

rnf :: StartJobRun -> () #

Eq StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Hashable StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

type AWSResponse StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

type Rep StartJobRun Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

newStartJobRun Source #

Create a value of StartJobRun 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:

StartJobRun, startJobRun_configurationOverrides - The configuration overrides for the job run.

$sel:executionTimeoutMinutes:StartJobRun', startJobRun_executionTimeoutMinutes - The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

StartJobRun, startJobRun_jobDriver - The job driver for the job run.

StartJobRun, startJobRun_name - The optional job run name. This doesn't have to be unique.

StartJobRun, startJobRun_tags - The tags assigned to the job run.

StartJobRun, startJobRun_applicationId - The ID of the application on which to run the job.

$sel:clientToken:StartJobRun', startJobRun_clientToken - The client idempotency token of the job run to start. Its value must be unique for each request.

$sel:executionRoleArn:StartJobRun', startJobRun_executionRoleArn - The execution role ARN for the job run.

Request Lenses

startJobRun_executionTimeoutMinutes :: Lens' StartJobRun (Maybe Natural) Source #

The maximum duration for the job run to run. If the job run runs beyond this duration, it will be automatically cancelled.

startJobRun_jobDriver :: Lens' StartJobRun (Maybe JobDriver) Source #

The job driver for the job run.

startJobRun_name :: Lens' StartJobRun (Maybe Text) Source #

The optional job run name. This doesn't have to be unique.

startJobRun_tags :: Lens' StartJobRun (Maybe (HashMap Text Text)) Source #

The tags assigned to the job run.

startJobRun_applicationId :: Lens' StartJobRun Text Source #

The ID of the application on which to run the job.

startJobRun_clientToken :: Lens' StartJobRun Text Source #

The client idempotency token of the job run to start. Its value must be unique for each request.

startJobRun_executionRoleArn :: Lens' StartJobRun Text Source #

The execution role ARN for the job run.

Destructuring the Response

data StartJobRunResponse Source #

See: newStartJobRunResponse smart constructor.

Constructors

StartJobRunResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • applicationId :: Text

    This output displays the application ID on which the job run was submitted.

  • jobRunId :: Text

    The output contains the ID of the started job run.

  • arn :: Text

    The output lists the execution role ARN of the job run.

Instances

Instances details
Generic StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Associated Types

type Rep StartJobRunResponse :: Type -> Type #

Read StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Show StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

NFData StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

Methods

rnf :: StartJobRunResponse -> () #

Eq StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

type Rep StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRServerless.StartJobRun

type Rep StartJobRunResponse = D1 ('MetaData "StartJobRunResponse" "Amazonka.EMRServerless.StartJobRun" "amazonka-emr-serverless-2.0-Zw6ehwruaDFJFsqn31iYt" 'False) (C1 ('MetaCons "StartJobRunResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "jobRunId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartJobRunResponse Source #

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

StartJobRun, startJobRunResponse_applicationId - This output displays the application ID on which the job run was submitted.

StartJobRunResponse, startJobRunResponse_jobRunId - The output contains the ID of the started job run.

StartJobRunResponse, startJobRunResponse_arn - The output lists the execution role ARN of the job run.

Response Lenses

startJobRunResponse_applicationId :: Lens' StartJobRunResponse Text Source #

This output displays the application ID on which the job run was submitted.

startJobRunResponse_jobRunId :: Lens' StartJobRunResponse Text Source #

The output contains the ID of the started job run.

startJobRunResponse_arn :: Lens' StartJobRunResponse Text Source #

The output lists the execution role ARN of the job run.