amazonka-gamelift-1.6.1: Amazon GameLift SDK.

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

Network.AWS.GameLift.UpdateMatchmakingConfiguration

Contents

Description

Updates settings for a FlexMatch matchmaking configuration. To update settings, specify the configuration name to be updated and provide the new settings.

Operations related to match configurations and rule sets include:

  • CreateMatchmakingConfiguration
  • DescribeMatchmakingConfigurations
  • UpdateMatchmakingConfiguration
  • DeleteMatchmakingConfiguration
  • CreateMatchmakingRuleSet
  • DescribeMatchmakingRuleSets
  • ValidateMatchmakingRuleSet
Synopsis

Creating a Request

updateMatchmakingConfiguration Source #

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

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

  • umcGameProperties - Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session ). This information is added to the new GameSession object that is created for a successful match.
  • umcRuleSetName - Unique identifier for a matchmaking rule set to use with this configuration. A matchmaking configuration can only use rule sets that are defined in the same region.
  • umcAcceptanceTimeoutSeconds - Length of time (in seconds) to wait for players to accept a proposed match. If any player rejects the match or fails to accept before the timeout, the ticket continues to look for an acceptable match.
  • umcRequestTimeoutSeconds - Maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that time out can be resubmitted as needed.
  • umcNotificationTarget - SNS topic ARN that is set up to receive matchmaking notifications. See Setting up Notifications for Matchmaking for more information.
  • umcGameSessionQueueARNs - Amazon Resource Name (ARN ) that is assigned to a game session queue and uniquely identifies it. Format is arn:aws:gamelift:region::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . These queues are used when placing game sessions for matches that are created with this matchmaking configuration. Queues can be located in any region.
  • umcCustomEventData - Information to attached to all events related to the matchmaking configuration.
  • umcAcceptanceRequired - Flag that determines whether or not a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE.
  • umcGameSessionData - Set of custom game session properties, formatted as a single string value. This data is passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session ). This information is added to the new GameSession object that is created for a successful match.
  • umcDescription - Descriptive label that is associated with matchmaking configuration.
  • umcAdditionalPlayerCount - Number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match.
  • umcName - Unique identifier for a matchmaking configuration to update.

data UpdateMatchmakingConfiguration Source #

Represents the input for a request action.

See: updateMatchmakingConfiguration smart constructor.

Instances
Eq UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Data UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Methods

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

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

toConstr :: UpdateMatchmakingConfiguration -> Constr #

dataTypeOf :: UpdateMatchmakingConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Show UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Generic UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Associated Types

type Rep UpdateMatchmakingConfiguration :: Type -> Type #

Hashable UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

ToJSON UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

AWSRequest UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Associated Types

type Rs UpdateMatchmakingConfiguration :: Type #

ToHeaders UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

ToPath UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

ToQuery UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

NFData UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

type Rep UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

type Rep UpdateMatchmakingConfiguration = D1 (MetaData "UpdateMatchmakingConfiguration" "Network.AWS.GameLift.UpdateMatchmakingConfiguration" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" False) (C1 (MetaCons "UpdateMatchmakingConfiguration'" PrefixI True) (((S1 (MetaSel (Just "_umcGameProperties") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [GameProperty])) :*: (S1 (MetaSel (Just "_umcRuleSetName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_umcAcceptanceTimeoutSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: (S1 (MetaSel (Just "_umcRequestTimeoutSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_umcNotificationTarget") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_umcGameSessionQueueARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))) :*: ((S1 (MetaSel (Just "_umcCustomEventData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_umcAcceptanceRequired") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_umcGameSessionData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_umcDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_umcAdditionalPlayerCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_umcName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs UpdateMatchmakingConfiguration Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Request Lenses

umcGameProperties :: Lens' UpdateMatchmakingConfiguration [GameProperty] Source #

Set of custom properties for a game session, formatted as key:value pairs. These properties are passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session ). This information is added to the new GameSession object that is created for a successful match.

umcRuleSetName :: Lens' UpdateMatchmakingConfiguration (Maybe Text) Source #

Unique identifier for a matchmaking rule set to use with this configuration. A matchmaking configuration can only use rule sets that are defined in the same region.

umcAcceptanceTimeoutSeconds :: Lens' UpdateMatchmakingConfiguration (Maybe Natural) Source #

Length of time (in seconds) to wait for players to accept a proposed match. If any player rejects the match or fails to accept before the timeout, the ticket continues to look for an acceptable match.

umcRequestTimeoutSeconds :: Lens' UpdateMatchmakingConfiguration (Maybe Natural) Source #

Maximum duration, in seconds, that a matchmaking ticket can remain in process before timing out. Requests that time out can be resubmitted as needed.

umcNotificationTarget :: Lens' UpdateMatchmakingConfiguration (Maybe Text) Source #

SNS topic ARN that is set up to receive matchmaking notifications. See Setting up Notifications for Matchmaking for more information.

umcGameSessionQueueARNs :: Lens' UpdateMatchmakingConfiguration [Text] Source #

Amazon Resource Name (ARN ) that is assigned to a game session queue and uniquely identifies it. Format is arn:aws:gamelift:region::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912 . These queues are used when placing game sessions for matches that are created with this matchmaking configuration. Queues can be located in any region.

umcCustomEventData :: Lens' UpdateMatchmakingConfiguration (Maybe Text) Source #

Information to attached to all events related to the matchmaking configuration.

umcAcceptanceRequired :: Lens' UpdateMatchmakingConfiguration (Maybe Bool) Source #

Flag that determines whether or not a match that was created with this configuration must be accepted by the matched players. To require acceptance, set to TRUE.

umcGameSessionData :: Lens' UpdateMatchmakingConfiguration (Maybe Text) Source #

Set of custom game session properties, formatted as a single string value. This data is passed to a game server process in the GameSession object with a request to start a new game session (see Start a Game Session ). This information is added to the new GameSession object that is created for a successful match.

umcDescription :: Lens' UpdateMatchmakingConfiguration (Maybe Text) Source #

Descriptive label that is associated with matchmaking configuration.

umcAdditionalPlayerCount :: Lens' UpdateMatchmakingConfiguration (Maybe Natural) Source #

Number of player slots in a match to keep open for future players. For example, if the configuration's rule set specifies a match for a single 12-person team, and the additional player count is set to 2, only 10 players are selected for the match.

umcName :: Lens' UpdateMatchmakingConfiguration Text Source #

Unique identifier for a matchmaking configuration to update.

Destructuring the Response

updateMatchmakingConfigurationResponse Source #

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

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

data UpdateMatchmakingConfigurationResponse Source #

Represents the returned data in response to a request action.

See: updateMatchmakingConfigurationResponse smart constructor.

Instances
Eq UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Data UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Methods

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

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

toConstr :: UpdateMatchmakingConfigurationResponse -> Constr #

dataTypeOf :: UpdateMatchmakingConfigurationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Show UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

Generic UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

NFData UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

type Rep UpdateMatchmakingConfigurationResponse Source # 
Instance details

Defined in Network.AWS.GameLift.UpdateMatchmakingConfiguration

type Rep UpdateMatchmakingConfigurationResponse = D1 (MetaData "UpdateMatchmakingConfigurationResponse" "Network.AWS.GameLift.UpdateMatchmakingConfiguration" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" False) (C1 (MetaCons "UpdateMatchmakingConfigurationResponse'" PrefixI True) (S1 (MetaSel (Just "_umcrsConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MatchmakingConfiguration)) :*: S1 (MetaSel (Just "_umcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

umcrsConfiguration :: Lens' UpdateMatchmakingConfigurationResponse (Maybe MatchmakingConfiguration) Source #

Object that describes the updated matchmaking configuration.