Amazon.AWSMarketplaceMetering.AmazonAWSMarketplaceMeteringClient.MeterUsage C# (CSharp) Метод

MeterUsage() публичный Метод

API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
/// A metering record has already been emitted by the same EC2 instance for the given /// {usageDimension, timestamp} with a different usageQuantity. /// /// An internal error has occurred. Retry your request. If the problem persists, post /// a message with details on the AWS forums. /// /// The endpoint being called is in a region different from your EC2 instance. The region /// of the Metering service endpoint and the region of the EC2 instance must match. /// /// The product code passed does not match the product code used for publishing the product. /// /// The usage dimension does not match one of the UsageDimensions associated with products. /// /// The calls to the MeterUsage API are throttled. /// /// The timestamp value passed in the meterUsage() is out of allowed range. ///
public MeterUsage ( MeterUsageRequest request ) : MeterUsageResponse
request Amazon.AWSMarketplaceMetering.Model.MeterUsageRequest Container for the necessary parameters to execute the MeterUsage service method.
Результат Amazon.AWSMarketplaceMetering.Model.MeterUsageResponse
        public MeterUsageResponse MeterUsage(MeterUsageRequest request)
        {
            var marshaller = new MeterUsageRequestMarshaller();
            var unmarshaller = MeterUsageResponseUnmarshaller.Instance;

            return Invoke<MeterUsageRequest,MeterUsageResponse>(request, marshaller, unmarshaller);
        }