blib/lib/Paws/MarketplaceMetering/UsageRecordResult.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MarketplaceMetering::UsageRecordResult;
3 use Moose;
4 has MeteringRecordId => (is => 'ro', isa => 'Str');
5 has Status => (is => 'ro', isa => 'Str');
6 has UsageRecord => (is => 'ro', isa => 'Paws::MarketplaceMetering::UsageRecord');
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::MarketplaceMetering::UsageRecordResult
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::MarketplaceMetering::UsageRecordResult object:
26  
27 $service_obj->Method(Att1 => { MeteringRecordId => $value, ..., UsageRecord => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::MarketplaceMetering::UsageRecordResult object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->MeteringRecordId
35  
36 =head1 DESCRIPTION
37  
38 A UsageRecordResult indicates the status of a given UsageRecord
39 processed by BatchMeterUsage.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 MeteringRecordId => Str
45  
46 The MeteringRecordId is a unique identifier for this metering event.
47  
48  
49 =head2 Status => Str
50  
51 The UsageRecordResult Status indicates the status of an individual
52 UsageRecord processed by BatchMeterUsage.
53  
54 =over
55  
56 =item *
57  
58 I<Success>- The UsageRecord was accepted and honored by
59 BatchMeterUsage.
60  
61 =item *
62  
63 I<CustomerNotSubscribed>- The CustomerIdentifier specified is not
64 subscribed to your product. The UsageRecord was not honored. Future
65 UsageRecords for this customer will fail until the customer subscribes
66 to your product.
67  
68 =item *
69  
70 I<DuplicateRecord>- Indicates that the UsageRecord was invalid and not
71 honored. A previously metered UsageRecord had the same customer,
72 dimension, and time, but a different quantity.
73  
74 =back
75  
76  
77  
78 =head2 UsageRecord => L<Paws::MarketplaceMetering::UsageRecord>
79  
80 The UsageRecord that was part of the BatchMeterUsage request.
81  
82  
83  
84 =head1 SEE ALSO
85  
86 This class forms part of L<Paws>, describing an object used in L<Paws::MarketplaceMetering>
87  
88 =head1 BUGS and CONTRIBUTIONS
89  
90 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
91  
92 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
93  
94 =cut
95