NAME

Paws::MarketplaceMetering::UsageRecordResult

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MarketplaceMetering::UsageRecordResult object:

$service_obj->Method(Att1 => { MeteringRecordId => $value, ..., UsageRecord => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MarketplaceMetering::UsageRecordResult object:

$result = $service_obj->Method(...);
$result->Att1->MeteringRecordId

DESCRIPTION

A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.

ATTRIBUTES

MeteringRecordId => Str

The MeteringRecordId is a unique identifier for this metering event.

Status => Str

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.

UsageRecord => Paws::MarketplaceMetering::UsageRecord

The UsageRecord that was part of the BatchMeterUsage request.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MarketplaceMetering

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues