aws_sdk_mailmanager/client/
get_archive_search_results.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetArchiveSearchResults`](crate::operation::get_archive_search_results::builders::GetArchiveSearchResultsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`search_id(impl Into<String>)`](crate::operation::get_archive_search_results::builders::GetArchiveSearchResultsFluentBuilder::search_id) / [`set_search_id(Option<String>)`](crate::operation::get_archive_search_results::builders::GetArchiveSearchResultsFluentBuilder::set_search_id):<br>required: **true**<br><p>The identifier of the completed search job.</p><br>
7    /// - On success, responds with [`GetArchiveSearchResultsOutput`](crate::operation::get_archive_search_results::GetArchiveSearchResultsOutput) with field(s):
8    ///   - [`rows(Option<Vec::<Row>>)`](crate::operation::get_archive_search_results::GetArchiveSearchResultsOutput::rows): <p>The list of email result objects matching the search criteria.</p>
9    /// - On failure, responds with [`SdkError<GetArchiveSearchResultsError>`](crate::operation::get_archive_search_results::GetArchiveSearchResultsError)
10    pub fn get_archive_search_results(&self) -> crate::operation::get_archive_search_results::builders::GetArchiveSearchResultsFluentBuilder {
11        crate::operation::get_archive_search_results::builders::GetArchiveSearchResultsFluentBuilder::new(self.handle.clone())
12    }
13}