Struct rusoto_glue::CreateTriggerRequest
source · [−]pub struct CreateTriggerRequest {
pub actions: Vec<Action>,
pub description: Option<String>,
pub name: String,
pub predicate: Option<Predicate>,
pub schedule: Option<String>,
pub start_on_creation: Option<bool>,
pub tags: Option<HashMap<String, String>>,
pub type_: String,
pub workflow_name: Option<String>,
}
Fields
actions: Vec<Action>
The actions initiated by this trigger when it fires.
description: Option<String>
A description of the new trigger.
name: String
The name of the trigger.
predicate: Option<Predicate>
A predicate to specify when the new trigger should fire.
This field is required when the trigger type is CONDITIONAL
.
schedule: Option<String>
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.
start_on_creation: Option<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.
type_: String
The type of the new trigger.
workflow_name: Option<String>
The name of the workflow associated with the trigger.
Trait Implementations
sourceimpl Clone for CreateTriggerRequest
impl Clone for CreateTriggerRequest
sourcefn clone(&self) -> CreateTriggerRequest
fn clone(&self) -> CreateTriggerRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CreateTriggerRequest
impl Debug for CreateTriggerRequest
sourceimpl Default for CreateTriggerRequest
impl Default for CreateTriggerRequest
sourcefn default() -> CreateTriggerRequest
fn default() -> CreateTriggerRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateTriggerRequest> for CreateTriggerRequest
impl PartialEq<CreateTriggerRequest> for CreateTriggerRequest
sourcefn eq(&self, other: &CreateTriggerRequest) -> bool
fn eq(&self, other: &CreateTriggerRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateTriggerRequest) -> bool
fn ne(&self, other: &CreateTriggerRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for CreateTriggerRequest
impl Serialize for CreateTriggerRequest
impl StructuralPartialEq for CreateTriggerRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateTriggerRequest
impl Send for CreateTriggerRequest
impl Sync for CreateTriggerRequest
impl Unpin for CreateTriggerRequest
impl UnwindSafe for CreateTriggerRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more