amazonka-gamelift-1.4.0: Amazon GameLift SDK.

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

Network.AWS.GameLift.UpdateFleetAttributes

Contents

Description

Updates fleet properties, including name and description, for a fleet. To update metadata, specify the fleet ID and the property values you want to change. If successful, the fleet ID for the updated fleet is returned.

Synopsis

Creating a Request

updateFleetAttributes Source

Creates a value of UpdateFleetAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

ufaNewGameSessionProtectionPolicy :: Lens' UpdateFleetAttributes (Maybe ProtectionPolicy) Source

Game session protection policy to apply to all new instances created in this fleet. Instances that already exist will not be affected. You can set protection for individual instances using UpdateGameSession.

  • NoProtection: The game session can be terminated during a scale-down event.
  • FullProtection: If the game session is in an ACTIVE status, it cannot be terminated during a scale-down event.

ufaName :: Lens' UpdateFleetAttributes (Maybe Text) Source

Descriptive label associated with this fleet. Fleet names do not need to be unique.

ufaDescription :: Lens' UpdateFleetAttributes (Maybe Text) Source

Human-readable description of the fleet.

ufaFleetId :: Lens' UpdateFleetAttributes Text Source

Unique identifier for the fleet you want to update attribute metadata for.

Destructuring the Response

updateFleetAttributesResponse Source

Creates a value of UpdateFleetAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

ufarsFleetId :: Lens' UpdateFleetAttributesResponse (Maybe Text) Source

Unique identifier for the updated fleet.