UsageRecord
public struct UsageRecord : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.
Declaration
Swift
public let customerIdentifier: String
-
During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application.
Declaration
Swift
public let dimension: String
-
The quantity of usage consumed by the customer for the given dimension and time. Defaults to 0 if not specified.
Declaration
Swift
public let quantity: Int?
-
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
-
Undocumented
Declaration
Swift
public init(customerIdentifier: String, dimension: String, quantity: Int? = nil, timestamp: TimeStamp)
-
Declaration
Swift
public func validate(name: String) throws