#[non_exhaustive]
pub struct AttackDetail { pub attack_id: Option<String>, pub resource_arn: Option<String>, pub sub_resources: Option<Vec<SubResourceSummary>>, pub start_time: Option<DateTime>, pub end_time: Option<DateTime>, pub attack_counters: Option<Vec<SummarizedCounter>>, pub attack_properties: Option<Vec<AttackProperty>>, pub mitigations: Option<Vec<Mitigation>>, }
Expand description

The details of a DDoS attack.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
attack_id: Option<String>

The unique identifier (ID) of the attack.

resource_arn: Option<String>

The ARN (Amazon Resource Name) of the resource that was attacked.

sub_resources: Option<Vec<SubResourceSummary>>

If applicable, additional detail about the resource being attacked, for example, IP address or URL.

start_time: Option<DateTime>

The time the attack started, in Unix time in seconds.

end_time: Option<DateTime>

The time the attack ended, in Unix time in seconds.

attack_counters: Option<Vec<SummarizedCounter>>

List of counters that describe the attack for the specified time period.

attack_properties: Option<Vec<AttackProperty>>

The array of objects that provide details of the Shield event.

For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

mitigations: Option<Vec<Mitigation>>

List of mitigation actions taken for the attack.

Implementations

The unique identifier (ID) of the attack.

The ARN (Amazon Resource Name) of the resource that was attacked.

If applicable, additional detail about the resource being attacked, for example, IP address or URL.

The time the attack started, in Unix time in seconds.

The time the attack ended, in Unix time in seconds.

List of counters that describe the attack for the specified time period.

The array of objects that provide details of the Shield event.

For infrastructure layer events (L3 and L4 events), you can view metrics for top contributors in Amazon CloudWatch metrics. For more information, see Shield metrics and alarms in the WAF Developer Guide.

List of mitigation actions taken for the attack.

Creates a new builder-style object to manufacture AttackDetail

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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