Struct aws_sdk_shield::client::fluent_builders::DescribeAttackStatistics [−][src]
pub struct DescribeAttackStatistics<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeAttackStatistics
.
Provides information about the number and type of attacks Shield has detected in the last year for all resources that belong to your account, regardless of whether you've defined Shield protections for them. This operation is available to Shield customers as well as to Shield Advanced customers.
The operation returns data for the time range of midnight UTC, one year ago, to midnight UTC, today. For example, if the current time is 2020-10-26 15:39:32 PDT
, equal to 2020-10-26 22:39:32 UTC
, then the time range for the attack data returned is from 2019-10-26 00:00:00 UTC
to 2020-10-26 00:00:00 UTC
.
The time range indicates the period covered by the attack statistics data items.
Implementations
impl<C, M, R> DescribeAttackStatistics<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeAttackStatistics<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError>> where
R::Policy: SmithyRetryPolicy<DescribeAttackStatisticsInputOperationOutputAlias, DescribeAttackStatisticsOutput, DescribeAttackStatisticsError, DescribeAttackStatisticsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError>> where
R::Policy: SmithyRetryPolicy<DescribeAttackStatisticsInputOperationOutputAlias, DescribeAttackStatisticsOutput, DescribeAttackStatisticsError, DescribeAttackStatisticsInputOperationRetryAlias>,
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeAttackStatistics<C, M, R>
impl<C, M, R> Send for DescribeAttackStatistics<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeAttackStatistics<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeAttackStatistics<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeAttackStatistics<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