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

System.Object
  Amazon.AWSMarketplaceMetering.Model.UsageRecord

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

Syntax

C#
public class UsageRecord

The UsageRecord type exposes the following members

Constructors

NameDescription
Public Method UsageRecord()

Properties

NameTypeDescription
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.

Public Property Timestamp System.DateTime

Gets and sets the property Timestamp.

Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.

Your application can meter usage for up to one hour in the past.

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