aws-sdk-wellarchitected 1.110.0

AWS SDK for AWS Well-Architected Tool
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 [`ListAgentContexts`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the profile to list contexts for.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for this request.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to use to retrieve the next set of results.</p><br>
    /// - On success, responds with [`ListAgentContextsOutput`](crate::operation::list_agent_contexts::ListAgentContextsOutput) with field(s):
    ///   - [`items(Vec::<ContextSummary>)`](crate::operation::list_agent_contexts::ListAgentContextsOutput::items): <p>A list of context summaries associated with the profile.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_agent_contexts::ListAgentContextsOutput::next_token): <p>The token to use to retrieve the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListAgentContextsError>`](crate::operation::list_agent_contexts::ListAgentContextsError)
    pub fn list_agent_contexts(&self) -> crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder {
        crate::operation::list_agent_contexts::builders::ListAgentContextsFluentBuilder::new(self.handle.clone())
    }
}