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 |
Synopsis
Documentation
data JobCommand Source #
Specifies code that runs when a job is run.
See: newJobCommand
smart constructor.
JobCommand' | |
|
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:scriptLocation:JobCommand'
, jobCommand_scriptLocation
- Specifies the Amazon Simple Storage Service (Amazon S3) path to a script
that runs a job.
$sel:pythonVersion:JobCommand'
, jobCommand_pythonVersion
- The Python version being used to run a Python shell job. Allowed values
are 2 or 3.
$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
.
jobCommand_scriptLocation :: Lens' JobCommand (Maybe Text) Source #
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.
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_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
.