UsageRecord

A UsageRecord indicates a quantity of usage for a given product, customer, dimension and time.

Multiple requests with the same UsageRecords as input will be de-duplicated to prevent double charges.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.

Link copied to clipboard

During the process of registering a product on AWS Marketplace, dimensions are specified. These represent different units of value in your application.

Link copied to clipboard

The quantity of usage consumed by the customer for the given dimension and time. Defaults to 0 if not specified.

Link copied to clipboard

Timestamp, in UTC, for which the usage is being reported.

Link copied to clipboard

The set of UsageAllocations to submit. The sum of all UsageAllocation quantities must equal the Quantity of the UsageRecord.

Functions

Link copied to clipboard
inline fun copy(block: UsageRecord.Builder.() -> Unit = {}): UsageRecord
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String