aws-sdk-novaact 1.6.0

AWS SDK for Nova Act Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAct`](crate::operation::create_act::builders::CreateActFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workflow_definition_name(impl Into<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::workflow_definition_name) / [`set_workflow_definition_name(Option<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_workflow_definition_name):<br>required: **true**<br><p>The name of the workflow definition containing the session.</p><br>
    ///   - [`workflow_run_id(impl Into<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::workflow_run_id) / [`set_workflow_run_id(Option<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_workflow_run_id):<br>required: **true**<br><p>The unique identifier of the workflow run containing the session.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the session to create the act in.</p><br>
    ///   - [`task(impl Into<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::task) / [`set_task(Option<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_task):<br>required: **true**<br><p>The task description that defines what the act should accomplish.</p><br>
    ///   - [`tool_specs(ToolSpec)`](crate::operation::create_act::builders::CreateActFluentBuilder::tool_specs) / [`set_tool_specs(Option<Vec::<ToolSpec>>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_tool_specs):<br>required: **false**<br><p>A list of tool specifications that the act can invoke to complete its task.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_act::builders::CreateActFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`CreateActOutput`](crate::operation::create_act::CreateActOutput) with field(s):
    ///   - [`act_id(String)`](crate::operation::create_act::CreateActOutput::act_id): <p>The unique identifier for the created act.</p>
    ///   - [`status(ActStatus)`](crate::operation::create_act::CreateActOutput::status): <p>The initial status of the act after creation.</p>
    /// - On failure, responds with [`SdkError<CreateActError>`](crate::operation::create_act::CreateActError)
    pub fn create_act(&self) -> crate::operation::create_act::builders::CreateActFluentBuilder {
        crate::operation::create_act::builders::CreateActFluentBuilder::new(self.handle.clone())
    }
}