Struct aws_sdk_applicationdiscovery::operation::batch_delete_agents::builders::BatchDeleteAgentsFluentBuilder
source · pub struct BatchDeleteAgentsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to BatchDeleteAgents
.
Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask
.
Implementations§
source§impl BatchDeleteAgentsFluentBuilder
impl BatchDeleteAgentsFluentBuilder
sourcepub fn as_input(&self) -> &BatchDeleteAgentsInputBuilder
pub fn as_input(&self) -> &BatchDeleteAgentsInputBuilder
Access the BatchDeleteAgents as a reference.
sourcepub async fn send(
self
) -> Result<BatchDeleteAgentsOutput, SdkError<BatchDeleteAgentsError, HttpResponse>>
pub async fn send( self ) -> Result<BatchDeleteAgentsOutput, SdkError<BatchDeleteAgentsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<BatchDeleteAgentsOutput, BatchDeleteAgentsError, Self>
pub fn customize( self ) -> CustomizableOperation<BatchDeleteAgentsOutput, BatchDeleteAgentsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn delete_agents(self, input: DeleteAgent) -> Self
pub fn delete_agents(self, input: DeleteAgent) -> Self
Appends an item to deleteAgents
.
To override the contents of this collection use set_delete_agents
.
The list of agents to delete.
sourcepub fn set_delete_agents(self, input: Option<Vec<DeleteAgent>>) -> Self
pub fn set_delete_agents(self, input: Option<Vec<DeleteAgent>>) -> Self
The list of agents to delete.
sourcepub fn get_delete_agents(&self) -> &Option<Vec<DeleteAgent>>
pub fn get_delete_agents(&self) -> &Option<Vec<DeleteAgent>>
The list of agents to delete.
Trait Implementations§
source§impl Clone for BatchDeleteAgentsFluentBuilder
impl Clone for BatchDeleteAgentsFluentBuilder
source§fn clone(&self) -> BatchDeleteAgentsFluentBuilder
fn clone(&self) -> BatchDeleteAgentsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more