amazonka-gamelift-1.4.2: 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:

data UpdateFleetAttributes Source #

Represents the input for a request action.

See: updateFleetAttributes smart constructor.

Instances

Eq UpdateFleetAttributes Source # 
Data UpdateFleetAttributes Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFleetAttributes -> c UpdateFleetAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFleetAttributes #

toConstr :: UpdateFleetAttributes -> Constr #

dataTypeOf :: UpdateFleetAttributes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFleetAttributes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFleetAttributes) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFleetAttributes -> UpdateFleetAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFleetAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFleetAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFleetAttributes -> m UpdateFleetAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetAttributes -> m UpdateFleetAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetAttributes -> m UpdateFleetAttributes #

Read UpdateFleetAttributes Source # 
Show UpdateFleetAttributes Source # 
Generic UpdateFleetAttributes Source # 
ToJSON UpdateFleetAttributes Source # 
Hashable UpdateFleetAttributes Source # 
NFData UpdateFleetAttributes Source # 

Methods

rnf :: UpdateFleetAttributes -> () #

AWSRequest UpdateFleetAttributes Source # 
ToPath UpdateFleetAttributes Source # 
ToHeaders UpdateFleetAttributes Source # 
ToQuery UpdateFleetAttributes Source # 
type Rep UpdateFleetAttributes Source # 
type Rep UpdateFleetAttributes = D1 (MetaData "UpdateFleetAttributes" "Network.AWS.GameLift.UpdateFleetAttributes" "amazonka-gamelift-1.4.2-4OmARPlGcKyHp4L1Ls6M8f" False) (C1 (MetaCons "UpdateFleetAttributes'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ufaNewGameSessionProtectionPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProtectionPolicy))) (S1 (MetaSel (Just Symbol "_ufaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_ufaDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ufaFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateFleetAttributes Source # 

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:

data UpdateFleetAttributesResponse Source #

Represents the returned data in response to a request action.

See: updateFleetAttributesResponse smart constructor.

Instances

Eq UpdateFleetAttributesResponse Source # 
Data UpdateFleetAttributesResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateFleetAttributesResponse -> c UpdateFleetAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateFleetAttributesResponse #

toConstr :: UpdateFleetAttributesResponse -> Constr #

dataTypeOf :: UpdateFleetAttributesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c UpdateFleetAttributesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateFleetAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> UpdateFleetAttributesResponse -> UpdateFleetAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateFleetAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateFleetAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateFleetAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateFleetAttributesResponse -> m UpdateFleetAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetAttributesResponse -> m UpdateFleetAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateFleetAttributesResponse -> m UpdateFleetAttributesResponse #

Read UpdateFleetAttributesResponse Source # 
Show UpdateFleetAttributesResponse Source # 
Generic UpdateFleetAttributesResponse Source # 
NFData UpdateFleetAttributesResponse Source # 
type Rep UpdateFleetAttributesResponse Source # 
type Rep UpdateFleetAttributesResponse = D1 (MetaData "UpdateFleetAttributesResponse" "Network.AWS.GameLift.UpdateFleetAttributes" "amazonka-gamelift-1.4.2-4OmARPlGcKyHp4L1Ls6M8f" False) (C1 (MetaCons "UpdateFleetAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ufarsFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ufarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ufarsFleetId :: Lens' UpdateFleetAttributesResponse (Maybe Text) Source #

Unique identifier for the updated fleet.