// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopDiscovery`](crate::operation::stop_discovery::builders::StopDiscoveryFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::stop_discovery::builders::StopDiscoveryFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_discovery::builders::StopDiscoveryFluentBuilder::set_id):<br>required: **true**<br>Identifier of the discovery configuration to stop. Required. Today this is the configuration ARN, which carries the owner account id so a delegated admin or org admin can stop an org-scoped configuration that lives in a different account.<br>
/// - On success, responds with [`StopDiscoveryOutput`](crate::operation::stop_discovery::StopDiscoveryOutput)
/// - On failure, responds with [`SdkError<StopDiscoveryError>`](crate::operation::stop_discovery::StopDiscoveryError)
pub fn stop_discovery(&self) -> crate::operation::stop_discovery::builders::StopDiscoveryFluentBuilder {
crate::operation::stop_discovery::builders::StopDiscoveryFluentBuilder::new(self.handle.clone())
}
}