aws_sdk_novaact/client/create_workflow_run.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 [`CreateWorkflowRun`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`workflow_definition_name(impl Into<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::workflow_definition_name) / [`set_workflow_definition_name(Option<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::set_workflow_definition_name):<br>required: **true**<br><p>The name of the workflow definition to execute.</p><br>
7 /// - [`model_id(impl Into<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::model_id) / [`set_model_id(Option<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::set_model_id):<br>required: **true**<br><p>The ID of the AI model to use for workflow execution.</p><br>
8 /// - [`client_token(impl Into<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::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>
9 /// - [`log_group_name(impl Into<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::log_group_name) / [`set_log_group_name(Option<String>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::set_log_group_name):<br>required: **false**<br><p>The CloudWatch log group name for storing workflow execution logs.</p><br>
10 /// - [`client_info(ClientInfo)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::client_info) / [`set_client_info(Option<ClientInfo>)`](crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::set_client_info):<br>required: **true**<br><p>Information about the client making the request, including compatibility version and SDK version.</p><br>
11 /// - On success, responds with [`CreateWorkflowRunOutput`](crate::operation::create_workflow_run::CreateWorkflowRunOutput) with field(s):
12 /// - [`workflow_run_id(String)`](crate::operation::create_workflow_run::CreateWorkflowRunOutput::workflow_run_id): <p>The unique identifier for the created workflow run.</p>
13 /// - [`status(WorkflowRunStatus)`](crate::operation::create_workflow_run::CreateWorkflowRunOutput::status): <p>The initial status of the workflow run after creation.</p>
14 /// - On failure, responds with [`SdkError<CreateWorkflowRunError>`](crate::operation::create_workflow_run::CreateWorkflowRunError)
15 pub fn create_workflow_run(&self) -> crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder {
16 crate::operation::create_workflow_run::builders::CreateWorkflowRunFluentBuilder::new(self.handle.clone())
17 }
18}