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