Struct rusoto_meteringmarketplace::UsageRecordResult
[−]
[src]
pub struct UsageRecordResult { pub metering_record_id: Option<String>, pub status: Option<String>, pub usage_record: Option<UsageRecord>, }
A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.
Fields
metering_record_id: Option<String>
The MeteringRecordId is a unique identifier for this metering event.
status: Option<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.
usage_record: Option<UsageRecord>
The UsageRecord that was part of the BatchMeterUsage request.
Trait Implementations
impl Default for UsageRecordResult
[src]
fn default() -> UsageRecordResult
[src]
Returns the "default value" for a type. Read more
impl Debug for UsageRecordResult
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for UsageRecordResult
[src]
fn clone(&self) -> UsageRecordResult
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more