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 [`UpdateRuntimeConfiguration`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`fleet_id(impl Into<String>)`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::fleet_id) / [`set_fleet_id(Option<String>)`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::set_fleet_id):<br>required: **true**<br><p>A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.</p><br>
    ///   - [`runtime_configuration(RuntimeConfiguration)`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::runtime_configuration) / [`set_runtime_configuration(Option<RuntimeConfiguration>)`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::set_runtime_configuration):<br>required: **true**<br><p>Instructions for launching server processes on fleet computes. Server processes run either a custom game build executable or a Realtime Servers script. The runtime configuration lists the types of server processes to run, how to launch them, and the number of processes to run concurrently.</p><br>
    /// - On success, responds with [`UpdateRuntimeConfigurationOutput`](crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationOutput) with field(s):
    ///   - [`runtime_configuration(Option<RuntimeConfiguration>)`](crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationOutput::runtime_configuration): <p>The runtime configuration currently in use by computes in the fleet. If the update is successful, all property changes are shown.</p>
    /// - On failure, responds with [`SdkError<UpdateRuntimeConfigurationError>`](crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationError)
    pub fn update_runtime_configuration(&self) -> crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder {
        crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::new(self.handle.clone())
    }
}