aws-sdk-bedrockagentcorecontrol 1.37.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
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListPolicyEngines`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token returned from a previous <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html">ListPolicyEngines</a> call. Use this token to retrieve the next page of results when the response is paginated.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of policy engines to return in a single response. If not specified, the default is 10 policy engines per page, with a maximum of 100 per page.</p><br>
    /// - On success, responds with [`ListPolicyEnginesOutput`](crate::operation::list_policy_engines::ListPolicyEnginesOutput) with field(s):
    ///   - [`policy_engines(Vec::<PolicyEngine>)`](crate::operation::list_policy_engines::ListPolicyEnginesOutput::policy_engines): <p>An array of policy engine objects that exist in the account. Each policy engine object contains the engine metadata, status, and key identifiers for further operations.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_policy_engines::ListPolicyEnginesOutput::next_token): <p>A pagination token that can be used in subsequent <a href="https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListPolicyEngines.html">ListPolicyEngines</a> calls to retrieve additional results. This token is only present when there are more results available.</p>
    /// - On failure, responds with [`SdkError<ListPolicyEnginesError>`](crate::operation::list_policy_engines::ListPolicyEnginesError)
    pub fn list_policy_engines(&self) -> crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder {
        crate::operation::list_policy_engines::builders::ListPolicyEnginesFluentBuilder::new(self.handle.clone())
    }
}