Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data DescribeAttackStatistics = DescribeAttackStatistics' {
- newDescribeAttackStatistics :: DescribeAttackStatistics
- data DescribeAttackStatisticsResponse = DescribeAttackStatisticsResponse' {}
- newDescribeAttackStatisticsResponse :: Int -> TimeRange -> DescribeAttackStatisticsResponse
- describeAttackStatisticsResponse_httpStatus :: Lens' DescribeAttackStatisticsResponse Int
- describeAttackStatisticsResponse_timeRange :: Lens' DescribeAttackStatisticsResponse TimeRange
- describeAttackStatisticsResponse_dataItems :: Lens' DescribeAttackStatisticsResponse [AttackStatisticsDataItem]
Creating a Request
data DescribeAttackStatistics Source #
See: newDescribeAttackStatistics
smart constructor.
Instances
newDescribeAttackStatistics :: DescribeAttackStatistics Source #
Create a value of DescribeAttackStatistics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeAttackStatisticsResponse Source #
See: newDescribeAttackStatisticsResponse
smart constructor.
DescribeAttackStatisticsResponse' | |
|
Instances
newDescribeAttackStatisticsResponse Source #
Create a value of DescribeAttackStatisticsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_httpStatus
- The response's http status code.
$sel:timeRange:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_timeRange
- Undocumented member.
$sel:dataItems:DescribeAttackStatisticsResponse'
, describeAttackStatisticsResponse_dataItems
- The data that describes the attacks detected during the time period.
Response Lenses
describeAttackStatisticsResponse_httpStatus :: Lens' DescribeAttackStatisticsResponse Int Source #
The response's http status code.
describeAttackStatisticsResponse_timeRange :: Lens' DescribeAttackStatisticsResponse TimeRange Source #
Undocumented member.
describeAttackStatisticsResponse_dataItems :: Lens' DescribeAttackStatisticsResponse [AttackStatisticsDataItem] Source #
The data that describes the attacks detected during the time period.