aws_sdk_detective/client/start_monitoring_member.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartMonitoringMember`](crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`graph_arn(impl Into<String>)`](crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder::graph_arn) / [`set_graph_arn(Option<String>)`](crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder::set_graph_arn):<br>required: **true**<br><p>The ARN of the behavior graph.</p><br>
/// - [`account_id(impl Into<String>)`](crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID of the member account to try to enable.</p> <p>The account must be an invited member account with a status of <code>ACCEPTED_BUT_DISABLED</code>.</p><br>
/// - On success, responds with [`StartMonitoringMemberOutput`](crate::operation::start_monitoring_member::StartMonitoringMemberOutput)
/// - On failure, responds with [`SdkError<StartMonitoringMemberError>`](crate::operation::start_monitoring_member::StartMonitoringMemberError)
pub fn start_monitoring_member(&self) -> crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder {
crate::operation::start_monitoring_member::builders::StartMonitoringMemberFluentBuilder::new(self.handle.clone())
}
}