![]() |
![]()
| ![]() |
![]()
NAMEPaws::GameLift::StartMatchmaking - Arguments for method StartMatchmaking on Paws::GameLift DESCRIPTIONThis class represents the parameters used for calling the method StartMatchmaking on the Amazon GameLift service. Use the attributes of this class as arguments to method StartMatchmaking. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartMatchmaking. SYNOPSISmy $gamelift = Paws->service('GameLift'); my $StartMatchmakingOutput = $gamelift->StartMatchmaking( ConfigurationName => 'MyMatchmakingConfigurationName', Players => [ { LatencyInMs => { 'MyNonEmptyString' => 1, # key: min: 1, value: min: 1 }, # OPTIONAL PlayerAttributes => { 'MyNonZeroAndMaxString' => { N => 1, # OPTIONAL S => 'MyNonZeroAndMaxString', # min: 1, max: 1024 SDM => { 'MyNonZeroAndMaxString' => 1, # key: min: 1, max: 1024, value: OPTIONAL }, # OPTIONAL SL => [ 'MyNonZeroAndMaxString', ... # min: 1, max: 1024 ], # OPTIONAL }, # key: min: 1, max: 1024 }, # OPTIONAL PlayerId => 'MyNonZeroAndMaxString', # min: 1, max: 1024 Team => 'MyNonZeroAndMaxString', # min: 1, max: 1024 }, ... ], TicketId => 'MyMatchmakingIdStringModel', # OPTIONAL ); # Results: my $MatchmakingTicket = $StartMatchmakingOutput->MatchmakingTicket; # Returns a L<Paws::GameLift::StartMatchmakingOutput> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/gamelift/StartMatchmaking> ATTRIBUTESREQUIRED ConfigurationName => StrName of the matchmaking configuration to use for this request. Matchmaking configurations must exist in the same Region as this request. You can use either the configuration name or ARN value. REQUIRED Players => ArrayRef[Paws::GameLift::Player]Information on each player to be matched. This information must include a player ID, and may contain player attributes and latency data to be used in the matchmaking process. After a successful match, "Player" objects contain the name of the team the player is assigned to. TicketId => StrA unique identifier for a matchmaking ticket. If no ticket ID is specified here, Amazon GameLift will generate one in the form of a UUID. Use this identifier to track the matchmaking ticket status and retrieve match results. SEE ALSOThis class forms part of Paws, documenting arguments for method StartMatchmaking in Paws::GameLift BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|