libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers
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.EMRContainers.StartJobRun

Description

Starts a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.

Synopsis

Creating a Request

data StartJobRun Source #

See: newStartJobRun smart constructor.

Constructors

StartJobRun' 

Fields

Instances

Instances details
Eq StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Show StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Generic StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Associated Types

type Rep StartJobRun :: Type -> Type #

NFData StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Methods

rnf :: StartJobRun -> () #

Hashable StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

ToJSON StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

AWSRequest StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Associated Types

type AWSResponse StartJobRun #

ToHeaders StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Methods

toHeaders :: StartJobRun -> [Header] #

ToPath StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

ToQuery StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

type Rep StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

type AWSResponse StartJobRun Source # 
Instance details

Defined in Amazonka.EMRContainers.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:

$sel:configurationOverrides:StartJobRun', startJobRun_configurationOverrides - The configuration overrides for the job run.

$sel:name:StartJobRun', startJobRun_name - The name of the job run.

$sel:tags:StartJobRun', startJobRun_tags - The tags assigned to job runs.

$sel:virtualClusterId:StartJobRun', startJobRun_virtualClusterId - The virtual cluster ID for which the job run request is submitted.

$sel:clientToken:StartJobRun', startJobRun_clientToken - The client idempotency token of the job run request.

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

$sel:releaseLabel:StartJobRun', startJobRun_releaseLabel - The Amazon EMR release version to use for the job run.

$sel:jobDriver:StartJobRun', startJobRun_jobDriver - The job driver for the job run.

Request Lenses

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

The name of the job run.

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

The tags assigned to job runs.

startJobRun_virtualClusterId :: Lens' StartJobRun Text Source #

The virtual cluster ID for which the job run request is submitted.

startJobRun_clientToken :: Lens' StartJobRun Text Source #

The client idempotency token of the job run request.

startJobRun_executionRoleArn :: Lens' StartJobRun Text Source #

The execution role ARN for the job run.

startJobRun_releaseLabel :: Lens' StartJobRun Text Source #

The Amazon EMR release version to use for the job run.

startJobRun_jobDriver :: Lens' StartJobRun JobDriver Source #

The job driver for the job run.

Destructuring the Response

data StartJobRunResponse Source #

See: newStartJobRunResponse smart constructor.

Constructors

StartJobRunResponse' 

Fields

Instances

Instances details
Eq StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Read StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Show StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Generic StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Associated Types

type Rep StartJobRunResponse :: Type -> Type #

NFData StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

Methods

rnf :: StartJobRunResponse -> () #

type Rep StartJobRunResponse Source # 
Instance details

Defined in Amazonka.EMRContainers.StartJobRun

type Rep StartJobRunResponse = D1 ('MetaData "StartJobRunResponse" "Amazonka.EMRContainers.StartJobRun" "libZSservicesZSamazonka-emr-containersZSamazonka-emr-containers" 'False) (C1 ('MetaCons "StartJobRunResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "virtualClusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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:arn:StartJobRunResponse', startJobRunResponse_arn - This output lists the ARN of job run.

$sel:name:StartJobRun', startJobRunResponse_name - This output displays the name of the started job run.

$sel:id:StartJobRunResponse', startJobRunResponse_id - This output displays the started job run ID.

$sel:virtualClusterId:StartJobRun', startJobRunResponse_virtualClusterId - This output displays the virtual cluster ID for which the job run was submitted.

$sel:httpStatus:StartJobRunResponse', startJobRunResponse_httpStatus - The response's http status code.

Response Lenses

startJobRunResponse_arn :: Lens' StartJobRunResponse (Maybe Text) Source #

This output lists the ARN of job run.

startJobRunResponse_name :: Lens' StartJobRunResponse (Maybe Text) Source #

This output displays the name of the started job run.

startJobRunResponse_id :: Lens' StartJobRunResponse (Maybe Text) Source #

This output displays the started job run ID.

startJobRunResponse_virtualClusterId :: Lens' StartJobRunResponse (Maybe Text) Source #

This output displays the virtual cluster ID for which the job run was submitted.