pub struct PutRuleInput {
pub name: String,
pub event_pattern: Option<String>,
pub schedule_expression: Option<String>,
pub state: Option<String>,
pub description: Option<String>,
pub role_arn: Option<String>,
pub tags: Vec<Tag>,
pub event_bus_name: Option<String>,
}Expand description
Input for the PutRule operation.
Fields§
§name: StringThe name of the rule.
event_pattern: Option<String>The event pattern in JSON format.
schedule_expression: Option<String>The schedule expression (e.g., "rate(5 minutes)").
state: Option<String>The state of the rule (ENABLED or DISABLED).
description: Option<String>A description of the rule.
role_arn: Option<String>The IAM role ARN associated with the rule.
Tags to associate with the rule.
event_bus_name: Option<String>The name of the event bus to associate with the rule.
Trait Implementations§
Source§impl Clone for PutRuleInput
impl Clone for PutRuleInput
Source§fn clone(&self) -> PutRuleInput
fn clone(&self) -> PutRuleInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PutRuleInput
impl Debug for PutRuleInput
Source§impl Default for PutRuleInput
impl Default for PutRuleInput
Source§fn default() -> PutRuleInput
fn default() -> PutRuleInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutRuleInput
impl<'de> Deserialize<'de> for PutRuleInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PutRuleInput
impl RefUnwindSafe for PutRuleInput
impl Send for PutRuleInput
impl Sync for PutRuleInput
impl Unpin for PutRuleInput
impl UnsafeUnpin for PutRuleInput
impl UnwindSafe for PutRuleInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more