| Copyright | (c) 2013-2023 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
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
- data StartJobRun = StartJobRun' {
- configurationOverrides :: Maybe ConfigurationOverrides
 - executionRoleArn :: Maybe Text
 - jobDriver :: Maybe JobDriver
 - jobTemplateId :: Maybe Text
 - jobTemplateParameters :: Maybe (HashMap Text Text)
 - name :: Maybe Text
 - releaseLabel :: Maybe Text
 - tags :: Maybe (HashMap Text Text)
 - virtualClusterId :: Text
 - clientToken :: Text
 
 - newStartJobRun :: Text -> Text -> StartJobRun
 - startJobRun_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides)
 - startJobRun_executionRoleArn :: Lens' StartJobRun (Maybe Text)
 - startJobRun_jobDriver :: Lens' StartJobRun (Maybe JobDriver)
 - startJobRun_jobTemplateId :: Lens' StartJobRun (Maybe Text)
 - startJobRun_jobTemplateParameters :: Lens' StartJobRun (Maybe (HashMap Text Text))
 - startJobRun_name :: Lens' StartJobRun (Maybe Text)
 - startJobRun_releaseLabel :: Lens' StartJobRun (Maybe Text)
 - startJobRun_tags :: Lens' StartJobRun (Maybe (HashMap Text Text))
 - startJobRun_virtualClusterId :: Lens' StartJobRun Text
 - startJobRun_clientToken :: Lens' StartJobRun Text
 - data StartJobRunResponse = StartJobRunResponse' {}
 - newStartJobRunResponse :: Int -> StartJobRunResponse
 - startJobRunResponse_arn :: Lens' StartJobRunResponse (Maybe Text)
 - startJobRunResponse_id :: Lens' StartJobRunResponse (Maybe Text)
 - startJobRunResponse_name :: 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.
Constructors
| StartJobRun' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> StartJobRun | 
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.
StartJobRun, startJobRun_executionRoleArn - The execution role ARN for the job run.
StartJobRun, startJobRun_jobDriver - The job driver for the job run.
$sel:jobTemplateId:StartJobRun', startJobRun_jobTemplateId - The job template ID to be used to start the job run.
$sel:jobTemplateParameters:StartJobRun', startJobRun_jobTemplateParameters - The values of job template parameters to start a job run.
StartJobRun, startJobRun_name - The name of the job run.
StartJobRun, startJobRun_releaseLabel - The Amazon EMR release version to use for the job run.
StartJobRun, startJobRun_tags - The tags assigned to job runs.
StartJobRun, startJobRun_virtualClusterId - The virtual cluster ID for which the job run request is submitted.
StartJobRun, startJobRun_clientToken - The client idempotency token of the job run request.
Request Lenses
startJobRun_configurationOverrides :: Lens' StartJobRun (Maybe ConfigurationOverrides) Source #
The configuration overrides for the job run.
startJobRun_executionRoleArn :: Lens' StartJobRun (Maybe Text) Source #
The execution role ARN for the job run.
startJobRun_jobDriver :: Lens' StartJobRun (Maybe JobDriver) Source #
The job driver for the job run.
startJobRun_jobTemplateId :: Lens' StartJobRun (Maybe Text) Source #
The job template ID to be used to start the job run.
startJobRun_jobTemplateParameters :: Lens' StartJobRun (Maybe (HashMap Text Text)) Source #
The values of job template parameters to start a job run.
startJobRun_name :: Lens' StartJobRun (Maybe Text) Source #
The name of the job run.
startJobRun_releaseLabel :: Lens' StartJobRun (Maybe Text) Source #
The Amazon EMR release version to use for 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.
Destructuring the Response
data StartJobRunResponse Source #
See: newStartJobRunResponse smart constructor.
Constructors
| StartJobRunResponse' | |
Fields 
  | |
Instances
newStartJobRunResponse Source #
Arguments
| :: Int | |
| -> StartJobRunResponse | 
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:
StartJobRunResponse, startJobRunResponse_arn - This output lists the ARN of job run.
StartJobRunResponse, startJobRunResponse_id - This output displays the started job run ID.
StartJobRun, startJobRunResponse_name - This output displays the name of the started job run.
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_id :: Lens' StartJobRunResponse (Maybe Text) Source #
This output displays the started job run ID.
startJobRunResponse_name :: Lens' StartJobRunResponse (Maybe Text) Source #
This output displays the name of the started job run.
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.