aws-sdk-bedrockagentcorecontrol 1.51.0

AWS SDK for Amazon Bedrock AgentCore Control
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListGatewayRules`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway to list rules for.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from a previous request.</p><br>
    /// - On success, responds with [`ListGatewayRulesOutput`](crate::operation::list_gateway_rules::ListGatewayRulesOutput) with field(s):
    ///   - [`gateway_rules(Vec::<GatewayRuleDetail>)`](crate::operation::list_gateway_rules::ListGatewayRulesOutput::gateway_rules): <p>The list of gateway rules.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_gateway_rules::ListGatewayRulesOutput::next_token): <p>The pagination token to use in a subsequent request.</p>
    /// - On failure, responds with [`SdkError<ListGatewayRulesError>`](crate::operation::list_gateway_rules::ListGatewayRulesError)
    pub fn list_gateway_rules(&self) -> crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder {
        crate::operation::list_gateway_rules::builders::ListGatewayRulesFluentBuilder::new(self.handle.clone())
    }
}