Amazon.GameLift.AmazonGameLiftClient.GetGameSessionLogUrlAsync C# (CSharp) Метод

GetGameSessionLogUrlAsync() публичный Метод

Retrieves the location of stored game session logs for a specified game session. When a game session is terminated, Amazon GameLift automatically stores the logs in Amazon S3. 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.

/// The service encountered an unrecoverable internal failure while processing the request. /// Clients can retry such requests immediately or after a waiting period. /// /// One or more parameter values in the request are invalid. Correct the invalid parameter /// values before retrying. /// /// A service resource associated with the request could not be found. Clients should /// not retry such requests. /// /// The client failed authentication. Clients should not retry such requests. ///
public GetGameSessionLogUrlAsync ( string gameSessionId, System cancellationToken = default(CancellationToken) ) : Task
gameSessionId string Unique identifier for the game session to get logs for. Game session ID format is as follows: "arn:aws:gamelift:<region>::gamesession/fleet-<fleet ID>/<ID string>". The value of <ID string> is either a custom ID string (if one was specified when the game session was created) an autogenerated string.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<GetGameSessionLogUrlResponse> GetGameSessionLogUrlAsync(string gameSessionId, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var request = new GetGameSessionLogUrlRequest();
            request.GameSessionId = gameSessionId;
            return GetGameSessionLogUrlAsync(request, cancellationToken);
        }

Same methods

AmazonGameLiftClient::GetGameSessionLogUrlAsync ( GetGameSessionLogUrlRequest request, System cancellationToken = default(CancellationToken) ) : Task
AmazonGameLiftClient