1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateStateMachine`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`state_machine_arn(impl Into<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::state_machine_arn) / [`set_state_machine_arn(Option<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_state_machine_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the state machine.</p><br>
    ///   - [`definition(impl Into<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::definition) / [`set_definition(Option<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_definition):<br>required: **false**<br><p>The Amazon States Language definition of the state machine. See <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-amazon-states-language.html">Amazon States Language</a>.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM role of the state machine.</p><br>
    ///   - [`logging_configuration(LoggingConfiguration)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::logging_configuration) / [`set_logging_configuration(Option<LoggingConfiguration>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_logging_configuration):<br>required: **false**<br><p>Use the <code>LoggingConfiguration</code> data type to set CloudWatch Logs options.</p><br>
    ///   - [`tracing_configuration(TracingConfiguration)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::tracing_configuration) / [`set_tracing_configuration(Option<TracingConfiguration>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_tracing_configuration):<br>required: **false**<br><p>Selects whether X-Ray tracing is enabled.</p><br>
    ///   - [`publish(bool)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::publish) / [`set_publish(Option<bool>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_publish):<br>required: **false**<br><p>Specifies whether the state machine version is published. The default is <code>false</code>. To publish a version after updating the state machine, set <code>publish</code> to <code>true</code>.</p><br>
    ///   - [`version_description(impl Into<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::version_description) / [`set_version_description(Option<String>)`](crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::set_version_description):<br>required: **false**<br><p>An optional description of the state machine version to publish.</p> <p>You can only specify the <code>versionDescription</code> parameter if you've set <code>publish</code> to <code>true</code>.</p><br>
    /// - On success, responds with [`UpdateStateMachineOutput`](crate::operation::update_state_machine::UpdateStateMachineOutput) with field(s):
    ///   - [`update_date(DateTime)`](crate::operation::update_state_machine::UpdateStateMachineOutput::update_date): <p>The date and time the state machine was updated.</p>
    ///   - [`revision_id(Option<String>)`](crate::operation::update_state_machine::UpdateStateMachineOutput::revision_id): <p>The revision identifier for the updated state machine.</p>
    ///   - [`state_machine_version_arn(Option<String>)`](crate::operation::update_state_machine::UpdateStateMachineOutput::state_machine_version_arn): <p>The Amazon Resource Name (ARN) of the published state machine version.</p> <p>If the <code>publish</code> parameter isn't set to <code>true</code>, this field returns null.</p>
    /// - On failure, responds with [`SdkError<UpdateStateMachineError>`](crate::operation::update_state_machine::UpdateStateMachineError)
    pub fn update_state_machine(&self) -> crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder {
        crate::operation::update_state_machine::builders::UpdateStateMachineFluentBuilder::new(self.handle.clone())
    }
}