aws_sdk_applicationdiscovery/client/stop_data_collection_by_agent_ids.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 [`StopDataCollectionByAgentIds`](crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`agent_ids(impl Into<String>)`](crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder::agent_ids) / [`set_agent_ids(Option<Vec::<String>>)`](crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder::set_agent_ids):<br>required: **true**<br><p>The IDs of the agents from which to stop collecting data.</p><br>
7 /// - On success, responds with [`StopDataCollectionByAgentIdsOutput`](crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsOutput) with field(s):
8 /// - [`agents_configuration_status(Option<Vec::<AgentConfigurationStatus>>)`](crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsOutput::agents_configuration_status): <p>Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.</p>
9 /// - On failure, responds with [`SdkError<StopDataCollectionByAgentIdsError>`](crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsError)
10 pub fn stop_data_collection_by_agent_ids(
11 &self,
12 ) -> crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder {
13 crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder::new(self.handle.clone())
14 }
15}