aws_sdk_bedrockagentruntime/client/get_invocation_step.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 [`GetInvocationStep`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`invocation_identifier(impl Into<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::invocation_identifier) / [`set_invocation_identifier(Option<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::set_invocation_identifier):<br>required: **true**<br><p>The unique identifier for the invocation in UUID format.</p><br>
7 /// - [`invocation_step_id(impl Into<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::invocation_step_id) / [`set_invocation_step_id(Option<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::set_invocation_step_id):<br>required: **true**<br><p>The unique identifier (in UUID format) for the specific invocation step to retrieve.</p><br>
8 /// - [`session_identifier(impl Into<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::session_identifier) / [`set_session_identifier(Option<String>)`](crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::set_session_identifier):<br>required: **true**<br><p>The unique identifier for the invocation step's associated session. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p><br>
9 /// - On success, responds with [`GetInvocationStepOutput`](crate::operation::get_invocation_step::GetInvocationStepOutput) with field(s):
10 /// - [`invocation_step(Option<InvocationStep>)`](crate::operation::get_invocation_step::GetInvocationStepOutput::invocation_step): <p>The complete details of the requested invocation step.</p>
11 /// - On failure, responds with [`SdkError<GetInvocationStepError>`](crate::operation::get_invocation_step::GetInvocationStepError)
12 pub fn get_invocation_step(&self) -> crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder {
13 crate::operation::get_invocation_step::builders::GetInvocationStepFluentBuilder::new(self.handle.clone())
14 }
15}