You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MarketplaceMetering::Types::UsageAllocation
- Inherits:
-
Struct
- Object
- Struct
- Aws::MarketplaceMetering::Types::UsageAllocation
- Defined in:
- (unknown)
Overview
Note:
When passing UsageAllocation as input to an Aws::Client method, you can use a vanilla Hash:
{
allocated_usage_quantity: 1, # required
tags: [
{
key: "TagKey", # required
value: "TagValue", # required
},
],
}
Usage allocations allow you to split usage into buckets by tags.
Each UsageAllocation indicates the usage quantity for a specific set of tags.
Instance Attribute Summary collapse
-
#allocated_usage_quantity ⇒ Integer
The total quantity allocated to this bucket of usage.
-
#tags ⇒ Array<Types::Tag>
The set of tags that define the bucket of usage.
Instance Attribute Details
#allocated_usage_quantity ⇒ Integer
The total quantity allocated to this bucket of usage.
#tags ⇒ Array<Types::Tag>
The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.