// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopPentestJob`](crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`agent_space_id(impl Into<String>)`](crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder::set_agent_space_id):<br>required: **true**<br>ID of the agent space where the pentest exists<br>
/// - [`pentest_job_id(impl Into<String>)`](crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder::pentest_job_id) / [`set_pentest_job_id(Option<String>)`](crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder::set_pentest_job_id):<br>required: **true**<br>Identifier of the pentest job to stop<br>
/// - On success, responds with [`StopPentestJobOutput`](crate::operation::stop_pentest_job::StopPentestJobOutput)
/// - On failure, responds with [`SdkError<StopPentestJobError>`](crate::operation::stop_pentest_job::StopPentestJobError)
pub fn stop_pentest_job(&self) -> crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder {
crate::operation::stop_pentest_job::builders::StopPentestJobFluentBuilder::new(self.handle.clone())
}
}