1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListBuilds`](crate::operation::list_builds::builders::ListBuildsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_builds::builders::ListBuildsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`sort_order(SortOrderType)`](crate::operation::list_builds::builders::ListBuildsFluentBuilder::sort_order) / [`set_sort_order(Option<SortOrderType>)`](crate::operation::list_builds::builders::ListBuildsFluentBuilder::set_sort_order):<br>required: **false**<br><p>The order to list build IDs. Valid values include:</p> <ul>  <li>   <p><code>ASCENDING</code>: List the build IDs in ascending order by build ID.</p></li>  <li>   <p><code>DESCENDING</code>: List the build IDs in descending order by build ID.</p></li> </ul><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_builds::builders::ListBuildsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_builds::builders::ListBuildsFluentBuilder::set_next_token):<br>required: **false**<br><p>During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>nextToken</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.</p><br>
    /// - On success, responds with [`ListBuildsOutput`](crate::operation::list_builds::ListBuildsOutput) with field(s):
    ///   - [`ids(Option<Vec::<String>>)`](crate::operation::list_builds::ListBuildsOutput::ids): <p>A list of build IDs, with each build ID representing a single build.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_builds::ListBuildsOutput::next_token): <p>If there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a <i>nextToken</i>. To get the next batch of items in the list, call this operation again, adding the next token to the call.</p>
    /// - On failure, responds with [`SdkError<ListBuildsError>`](crate::operation::list_builds::ListBuildsError)
    pub fn list_builds(&self) -> crate::operation::list_builds::builders::ListBuildsFluentBuilder {
        crate::operation::list_builds::builders::ListBuildsFluentBuilder::new(self.handle.clone())
    }
}