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 [`ListArchiveSearches`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`archive_id(impl Into<String>)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::archive_id) / [`set_archive_id(Option<String>)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::set_archive_id):<br>required: **true**<br><p>The identifier of the archive.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::set_next_token):<br>required: **false**<br><p>If NextToken is returned, there are more results available. The value of NextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p><br>
    ///   - [`page_size(i32)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::page_size) / [`set_page_size(Option<i32>)`](crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::set_page_size):<br>required: **false**<br><p>The maximum number of archive search jobs that are returned per call. You can use NextToken to obtain further pages of archives.</p><br>
    /// - On success, responds with [`ListArchiveSearchesOutput`](crate::operation::list_archive_searches::ListArchiveSearchesOutput) with field(s):
    ///   - [`searches(Option<Vec::<SearchSummary>>)`](crate::operation::list_archive_searches::ListArchiveSearchesOutput::searches): <p>The list of search job identifiers and statuses.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_archive_searches::ListArchiveSearchesOutput::next_token): <p>If present, use to retrieve the next page of results.</p>
    /// - On failure, responds with [`SdkError<ListArchiveSearchesError>`](crate::operation::list_archive_searches::ListArchiveSearchesError)
    pub fn list_archive_searches(&self) -> crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder {
        crate::operation::list_archive_searches::builders::ListArchiveSearchesFluentBuilder::new(self.handle.clone())
    }
}