1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetArchiveSearch`](crate::operation::get_archive_search::builders::GetArchiveSearchFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`search_id(impl Into<String>)`](crate::operation::get_archive_search::builders::GetArchiveSearchFluentBuilder::search_id) / [`set_search_id(Option<String>)`](crate::operation::get_archive_search::builders::GetArchiveSearchFluentBuilder::set_search_id):<br>required: **true**<br><p>The identifier of the search job to get details for.</p><br>
    /// - On success, responds with [`GetArchiveSearchOutput`](crate::operation::get_archive_search::GetArchiveSearchOutput) with field(s):
    ///   - [`archive_id(Option<String>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::archive_id): <p>The identifier of the archive the email search was performed in.</p>
    ///   - [`filters(Option<ArchiveFilters>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::filters): <p>The criteria used to filter emails included in the search.</p>
    ///   - [`from_timestamp(Option<DateTime>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::from_timestamp): <p>The start timestamp of the range the searched emails cover.</p>
    ///   - [`to_timestamp(Option<DateTime>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::to_timestamp): <p>The end timestamp of the range the searched emails cover.</p>
    ///   - [`max_results(Option<i32>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::max_results): <p>The maximum number of search results to return.</p>
    ///   - [`status(Option<SearchStatus>)`](crate::operation::get_archive_search::GetArchiveSearchOutput::status): <p>The current status of the search job.</p>
    /// - On failure, responds with [`SdkError<GetArchiveSearchError>`](crate::operation::get_archive_search::GetArchiveSearchError)
    pub fn get_archive_search(&self) -> crate::operation::get_archive_search::builders::GetArchiveSearchFluentBuilder {
        crate::operation::get_archive_search::builders::GetArchiveSearchFluentBuilder::new(self.handle.clone())
    }
}