Struct aws_sdk_gamelift::operation::update_runtime_configuration::builders::UpdateRuntimeConfigurationFluentBuilder
source · pub struct UpdateRuntimeConfigurationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateRuntimeConfiguration.
Updates the runtime configuration for the specified fleet. The runtime configuration tells Amazon GameLift how to launch server processes on computes in the fleet. For managed EC2 fleets, it determines what server processes to run on each fleet instance. For container fleets, it describes what server processes to run in each replica container group. 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. Fleet computes that run game server processes regularly check for and receive updated runtime configurations. The computes immediately take action to comply with the new configuration by launching new server processes or by not replacing existing processes when they shut down. Updating a fleet's runtime configuration never affects existing server processes.
Learn more
Implementations§
source§impl UpdateRuntimeConfigurationFluentBuilder
impl UpdateRuntimeConfigurationFluentBuilder
sourcepub fn as_input(&self) -> &UpdateRuntimeConfigurationInputBuilder
pub fn as_input(&self) -> &UpdateRuntimeConfigurationInputBuilder
Access the UpdateRuntimeConfiguration as a reference.
sourcepub async fn send(
self
) -> Result<UpdateRuntimeConfigurationOutput, SdkError<UpdateRuntimeConfigurationError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateRuntimeConfigurationOutput, SdkError<UpdateRuntimeConfigurationError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<UpdateRuntimeConfigurationOutput, UpdateRuntimeConfigurationError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateRuntimeConfigurationOutput, UpdateRuntimeConfigurationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_fleet_id(&self) -> &Option<String>
pub fn get_fleet_id(&self) -> &Option<String>
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 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.
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 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.
sourcepub fn get_runtime_configuration(&self) -> &Option<RuntimeConfiguration>
pub fn get_runtime_configuration(&self) -> &Option<RuntimeConfiguration>
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.
Trait Implementations§
source§impl Clone for UpdateRuntimeConfigurationFluentBuilder
impl Clone for UpdateRuntimeConfigurationFluentBuilder
source§fn clone(&self) -> UpdateRuntimeConfigurationFluentBuilder
fn clone(&self) -> UpdateRuntimeConfigurationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for UpdateRuntimeConfigurationFluentBuilder
impl !RefUnwindSafe for UpdateRuntimeConfigurationFluentBuilder
impl Send for UpdateRuntimeConfigurationFluentBuilder
impl Sync for UpdateRuntimeConfigurationFluentBuilder
impl Unpin for UpdateRuntimeConfigurationFluentBuilder
impl !UnwindSafe for UpdateRuntimeConfigurationFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more