amazonka-shield-2.0: Amazon Shield SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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

AWSRequest 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 #

Read DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Show DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

NFData DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Eq DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Hashable DescribeAttackStatistics Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

type AWSResponse 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" 'False) (C1 ('MetaCons "DescribeAttackStatistics'" 'PrefixI 'False) (U1 :: Type -> Type))

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
Generic DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Associated Types

type Rep DescribeAttackStatisticsResponse :: Type -> Type #

Read DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Show DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

NFData DescribeAttackStatisticsResponse Source # 
Instance details

Defined in Amazonka.Shield.DescribeAttackStatistics

Eq 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" "amazonka-shield-2.0-Cz9Fa9OSQ93AE4UCXBDcFo" '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 - The time range of the attack.

$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.