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 [`GetJobQueueSnapshot`](crate::operation::get_job_queue_snapshot::builders::GetJobQueueSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_queue(impl Into<String>)`](crate::operation::get_job_queue_snapshot::builders::GetJobQueueSnapshotFluentBuilder::job_queue) / [`set_job_queue(Option<String>)`](crate::operation::get_job_queue_snapshot::builders::GetJobQueueSnapshotFluentBuilder::set_job_queue):<br>required: **true**<br><p>The job queue’s name or full queue Amazon Resource Name (ARN).</p><br>
    /// - On success, responds with [`GetJobQueueSnapshotOutput`](crate::operation::get_job_queue_snapshot::GetJobQueueSnapshotOutput) with field(s):
    ///   - [`front_of_queue(Option<FrontOfQueueDetail>)`](crate::operation::get_job_queue_snapshot::GetJobQueueSnapshotOutput::front_of_queue): <p>The list of the first 100 <code>RUNNABLE</code> jobs in each job queue. For first-in-first-out (FIFO) job queues, jobs are ordered based on their submission time. For fair share scheduling (FSS) job queues, jobs are ordered based on their job priority and share usage.</p>
    /// - On failure, responds with [`SdkError<GetJobQueueSnapshotError>`](crate::operation::get_job_queue_snapshot::GetJobQueueSnapshotError)
    pub fn get_job_queue_snapshot(&self) -> crate::operation::get_job_queue_snapshot::builders::GetJobQueueSnapshotFluentBuilder {
        crate::operation::get_job_queue_snapshot::builders::GetJobQueueSnapshotFluentBuilder::new(self.handle.clone())
    }
}