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 able to use your product. The UsageRecord was not honored. There are three causes for this result:

    • The customer identifier is invalid.

    • The customer identifier provided in the metering record does not have an active agreement or subscription with this product. Future UsageRecords for this customer will fail until the customer subscribes to your product.

    • The customer's AWS account was suspended.

  • 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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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