| 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.Glue.Types.JobCommand
Description
Synopsis
Documentation
data JobCommand Source #
Specifies code that runs when a job is run.
See: newJobCommand smart constructor.
Constructors
| JobCommand' | |
Fields
| |
Instances
newJobCommand :: JobCommand Source #
Create a value of JobCommand 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:name:JobCommand', jobCommand_name - The name of the job command. For an Apache Spark ETL job, this must be
glueetl. For a Python shell job, it must be pythonshell. For an
Apache Spark streaming ETL job, this must be gluestreaming.
$sel:pythonVersion:JobCommand', jobCommand_pythonVersion - The Python version being used to run a Python shell job. Allowed values
are 2 or 3.
$sel:scriptLocation:JobCommand', jobCommand_scriptLocation - Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
that runs a job.
jobCommand_name :: Lens' JobCommand (Maybe Text) Source #
The name of the job command. For an Apache Spark ETL job, this must be
glueetl. For a Python shell job, it must be pythonshell. For an
Apache Spark streaming ETL job, this must be gluestreaming.
jobCommand_pythonVersion :: Lens' JobCommand (Maybe Text) Source #
The Python version being used to run a Python shell job. Allowed values are 2 or 3.
jobCommand_scriptLocation :: Lens' JobCommand (Maybe Text) Source #
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.