aws-sdk-bedrockagentruntime 1.126.0

AWS SDK for Agents for Amazon Bedrock Runtime
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 [`PutInvocationStep`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`session_identifier(impl Into<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::session_identifier) / [`set_session_identifier(Option<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::set_session_identifier):<br>required: **true**<br><p>The unique identifier for the session to add the invocation step to. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</p><br>
    ///   - [`invocation_identifier(impl Into<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::invocation_identifier) / [`set_invocation_identifier(Option<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::set_invocation_identifier):<br>required: **true**<br><p>The unique identifier (in UUID format) of the invocation to add the invocation step to.</p><br>
    ///   - [`invocation_step_time(DateTime)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::invocation_step_time) / [`set_invocation_step_time(Option<DateTime>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::set_invocation_step_time):<br>required: **true**<br><p>The timestamp for when the invocation step occurred.</p><br>
    ///   - [`payload(InvocationStepPayload)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::payload) / [`set_payload(Option<InvocationStepPayload>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::set_payload):<br>required: **true**<br><p>The payload for the invocation step, including text and images for the interaction.</p><br>
    ///   - [`invocation_step_id(impl Into<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::invocation_step_id) / [`set_invocation_step_id(Option<String>)`](crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::set_invocation_step_id):<br>required: **false**<br><p>The unique identifier of the invocation step in UUID format.</p><br>
    /// - On success, responds with [`PutInvocationStepOutput`](crate::operation::put_invocation_step::PutInvocationStepOutput) with field(s):
    ///   - [`invocation_step_id(String)`](crate::operation::put_invocation_step::PutInvocationStepOutput::invocation_step_id): <p>The unique identifier of the invocation step in UUID format.</p>
    /// - On failure, responds with [`SdkError<PutInvocationStepError>`](crate::operation::put_invocation_step::PutInvocationStepError)
    pub fn put_invocation_step(&self) -> crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder {
        crate::operation::put_invocation_step::builders::PutInvocationStepFluentBuilder::new(self.handle.clone())
    }
}