1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeJobQueues`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_queues(impl Into<String>)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::job_queues) / [`set_job_queues(Option<Vec::<String>>)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::set_job_queues):<br>required: **false**<br><p>A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results returned by <code>DescribeJobQueues</code> in paginated output. When this parameter is used, <code>DescribeJobQueues</code> only returns <code>maxResults</code> results in a single page and a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another <code>DescribeJobQueues</code> request with the returned <code>nextToken</code> value. This value can be between 1 and 100. If this parameter isn't used, then <code>DescribeJobQueues</code> returns up to 100 results and a <code>nextToken</code> value if applicable.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::set_next_token):<br>required: **false**<br><p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeJobQueues</code> request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when there are no more results to return.</p><note>  <p>Treat this token as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.</p> </note><br>
    /// - On success, responds with [`DescribeJobQueuesOutput`](crate::operation::describe_job_queues::DescribeJobQueuesOutput) with field(s):
    ///   - [`job_queues(Option<Vec::<JobQueueDetail>>)`](crate::operation::describe_job_queues::DescribeJobQueuesOutput::job_queues): <p>The list of job queues.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_job_queues::DescribeJobQueuesOutput::next_token): <p>The <code>nextToken</code> value to include in a future <code>DescribeJobQueues</code> request. When the results of a <code>DescribeJobQueues</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<DescribeJobQueuesError>`](crate::operation::describe_job_queues::DescribeJobQueuesError)
    pub fn describe_job_queues(&self) -> crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder {
        crate::operation::describe_job_queues::builders::DescribeJobQueuesFluentBuilder::new(self.handle.clone())
    }
}