Struct aws_sdk_glue::model::JobCommand
source ·
[−]#[non_exhaustive]pub struct JobCommand {
pub name: Option<String>,
pub script_location: Option<String>,
pub python_version: Option<String>,
}
Expand description
Specifies code that runs when a job is run.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
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
.
script_location: Option<String>
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.
python_version: Option<String>
The Python version being used to run a Python shell job. Allowed values are 2 or 3.
Implementations
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
.
Specifies the Amazon Simple Storage Service (Amazon S3) path to a script that runs a job.
The Python version being used to run a Python shell job. Allowed values are 2 or 3.
Creates a new builder-style object to manufacture JobCommand
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JobCommand
impl Send for JobCommand
impl Sync for JobCommand
impl Unpin for JobCommand
impl UnwindSafe for JobCommand
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more