Amazon.GameLift.AmazonGameLiftClient.DescribePlayerSessions C# (CSharp) 메소드

DescribePlayerSessions() 공개 메소드

Retrieves properties for one or more player sessions. This action can be used in several ways: (1) provide a PlayerSessionId parameter to request properties for a specific player session; (2) provide a GameSessionId parameter to request properties for all player sessions in the specified game session; (3) provide a PlayerId parameter to request properties for all player sessions of a specified player.

To get game session record(s), specify only one of the following: a player session ID, a game session ID, or a player ID. You can filter this request by player session status. Use the pagination parameters to retrieve results as a set of sequential pages. If successful, a PlayerSession object is returned for each session matching the request.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public DescribePlayerSessions ( DescribePlayerSessionsRequest request ) : DescribePlayerSessionsResponse
request Amazon.GameLift.Model.DescribePlayerSessionsRequest Container for the necessary parameters to execute the DescribePlayerSessions service method.
리턴 Amazon.GameLift.Model.DescribePlayerSessionsResponse
        public DescribePlayerSessionsResponse DescribePlayerSessions(DescribePlayerSessionsRequest request)
        {
            var marshaller = new DescribePlayerSessionsRequestMarshaller();
            var unmarshaller = DescribePlayerSessionsResponseUnmarshaller.Instance;

            return Invoke<DescribePlayerSessionsRequest,DescribePlayerSessionsResponse>(request, marshaller, unmarshaller);
        }
AmazonGameLiftClient