blib/lib/Paws/IAM/RoleDetail.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 17 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::RoleDetail;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has AssumeRolePolicyDocument => (is => 'ro', isa => 'Str', decode_as => 'URLJSON', method => 'Policy', traits => ['JSONAttribute']);
6 has AttachedManagedPolicies => (is => 'ro', isa => 'ArrayRef[Paws::IAM::AttachedPolicy]');
7 has CreateDate => (is => 'ro', isa => 'Str');
8 has InstanceProfileList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::InstanceProfile]');
9 has Path => (is => 'ro', isa => 'Str');
10 has PermissionsBoundary => (is => 'ro', isa => 'Paws::IAM::AttachedPermissionsBoundary');
11 has RoleId => (is => 'ro', isa => 'Str');
12 has RoleLastUsed => (is => 'ro', isa => 'Paws::IAM::RoleLastUsed');
13 has RoleName => (is => 'ro', isa => 'Str');
14 has RolePolicyList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::PolicyDetail]');
15 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]');
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::IAM::RoleDetail
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::IAM::RoleDetail object:
35  
36 $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::RoleDetail object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->Arn
44  
45 =head1 DESCRIPTION
46  
47 Contains information about an IAM role, including all of the role's
48 policies.
49  
50 This data type is used as a response element in the
51 GetAccountAuthorizationDetails operation.
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 Arn => Str
57  
58  
59  
60  
61 =head2 AssumeRolePolicyDocument => Str
62  
63 The trust policy that grants permission to assume the role.
64  
65  
66 =head2 AttachedManagedPolicies => ArrayRef[L<Paws::IAM::AttachedPolicy>]
67  
68 A list of managed policies attached to the role. These policies are the
69 role's access (permissions) policies.
70  
71  
72 =head2 CreateDate => Str
73  
74 The date and time, in ISO 8601 date-time format
75 (http://www.iso.org/iso/iso8601), when the role was created.
76  
77  
78 =head2 InstanceProfileList => ArrayRef[L<Paws::IAM::InstanceProfile>]
79  
80 A list of instance profiles that contain this role.
81  
82  
83 =head2 Path => Str
84  
85 The path to the role. For more information about paths, see IAM
86 identifiers
87 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
88 in the I<IAM User Guide>.
89  
90  
91 =head2 PermissionsBoundary => L<Paws::IAM::AttachedPermissionsBoundary>
92  
93 The ARN of the policy used to set the permissions boundary for the
94 role.
95  
96 For more information about permissions boundaries, see Permissions
97 boundaries for IAM identities
98 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
99 in the I<IAM User Guide>.
100  
101  
102 =head2 RoleId => Str
103  
104 The stable and unique string identifying the role. For more information
105 about IDs, see IAM identifiers
106 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
107 in the I<IAM User Guide>.
108  
109  
110 =head2 RoleLastUsed => L<Paws::IAM::RoleLastUsed>
111  
112 Contains information about the last time that an IAM role was used.
113 This includes the date and time and the Region in which the role was
114 last used. Activity is only reported for the trailing 400 days. This
115 period can be shorter if your Region began supporting these features
116 within the last year. The role might have been used more than 400 days
117 ago. For more information, see Regions where data is tracked
118 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period)
119 in the I<IAM User Guide>.
120  
121  
122 =head2 RoleName => Str
123  
124 The friendly name that identifies the role.
125  
126  
127 =head2 RolePolicyList => ArrayRef[L<Paws::IAM::PolicyDetail>]
128  
129 A list of inline policies embedded in the role. These policies are the
130 role's access (permissions) policies.
131  
132  
133 =head2 Tags => ArrayRef[L<Paws::IAM::Tag>]
134  
135 A list of tags that are attached to the role. For more information
136 about tagging, see Tagging IAM resources
137 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
138 I<IAM User Guide>.
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153