AWS SDK Version 3 for .NET
API Reference

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.

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 deduplicated to prevent double charges.

Inheritance Hierarchy


Namespace: Amazon.AWSMarketplaceMetering.Model
Assembly: AWSSDK.AWSMarketplaceMetering.dll
Version: 3.x.y.z


public class UsageRecord

The UsageRecord type exposes the following members


Public Method UsageRecord()


Public Property CustomerIdentifier System.String

Gets and sets the property CustomerIdentifier.

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

Public Property Dimension System.String

Gets and sets the property Dimension.

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

Public Property Quantity System.Int32

Gets and sets the property Quantity.

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

Public Property Timestamp System.DateTime

Gets and sets the property Timestamp.

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

Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms