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
- data Action = Action' {}
- newAction :: Action
- action_notificationProperty :: Lens' Action (Maybe NotificationProperty)
- action_arguments :: Lens' Action (Maybe (HashMap Text Text))
- action_jobName :: Lens' Action (Maybe Text)
- action_securityConfiguration :: Lens' Action (Maybe Text)
- action_timeout :: Lens' Action (Maybe Natural)
- action_crawlerName :: Lens' Action (Maybe Text)
Documentation
Defines an action to be initiated by a trigger.
See: newAction
smart constructor.
Action' | |
|
Instances
Create a value of Action
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:notificationProperty:Action'
, action_notificationProperty
- Specifies configuration properties of a job run notification.
$sel:arguments:Action'
, action_arguments
- 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.
$sel:jobName:Action'
, action_jobName
- The name of a job to be run.
$sel:securityConfiguration:Action'
, action_securityConfiguration
- The name of the SecurityConfiguration
structure to be used with this
action.
$sel:timeout:Action'
, action_timeout
- 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.
$sel:crawlerName:Action'
, action_crawlerName
- The name of the crawler to be used with this action.
action_notificationProperty :: Lens' Action (Maybe NotificationProperty) Source #
Specifies configuration properties of a job run notification.
action_arguments :: Lens' Action (Maybe (HashMap Text Text)) Source #
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.
action_securityConfiguration :: Lens' Action (Maybe Text) Source #
The name of the SecurityConfiguration
structure to be used with this
action.