libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.UpdateRuntimeConfiguration

Description

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

Setting up GameLift fleets

Related actions

CreateFleetLocations | UpdateFleetAttributes | UpdateFleetCapacity | UpdateFleetPortSettings | UpdateRuntimeConfiguration | StopFleetActions | StartFleetActions | PutScalingPolicy | DeleteFleet | DeleteFleetLocations | DeleteScalingPolicy | All APIs by task

Synopsis

Creating a Request

data UpdateRuntimeConfiguration Source #

Represents the input for a request operation.

See: newUpdateRuntimeConfiguration smart constructor.

Constructors

UpdateRuntimeConfiguration' 

Fields

  • fleetId :: Text

    A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.

  • runtimeConfiguration :: 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.

Instances

Instances details
Eq UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Read UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Show UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Generic UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Associated Types

type Rep UpdateRuntimeConfiguration :: Type -> Type #

NFData UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Hashable UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

ToJSON UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

AWSRequest UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

ToHeaders UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

ToPath UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

ToQuery UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

type Rep UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

type Rep UpdateRuntimeConfiguration = D1 ('MetaData "UpdateRuntimeConfiguration" "Amazonka.GameLift.UpdateRuntimeConfiguration" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "UpdateRuntimeConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "runtimeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuntimeConfiguration)))
type AWSResponse UpdateRuntimeConfiguration Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

newUpdateRuntimeConfiguration Source #

Create a value of UpdateRuntimeConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:fleetId:UpdateRuntimeConfiguration', updateRuntimeConfiguration_fleetId - A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.

$sel:runtimeConfiguration:UpdateRuntimeConfiguration', updateRuntimeConfiguration_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.

Request Lenses

updateRuntimeConfiguration_fleetId :: Lens' UpdateRuntimeConfiguration Text Source #

A unique identifier for the fleet to update runtime configuration for. You can use either the fleet ID or ARN value.

updateRuntimeConfiguration_runtimeConfiguration :: Lens' UpdateRuntimeConfiguration RuntimeConfiguration Source #

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.

Destructuring the Response

data UpdateRuntimeConfigurationResponse Source #

Represents the returned data in response to a request operation.

See: newUpdateRuntimeConfigurationResponse smart constructor.

Constructors

UpdateRuntimeConfigurationResponse' 

Fields

Instances

Instances details
Eq UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Read UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Show UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Generic UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

Associated Types

type Rep UpdateRuntimeConfigurationResponse :: Type -> Type #

NFData UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

type Rep UpdateRuntimeConfigurationResponse Source # 
Instance details

Defined in Amazonka.GameLift.UpdateRuntimeConfiguration

type Rep UpdateRuntimeConfigurationResponse = D1 ('MetaData "UpdateRuntimeConfigurationResponse" "Amazonka.GameLift.UpdateRuntimeConfiguration" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "UpdateRuntimeConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "runtimeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuntimeConfiguration)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateRuntimeConfigurationResponse Source #

Create a value of UpdateRuntimeConfigurationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:runtimeConfiguration:UpdateRuntimeConfiguration', updateRuntimeConfigurationResponse_runtimeConfiguration - The runtime configuration currently in use by all instances in the fleet. If the update was successful, all property changes are shown.

$sel:httpStatus:UpdateRuntimeConfigurationResponse', updateRuntimeConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

updateRuntimeConfigurationResponse_runtimeConfiguration :: Lens' UpdateRuntimeConfigurationResponse (Maybe RuntimeConfiguration) Source #

The runtime configuration currently in use by all instances in the fleet. If the update was successful, all property changes are shown.