blib/lib/Paws/IAM/PolicyGrantingServiceAccess.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::IAM::PolicyGrantingServiceAccess;
3 use Moose;
4 has EntityName => (is => 'ro', isa => 'Str');
5 has EntityType => (is => 'ro', isa => 'Str');
6 has PolicyArn => (is => 'ro', isa => 'Str');
7 has PolicyName => (is => 'ro', isa => 'Str', required => 1);
8 has PolicyType => (is => 'ro', isa => 'Str', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::IAM::PolicyGrantingServiceAccess
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::IAM::PolicyGrantingServiceAccess object:
28  
29 $service_obj->Method(Att1 => { EntityName => $value, ..., PolicyType => $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::IAM::PolicyGrantingServiceAccess object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->EntityName
37  
38 =head1 DESCRIPTION
39  
40 Contains details about the permissions policies that are attached to
41 the specified identity (user, group, or role).
42  
43 This data type is an element of the
44 ListPoliciesGrantingServiceAccessEntry object.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 EntityName => Str
50  
51 The name of the entity (user or role) to which the inline policy is
52 attached.
53  
54 This field is null for managed policies. For more information about
55 these policy types, see Managed policies and inline policies
56 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html)
57 in the I<IAM User Guide>.
58  
59  
60 =head2 EntityType => Str
61  
62 The type of entity (user or role) that used the policy to access the
63 service to which the inline policy is attached.
64  
65 This field is null for managed policies. For more information about
66 these policy types, see Managed policies and inline policies
67 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html)
68 in the I<IAM User Guide>.
69  
70  
71 =head2 PolicyArn => Str
72  
73  
74  
75  
76 =head2 B<REQUIRED> PolicyName => Str
77  
78 The policy name.
79  
80  
81 =head2 B<REQUIRED> PolicyType => Str
82  
83 The policy type. For more information about these policy types, see
84 Managed policies and inline policies
85 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_managed-vs-inline.html)
86 in the I<IAM User Guide>.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101