aws_sdk_novaact/client/
update_act.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 [`UpdateAct`](crate::operation::update_act::builders::UpdateActFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workflow_definition_name(impl Into<String>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::workflow_definition_name) / [`set_workflow_definition_name(Option<String>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::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::update_act::builders::UpdateActFluentBuilder::workflow_run_id) / [`set_workflow_run_id(Option<String>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::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::update_act::builders::UpdateActFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::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::update_act::builders::UpdateActFluentBuilder::act_id) / [`set_act_id(Option<String>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::set_act_id):<br>required: **true**<br><p>The unique identifier of the act to update.</p><br>
10    ///   - [`status(ActStatus)`](crate::operation::update_act::builders::UpdateActFluentBuilder::status) / [`set_status(Option<ActStatus>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::set_status):<br>required: **true**<br><p>The new status to set for the act.</p><br>
11    ///   - [`error(ActError)`](crate::operation::update_act::builders::UpdateActFluentBuilder::error) / [`set_error(Option<ActError>)`](crate::operation::update_act::builders::UpdateActFluentBuilder::set_error):<br>required: **false**<br><p>Error information to associate with the act, if applicable.</p><br>
12    /// - On success, responds with [`UpdateActOutput`](crate::operation::update_act::UpdateActOutput)
13    /// - On failure, responds with [`SdkError<UpdateActError>`](crate::operation::update_act::UpdateActError)
14    pub fn update_act(&self) -> crate::operation::update_act::builders::UpdateActFluentBuilder {
15        crate::operation::update_act::builders::UpdateActFluentBuilder::new(self.handle.clone())
16    }
17}