| 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.MarketplaceMetering.Types.UsageAllocation
Description
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.
Constructors
| UsageAllocation' | |
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.