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 MeterUsage operation. API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.

MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace.

Inheritance Hierarchy

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

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

Syntax

C#
public class MeterUsageRequest : AmazonAWSMarketplaceMeteringRequest
         IAmazonWebServiceRequest

The MeterUsageRequest type exposes the following members

Constructors

NameDescription
Public Method MeterUsageRequest()

Properties

NameTypeDescription
Public Property DryRun System.Boolean

Gets and sets the property DryRun.

Checks whether you have the permissions required for the action, but does not make the request. If you have the permissions, the request returns DryRunOperation; otherwise, it returns UnauthorizedException.

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

Public Property UsageDimension System.String

Gets and sets the property UsageDimension.

It will be one of the fcp dimension name provided during the publishing of the product.

Public Property UsageQuantity System.Int32

Gets and sets the property UsageQuantity.

Consumption value for the hour.

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