File Coverage

blib/lib/Paws/IAM/ListAttachedUserPolicies.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::ListAttachedUserPolicies;
3 1     1   668 use Moose;
  1         2  
  1         10  
4             has Marker => (is => 'ro', isa => 'Str');
5             has MaxItems => (is => 'ro', isa => 'Int');
6             has PathPrefix => (is => 'ro', isa => 'Str');
7             has UserName => (is => 'ro', isa => 'Str', required => 1);
8              
9 1     1   8307 use MooseX::ClassAttribute;
  1         6  
  1         15  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAttachedUserPolicies');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::IAM::ListAttachedUserPoliciesResponse');
13             class_has _result_key => (isa => 'Str', is => 'ro', default => 'ListAttachedUserPoliciesResult');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::IAM::ListAttachedUserPolicies - Arguments for method ListAttachedUserPolicies on Paws::IAM
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method ListAttachedUserPolicies on the
25             AWS Identity and Access Management service. Use the attributes of this class
26             as arguments to method ListAttachedUserPolicies.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAttachedUserPolicies.
29              
30             As an example:
31              
32             $service_obj->ListAttachedUserPolicies(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 Marker => Str
40              
41             Use this parameter only when paginating results and only after you
42             receive a response indicating that the results are truncated. Set it to
43             the value of the C<Marker> element in the response that you received to
44             indicate where the next call should start.
45              
46              
47              
48             =head2 MaxItems => Int
49              
50             (Optional) Use this only when paginating results to indicate the
51             maximum number of items you want in the response. If additional items
52             exist beyond the maximum you specify, the C<IsTruncated> response
53             element is C<true>.
54              
55             If you do not include this parameter, it defaults to 100. Note that IAM
56             might return fewer results, even when there are more results available.
57             In that case, the C<IsTruncated> response element returns C<true> and
58             C<Marker> contains a value to include in the subsequent call that tells
59             the service where to continue from.
60              
61              
62              
63             =head2 PathPrefix => Str
64              
65             The path prefix for filtering the results. This parameter is optional.
66             If it is not included, it defaults to a slash (/), listing all
67             policies.
68              
69             This paramater allows (per its regex pattern) a string of characters
70             consisting of either a forward slash (/) by itself or a string that
71             must begin and end with forward slashes, containing any ASCII character
72             from the ! (\u0021) thru the DEL character (\u007F), including most
73             punctuation characters, digits, and upper and lowercased letters.
74              
75              
76              
77             =head2 B<REQUIRED> UserName => Str
78              
79             The name (friendly name, not ARN) of the user to list attached policies
80             for.
81              
82             This parameter allows (per its regex pattern) a string of characters
83             consisting of upper and lowercase alphanumeric characters with no
84             spaces. You can also include any of the following characters: =,.@-
85              
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, documenting arguments for method ListAttachedUserPolicies in L<Paws::IAM>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut
100