Struct aws_sdk_eventbridge::input::PutRuleInput
source · #[non_exhaustive]pub struct PutRuleInput { /* private fields */ }Implementations§
source§impl PutRuleInput
impl PutRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutRule>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutRuleInput.
source§impl PutRuleInput
impl PutRuleInput
sourcepub fn schedule_expression(&self) -> Option<&str>
pub fn schedule_expression(&self) -> Option<&str>
The scheduling expression. For example, "cron(0 20 * * ? *)" or "rate(5 minutes)".
sourcepub fn event_pattern(&self) -> Option<&str>
pub fn event_pattern(&self) -> Option<&str>
The event pattern. For more information, see EventBridge event patterns in the Amazon EventBridge User Guide.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the rule.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role associated with the rule.
If you're setting an event bus in another account as the target and that account granted permission to your account through an organization instead of directly by the account ID, you must specify a RoleArn with proper permissions in the Target structure, instead of here in this parameter.
The list of key-value pairs to associate with the rule.
sourcepub fn event_bus_name(&self) -> Option<&str>
pub fn event_bus_name(&self) -> Option<&str>
The name or ARN of the event bus to associate with this rule. If you omit this, the default event bus is used.
Trait Implementations§
source§impl Clone for PutRuleInput
impl Clone for PutRuleInput
source§fn clone(&self) -> PutRuleInput
fn clone(&self) -> PutRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PutRuleInput
impl Debug for PutRuleInput
source§impl PartialEq<PutRuleInput> for PutRuleInput
impl PartialEq<PutRuleInput> for PutRuleInput
source§fn eq(&self, other: &PutRuleInput) -> bool
fn eq(&self, other: &PutRuleInput) -> bool
self and other values to be equal, and is used
by ==.