Struct aws_sdk_iot::client::fluent_builders::ListViolationEvents [−][src]
pub struct ListViolationEvents<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ListViolationEvents
.
Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).
Requires permission to access the ListViolationEvents action.
Implementations
impl<C, M, R> ListViolationEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ListViolationEvents<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ListViolationEventsOutput, SdkError<ListViolationEventsError>> where
R::Policy: SmithyRetryPolicy<ListViolationEventsInputOperationOutputAlias, ListViolationEventsOutput, ListViolationEventsError, ListViolationEventsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ListViolationEventsOutput, SdkError<ListViolationEventsError>> where
R::Policy: SmithyRetryPolicy<ListViolationEventsInputOperationOutputAlias, ListViolationEventsOutput, ListViolationEventsError, ListViolationEventsInputOperationRetryAlias>,
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 start time for the alerts to be listed.
The start time for the alerts to be listed.
The end time for the alerts to be listed.
A filter to limit results to those alerts caused by the specified thing.
A filter to limit results to those alerts caused by the specified thing.
A filter to limit results to those alerts generated by the specified security profile.
A filter to limit results to those alerts generated by the specified security profile.
The criteria for a behavior.
The criteria for a behavior.
A list of all suppressed alerts.
A list of all suppressed alerts.
The verification state of the violation (detect alarm).
The verification state of the violation (detect alarm).
The token for the next set of results.
The token for the next set of results.
The maximum number of results to return at one time.
The maximum number of results to return at one time.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ListViolationEvents<C, M, R>
impl<C, M, R> Send for ListViolationEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ListViolationEvents<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ListViolationEvents<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ListViolationEvents<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