1
2
3
4
5
6
7
8
9
10
11
12
13
// 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>A unique identifier for the game session to get logs for.</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())
    }
}