The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::GameLift::GameSession

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::GameLift::GameSession object:

  $service_obj->Method(Att1 => { CreationTime => $value, ..., TerminationTime => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::GameLift::GameSession object:

  $result = $service_obj->Method(...);
  $result->Att1->CreationTime

DESCRIPTION

Properties describing a game session.

ATTRIBUTES

CreationTime => Str

  Time stamp indicating when this data object was created. Format is a
number expressed in Unix time as milliseconds (ex: "1469498468.057").

CreatorId => Str

  Player ID of the person or entity that created the game session. This
ID is used to enforce a resource protection policy (if one exists) that
limits the number of concurrent active game sessions for a single
player.

CurrentPlayerSessionCount => Int

  Number of players currently in the game session.

FleetId => Str

  Unique identifier for a fleet.

GameProperties => ArrayRef[Paws::GameLift::GameProperty]

  Set of custom properties for the game session.

GameSessionId => Str

  Unique identifier for a game session. Game session ID format is as
follows:
"arn:aws:gamelift:E<lt>regionE<gt>::gamesession/fleet-E<lt>fleet
IDE<gt>/E<lt>ID stringE<gt>". The value of E<lt>ID stringE<gt> is
either a custom ID string (if one was specified when the game session
was created) an autogenerated string.

IpAddress => Str

  IP address of the game session. To connect to a GameLift server
process, an app needs both the IP address and port number.

MaximumPlayerSessionCount => Int

  Maximum number of players allowed in the game session.

Name => Str

  Descriptive label associated with a game session. Session names do not
need to be unique.

PlayerSessionCreationPolicy => Str

  Indicates whether or not the game session is accepting new players.

Port => Int

  Port number for the game session. To connect to a GameLift server
process, an app needs both the IP address and port number.

Status => Str

  Current status of the game session. A game session must be in an
C<ACTIVE> status to have player sessions.

TerminationTime => Str

  Time stamp indicating when this data object was terminated. Format is a
number expressed in Unix time as milliseconds (ex: "1469498468.057").

SEE ALSO

This class forms part of Paws, describing an object used in Paws::GameLift

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues