File Coverage

blib/lib/Paws/MarketplaceEntitlement.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;
2 1     1   1130 use Moose;
  1         5  
  1         10  
3             sub service { 'entitlement.marketplace' }
4             sub version { '2017-01-11' }
5             sub target_prefix { 'AWSMPEntitlementService' }
6             sub json_version { "1.1" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub GetEntitlements {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::MarketplaceEntitlement::GetEntitlements', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22            
23              
24              
25             sub operations { qw/GetEntitlements / }
26              
27             1;
28              
29             ### main pod documentation begin ###
30              
31             =head1 NAME
32              
33             Paws::MarketplaceEntitlement - Perl Interface to AWS AWS Marketplace Entitlement Service
34              
35             =head1 SYNOPSIS
36              
37             use Paws;
38              
39             my $obj = Paws->service('MarketplaceEntitlement');
40             my $res = $obj->Method(
41             Arg1 => $val1,
42             Arg2 => [ 'V1', 'V2' ],
43             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
44             # of the arguments type
45             Arg3 => { Att1 => 'Val1' },
46             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
47             # the constructor of the arguments type
48             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
49             );
50              
51             =head1 DESCRIPTION
52              
53             AWS Marketplace Entitlement Service
54              
55             This reference provides descriptions of the AWS Marketplace Entitlement
56             Service API.
57              
58             AWS Marketplace Entitlement Service is used to determine the
59             entitlement of a customer to a given product. An entitlement represents
60             capacity in a product owned by the customer. For example, a customer
61             might own some number of users or seats in an SaaS application or some
62             amount of data capacity in a multi-tenant database.
63              
64             B<Getting Entitlement Records>
65              
66             =over
67              
68             =item *
69              
70             I<GetEntitlements>- Gets the entitlements for a Marketplace product.
71              
72             =back
73              
74              
75             =head1 METHODS
76              
77             =head2 GetEntitlements(ProductCode => Str, [Filter => L<Paws::MarketplaceEntitlement::GetEntitlementFilters>, MaxResults => Int, NextToken => Str])
78              
79             Each argument is described in detail in: L<Paws::MarketplaceEntitlement::GetEntitlements>
80              
81             Returns: a L<Paws::MarketplaceEntitlement::GetEntitlementsResult> instance
82              
83             GetEntitlements retrieves entitlement values for a given product. The
84             results can be filtered based on customer identifier or product
85             dimensions.
86              
87              
88              
89              
90             =head1 PAGINATORS
91              
92             Paginator methods are helpers that repetively call methods that return partial results
93              
94              
95              
96              
97             =head1 SEE ALSO
98              
99             This service class forms part of L<Paws>
100              
101             =head1 BUGS and CONTRIBUTIONS
102              
103             The source code is located here: https://github.com/pplu/aws-sdk-perl
104              
105             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
106              
107             =cut
108