aws_sdk_codebuild/client/batch_delete_builds.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 [`BatchDeleteBuilds`](crate::operation::batch_delete_builds::builders::BatchDeleteBuildsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`ids(impl Into<String>)`](crate::operation::batch_delete_builds::builders::BatchDeleteBuildsFluentBuilder::ids) / [`set_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_builds::builders::BatchDeleteBuildsFluentBuilder::set_ids):<br>required: **true**<br><p>The IDs of the builds to delete.</p><br>
7 /// - On success, responds with [`BatchDeleteBuildsOutput`](crate::operation::batch_delete_builds::BatchDeleteBuildsOutput) with field(s):
8 /// - [`builds_deleted(Option<Vec::<String>>)`](crate::operation::batch_delete_builds::BatchDeleteBuildsOutput::builds_deleted): <p>The IDs of the builds that were successfully deleted.</p>
9 /// - [`builds_not_deleted(Option<Vec::<BuildNotDeleted>>)`](crate::operation::batch_delete_builds::BatchDeleteBuildsOutput::builds_not_deleted): <p>Information about any builds that could not be successfully deleted.</p>
10 /// - On failure, responds with [`SdkError<BatchDeleteBuildsError>`](crate::operation::batch_delete_builds::BatchDeleteBuildsError)
11 pub fn batch_delete_builds(&self) -> crate::operation::batch_delete_builds::builders::BatchDeleteBuildsFluentBuilder {
12 crate::operation::batch_delete_builds::builders::BatchDeleteBuildsFluentBuilder::new(self.handle.clone())
13 }
14}