1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateService`](crate::operation::update_service::builders::UpdateServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_name): <p>The name of the service to edit.</p>
    ///   - [`description(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_description): <p>The edited service description.</p>
    ///   - [`spec(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::spec) / [`set_spec(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_spec): <p>Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. <i>Don't</i> include edits to the existing service instances or pipeline. For more information, see <a href="https://docs.aws.amazon.com/proton/latest/userguide/ag-svc-update.html">Edit a service</a> in the <i>Proton User Guide</i>.</p>
    /// - On success, responds with [`UpdateServiceOutput`](crate::operation::update_service::UpdateServiceOutput) with field(s):
    ///   - [`service(Option<Service>)`](crate::operation::update_service::UpdateServiceOutput::service): <p>The service detail data that's returned by Proton.</p>
    /// - On failure, responds with [`SdkError<UpdateServiceError>`](crate::operation::update_service::UpdateServiceError)
    pub fn update_service(
        &self,
    ) -> crate::operation::update_service::builders::UpdateServiceFluentBuilder {
        crate::operation::update_service::builders::UpdateServiceFluentBuilder::new(
            self.handle.clone(),
        )
    }
}