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 [`ListGatewayTargets`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`gateway_identifier(impl Into<String>)`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::gateway_identifier) / [`set_gateway_identifier(Option<String>)`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::set_gateway_identifier):<br>required: **true**<br><p>The identifier of the gateway to list targets for.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::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_targets::builders::ListGatewayTargetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p><br>
    /// - On success, responds with [`ListGatewayTargetsOutput`](crate::operation::list_gateway_targets::ListGatewayTargetsOutput) with field(s):
    ///   - [`items(Vec::<TargetSummary>)`](crate::operation::list_gateway_targets::ListGatewayTargetsOutput::items): <p>The list of gateway target summaries.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_gateway_targets::ListGatewayTargetsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
    /// - On failure, responds with [`SdkError<ListGatewayTargetsError>`](crate::operation::list_gateway_targets::ListGatewayTargetsError)
    pub fn list_gateway_targets(&self) -> crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder {
        crate::operation::list_gateway_targets::builders::ListGatewayTargetsFluentBuilder::new(self.handle.clone())
    }
}