aws_sdk_mailmanager/client/
stop_archive_search.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 [`StopArchiveSearch`](crate::operation::stop_archive_search::builders::StopArchiveSearchFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`search_id(impl Into<String>)`](crate::operation::stop_archive_search::builders::StopArchiveSearchFluentBuilder::search_id) / [`set_search_id(Option<String>)`](crate::operation::stop_archive_search::builders::StopArchiveSearchFluentBuilder::set_search_id):<br>required: **true**<br><p>The identifier of the search job to stop.</p><br>
7    /// - On success, responds with [`StopArchiveSearchOutput`](crate::operation::stop_archive_search::StopArchiveSearchOutput)
8    /// - On failure, responds with [`SdkError<StopArchiveSearchError>`](crate::operation::stop_archive_search::StopArchiveSearchError)
9    pub fn stop_archive_search(&self) -> crate::operation::stop_archive_search::builders::StopArchiveSearchFluentBuilder {
10        crate::operation::stop_archive_search::builders::StopArchiveSearchFluentBuilder::new(self.handle.clone())
11    }
12}