libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.UsageStatistics

Description

 
Synopsis

Documentation

data UsageStatistics Source #

Contains the result of GuardDuty usage. If a UsageStatisticType is provided the result for other types will be null.

See: newUsageStatistics smart constructor.

Constructors

UsageStatistics' 

Fields

Instances

Instances details
Eq UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

Read UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

Show UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

Generic UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

Associated Types

type Rep UsageStatistics :: Type -> Type #

NFData UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

Methods

rnf :: UsageStatistics -> () #

Hashable UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

FromJSON UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

type Rep UsageStatistics Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageStatistics

type Rep UsageStatistics = D1 ('MetaData "UsageStatistics" "Amazonka.GuardDuty.Types.UsageStatistics" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UsageStatistics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "topResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsageResourceResult])) :*: S1 ('MetaSel ('Just "sumByResource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsageResourceResult]))) :*: (S1 ('MetaSel ('Just "sumByDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsageDataSourceResult])) :*: S1 ('MetaSel ('Just "sumByAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UsageAccountResult])))))

newUsageStatistics :: UsageStatistics Source #

Create a value of UsageStatistics 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:topResources:UsageStatistics', usageStatistics_topResources - Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.

$sel:sumByResource:UsageStatistics', usageStatistics_sumByResource - The usage statistic sum organized by resource.

$sel:sumByDataSource:UsageStatistics', usageStatistics_sumByDataSource - The usage statistic sum organized by on data source.

$sel:sumByAccount:UsageStatistics', usageStatistics_sumByAccount - The usage statistic sum organized by account ID.

usageStatistics_topResources :: Lens' UsageStatistics (Maybe [UsageResourceResult]) Source #

Lists the top 50 resources that have generated the most GuardDuty usage, in order from most to least expensive.

usageStatistics_sumByResource :: Lens' UsageStatistics (Maybe [UsageResourceResult]) Source #

The usage statistic sum organized by resource.

usageStatistics_sumByDataSource :: Lens' UsageStatistics (Maybe [UsageDataSourceResult]) Source #

The usage statistic sum organized by on data source.

usageStatistics_sumByAccount :: Lens' UsageStatistics (Maybe [UsageAccountResult]) Source #

The usage statistic sum organized by account ID.