aws-sdk-novaact 1.6.0

AWS SDK for Nova Act Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteWorkflowRun`](crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workflow_definition_name(impl Into<String>)`](crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder::workflow_definition_name) / [`set_workflow_definition_name(Option<String>)`](crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder::set_workflow_definition_name):<br>required: **true**<br><p>The name of the workflow definition containing the workflow run.</p><br>
    ///   - [`workflow_run_id(impl Into<String>)`](crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder::workflow_run_id) / [`set_workflow_run_id(Option<String>)`](crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder::set_workflow_run_id):<br>required: **true**<br><p>The unique identifier of the workflow run to delete.</p><br>
    /// - On success, responds with [`DeleteWorkflowRunOutput`](crate::operation::delete_workflow_run::DeleteWorkflowRunOutput) with field(s):
    ///   - [`status(WorkflowRunStatus)`](crate::operation::delete_workflow_run::DeleteWorkflowRunOutput::status): <p>The status of the workflow run after deletion request.</p>
    /// - On failure, responds with [`SdkError<DeleteWorkflowRunError>`](crate::operation::delete_workflow_run::DeleteWorkflowRunError)
    pub fn delete_workflow_run(&self) -> crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder {
        crate::operation::delete_workflow_run::builders::DeleteWorkflowRunFluentBuilder::new(self.handle.clone())
    }
}