aws_sdk_codebuild/client/delete_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 [`DeleteBuildBatch`](crate::operation::delete_build_batch::builders::DeleteBuildBatchFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id(impl Into<String>)`](crate::operation::delete_build_batch::builders::DeleteBuildBatchFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_build_batch::builders::DeleteBuildBatchFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the batch build to delete.</p><br>
7 /// - On success, responds with [`DeleteBuildBatchOutput`](crate::operation::delete_build_batch::DeleteBuildBatchOutput) with field(s):
8 /// - [`status_code(Option<String>)`](crate::operation::delete_build_batch::DeleteBuildBatchOutput::status_code): <p>The status code.</p>
9 /// - [`builds_deleted(Option<Vec::<String>>)`](crate::operation::delete_build_batch::DeleteBuildBatchOutput::builds_deleted): <p>An array of strings that contain the identifiers of the builds that were deleted.</p>
10 /// - [`builds_not_deleted(Option<Vec::<BuildNotDeleted>>)`](crate::operation::delete_build_batch::DeleteBuildBatchOutput::builds_not_deleted): <p>An array of <code>BuildNotDeleted</code> objects that specify the builds that could not be deleted.</p>
11 /// - On failure, responds with [`SdkError<DeleteBuildBatchError>`](crate::operation::delete_build_batch::DeleteBuildBatchError)
12 pub fn delete_build_batch(&self) -> crate::operation::delete_build_batch::builders::DeleteBuildBatchFluentBuilder {
13 crate::operation::delete_build_batch::builders::DeleteBuildBatchFluentBuilder::new(self.handle.clone())
14 }
15}