Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MeterUsageRequest

import type { MeterUsageRequest } from "https://aws-api.deno.dev/v0.3/services/marketplacemetering.ts?docs=full";
interface MeterUsageRequest {
DryRun?: boolean | null;
ProductCode: string;
Timestamp: Date | number;
UsageAllocations?: UsageAllocation[] | null;
UsageDimension: string;
UsageQuantity?: number | null;
}

§Properties

§
DryRun?: boolean | null
[src]

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. Defaults to false if not specified.

§
ProductCode: string
[src]

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.

§
Timestamp: Date | number
[src]

Timestamp, in UTC, for which the usage is being reported. Your application can meter usage for up to one hour in the past. Make sure the timestamp value is not before the start of the software usage.

§
UsageAllocations?: UsageAllocation[] | null
[src]

The set of UsageAllocations to submit.

The sum of all UsageAllocation quantities must equal the UsageQuantity of the MeterUsage request, and each UsageAllocation must have a unique set of tags (include no tags).

§
UsageDimension: string
[src]

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

§
UsageQuantity?: number | null
[src]

Consumption value for the hour. Defaults to 0 if not specified.