Skip to main content

aws_sdk_glue/client/
get_system_logs_for_job_run.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetSystemLogsForJobRun`](crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`job_name(impl Into<String>)`](crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder::job_name) / [`set_job_name(Option<String>)`](crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder::set_job_name):<br>required: **true**<br><p>The name of the job.</p><br>
7    ///   - [`run_id(impl Into<String>)`](crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder::set_run_id):<br>required: **true**<br><p>The ID of the job run.</p><br>
8    /// - On success, responds with [`GetSystemLogsForJobRunOutput`](crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunOutput) with field(s):
9    ///   - [`system_logs_url(Option<String>)`](crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunOutput::system_logs_url): <p>The URL to download the system logs for the job run.</p>
10    /// - On failure, responds with [`SdkError<GetSystemLogsForJobRunError>`](crate::operation::get_system_logs_for_job_run::GetSystemLogsForJobRunError)
11    pub fn get_system_logs_for_job_run(&self) -> crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder {
12        crate::operation::get_system_logs_for_job_run::builders::GetSystemLogsForJobRunFluentBuilder::new(self.handle.clone())
13    }
14}