@Override
    public DescribePlayerSessionsResult describePlayerSessions(DescribePlayerSessionsRequest request) {
        request = beforeClientExecution(request);
        return executeDescribePlayerSessions(request);
    }
<p>
Retrieves properties for one or more player sessions.
</p>
<p>
This action can be used in the following ways:
</p>
<ul>
<li>
<p>
To retrieve a specific player session, provide the player session ID only.
</p>
</li>
<li>
<p>
To retrieve all player sessions in a game session, provide the game session ID only.
</p>
</li>
<li>
<p>
To retrieve all player sessions for a specific player, provide a player ID only.
</p>
</li>
</ul>
<p>
To request player sessions, specify either a player session ID, game session ID, or player ID. You can filter
this request by player session status. If you provide a specific <code>PlayerSessionId</code> or
<code>PlayerId</code>, Amazon GameLift ignores the filter criteria. Use the pagination parameters to retrieve
results as a set of sequential pages.
</p>
<p>
If successful, a <code>PlayerSession</code> object is returned for each session that matches the request.
</p>
<p>
<b>Related actions</b>
</p>
<p>
<a href=
"https://docs.aws.amazon.com/gamelift/latest/developerguide/reference-awssdk.html#reference-awssdk-resources-fleets"
>All APIs by task</a>
</p>

@param describePlayerSessionsRequest
@return Result of the DescribePlayerSessions operation returned by the service.
@throws InternalServiceException
        The service encountered an unrecoverable internal failure while processing the request. Clients can retry
        such requests immediately or after a waiting period.
@throws NotFoundException
        THe requested resources was not found. The resource was either not created yet or deleted.
@throws InvalidRequestException
        One or more parameter values in the request are invalid. Correct the invalid parameter values before
        retrying.
@throws UnauthorizedException
        The client failed authentication. Clients should not retry such requests.
@sample AmazonGameLift.DescribePlayerSessions
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribePlayerSessions"
     target="_top">AWS API Documentation</a>
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/AmazonGameLiftClient.java