// Retrieves properties for one or more player sessions. This operation can be used
// in several ways: (1) provide a PlayerSessionId to request properties for a
// specific player session; (2) provide a GameSessionId to request properties for
// all player sessions in the specified game session; (3) provide a PlayerId 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. Available in Amazon GameLift Local.
//
// *
// CreatePlayerSession
//
// * CreatePlayerSessions
//
// * DescribePlayerSessions
//
// * Game
// session placements
//
// * StartGameSessionPlacement
//
// *
// DescribeGameSessionPlacement
//
// * StopGameSessionPlacement
Retrieves properties for one or more player sessions. This operation can be used
in several ways: (1) provide a PlayerSessionId to request properties for a
specific player session; (2) provide a GameSessionId to request properties for
all player sessions in the specified game session; (3) provide a PlayerId 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. Available in Amazon GameLift Local.

CreatePlayerSession

CreatePlayerSessions

DescribePlayerSessions

Game
session placements

StartGameSessionPlacement

DescribeGameSessionPlacement

StopGameSessionPlacement
// Retrieves properties for one or more player sessions . This operation can be used // in several ways : ( 1 ) provide a PlayerSessionId to request properties for a // specific player session ; ( 2 ) provide a GameSessionId to request properties for // all player sessions in the specified game session ; ( 3 ) provide a PlayerId 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 . Available in Amazon GameLift Local . // // * // CreatePlayerSession // // * CreatePlayerSessions // // * DescribePlayerSessions // // * Game // session placements // // * StartGameSessionPlacement // // * // DescribeGameSessionPlacement // // * StopGameSessionPlacement
func (c *Client) DescribePlayerSessions(ctx context.Context, params *DescribePlayerSessionsInput, optFns ...func(*Options)) (*DescribePlayerSessionsOutput, error) {
	if params == nil {
		params = &DescribePlayerSessionsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DescribePlayerSessions", params, optFns, addOperationDescribePlayerSessionsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DescribePlayerSessionsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DescribePlayerSessions ( ctx context . Context , params * DescribePlayerSessionsInput , optFns ... func ( * Options ) ) ( * DescribePlayerSessionsOutput , error ) { if params == nil { params = & DescribePlayerSessionsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDescribePlayerSessionsMiddlewares ) if err != nil { return nil , err } out := result . ( * DescribePlayerSessionsOutput ) out . ResultMetadata = metadata return out , nil }
Retrieves properties for one or more player sessions.
Retrieves properties for one or more player sessions .