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 UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.

Inheritance Hierarchy

System.Object
  Amazon.AWSMarketplaceMetering.Model.UsageRecordResult

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

Syntax

C#
public class UsageRecordResult

The UsageRecordResult type exposes the following members

Constructors

NameDescription
Public Method UsageRecordResult()

Properties

NameTypeDescription
Public Property MeteringRecordId System.String

Gets and sets the property MeteringRecordId.

The MeteringRecordId is a unique identifier for this metering event.

Public Property Status Amazon.AWSMarketplaceMetering.UsageRecordResultStatus

Gets and sets the property Status.

The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.

  • Success- The UsageRecord was accepted and honored by BatchMeterUsage.

  • CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.

  • DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.

Public Property UsageRecord Amazon.AWSMarketplaceMetering.Model.UsageRecord

Gets and sets the property UsageRecord.

The UsageRecord that was part of the BatchMeterUsage request.

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