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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::IAM::ListAttachedUserPolicies;
3 use Moose;
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 use MooseX::ClassAttribute;
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 L<Paws::IAM>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListAttachedUserPolicies on the
25 L<AWS Identity and Access Management|Paws::IAM> 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 =head1 SYNOPSIS
31  
32 my $iam = Paws->service('IAM');
33 my $ListAttachedUserPoliciesResponse = $iam->ListAttachedUserPolicies(
34 UserName => 'MyuserNameType',
35 Marker => 'MymarkerType', # OPTIONAL
36 MaxItems => 1, # OPTIONAL
37 PathPrefix => 'MypolicyPathType', # OPTIONAL
38 );
39  
40 # Results:
41 my $AttachedPolicies = $ListAttachedUserPoliciesResponse->AttachedPolicies;
42 my $IsTruncated = $ListAttachedUserPoliciesResponse->IsTruncated;
43 my $Marker = $ListAttachedUserPoliciesResponse->Marker;
44  
45 # Returns a L<Paws::IAM::ListAttachedUserPoliciesResponse> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/iam/ListAttachedUserPolicies>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 Marker => Str
54  
55 Use this parameter only when paginating results and only after you
56 receive a response indicating that the results are truncated. Set it to
57 the value of the C<Marker> element in the response that you received to
58 indicate where the next call should start.
59  
60  
61  
62 =head2 MaxItems => Int
63  
64 Use this only when paginating results to indicate the maximum number of
65 items you want in the response. If additional items exist beyond the
66 maximum you specify, the C<IsTruncated> response element is C<true>.
67  
68 If you do not include this parameter, the number of items defaults to
69 100. Note that IAM might return fewer results, even when there are more
70 results available. In that case, the C<IsTruncated> response element
71 returns C<true>, and C<Marker> contains a value to include in the
72 subsequent call that tells 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 policies.
81  
82 This parameter allows (through its regex pattern
83 (http://wikipedia.org/wiki/regex)) a string of characters consisting of
84 either a forward slash (/) by itself or a string that must begin and
85 end with forward slashes. In addition, it can contain any ASCII
86 character from the ! (C<\u0021>) through the DEL character (C<\u007F>),
87 including most punctuation characters, digits, and upper and lowercased
88 letters.
89  
90  
91  
92 =head2 B<REQUIRED> UserName => Str
93  
94 The name (friendly name, not ARN) of the user to list attached policies
95 for.
96  
97 This parameter allows (through its regex pattern
98 (http://wikipedia.org/wiki/regex)) a string of characters consisting of
99 upper and lowercase alphanumeric characters with no spaces. You can
100 also include any of the following characters: _+=,.@-
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ListAttachedUserPolicies in L<Paws::IAM>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116