pub struct DescribeAttackStatistics { /* private fields */ }
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
sourceimpl DescribeAttackStatistics
impl DescribeAttackStatistics
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeAttackStatistics, AwsResponseRetryClassifier>, SdkError<DescribeAttackStatisticsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeAttackStatistics, AwsResponseRetryClassifier>, SdkError<DescribeAttackStatisticsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError>>
pub async fn send(
self
) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError>>
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
sourceimpl Clone for DescribeAttackStatistics
impl Clone for DescribeAttackStatistics
sourcefn clone(&self) -> DescribeAttackStatistics
fn clone(&self) -> DescribeAttackStatistics
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more