libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.GetGameSessionLogUrl

Description

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 AWS Service Limits page for maximum log file sizes. Log files that exceed this limit are not saved.

Related actions

CreateGameSession | DescribeGameSessions | DescribeGameSessionDetails | SearchGameSessions | UpdateGameSession | GetGameSessionLogUrl | StartGameSessionPlacement | DescribeGameSessionPlacement | StopGameSessionPlacement | All APIs by task

Synopsis

Creating a Request

data GetGameSessionLogUrl Source #

Represents the input for a request operation.

See: newGetGameSessionLogUrl smart constructor.

Constructors

GetGameSessionLogUrl' 

Fields

Instances

Instances details
Eq GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Read GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Show GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Generic GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type Rep GetGameSessionLogUrl :: Type -> Type #

NFData GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Methods

rnf :: GetGameSessionLogUrl -> () #

Hashable GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

ToJSON GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

AWSRequest GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type AWSResponse GetGameSessionLogUrl #

ToHeaders GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

ToPath GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

ToQuery GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

type Rep GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

type Rep GetGameSessionLogUrl = D1 ('MetaData "GetGameSessionLogUrl" "Amazonka.GameLift.GetGameSessionLogUrl" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "GetGameSessionLogUrl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameSessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

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:

$sel:gameSessionId: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 #

Represents the returned data in response to a request operation.

See: newGetGameSessionLogUrlResponse smart constructor.

Constructors

GetGameSessionLogUrlResponse' 

Fields

  • preSignedUrl :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Read GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Show GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Generic GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type Rep GetGameSessionLogUrlResponse :: Type -> Type #

NFData GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

type Rep GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

type Rep GetGameSessionLogUrlResponse = D1 ('MetaData "GetGameSessionLogUrlResponse" "Amazonka.GameLift.GetGameSessionLogUrl" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "GetGameSessionLogUrlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preSignedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.