aws_sdk_guardduty/client/
stop_monitoring_members.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 [`StopMonitoringMembers`](crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`detector_id(impl Into<String>)`](crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder::set_detector_id):<br>required: **true**<br><p>The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.</p> <p>To find the <code>detectorId</code> in the current Region, see the Settings page in the GuardDuty console, or run the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_ListDetectors.html">ListDetectors</a> API.</p><br>
7    ///   - [`account_ids(impl Into<String>)`](crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder::account_ids) / [`set_account_ids(Option<Vec::<String>>)`](crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder::set_account_ids):<br>required: **true**<br><p>A list of account IDs for the member accounts to stop monitoring.</p><br>
8    /// - On success, responds with [`StopMonitoringMembersOutput`](crate::operation::stop_monitoring_members::StopMonitoringMembersOutput) with field(s):
9    ///   - [`unprocessed_accounts(Option<Vec::<UnprocessedAccount>>)`](crate::operation::stop_monitoring_members::StopMonitoringMembersOutput::unprocessed_accounts): <p>A list of objects that contain an accountId for each account that could not be processed, and a result string that indicates why the account was not processed.</p>
10    /// - On failure, responds with [`SdkError<StopMonitoringMembersError>`](crate::operation::stop_monitoring_members::StopMonitoringMembersError)
11    pub fn stop_monitoring_members(&self) -> crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder {
12        crate::operation::stop_monitoring_members::builders::StopMonitoringMembersFluentBuilder::new(self.handle.clone())
13    }
14}