File Coverage

blib/lib/Paws/IAM/InstanceProfile.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::IAM::InstanceProfile;
2 1     1   675 use Moose;
  1     1   4  
  1         14  
  1         549  
  1         3  
  1         8  
3             has Arn => (is => 'ro', isa => 'Str', required => 1);
4             has CreateDate => (is => 'ro', isa => 'Str', required => 1);
5             has InstanceProfileId => (is => 'ro', isa => 'Str', required => 1);
6             has InstanceProfileName => (is => 'ro', isa => 'Str', required => 1);
7             has Path => (is => 'ro', isa => 'Str', required => 1);
8             has Roles => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Role]', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::IAM::InstanceProfile
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::IAM::InstanceProfile object:
27              
28             $service_obj->Method(Att1 => { Arn => $value, ..., Roles => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::InstanceProfile object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Arn
36              
37             =head1 DESCRIPTION
38              
39             Contains information about an instance profile.
40              
41             This data type is used as a response element in the following actions:
42              
43             =over
44              
45             =item *
46              
47             CreateInstanceProfile
48              
49             =item *
50              
51             GetInstanceProfile
52              
53             =item *
54              
55             ListInstanceProfiles
56              
57             =item *
58              
59             ListInstanceProfilesForRole
60              
61             =back
62              
63              
64             =head1 ATTRIBUTES
65              
66              
67             =head2 B<REQUIRED> Arn => Str
68              
69             The Amazon Resource Name (ARN) specifying the instance profile. For
70             more information about ARNs and how to use them in policies, see IAM
71             Identifiers in the I<Using IAM> guide.
72              
73              
74             =head2 B<REQUIRED> CreateDate => Str
75              
76             The date when the instance profile was created.
77              
78              
79             =head2 B<REQUIRED> InstanceProfileId => Str
80              
81             The stable and unique string identifying the instance profile. For more
82             information about IDs, see IAM Identifiers in the I<Using IAM> guide.
83              
84              
85             =head2 B<REQUIRED> InstanceProfileName => Str
86              
87             The name identifying the instance profile.
88              
89              
90             =head2 B<REQUIRED> Path => Str
91              
92             The path to the instance profile. For more information about paths, see
93             IAM Identifiers in the I<Using IAM> guide.
94              
95              
96             =head2 B<REQUIRED> Roles => ArrayRef[L<Paws::IAM::Role>]
97              
98             The role associated with the instance profile.
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