aws_sdk_fis/client/
stop_experiment.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 [`StopExperiment`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the experiment.</p><br>
7    /// - On success, responds with [`StopExperimentOutput`](crate::operation::stop_experiment::StopExperimentOutput) with field(s):
8    ///   - [`experiment(Option<Experiment>)`](crate::operation::stop_experiment::StopExperimentOutput::experiment): <p>Information about the experiment.</p>
9    /// - On failure, responds with [`SdkError<StopExperimentError>`](crate::operation::stop_experiment::StopExperimentError)
10    pub fn stop_experiment(&self) -> crate::operation::stop_experiment::builders::StopExperimentFluentBuilder {
11        crate::operation::stop_experiment::builders::StopExperimentFluentBuilder::new(self.handle.clone())
12    }
13}