aws_sdk_bedrockagentruntime/client/
list_invocation_steps.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListInvocationSteps`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`invocation_identifier(impl Into<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::invocation_identifier) / [`set_invocation_identifier(Option<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::set_invocation_identifier):<br>required: **false**<br><p>The unique identifier (in UUID format) for the invocation to list invocation steps for.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::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>
9    ///   - [`max_results(i32)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::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>
10    ///   - [`session_identifier(impl Into<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::session_identifier) / [`set_session_identifier(Option<String>)`](crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::set_session_identifier):<br>required: **true**<br><p>The unique identifier for the session associated with the invocation steps. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p><br>
11    /// - On success, responds with [`ListInvocationStepsOutput`](crate::operation::list_invocation_steps::ListInvocationStepsOutput) with field(s):
12    ///   - [`invocation_step_summaries(Vec::<InvocationStepSummary>)`](crate::operation::list_invocation_steps::ListInvocationStepsOutput::invocation_step_summaries): <p>A list of summaries for each invocation step associated with a session and if you specified it, an invocation within the session.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_invocation_steps::ListInvocationStepsOutput::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>
14    /// - On failure, responds with [`SdkError<ListInvocationStepsError>`](crate::operation::list_invocation_steps::ListInvocationStepsError)
15    pub fn list_invocation_steps(&self) -> crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder {
16        crate::operation::list_invocation_steps::builders::ListInvocationStepsFluentBuilder::new(self.handle.clone())
17    }
18}