aws-sdk-securityagent 1.4.0

AWS SDK for AWS Security Agent
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchDeletePentests`](crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`BatchDeletePentestsOutput`](crate::operation::batch_delete_pentests::BatchDeletePentestsOutput) with field(s):
    ///   - [`deleted(Option<Vec::<Pentest>>)`](crate::operation::batch_delete_pentests::BatchDeletePentestsOutput::deleted): <p>The list of pentests that were successfully deleted.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<BatchDeletePentestsError>`](crate::operation::batch_delete_pentests::BatchDeletePentestsError)
    pub fn batch_delete_pentests(&self) -> crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder {
        crate::operation::batch_delete_pentests::builders::BatchDeletePentestsFluentBuilder::new(self.handle.clone())
    }
}