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 current runtime configuration for the specified fleet, which tells Amazon 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
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 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.
sourcepub fn get_runtime_configuration(&self) -> &Option<RuntimeConfiguration>
pub fn get_runtime_configuration(&self) -> &Option<RuntimeConfiguration>
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§
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 more