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 |
Documentation
data UsageAllocation Source #
Usage allocations allow you to split usage into buckets by tags.
Each UsageAllocation indicates the usage quantity for a specific set of tags.
See: newUsageAllocation
smart constructor.
Instances
Create a value of UsageAllocation
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:tags:UsageAllocation'
, usageAllocation_tags
- The set of tags that define the bucket of usage. For the bucket of items
with no tags, this parameter can be left out.
$sel:allocatedUsageQuantity:UsageAllocation'
, usageAllocation_allocatedUsageQuantity
- The total quantity allocated to this bucket of usage.
usageAllocation_tags :: Lens' UsageAllocation (Maybe (NonEmpty Tag)) Source #
The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
usageAllocation_allocatedUsageQuantity :: Lens' UsageAllocation Natural Source #
The total quantity allocated to this bucket of usage.