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 fn as_input(&self) -> &DescribeAttackStatisticsInputBuilder
pub fn as_input(&self) -> &DescribeAttackStatisticsInputBuilder
Access the DescribeAttackStatistics as a reference.
sourcepub async fn send(
self
) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeAttackStatisticsOutput, SdkError<DescribeAttackStatisticsError, HttpResponse>>
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 fn customize(
self
) -> CustomizableOperation<DescribeAttackStatisticsOutput, DescribeAttackStatisticsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeAttackStatisticsOutput, DescribeAttackStatisticsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 moreAuto Trait Implementations§
impl Freeze for DescribeAttackStatisticsFluentBuilder
impl !RefUnwindSafe for DescribeAttackStatisticsFluentBuilder
impl Send for DescribeAttackStatisticsFluentBuilder
impl Sync for DescribeAttackStatisticsFluentBuilder
impl Unpin for DescribeAttackStatisticsFluentBuilder
impl !UnwindSafe for DescribeAttackStatisticsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more