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.

Container for the parameters to the BatchMeterUsage operation. BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers.

For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records.

Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage.

BatchMeterUsage can process up to 25 UsageRecords at a time.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AWSMarketplaceMetering.AmazonAWSMarketplaceMeteringRequest
      Amazon.AWSMarketplaceMetering.Model.BatchMeterUsageRequest

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

Syntax

C#
public class BatchMeterUsageRequest : AmazonAWSMarketplaceMeteringRequest
         IAmazonWebServiceRequest

The BatchMeterUsageRequest type exposes the following members

Constructors

NameDescription
Public Method BatchMeterUsageRequest()

Properties

NameTypeDescription
Public Property ProductCode System.String

Gets and sets the property ProductCode.

Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product.

Public Property UsageRecords System.Collections.Generic.List<Amazon.AWSMarketplaceMetering.Model.UsageRecord>

Gets and sets the property UsageRecords.

The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time.

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