Struct rusoto_events::PutRuleRequest
[−]
[src]
pub struct PutRuleRequest { pub description: Option<RuleDescription>, pub event_pattern: Option<EventPattern>, pub name: RuleName, pub role_arn: Option<RoleArn>, pub schedule_expression: Option<ScheduleExpression>, pub state: Option<RuleState>, }
Fields
description: Option<RuleDescription>
A description of the rule.
event_pattern: Option<EventPattern>
The event pattern. For more information, see Events and Event Patterns in the Amazon CloudWatch Events User Guide.
name: RuleName
The name of the rule that you are creating or updating.
role_arn: Option<RoleArn>
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
schedule_expression: Option<ScheduleExpression>
The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".
state: Option<RuleState>
Indicates whether the rule is enabled or disabled.
Trait Implementations
impl Default for PutRuleRequest
[src]
fn default() -> PutRuleRequest
Returns the "default value" for a type. Read more
impl Debug for PutRuleRequest
[src]
impl Clone for PutRuleRequest
[src]
fn clone(&self) -> PutRuleRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more