File Coverage

blib/lib/Paws/IAM/ListEntitiesForPolicy.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              
2             package Paws::IAM::ListEntitiesForPolicy;
3 1     1   299 use Moose;
  1         2  
  1         5  
4             has EntityFilter => (is => 'ro', isa => 'Str');
5             has Marker => (is => 'ro', isa => 'Str');
6             has MaxItems => (is => 'ro', isa => 'Int');
7             has PathPrefix => (is => 'ro', isa => 'Str');
8             has PolicyArn => (is => 'ro', isa => 'Str', required => 1);
9              
10 1     1   5340 use MooseX::ClassAttribute;
  1         3  
  1         6  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEntitiesForPolicy');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::ListEntitiesForPolicyResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListEntitiesForPolicyResult');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::IAM::ListEntitiesForPolicy - Arguments for method ListEntitiesForPolicy on Paws::IAM
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method ListEntitiesForPolicy on the
26             AWS Identity and Access Management service. Use the attributes of this class
27             as arguments to method ListEntitiesForPolicy.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEntitiesForPolicy.
30              
31             As an example:
32              
33             $service_obj->ListEntitiesForPolicy(Att1 => $value1, Att2 => $value2, ...);
34              
35             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 EntityFilter => Str
41              
42             The entity type to use for filtering the results.
43              
44             For example, when C<EntityFilter> is C<Role>, only the roles that are
45             attached to the specified policy are returned. This parameter is
46             optional. If it is not included, all attached entities (users, groups,
47             and roles) are returned. The argument for this parameter must be one of
48             the valid values listed below.
49              
50             Valid values are: C<"User">, C<"Role">, C<"Group">, C<"LocalManagedPolicy">, C<"AWSManagedPolicy">
51              
52             =head2 Marker => Str
53              
54             Use this parameter only when paginating results and only after you
55             receive a response indicating that the results are truncated. Set it to
56             the value of the C<Marker> element in the response that you received to
57             indicate where the next call should start.
58              
59              
60              
61             =head2 MaxItems => Int
62              
63             (Optional) Use this only when paginating results to indicate the
64             maximum number of items you want in the response. If additional items
65             exist beyond the maximum you specify, the C<IsTruncated> response
66             element is C<true>.
67              
68             If you do not include this parameter, it defaults to 100. Note that IAM
69             might return fewer results, even when there are more results available.
70             In that case, the C<IsTruncated> response element returns C<true> and
71             C<Marker> contains a value to include in the subsequent call that tells
72             the service where to continue from.
73              
74              
75              
76             =head2 PathPrefix => Str
77              
78             The path prefix for filtering the results. This parameter is optional.
79             If it is not included, it defaults to a slash (/), listing all
80             entities.
81              
82             This paramater allows (per its regex pattern) a string of characters
83             consisting of either a forward slash (/) by itself or a string that
84             must begin and end with forward slashes, containing any ASCII character
85             from the ! (\u0021) thru the DEL character (\u007F), including most
86             punctuation characters, digits, and upper and lowercased letters.
87              
88              
89              
90             =head2 B<REQUIRED> PolicyArn => Str
91              
92             The Amazon Resource Name (ARN) of the IAM policy for which you want the
93             versions.
94              
95             For more information about ARNs, see Amazon Resource Names (ARNs) and
96             AWS Service Namespaces in the I<AWS General Reference>.
97              
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, documenting arguments for method ListEntitiesForPolicy in L<Paws::IAM>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112