Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
__This operation is used with the GameLift FleetIQ solution and game server groups.__
Retrieves information for a registered game server. Information includes game server status, health check info, and the instance that the game server is running on.
To retrieve game server information, specify the game server ID. If successful, the requested game server object is returned.
Learn more
Related actions
RegisterGameServer | ListGameServers | ClaimGameServer | DescribeGameServer | UpdateGameServer | DeregisterGameServer | All APIs by task
Synopsis
- data DescribeGameServer = DescribeGameServer' {}
- newDescribeGameServer :: Text -> Text -> DescribeGameServer
- describeGameServer_gameServerGroupName :: Lens' DescribeGameServer Text
- describeGameServer_gameServerId :: Lens' DescribeGameServer Text
- data DescribeGameServerResponse = DescribeGameServerResponse' {}
- newDescribeGameServerResponse :: Int -> DescribeGameServerResponse
- describeGameServerResponse_gameServer :: Lens' DescribeGameServerResponse (Maybe GameServer)
- describeGameServerResponse_httpStatus :: Lens' DescribeGameServerResponse Int
Creating a Request
data DescribeGameServer Source #
See: newDescribeGameServer
smart constructor.
DescribeGameServer' | |
|
Instances
newDescribeGameServer Source #
:: Text | |
-> Text | |
-> DescribeGameServer |
Create a value of DescribeGameServer
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gameServerGroupName:DescribeGameServer'
, describeGameServer_gameServerGroupName
- A unique identifier for the game server group where the game server is
running. Use either the GameServerGroup name or ARN value.
$sel:gameServerId:DescribeGameServer'
, describeGameServer_gameServerId
- A custom string that uniquely identifies the game server information to
be retrieved.
Request Lenses
describeGameServer_gameServerGroupName :: Lens' DescribeGameServer Text Source #
A unique identifier for the game server group where the game server is running. Use either the GameServerGroup name or ARN value.
describeGameServer_gameServerId :: Lens' DescribeGameServer Text Source #
A custom string that uniquely identifies the game server information to be retrieved.
Destructuring the Response
data DescribeGameServerResponse Source #
See: newDescribeGameServerResponse
smart constructor.
DescribeGameServerResponse' | |
|
Instances
newDescribeGameServerResponse Source #
Create a value of DescribeGameServerResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gameServer:DescribeGameServerResponse'
, describeGameServerResponse_gameServer
- Object that describes the requested game server.
$sel:httpStatus:DescribeGameServerResponse'
, describeGameServerResponse_httpStatus
- The response's http status code.
Response Lenses
describeGameServerResponse_gameServer :: Lens' DescribeGameServerResponse (Maybe GameServer) Source #
Object that describes the requested game server.
describeGameServerResponse_httpStatus :: Lens' DescribeGameServerResponse Int Source #
The response's http status code.