UsageRecordResult
public struct UsageRecordResult : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The MeteringRecordId is a unique identifier for this metering event.
Declaration
Swift
public let meteringRecordId: String?
-
The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage. Success- The UsageRecord was accepted and honored by BatchMeterUsage. CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product. DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.
Declaration
Swift
public let status: UsageRecordResultStatus?
-
The UsageRecord that was part of the BatchMeterUsage request.
Declaration
Swift
public let usageRecord: UsageRecord?
-
Undocumented
Declaration
Swift
public init(meteringRecordId: String? = nil, status: UsageRecordResultStatus? = nil, usageRecord: UsageRecord? = nil)