aws_sdk_schemas/client/
stop_discoverer.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 [`StopDiscoverer`](crate::operation::stop_discoverer::builders::StopDiscovererFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`discoverer_id(impl Into<String>)`](crate::operation::stop_discoverer::builders::StopDiscovererFluentBuilder::discoverer_id) / [`set_discoverer_id(Option<String>)`](crate::operation::stop_discoverer::builders::StopDiscovererFluentBuilder::set_discoverer_id):<br>required: **true**<br><p>The ID of the discoverer.</p><br>
7    /// - On success, responds with [`StopDiscovererOutput`](crate::operation::stop_discoverer::StopDiscovererOutput) with field(s):
8    ///   - [`discoverer_id(Option<String>)`](crate::operation::stop_discoverer::StopDiscovererOutput::discoverer_id): <p>The ID of the discoverer.</p>
9    ///   - [`state(Option<DiscovererState>)`](crate::operation::stop_discoverer::StopDiscovererOutput::state): <p>The state of the discoverer.</p>
10    /// - On failure, responds with [`SdkError<StopDiscovererError>`](crate::operation::stop_discoverer::StopDiscovererError)
11    pub fn stop_discoverer(&self) -> crate::operation::stop_discoverer::builders::StopDiscovererFluentBuilder {
12        crate::operation::stop_discoverer::builders::StopDiscovererFluentBuilder::new(self.handle.clone())
13    }
14}