aws_sdk_codebuild/client/
stop_build_batch.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 [`StopBuildBatch`](crate::operation::stop_build_batch::builders::StopBuildBatchFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::stop_build_batch::builders::StopBuildBatchFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_build_batch::builders::StopBuildBatchFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the batch build to stop.</p><br>
7    /// - On success, responds with [`StopBuildBatchOutput`](crate::operation::stop_build_batch::StopBuildBatchOutput) with field(s):
8    ///   - [`build_batch(Option<BuildBatch>)`](crate::operation::stop_build_batch::StopBuildBatchOutput::build_batch): <p>Contains information about a batch build.</p>
9    /// - On failure, responds with [`SdkError<StopBuildBatchError>`](crate::operation::stop_build_batch::StopBuildBatchError)
10    pub fn stop_build_batch(&self) -> crate::operation::stop_build_batch::builders::StopBuildBatchFluentBuilder {
11        crate::operation::stop_build_batch::builders::StopBuildBatchFluentBuilder::new(self.handle.clone())
12    }
13}