Struct aws_sdk_glue::input::CreateTriggerInput
source · #[non_exhaustive]pub struct CreateTriggerInput { /* private fields */ }Implementations§
source§impl CreateTriggerInput
impl CreateTriggerInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTrigger, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateTrigger, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateTrigger>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateTriggerInput.
source§impl CreateTriggerInput
impl CreateTriggerInput
sourcepub fn workflow_name(&self) -> Option<&str>
pub fn workflow_name(&self) -> Option<&str>
The name of the workflow associated with the trigger.
sourcepub fn type(&self) -> Option<&TriggerType>
pub fn type(&self) -> Option<&TriggerType>
The type of the new trigger.
sourcepub fn schedule(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&str>
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
This field is required when the trigger type is SCHEDULED.
sourcepub fn predicate(&self) -> Option<&Predicate>
pub fn predicate(&self) -> Option<&Predicate>
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL.
sourcepub fn actions(&self) -> Option<&[Action]>
pub fn actions(&self) -> Option<&[Action]>
The actions initiated by this trigger when it fires.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the new trigger.
sourcepub fn start_on_creation(&self) -> bool
pub fn start_on_creation(&self) -> bool
Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.
The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
sourcepub fn event_batching_condition(&self) -> Option<&EventBatchingCondition>
pub fn event_batching_condition(&self) -> Option<&EventBatchingCondition>
Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.
Trait Implementations§
source§impl Clone for CreateTriggerInput
impl Clone for CreateTriggerInput
source§fn clone(&self) -> CreateTriggerInput
fn clone(&self) -> CreateTriggerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTriggerInput
impl Debug for CreateTriggerInput
source§impl PartialEq<CreateTriggerInput> for CreateTriggerInput
impl PartialEq<CreateTriggerInput> for CreateTriggerInput
source§fn eq(&self, other: &CreateTriggerInput) -> bool
fn eq(&self, other: &CreateTriggerInput) -> bool
self and other values to be equal, and is used
by ==.