aws_sdk_securityagent/client/batch_delete_code_reviews.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 [`BatchDeleteCodeReviews`](crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`code_review_ids(impl Into<String>)`](crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder::code_review_ids) / [`set_code_review_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder::set_code_review_ids):<br>required: **true**<br><p>The list of code review identifiers to delete.</p><br>
7 /// - [`agent_space_id(impl Into<String>)`](crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the code reviews to delete.</p><br>
8 /// - On success, responds with [`BatchDeleteCodeReviewsOutput`](crate::operation::batch_delete_code_reviews::BatchDeleteCodeReviewsOutput) with field(s):
9 /// - [`deleted(Option<Vec::<String>>)`](crate::operation::batch_delete_code_reviews::BatchDeleteCodeReviewsOutput::deleted): <p>The list of identifiers of the code reviews that were successfully deleted.</p>
10 /// - [`failed(Option<Vec::<DeleteCodeReviewFailure>>)`](crate::operation::batch_delete_code_reviews::BatchDeleteCodeReviewsOutput::failed): <p>The list of code reviews that failed to delete, including the reason for each failure.</p>
11 /// - On failure, responds with [`SdkError<BatchDeleteCodeReviewsError>`](crate::operation::batch_delete_code_reviews::BatchDeleteCodeReviewsError)
12 pub fn batch_delete_code_reviews(&self) -> crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder {
13 crate::operation::batch_delete_code_reviews::builders::BatchDeleteCodeReviewsFluentBuilder::new(self.handle.clone())
14 }
15}