Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data StartJobRun = StartJobRun' {}
- newStartJobRun :: Text -> Text -> Text -> Text -> JobDriver -> StartJobRun
- startJobRun_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides)
- startJobRun_name :: Lens' StartJobRun (Maybe Text)
- startJobRun_tags :: Lens' StartJobRun (Maybe (HashMap Text Text))
- startJobRun_virtualClusterId :: Lens' StartJobRun Text
- startJobRun_clientToken :: Lens' StartJobRun Text
- startJobRun_executionRoleArn :: Lens' StartJobRun Text
- startJobRun_releaseLabel :: Lens' StartJobRun Text
- startJobRun_jobDriver :: Lens' StartJobRun JobDriver
- data StartJobRunResponse = StartJobRunResponse' {}
- newStartJobRunResponse :: Int -> StartJobRunResponse
- startJobRunResponse_arn :: Lens' StartJobRunResponse (Maybe Text)
- startJobRunResponse_name :: Lens' StartJobRunResponse (Maybe Text)
- startJobRunResponse_id :: Lens' StartJobRunResponse (Maybe Text)
- startJobRunResponse_virtualClusterId :: Lens' StartJobRunResponse (Maybe Text)
- startJobRunResponse_httpStatus :: Lens' StartJobRunResponse Int
Creating a Request
data StartJobRun Source #
See: newStartJobRun
smart constructor.
StartJobRun' | |
|
Instances
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_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides) Source #
The configuration overrides for the job run.
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.
StartJobRunResponse' | |
|
Instances
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.
startJobRunResponse_httpStatus :: Lens' StartJobRunResponse Int Source #
The response's http status code.