aws_sdk_gamelift/client/
update_runtime_configuration.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateRuntimeConfiguration`](crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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 Amazon GameLift Servers Realtime 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>
8    /// - On success, responds with [`UpdateRuntimeConfigurationOutput`](crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationOutput) with field(s):
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<UpdateRuntimeConfigurationError>`](crate::operation::update_runtime_configuration::UpdateRuntimeConfigurationError)
11    pub fn update_runtime_configuration(&self) -> crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder {
12        crate::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder::new(self.handle.clone())
13    }
14}