// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetGameSessionLogUrl`](crate::operation::get_game_session_log_url::builders::GetGameSessionLogUrlFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`game_session_id(impl Into<String>)`](crate::operation::get_game_session_log_url::builders::GetGameSessionLogUrlFluentBuilder::game_session_id) / [`set_game_session_id(Option<String>)`](crate::operation::get_game_session_log_url::builders::GetGameSessionLogUrlFluentBuilder::set_game_session_id):<br>required: **true**<br><p>An identifier for the game session that is unique across all regions to get logs for. The value is always a full ARN in the following format: For Home Region game session - <code>arn:aws:gamelift:<home_region> ::gamesession/ <fleet id> / <id string></id> </fleet> </home_region></code>. For Remote Location game session - <code>arn:aws:gamelift:<home_region> ::gamesession/ <fleet id> / <location> / <id string></id> </location> </fleet> </home_region></code>.</p><br>
/// - On success, responds with [`GetGameSessionLogUrlOutput`](crate::operation::get_game_session_log_url::GetGameSessionLogUrlOutput) with field(s):
/// - [`pre_signed_url(Option<String>)`](crate::operation::get_game_session_log_url::GetGameSessionLogUrlOutput::pre_signed_url): <p>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.</p>
/// - On failure, responds with [`SdkError<GetGameSessionLogUrlError>`](crate::operation::get_game_session_log_url::GetGameSessionLogUrlError)
pub fn get_game_session_log_url(&self) -> crate::operation::get_game_session_log_url::builders::GetGameSessionLogUrlFluentBuilder {
crate::operation::get_game_session_log_url::builders::GetGameSessionLogUrlFluentBuilder::new(self.handle.clone())
}
}