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 [`StopDataCollectionByAgentIds`](crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`StopDataCollectionByAgentIdsOutput`](crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<StopDataCollectionByAgentIdsError>`](crate::operation::stop_data_collection_by_agent_ids::StopDataCollectionByAgentIdsError)
    pub fn stop_data_collection_by_agent_ids(
        &self,
    ) -> crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder {
        crate::operation::stop_data_collection_by_agent_ids::builders::StopDataCollectionByAgentIdsFluentBuilder::new(self.handle.clone())
    }
}