libZSservicesZSamazonka-shieldZSamazonka-shield
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Shield.DescribeAttackStatistics

Description

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

Creating a Request

data DescribeAttackStatistics Source #

See: newDescribeAttackStatistics smart constructor.

Instances

Instances details
Eq DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Read DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Show DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Generic DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Associated Types

type Rep DescribeAttackStatistics :: Type -> Type #

NFData DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Hashable DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

ToJSON DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

AWSRequest DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

ToHeaders DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

ToPath DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

ToQuery DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

type Rep DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

type Rep DescribeAttackStatistics = D1 ('MetaData "DescribeAttackStatistics" "Amazonka.Shield.DescribeAttackStatistics" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DescribeAttackStatistics'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

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.

Constructors

DescribeAttackStatisticsResponse' 

Fields

Instances

Instances details
Eq DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Read DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Show DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Generic DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Associated Types

type Rep DescribeAttackStatisticsResponse :: Type -> Type #

NFData DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

type Rep DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

type Rep DescribeAttackStatisticsResponse = D1 ('MetaData "DescribeAttackStatisticsResponse" "Amazonka.Shield.DescribeAttackStatistics" "libZSservicesZSamazonka-shieldZSamazonka-shield" 'False) (C1 ('MetaCons "DescribeAttackStatisticsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "timeRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimeRange) :*: S1 ('MetaSel ('Just "dataItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [AttackStatisticsDataItem]))))

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_dataItems :: Lens' DescribeAttackStatisticsResponse [AttackStatisticsDataItem] Source #

The data that describes the attacks detected during the time period.