DescribeAttackStatistics
Source:
src/AWS/Shield/DescribeAttackStatistics.ts
Runtime binding for shield:DescribeAttackStatistics.
Returns the number and type of DDoS attacks Shield has detected in the last
year across all of the account’s resources — available to Standard and
Advanced customers alike, so it works without a subscription.
Provide the implementation with
Effect.provide(AWS.Shield.DescribeAttackStatisticsHttp).
Attack Visibility
Section titled “Attack Visibility”// init — account-level binding, no resource argumentconst describeAttackStatistics = yield* AWS.Shield.DescribeAttackStatistics();
// runtimeconst { TimeRange, DataItems } = yield* describeAttackStatistics();