File Coverage

blib/lib/Paws/MarketplaceEntitlement/Entitlement.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::MarketplaceEntitlement::Entitlement;
2 1     1   525 use Moose;
  1         3  
  1         10  
3             has CustomerIdentifier => (is => 'ro', isa => 'Str');
4             has Dimension => (is => 'ro', isa => 'Str');
5             has ExpirationDate => (is => 'ro', isa => 'Str');
6             has ProductCode => (is => 'ro', isa => 'Str');
7             has Value => (is => 'ro', isa => 'Paws::MarketplaceEntitlement::EntitlementValue');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::MarketplaceEntitlement::Entitlement
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::MarketplaceEntitlement::Entitlement object:
26              
27             $service_obj->Method(Att1 => { CustomerIdentifier => $value, ..., Value => $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::MarketplaceEntitlement::Entitlement object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->CustomerIdentifier
35              
36             =head1 DESCRIPTION
37              
38             An entitlement represents capacity in a product owned by the customer.
39             For example, a customer might own some number of users or seats in an
40             SaaS application or some amount of data capacity in a multi-tenant
41             database.
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 CustomerIdentifier => Str
47              
48             The customer identifier is a handle to each unique customer in an
49             application. Customer identifiers are obtained through the
50             ResolveCustomer operation in AWS Marketplace Metering Service.
51              
52              
53             =head2 Dimension => Str
54              
55             The dimension for which the given entitlement applies. Dimensions
56             represent categories of capacity in a product and are specified when
57             the product is listed in AWS Marketplace.
58              
59              
60             =head2 ExpirationDate => Str
61              
62             The expiration date represents the minimum date through which this
63             entitlement is expected to remain valid. For contractual products
64             listed on AWS Marketplace, the expiration date is the date at which the
65             customer will renew or cancel their contract. Customers who are opting
66             to renew their contract will still have entitlements with an expiration
67             date.
68              
69              
70             =head2 ProductCode => Str
71              
72             The product code for which the given entitlement applies. Product codes
73             are provided by AWS Marketplace when the product listing is created.
74              
75              
76             =head2 Value => L<Paws::MarketplaceEntitlement::EntitlementValue>
77              
78             The EntitlementValue represents the amount of capacity that the
79             customer is entitled to for the product.
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, describing an object used in L<Paws::MarketplaceEntitlement>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94