amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

All APIs by task

Synopsis

Creating a Request

data GetGameSessionLogUrl Source #

See: newGetGameSessionLogUrl smart constructor.

Constructors

GetGameSessionLogUrl' 

Fields

Instances

Instances details
ToJSON GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.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

AWSRequest GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type AWSResponse GetGameSessionLogUrl #

Generic GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type Rep GetGameSessionLogUrl :: Type -> Type #

Read GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Show GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

NFData GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Methods

rnf :: GetGameSessionLogUrl -> () #

Eq GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Hashable GetGameSessionLogUrl Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

type AWSResponse 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" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "GetGameSessionLogUrl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameSessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

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
Generic GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Associated Types

type Rep GetGameSessionLogUrlResponse :: Type -> Type #

Read GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Show GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

NFData GetGameSessionLogUrlResponse Source # 
Instance details

Defined in Amazonka.GameLift.GetGameSessionLogUrl

Eq 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" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" '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.