// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopServiceDeployment`](crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_deployment_arn(impl Into<String>)`](crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder::service_deployment_arn) / [`set_service_deployment_arn(Option<String>)`](crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder::set_service_deployment_arn):<br>required: **true**<br><p>The ARN of the service deployment that you want to stop.</p><br>
/// - [`stop_type(StopServiceDeploymentStopType)`](crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder::stop_type) / [`set_stop_type(Option<StopServiceDeploymentStopType>)`](crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder::set_stop_type):<br>required: **false**<br><p>How you want Amazon ECS to stop the service.</p> <p>The valid values are <code>ROLLBACK</code>.</p><br>
/// - On success, responds with [`StopServiceDeploymentOutput`](crate::operation::stop_service_deployment::StopServiceDeploymentOutput) with field(s):
/// - [`service_deployment_arn(Option<String>)`](crate::operation::stop_service_deployment::StopServiceDeploymentOutput::service_deployment_arn): <p>The ARN of the stopped service deployment.</p>
/// - On failure, responds with [`SdkError<StopServiceDeploymentError>`](crate::operation::stop_service_deployment::StopServiceDeploymentError)
pub fn stop_service_deployment(&self) -> crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder {
crate::operation::stop_service_deployment::builders::StopServiceDeploymentFluentBuilder::new(self.handle.clone())
}
}