AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
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

Instance Attribute Details

#allocated_usage_quantityInteger

The total quantity allocated to this bucket of usage.

Returns:

  • (Integer)

    The total quantity allocated to this bucket of usage.

#tagsArray<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.

Returns:

  • (Array<Types::Tag>)

    The set of tags that define the bucket of usage.