1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateServicePrimaryTaskSet`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`cluster(impl Into<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::cluster) / [`set_cluster(Option<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::set_cluster):<br>required: **true**<br><p>The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service that the task set exists in.</p><br>
    ///   - [`service(impl Into<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::service) / [`set_service(Option<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::set_service):<br>required: **true**<br><p>The short name or full Amazon Resource Name (ARN) of the service that the task set exists in.</p><br>
    ///   - [`primary_task_set(impl Into<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::primary_task_set) / [`set_primary_task_set(Option<String>)`](crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::set_primary_task_set):<br>required: **true**<br><p>The short name or full Amazon Resource Name (ARN) of the task set to set as the primary task set in the deployment.</p><br>
    /// - On success, responds with [`UpdateServicePrimaryTaskSetOutput`](crate::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSetOutput) with field(s):
    ///   - [`task_set(Option<TaskSet>)`](crate::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSetOutput::task_set): <p>The details about the task set.</p>
    /// - On failure, responds with [`SdkError<UpdateServicePrimaryTaskSetError>`](crate::operation::update_service_primary_task_set::UpdateServicePrimaryTaskSetError)
    pub fn update_service_primary_task_set(
        &self,
    ) -> crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder {
        crate::operation::update_service_primary_task_set::builders::UpdateServicePrimaryTaskSetFluentBuilder::new(self.handle.clone())
    }
}