aws_sdk_applicationdiscovery/client/batch_delete_agents.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 [`BatchDeleteAgents`](crate::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`delete_agents(DeleteAgent)`](crate::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder::delete_agents) / [`set_delete_agents(Option<Vec::<DeleteAgent>>)`](crate::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder::set_delete_agents):<br>required: **true**<br><p>The list of agents to delete.</p><br>
7 /// - On success, responds with [`BatchDeleteAgentsOutput`](crate::operation::batch_delete_agents::BatchDeleteAgentsOutput) with field(s):
8 /// - [`errors(Option<Vec::<BatchDeleteAgentError>>)`](crate::operation::batch_delete_agents::BatchDeleteAgentsOutput::errors): <p>A list of agent IDs that failed to delete during the deletion task, each paired with an error message.</p>
9 /// - On failure, responds with [`SdkError<BatchDeleteAgentsError>`](crate::operation::batch_delete_agents::BatchDeleteAgentsError)
10 pub fn batch_delete_agents(&self) -> crate::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder {
11 crate::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder::new(self.handle.clone())
12 }
13}