aws-sdk-bedrockagentcorecontrol 1.55.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteGatewayRule`](crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder::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::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder::set_rule_id):<br>required: **true**<br><p>The unique identifier of the rule to delete.</p><br>
    /// - On success, responds with [`DeleteGatewayRuleOutput`](crate::operation::delete_gateway_rule::DeleteGatewayRuleOutput) with field(s):
    ///   - [`rule_id(String)`](crate::operation::delete_gateway_rule::DeleteGatewayRuleOutput::rule_id): <p>The unique identifier of the deleted rule.</p>
    ///   - [`status(GatewayRuleStatus)`](crate::operation::delete_gateway_rule::DeleteGatewayRuleOutput::status): <p>The status of the rule deletion operation.</p>
    /// - On failure, responds with [`SdkError<DeleteGatewayRuleError>`](crate::operation::delete_gateway_rule::DeleteGatewayRuleError)
    pub fn delete_gateway_rule(&self) -> crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder {
        crate::operation::delete_gateway_rule::builders::DeleteGatewayRuleFluentBuilder::new(self.handle.clone())
    }
}