aws_sdk_vpclattice/client/update_rule.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateRule`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_identifier(impl Into<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the service.</p><br>
/// - [`listener_identifier(impl Into<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::listener_identifier) / [`set_listener_identifier(Option<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_listener_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the listener.</p><br>
/// - [`rule_identifier(impl Into<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::rule_identifier) / [`set_rule_identifier(Option<String>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_rule_identifier):<br>required: **true**<br><p>The ID or Amazon Resource Name (ARN) of the rule.</p><br>
/// - [`r#match(RuleMatch)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::match) / [`set_match(Option<RuleMatch>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_match):<br>required: **false**<br><p>The rule match.</p><br>
/// - [`priority(i32)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_priority):<br>required: **false**<br><p>The rule priority. A listener can't have multiple rules with the same priority.</p><br>
/// - [`action(RuleAction)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::action) / [`set_action(Option<RuleAction>)`](crate::operation::update_rule::builders::UpdateRuleFluentBuilder::set_action):<br>required: **false**<br><p>Information about the action for the specified listener rule.</p><br>
/// - On success, responds with [`UpdateRuleOutput`](crate::operation::update_rule::UpdateRuleOutput) with field(s):
/// - [`arn(Option<String>)`](crate::operation::update_rule::UpdateRuleOutput::arn): <p>The Amazon Resource Name (ARN) of the listener.</p>
/// - [`id(Option<String>)`](crate::operation::update_rule::UpdateRuleOutput::id): <p>The ID of the listener.</p>
/// - [`name(Option<String>)`](crate::operation::update_rule::UpdateRuleOutput::name): <p>The name of the listener.</p>
/// - [`is_default(Option<bool>)`](crate::operation::update_rule::UpdateRuleOutput::is_default): <p>Indicates whether this is the default rule.</p>
/// - [`r#match(Option<RuleMatch>)`](crate::operation::update_rule::UpdateRuleOutput::match): <p>The rule match.</p>
/// - [`priority(Option<i32>)`](crate::operation::update_rule::UpdateRuleOutput::priority): <p>The rule priority.</p>
/// - [`action(Option<RuleAction>)`](crate::operation::update_rule::UpdateRuleOutput::action): <p>Information about the action for the specified listener rule.</p>
/// - On failure, responds with [`SdkError<UpdateRuleError>`](crate::operation::update_rule::UpdateRuleError)
pub fn update_rule(&self) -> crate::operation::update_rule::builders::UpdateRuleFluentBuilder {
crate::operation::update_rule::builders::UpdateRuleFluentBuilder::new(self.handle.clone())
}
}