1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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:
    ///   - [`id(impl Into<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the service that you want to update.</p><br>
    ///   - [`service(ServiceChange)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::service) / [`set_service(Option<ServiceChange>)`](crate::operation::update_service::builders::UpdateServiceFluentBuilder::set_service):<br>required: **true**<br><p>A complex type that contains the new settings for the service.</p><br>
    /// - On success, responds with [`UpdateServiceOutput`](crate::operation::update_service::UpdateServiceOutput) with field(s):
    ///   - [`operation_id(Option<String>)`](crate::operation::update_service::UpdateServiceOutput::operation_id): <p>A value that you can use to determine whether the request completed successfully. To get the status of the operation, see <a href="https://docs.aws.amazon.com/cloud-map/latest/api/API_GetOperation.html">GetOperation</a>.</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())
    }
}