blib/lib/Paws/MediaConnect/GrantEntitlementRequest.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::MediaConnect::GrantEntitlementRequest;
3 use Moose;
4 has DataTransferSubscriberFeePercent => (is => 'ro', isa => 'Int', request_name => 'dataTransferSubscriberFeePercent', traits => ['NameInRequest']);
5 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6 has Encryption => (is => 'ro', isa => 'Paws::MediaConnect::Encryption', request_name => 'encryption', traits => ['NameInRequest']);
7 has EntitlementStatus => (is => 'ro', isa => 'Str', request_name => 'entitlementStatus', traits => ['NameInRequest']);
8 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
9 has Subscribers => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subscribers', traits => ['NameInRequest'], required => 1);
10  
11 1;
12  
13 ### main pod documentation begin ###
14  
15 =head1 NAME
16  
17 Paws::MediaConnect::GrantEntitlementRequest
18  
19 =head1 USAGE
20  
21 This class represents one of two things:
22  
23 =head3 Arguments in a call to a service
24  
25 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26 Each attribute should be used as a named argument in the calls that expect this type of object.
27  
28 As an example, if Att1 is expected to be a Paws::MediaConnect::GrantEntitlementRequest object:
29  
30 $service_obj->Method(Att1 => { DataTransferSubscriberFeePercent => $value, ..., Subscribers => $value });
31  
32 =head3 Results returned from an API call
33  
34 Use accessors for each attribute. If Att1 is expected to be an Paws::MediaConnect::GrantEntitlementRequest object:
35  
36 $result = $service_obj->Method(...);
37 $result->Att1->DataTransferSubscriberFeePercent
38  
39 =head1 DESCRIPTION
40  
41 The entitlements that you want to grant on a flow.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 DataTransferSubscriberFeePercent => Int
47  
48 Percentage from 0-100 of the data transfer cost to be billed to the
49 subscriber.
50  
51  
52 =head2 Description => Str
53  
54 A description of the entitlement. This description appears only on the
55 AWS Elemental MediaConnect console and will not be seen by the
56 subscriber or end user.
57  
58  
59 =head2 Encryption => L<Paws::MediaConnect::Encryption>
60  
61 The type of encryption that will be used on the output that is
62 associated with this entitlement.
63  
64  
65 =head2 EntitlementStatus => Str
66  
67 An indication of whether the new entitlement should be enabled or
68 disabled as soon as it is created. If you donE<rsquo>t specify the
69 entitlementStatus field in your request, MediaConnect sets it to
70 ENABLED.
71  
72  
73 =head2 Name => Str
74  
75 The name of the entitlement. This value must be unique within the
76 current flow.
77  
78  
79 =head2 B<REQUIRED> Subscribers => ArrayRef[Str|Undef]
80  
81 The AWS account IDs that you want to share your content with. The
82 receiving accounts (subscribers) will be allowed to create their own
83 flows using your content as the source.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::MediaConnect>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98