pub struct UpdateRuntimeConfiguration { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateRuntimeConfiguration
.
Updates the current runtime configuration for the specified fleet, which tells GameLift how to launch server processes on all instances in the fleet. You can update a fleet's runtime configuration at any time after the fleet is created; it does not need to be in ACTIVE
status.
To update runtime configuration, specify the fleet ID and provide a RuntimeConfiguration
with an updated set of server process configurations.
If successful, the fleet's runtime configuration settings are updated. Each instance in the fleet regularly checks for and retrieves updated runtime configurations. Instances immediately begin complying with the new configuration by launching new server processes or not replacing existing processes when they shut down. Updating a fleet's runtime configuration never affects existing server processes.
Learn more
Related actions
CreateFleetLocations
| UpdateFleetAttributes
| UpdateFleetCapacity
| UpdateFleetPortSettings
| UpdateRuntimeConfiguration
| StopFleetActions
| StartFleetActions
| PutScalingPolicy
| DeleteFleet
| DeleteFleetLocations
| DeleteScalingPolicy
| All APIs by task
Implementations
sourceimpl UpdateRuntimeConfiguration
impl UpdateRuntimeConfiguration
sourcepub async fn send(
self
) -> Result<UpdateRuntimeConfigurationOutput, SdkError<UpdateRuntimeConfigurationError>>
pub async fn send(
self
) -> Result<UpdateRuntimeConfigurationOutput, SdkError<UpdateRuntimeConfigurationError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn fleet_id(self, input: impl Into<String>) -> Self
pub fn fleet_id(self, input: impl Into<String>) -> Self
A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.
sourcepub fn set_fleet_id(self, input: Option<String>) -> Self
pub fn set_fleet_id(self, input: Option<String>) -> Self
A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.
sourcepub fn runtime_configuration(self, input: RuntimeConfiguration) -> Self
pub fn runtime_configuration(self, input: RuntimeConfiguration) -> Self
Instructions for launching server processes on each instance in the fleet. 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 on an instance, how to launch them, and the number of processes to run concurrently.
sourcepub fn set_runtime_configuration(
self,
input: Option<RuntimeConfiguration>
) -> Self
pub fn set_runtime_configuration(
self,
input: Option<RuntimeConfiguration>
) -> Self
Instructions for launching server processes on each instance in the fleet. 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 on an instance, how to launch them, and the number of processes to run concurrently.
Trait Implementations
sourceimpl Clone for UpdateRuntimeConfiguration
impl Clone for UpdateRuntimeConfiguration
sourcefn clone(&self) -> UpdateRuntimeConfiguration
fn clone(&self) -> UpdateRuntimeConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for UpdateRuntimeConfiguration
impl Send for UpdateRuntimeConfiguration
impl Sync for UpdateRuntimeConfiguration
impl Unpin for UpdateRuntimeConfiguration
impl !UnwindSafe for UpdateRuntimeConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more