Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, GameLift automatically stores the logs in Amazon S3 and retains them for 14 days. Use this URL to download the logs.
See the Amazon Web Services Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.
Synopsis
- data GetGameSessionLogUrl = GetGameSessionLogUrl' {}
- newGetGameSessionLogUrl :: Text -> GetGameSessionLogUrl
- getGameSessionLogUrl_gameSessionId :: Lens' GetGameSessionLogUrl Text
- data GetGameSessionLogUrlResponse = GetGameSessionLogUrlResponse' {
- preSignedUrl :: Maybe Text
- httpStatus :: Int
- newGetGameSessionLogUrlResponse :: Int -> GetGameSessionLogUrlResponse
- getGameSessionLogUrlResponse_preSignedUrl :: Lens' GetGameSessionLogUrlResponse (Maybe Text)
- getGameSessionLogUrlResponse_httpStatus :: Lens' GetGameSessionLogUrlResponse Int
Creating a Request
data GetGameSessionLogUrl Source #
See: newGetGameSessionLogUrl
smart constructor.
GetGameSessionLogUrl' | |
|
Instances
newGetGameSessionLogUrl Source #
Create a value of GetGameSessionLogUrl
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:
GetGameSessionLogUrl
, getGameSessionLogUrl_gameSessionId
- A unique identifier for the game session to get logs for.
Request Lenses
getGameSessionLogUrl_gameSessionId :: Lens' GetGameSessionLogUrl Text Source #
A unique identifier for the game session to get logs for.
Destructuring the Response
data GetGameSessionLogUrlResponse Source #
See: newGetGameSessionLogUrlResponse
smart constructor.
GetGameSessionLogUrlResponse' | |
|
Instances
newGetGameSessionLogUrlResponse Source #
Create a value of GetGameSessionLogUrlResponse
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:preSignedUrl:GetGameSessionLogUrlResponse'
, getGameSessionLogUrlResponse_preSignedUrl
- Location of the requested game session logs, available for download.
This URL is valid for 15 minutes, after which S3 will reject any
download request using this URL. You can request a new URL any time
within the 14-day period that the logs are retained.
$sel:httpStatus:GetGameSessionLogUrlResponse'
, getGameSessionLogUrlResponse_httpStatus
- The response's http status code.
Response Lenses
getGameSessionLogUrlResponse_preSignedUrl :: Lens' GetGameSessionLogUrlResponse (Maybe Text) Source #
Location of the requested game session logs, available for download. This URL is valid for 15 minutes, after which S3 will reject any download request using this URL. You can request a new URL any time within the 14-day period that the logs are retained.
getGameSessionLogUrlResponse_httpStatus :: Lens' GetGameSessionLogUrlResponse Int Source #
The response's http status code.