aws_sdk_notifications/client/update_event_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateEventRule`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) to use to update the EventRule.</p><br>
/// - [`event_pattern(impl Into<String>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::event_pattern) / [`set_event_pattern(Option<String>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::set_event_pattern):<br>required: **false**<br><p>An additional event pattern used to further filter the events this EventRule receives.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-patterns.html">Amazon EventBridge event patterns</a> in the <i>Amazon EventBridge User Guide.</i></p><br>
/// - [`regions(impl Into<String>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::regions) / [`set_regions(Option<Vec::<String>>)`](crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::set_regions):<br>required: **false**<br><p>A list of AWS Regions that sends events to this EventRule.</p><br>
/// - On success, responds with [`UpdateEventRuleOutput`](crate::operation::update_event_rule::UpdateEventRuleOutput) with field(s):
/// - [`arn(String)`](crate::operation::update_event_rule::UpdateEventRuleOutput::arn): <p>The Amazon Resource Name (ARN) to use to update the EventRule.</p>
/// - [`notification_configuration_arn(String)`](crate::operation::update_event_rule::UpdateEventRuleOutput::notification_configuration_arn): <p>The ARN of the NotificationConfiguration.</p>
/// - [`status_summary_by_region(HashMap::<String, EventRuleStatusSummary>)`](crate::operation::update_event_rule::UpdateEventRuleOutput::status_summary_by_region): <p>The status of the action by Region.</p>
/// - On failure, responds with [`SdkError<UpdateEventRuleError>`](crate::operation::update_event_rule::UpdateEventRuleError)
pub fn update_event_rule(&self) -> crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder {
crate::operation::update_event_rule::builders::UpdateEventRuleFluentBuilder::new(self.handle.clone())
}
}