aws-sdk-ecs 1.124.0

AWS SDK for Amazon EC2 Container Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateDaemon`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`daemon_arn(impl Into<String>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::daemon_arn) / [`set_daemon_arn(Option<String>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_daemon_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the daemon to update.</p><br>
    ///   - [`daemon_task_definition_arn(impl Into<String>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::daemon_task_definition_arn) / [`set_daemon_task_definition_arn(Option<String>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_daemon_task_definition_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the daemon task definition to use for the updated daemon.</p><br>
    ///   - [`capacity_provider_arns(impl Into<String>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::capacity_provider_arns) / [`set_capacity_provider_arns(Option<Vec::<String>>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_capacity_provider_arns):<br>required: **true**<br><p>The Amazon Resource Names (ARNs) of the capacity providers to associate with the daemon.</p><br>
    ///   - [`deployment_configuration(DaemonDeploymentConfiguration)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::deployment_configuration) / [`set_deployment_configuration(Option<DaemonDeploymentConfiguration>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_deployment_configuration):<br>required: **false**<br><p>Optional deployment parameters that control how the daemon rolls out updates, including the drain percentage, alarm-based rollback, and bake time.</p><br>
    ///   - [`propagate_tags(DaemonPropagateTags)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::propagate_tags) / [`set_propagate_tags(Option<DaemonPropagateTags>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_propagate_tags):<br>required: **false**<br><p>Specifies whether to propagate the tags from the daemon to the daemon tasks. If you don't specify a value, the tags aren't propagated. You can only propagate tags to daemon tasks during task creation.</p><br>
    ///   - [`enable_ecs_managed_tags(bool)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::enable_ecs_managed_tags) / [`set_enable_ecs_managed_tags(Option<bool>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_enable_ecs_managed_tags):<br>required: **false**<br><p>Specifies whether to turn on Amazon ECS managed tags for the tasks in the daemon. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-using-tags.html">Tagging your Amazon ECS resources</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p><br>
    ///   - [`enable_execute_command(bool)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::enable_execute_command) / [`set_enable_execute_command(Option<bool>)`](crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::set_enable_execute_command):<br>required: **false**<br><p>If <code>true</code>, the execute command functionality is turned on for all tasks in the daemon. If <code>false</code>, the execute command functionality is turned off.</p><br>
    /// - On success, responds with [`UpdateDaemonOutput`](crate::operation::update_daemon::UpdateDaemonOutput) with field(s):
    ///   - [`daemon_arn(Option<String>)`](crate::operation::update_daemon::UpdateDaemonOutput::daemon_arn): <p>The Amazon Resource Name (ARN) of the daemon.</p>
    ///   - [`status(Option<DaemonStatus>)`](crate::operation::update_daemon::UpdateDaemonOutput::status): <p>The status of the daemon.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::update_daemon::UpdateDaemonOutput::created_at): <p>The Unix timestamp for the time when the daemon was created.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::update_daemon::UpdateDaemonOutput::updated_at): <p>The Unix timestamp for the time when the daemon was last updated.</p>
    ///   - [`deployment_arn(Option<String>)`](crate::operation::update_daemon::UpdateDaemonOutput::deployment_arn): <p>The Amazon Resource Name (ARN) of the daemon deployment that was triggered by the update.</p>
    /// - On failure, responds with [`SdkError<UpdateDaemonError>`](crate::operation::update_daemon::UpdateDaemonError)
    pub fn update_daemon(&self) -> crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder {
        crate::operation::update_daemon::builders::UpdateDaemonFluentBuilder::new(self.handle.clone())
    }
}