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 [`StartDataCollectionByAgentIds`](crate::operation::start_data_collection_by_agent_ids::builders::StartDataCollectionByAgentIdsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_ids(impl Into<String>)`](crate::operation::start_data_collection_by_agent_ids::builders::StartDataCollectionByAgentIdsFluentBuilder::agent_ids) / [`set_agent_ids(Option<Vec::<String>>)`](crate::operation::start_data_collection_by_agent_ids::builders::StartDataCollectionByAgentIdsFluentBuilder::set_agent_ids):<br>required: **true**<br><p>The IDs of the agents from which to start collecting data. If you send a request to an agent ID that you do not have permission to contact, according to your Amazon Web Services account, the service does not throw an exception. Instead, it returns the error in the <i>Description</i> field. If you send a request to multiple agents and you do not have permission to contact some of those agents, the system does not throw an exception. Instead, the system shows <code>Failed</code> in the <i>Description</i> field.</p><br>
    /// - On success, responds with [`StartDataCollectionByAgentIdsOutput`](crate::operation::start_data_collection_by_agent_ids::StartDataCollectionByAgentIdsOutput) with field(s):
    ///   - [`agents_configuration_status(Option<Vec::<AgentConfigurationStatus>>)`](crate::operation::start_data_collection_by_agent_ids::StartDataCollectionByAgentIdsOutput::agents_configuration_status): <p>Information about agents that were instructed to start 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<StartDataCollectionByAgentIdsError>`](crate::operation::start_data_collection_by_agent_ids::StartDataCollectionByAgentIdsError)
    pub fn start_data_collection_by_agent_ids(
        &self,
    ) -> crate::operation::start_data_collection_by_agent_ids::builders::StartDataCollectionByAgentIdsFluentBuilder {
        crate::operation::start_data_collection_by_agent_ids::builders::StartDataCollectionByAgentIdsFluentBuilder::new(self.handle.clone())
    }
}