MeterUsageRequest
public struct MeterUsageRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let dryRun: Bool?
-
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.
Declaration
Swift
public let productCode: String
-
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.
Declaration
Swift
public let timestamp: TimeStamp
-
It will be one of the fcp dimension name provided during the publishing of the product.
Declaration
Swift
public let usageDimension: String
-
Consumption value for the hour. Defaults to 0 if not specified.
Declaration
Swift
public let usageQuantity: Int?
-
Undocumented
Declaration
Swift
public init(dryRun: Bool? = nil, productCode: String, timestamp: TimeStamp, usageDimension: String, usageQuantity: Int? = nil)
-
Declaration
Swift
public func validate(name: String) throws