Struct aws_sdk_shield::operation::describe_attack_statistics::builders::DescribeAttackStatisticsFluentBuilder
source · pub struct DescribeAttackStatisticsFluentBuilder { /* 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§
source§impl DescribeAttackStatisticsFluentBuilder
impl DescribeAttackStatisticsFluentBuilder
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeAttackStatistics, AwsResponseRetryClassifier>, SdkError<DescribeAttackStatisticsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeAttackStatistics, AwsResponseRetryClassifier>, SdkError<DescribeAttackStatisticsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
Trait Implementations§
source§impl Clone for DescribeAttackStatisticsFluentBuilder
impl Clone for DescribeAttackStatisticsFluentBuilder
source§fn clone(&self) -> DescribeAttackStatisticsFluentBuilder
fn clone(&self) -> DescribeAttackStatisticsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more