aws_sdk_securityagent/client/batch_delete_pentests.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 [`BatchDeletePentests`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`pentest_ids(impl Into<String>)`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::pentest_ids) / [`set_pentest_ids(Option<Vec::<String>>)`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::set_pentest_ids):<br>required: **true**<br><p>The list of pentest identifiers to delete.</p><br>
7 /// - [`agent_space_id(impl Into<String>)`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::set_agent_space_id):<br>required: **true**<br><p>The unique identifier of the agent space that contains the pentests to delete.</p><br>
8 /// - On success, responds with [`BatchDeletePentestsOutput`](crate::operation::batch_delete_pentests::BatchDeletePentestsOutput) with field(s):
9 /// - [`deleted(Option<Vec::<Pentest>>)`](crate::operation::batch_delete_pentests::BatchDeletePentestsOutput::deleted): <p>The list of pentests that were successfully deleted.</p>
10 /// - [`failed(Option<Vec::<DeletePentestFailure>>)`](crate::operation::batch_delete_pentests::BatchDeletePentestsOutput::failed): <p>The list of pentests that failed to delete, including the reason for each failure.</p>
11 /// - On failure, responds with [`SdkError<BatchDeletePentestsError>`](crate::operation::batch_delete_pentests::BatchDeletePentestsError)
12 pub fn batch_delete_pentests(&self) -> crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder {
13 crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::new(self.handle.clone())
14 }
15}