aws_sdk_novaact/client/
invoke_act_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 [`InvokeActStep`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workflow_definition_name(impl Into<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::workflow_definition_name) / [`set_workflow_definition_name(Option<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_workflow_definition_name):<br>required: **true**<br><p>The name of the workflow definition containing the act.</p><br>
7    ///   - [`workflow_run_id(impl Into<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::workflow_run_id) / [`set_workflow_run_id(Option<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_workflow_run_id):<br>required: **true**<br><p>The unique identifier of the workflow run containing the act.</p><br>
8    ///   - [`session_id(impl Into<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the session containing the act.</p><br>
9    ///   - [`act_id(impl Into<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::act_id) / [`set_act_id(Option<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_act_id):<br>required: **true**<br><p>The unique identifier of the act to invoke the next step for.</p><br>
10    ///   - [`call_results(CallResult)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::call_results) / [`set_call_results(Option<Vec::<CallResult>>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_call_results):<br>required: **true**<br><p>The results from previous tool calls that the act requested.</p><br>
11    ///   - [`previous_step_id(impl Into<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::previous_step_id) / [`set_previous_step_id(Option<String>)`](crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::set_previous_step_id):<br>required: **false**<br><p>The identifier of the previous step, used for tracking execution flow.</p><br>
12    /// - On success, responds with [`InvokeActStepOutput`](crate::operation::invoke_act_step::InvokeActStepOutput) with field(s):
13    ///   - [`calls(Vec::<Call>)`](crate::operation::invoke_act_step::InvokeActStepOutput::calls): <p>A list of tool calls that the act wants to execute in this step.</p>
14    ///   - [`step_id(String)`](crate::operation::invoke_act_step::InvokeActStepOutput::step_id): <p>The unique identifier for this execution step.</p>
15    /// - On failure, responds with [`SdkError<InvokeActStepError>`](crate::operation::invoke_act_step::InvokeActStepError)
16    pub fn invoke_act_step(&self) -> crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder {
17        crate::operation::invoke_act_step::builders::InvokeActStepFluentBuilder::new(self.handle.clone())
18    }
19}