aws-sdk-bedrockagentcorecontrol 1.58.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateGatewayRule`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway containing the rule.</p><br>
    ///   - [`rule_id(impl Into<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_rule_id):<br>required: **true**<br><p>The unique identifier of the rule to update.</p><br>
    ///   - [`priority(i32)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::priority) / [`set_priority(Option<i32>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_priority):<br>required: **false**<br><p>The updated priority of the rule.</p><br>
    ///   - [`conditions(Condition)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::conditions) / [`set_conditions(Option<Vec::<Condition>>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_conditions):<br>required: **false**<br><p>The updated conditions for the rule.</p><br>
    ///   - [`actions(Action)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::actions) / [`set_actions(Option<Vec::<Action>>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_actions):<br>required: **false**<br><p>The updated actions for the rule.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of the rule.</p><br>
    /// - On success, responds with [`UpdateGatewayRuleOutput`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput) with field(s):
    ///   - [`rule_id(String)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::rule_id): <p>The unique identifier of the gateway rule.</p>
    ///   - [`gateway_arn(String)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway that the rule belongs to.</p>
    ///   - [`priority(i32)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::priority): <p>The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first.</p>
    ///   - [`conditions(Option<Vec::<Condition>>)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::conditions): <p>The conditions that must be met for the rule to apply.</p>
    ///   - [`actions(Vec::<Action>)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::actions): <p>The actions to take when the rule conditions are met.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::description): <p>The description of the gateway rule.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::created_at): <p>The timestamp when the rule was created.</p>
    ///   - [`status(GatewayRuleStatus)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::status): <p>The current status of the rule.</p>
    ///   - [`system(Option<SystemManagedBlock>)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::system): <p>System-managed metadata for rules created by automated processes.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_gateway_rule::UpdateGatewayRuleOutput::updated_at): <p>The timestamp when the rule was last updated.</p>
    /// - On failure, responds with [`SdkError<UpdateGatewayRuleError>`](crate::operation::update_gateway_rule::UpdateGatewayRuleError)
    pub fn update_gateway_rule(&self) -> crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder {
        crate::operation::update_gateway_rule::builders::UpdateGatewayRuleFluentBuilder::new(self.handle.clone())
    }
}