| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.Types.UsageStatistics
Description
Synopsis
- data UsageStatistics = UsageStatistics' {}
- newUsageStatistics :: UsageStatistics
- usageStatistics_sumByAccount :: Lens' UsageStatistics (Maybe [UsageAccountResult])
- usageStatistics_sumByDataSource :: Lens' UsageStatistics (Maybe [UsageDataSourceResult])
- usageStatistics_sumByResource :: Lens' UsageStatistics (Maybe [UsageResourceResult])
- usageStatistics_topResources :: Lens' UsageStatistics (Maybe [UsageResourceResult])
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
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:sumByAccount:UsageStatistics', usageStatistics_sumByAccount - The usage statistic sum organized by account ID.
$sel:sumByDataSource:UsageStatistics', usageStatistics_sumByDataSource - The usage statistic sum organized by on data source.
$sel:sumByResource:UsageStatistics', usageStatistics_sumByResource - The usage statistic sum organized by resource.
$sel:topResources:UsageStatistics', usageStatistics_topResources - Lists the top 50 resources that have generated the most GuardDuty usage,
in order from most to least expensive.
usageStatistics_sumByAccount :: Lens' UsageStatistics (Maybe [UsageAccountResult]) Source #
The usage statistic sum organized by account ID.
usageStatistics_sumByDataSource :: Lens' UsageStatistics (Maybe [UsageDataSourceResult]) Source #
The usage statistic sum organized by on data source.
usageStatistics_sumByResource :: Lens' UsageStatistics (Maybe [UsageResourceResult]) Source #
The usage statistic sum organized by resource.
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.