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 |
Synopsis
- data UsageCriteria = UsageCriteria' {
- accountIds :: Maybe (NonEmpty Text)
- resources :: Maybe [Text]
- dataSources :: [DataSource]
- newUsageCriteria :: UsageCriteria
- usageCriteria_accountIds :: Lens' UsageCriteria (Maybe (NonEmpty Text))
- usageCriteria_resources :: Lens' UsageCriteria (Maybe [Text])
- usageCriteria_dataSources :: Lens' UsageCriteria [DataSource]
Documentation
data UsageCriteria Source #
Contains information about the criteria used to query usage statistics.
See: newUsageCriteria
smart constructor.
UsageCriteria' | |
|
Instances
newUsageCriteria :: UsageCriteria Source #
Create a value of UsageCriteria
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:accountIds:UsageCriteria'
, usageCriteria_accountIds
- The account IDs to aggregate usage statistics from.
$sel:resources:UsageCriteria'
, usageCriteria_resources
- The resources to aggregate usage statistics from. Only accepts exact
resource names.
$sel:dataSources:UsageCriteria'
, usageCriteria_dataSources
- The data sources to aggregate usage statistics from.
usageCriteria_accountIds :: Lens' UsageCriteria (Maybe (NonEmpty Text)) Source #
The account IDs to aggregate usage statistics from.
usageCriteria_resources :: Lens' UsageCriteria (Maybe [Text]) Source #
The resources to aggregate usage statistics from. Only accepts exact resource names.
usageCriteria_dataSources :: Lens' UsageCriteria [DataSource] Source #
The data sources to aggregate usage statistics from.