aws-sdk-bedrockagentcorecontrol 1.49.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 [`GetGatewayRule`](crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder::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::get_gateway_rule::builders::GetGatewayRuleFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder::set_rule_id):<br>required: **true**<br><p>The unique identifier of the rule to retrieve.</p><br>
    /// - On success, responds with [`GetGatewayRuleOutput`](crate::operation::get_gateway_rule::GetGatewayRuleOutput) with field(s):
    ///   - [`rule_id(String)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::rule_id): <p>The unique identifier of the gateway rule.</p>
    ///   - [`gateway_arn(String)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway that the rule belongs to.</p>
    ///   - [`priority(i32)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::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::get_gateway_rule::GetGatewayRuleOutput::conditions): <p>The conditions that must be met for the rule to apply.</p>
    ///   - [`actions(Vec::<Action>)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::actions): <p>The actions to take when the rule conditions are met.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::description): <p>The description of the gateway rule.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::created_at): <p>The timestamp when the rule was created.</p>
    ///   - [`status(GatewayRuleStatus)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::status): <p>The current status of the rule.</p>
    ///   - [`system(Option<SystemManagedBlock>)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::system): <p>System-managed metadata for rules created by automated processes.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_gateway_rule::GetGatewayRuleOutput::updated_at): <p>The timestamp when the rule was last updated.</p>
    /// - On failure, responds with [`SdkError<GetGatewayRuleError>`](crate::operation::get_gateway_rule::GetGatewayRuleError)
    pub fn get_gateway_rule(&self) -> crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder {
        crate::operation::get_gateway_rule::builders::GetGatewayRuleFluentBuilder::new(self.handle.clone())
    }
}