Struct aws_sdk_detective::client::fluent_builders::StartMonitoringMember [−][src]
pub struct StartMonitoringMember<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartMonitoringMember
.
Sends a request to enable data ingest for a member account that has a status of
ACCEPTED_BUT_DISABLED
.
For valid member accounts, the status is updated as follows.
-
If Detective enabled the member account, then the new status is
ENABLED
. -
If Detective cannot enable the member account, the status remains
ACCEPTED_BUT_DISABLED
.
Implementations
impl<C, M, R> StartMonitoringMember<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartMonitoringMember<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartMonitoringMemberOutput, SdkError<StartMonitoringMemberError>> where
R::Policy: SmithyRetryPolicy<StartMonitoringMemberInputOperationOutputAlias, StartMonitoringMemberOutput, StartMonitoringMemberError, StartMonitoringMemberInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartMonitoringMemberOutput, SdkError<StartMonitoringMemberError>> where
R::Policy: SmithyRetryPolicy<StartMonitoringMemberInputOperationOutputAlias, StartMonitoringMemberOutput, StartMonitoringMemberError, StartMonitoringMemberInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The ARN of the behavior graph.
The account ID of the member account to try to enable.
The account must be an invited member account with a status of
ACCEPTED_BUT_DISABLED
.
The account ID of the member account to try to enable.
The account must be an invited member account with a status of
ACCEPTED_BUT_DISABLED
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartMonitoringMember<C, M, R>
impl<C, M, R> Send for StartMonitoringMember<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartMonitoringMember<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartMonitoringMember<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartMonitoringMember<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more