Skip to main content

aws_sdk_securityagent/client/
stop_code_review_job.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 [`StopCodeReviewJob`](crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space.</p><br>
7    ///   - [`code_review_job_id(impl Into<String>)`](crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder::code_review_job_id) / [`set_code_review_job_id(Option<String>)`](crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder::set_code_review_job_id):<br>required: **true**<br><p>The unique identifier of the code review job to stop.</p><br>
8    /// - On success, responds with [`StopCodeReviewJobOutput`](crate::operation::stop_code_review_job::StopCodeReviewJobOutput)
9    /// - On failure, responds with [`SdkError<StopCodeReviewJobError>`](crate::operation::stop_code_review_job::StopCodeReviewJobError)
10    pub fn stop_code_review_job(&self) -> crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder {
11        crate::operation::stop_code_review_job::builders::StopCodeReviewJobFluentBuilder::new(self.handle.clone())
12    }
13}