blib/lib/Paws/LakeFormation/PrincipalResourcePermissions.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::LakeFormation::PrincipalResourcePermissions;
3 use Moose;
4 has AdditionalDetails => (is => 'ro', isa => 'Paws::LakeFormation::DetailsMap');
5 has Permissions => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has PermissionsWithGrantOption => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has Principal => (is => 'ro', isa => 'Paws::LakeFormation::DataLakePrincipal');
8 has Resource => (is => 'ro', isa => 'Paws::LakeFormation::Resource');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::LakeFormation::PrincipalResourcePermissions
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::LakeFormation::PrincipalResourcePermissions object:
28  
29 $service_obj->Method(Att1 => { AdditionalDetails => $value, ..., Resource => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::LakeFormation::PrincipalResourcePermissions object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AdditionalDetails
37  
38 =head1 DESCRIPTION
39  
40 The permissions granted or revoked on a resource.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AdditionalDetails => L<Paws::LakeFormation::DetailsMap>
46  
47 This attribute can be used to return any additional details of
48 C<PrincipalResourcePermissions>. Currently returns only as a RAM
49 resource share ARN.
50  
51  
52 =head2 Permissions => ArrayRef[Str|Undef]
53  
54 The permissions to be granted or revoked on the resource.
55  
56  
57 =head2 PermissionsWithGrantOption => ArrayRef[Str|Undef]
58  
59 Indicates whether to grant the ability to grant permissions (as a
60 subset of permissions granted).
61  
62  
63 =head2 Principal => L<Paws::LakeFormation::DataLakePrincipal>
64  
65 The Data Lake principal to be granted or revoked permissions.
66  
67  
68 =head2 Resource => L<Paws::LakeFormation::Resource>
69  
70 The resource where permissions are to be granted or revoked.
71  
72  
73  
74 =head1 SEE ALSO
75  
76 This class forms part of L<Paws>, describing an object used in L<Paws::LakeFormation>
77  
78 =head1 BUGS and CONTRIBUTIONS
79  
80 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
81  
82 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
83  
84 =cut
85