Struct aws_sdk_glue::model::Action
source ·
[−]#[non_exhaustive]pub struct Action {
pub job_name: Option<String>,
pub arguments: Option<HashMap<String, String>>,
pub timeout: Option<i32>,
pub security_configuration: Option<String>,
pub notification_property: Option<NotificationProperty>,
pub crawler_name: Option<String>,
}
Expand description
Defines an action to be initiated by a trigger.
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.job_name: Option<String>
The name of a job to be run.
arguments: Option<HashMap<String, String>>
The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
timeout: Option<i32>
The JobRun
timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
security_configuration: Option<String>
The name of the SecurityConfiguration
structure to be used with this action.
notification_property: Option<NotificationProperty>
Specifies configuration properties of a job run notification.
crawler_name: Option<String>
The name of the crawler to be used with this action.
Implementations
The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
You can specify arguments here that your own job-execution script consumes, as well as arguments that Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that Glue consumes to set up your job, see the Special Parameters Used by Glue topic in the developer guide.
The JobRun
timeout in minutes. This is the maximum time that a job run can consume resources before it is terminated and enters TIMEOUT
status. The default is 2,880 minutes (48 hours). This overrides the timeout value set in the parent job.
The name of the SecurityConfiguration
structure to be used with this action.
Specifies configuration properties of a job run notification.
The name of the crawler to be used with this action.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Action
impl UnwindSafe for Action
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