File Coverage

blib/lib/Paws/IAM/RoleDetail.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::IAM::RoleDetail;
2 1     1   711 use Moose;
  1         5  
  1         15  
3             has Arn => (is => 'ro', isa => 'Str');
4             has AssumeRolePolicyDocument => (is => 'ro', isa => 'Str', decode_as => 'URLJSON', method => 'Policy', traits => ['JSONAttribute']);
5             has AttachedManagedPolicies => (is => 'ro', isa => 'ArrayRef[Paws::IAM::AttachedPolicy]');
6             has CreateDate => (is => 'ro', isa => 'Str');
7             has InstanceProfileList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::InstanceProfile]');
8             has Path => (is => 'ro', isa => 'Str');
9             has RoleId => (is => 'ro', isa => 'Str');
10             has RoleName => (is => 'ro', isa => 'Str');
11             has RolePolicyList => (is => 'ro', isa => 'ArrayRef[Paws::IAM::PolicyDetail]');
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::IAM::RoleDetail
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::IAM::RoleDetail object:
30              
31             $service_obj->Method(Att1 => { Arn => $value, ..., RolePolicyList => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::RoleDetail object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Arn
39              
40             =head1 DESCRIPTION
41              
42             Contains information about an IAM role, including all of the role's
43             policies.
44              
45             This data type is used as a response element in the
46             GetAccountAuthorizationDetails action.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 Arn => Str
52              
53            
54              
55              
56             =head2 AssumeRolePolicyDocument => Str
57              
58             The trust policy that grants permission to assume the role.
59              
60              
61             =head2 AttachedManagedPolicies => ArrayRef[L<Paws::IAM::AttachedPolicy>]
62              
63             A list of managed policies attached to the role. These policies are the
64             role's access (permissions) policies.
65              
66              
67             =head2 CreateDate => Str
68              
69             The date and time, in ISO 8601 date-time format, when the role was
70             created.
71              
72              
73             =head2 InstanceProfileList => ArrayRef[L<Paws::IAM::InstanceProfile>]
74              
75             A list of instance profiles that contain this role.
76              
77              
78             =head2 Path => Str
79              
80             The path to the role. For more information about paths, see IAM
81             Identifiers in the I<Using IAM> guide.
82              
83              
84             =head2 RoleId => Str
85              
86             The stable and unique string identifying the role. For more information
87             about IDs, see IAM Identifiers in the I<Using IAM> guide.
88              
89              
90             =head2 RoleName => Str
91              
92             The friendly name that identifies the role.
93              
94              
95             =head2 RolePolicyList => ArrayRef[L<Paws::IAM::PolicyDetail>]
96              
97             A list of inline policies embedded in the role. These policies are the
98             role's access (permissions) policies.
99              
100              
101              
102             =head1 SEE ALSO
103              
104             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
105              
106             =head1 BUGS and CONTRIBUTIONS
107              
108             The source code is located here: https://github.com/pplu/aws-sdk-perl
109              
110             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
111              
112             =cut
113