// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopExperimentRun`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`application_identifier(impl Into<String>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::application_identifier) / [`set_application_identifier(Option<String>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::set_application_identifier):<br>required: **true**<br><p>The application ID or name.</p><br>
/// - [`experiment_definition_identifier(impl Into<String>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::experiment_definition_identifier) / [`set_experiment_definition_identifier(Option<String>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::set_experiment_definition_identifier):<br>required: **true**<br><p>The experiment definition ID or name.</p><br>
/// - [`run(i32)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::run) / [`set_run(Option<i32>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::set_run):<br>required: **true**<br><p>The run number to stop.</p><br>
/// - [`result(ExperimentRunResult)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::result) / [`set_result(Option<ExperimentRunResult>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::set_result):<br>required: **false**<br><p>The result of the experiment run, including an executive summary and reasons for or against launching.</p><br>
/// - [`deployment_parameters(DeploymentParameters)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::deployment_parameters) / [`set_deployment_parameters(Option<DeploymentParameters>)`](crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::set_deployment_parameters):<br>required: **false**<br><p>Optional deployment parameters for the stop operation.</p><br>
/// - On success, responds with [`StopExperimentRunOutput`](crate::operation::stop_experiment_run::StopExperimentRunOutput) with field(s):
/// - [`application_id(Option<String>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::application_id): <p>The application ID.</p>
/// - [`experiment_definition_id(Option<String>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::experiment_definition_id): <p>The experiment definition ID.</p>
/// - [`run(i32)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::run): <p>The experiment run number.</p>
/// - [`description(Option<String>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::description): <p>A description of the experiment run.</p>
/// - [`status(Option<ExperimentRunStatus>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::status): <p>The current status of the experiment run. Valid values: <code>RUNNING</code>, <code>DONE</code>.</p>
/// - [`exposure_percentage(Option<f32>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::exposure_percentage): <p>The percentage of the target audience exposed to treatments.</p>
/// - [`treatment_overrides(Option<TreatmentOverrides>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::treatment_overrides): <p>Treatment assignment overrides that assign specific entity IDs to treatments.</p>
/// - [`result(Option<ExperimentRunResult>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::result): <p>The result of the experiment run, including the executive summary and launch decision rationale.</p>
/// - [`started_at(Option<DateTime>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::started_at): <p>The date and time the experiment run started, in ISO 8601 format.</p>
/// - [`updated_at(Option<DateTime>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::updated_at): <p>The date and time the experiment run was last updated, in ISO 8601 format.</p>
/// - [`ended_at(Option<DateTime>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::ended_at): <p>The date and time the experiment run ended, in ISO 8601 format.</p>
/// - [`experiment_definition_snapshot(Option<ExperimentDefinitionSnapshot>)`](crate::operation::stop_experiment_run::StopExperimentRunOutput::experiment_definition_snapshot): <p>A snapshot of the experiment definition at the time the run was started.</p>
/// - On failure, responds with [`SdkError<StopExperimentRunError>`](crate::operation::stop_experiment_run::StopExperimentRunError)
pub fn stop_experiment_run(&self) -> crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder {
crate::operation::stop_experiment_run::builders::StopExperimentRunFluentBuilder::new(self.handle.clone())
}
}