blib/lib/Paws/Organizations/ListDelegatedAdministrators.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Organizations::ListDelegatedAdministrators;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NextToken => (is => 'ro', isa => 'Str');
6 has ServicePrincipal => (is => 'ro', isa => 'Str');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListDelegatedAdministrators');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Organizations::ListDelegatedAdministratorsResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Organizations::ListDelegatedAdministrators - Arguments for method ListDelegatedAdministrators on L<Paws::Organizations>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListDelegatedAdministrators on the
24 L<AWS Organizations|Paws::Organizations> service. Use the attributes of this class
25 as arguments to method ListDelegatedAdministrators.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListDelegatedAdministrators.
28  
29 =head1 SYNOPSIS
30  
31 my $organizations = Paws->service('Organizations');
32 my $ListDelegatedAdministratorsResponse =
33 $organizations->ListDelegatedAdministrators(
34 MaxResults => 1, # OPTIONAL
35 NextToken => 'MyNextToken', # OPTIONAL
36 ServicePrincipal => 'MyServicePrincipal', # OPTIONAL
37 );
38  
39 # Results:
40 my $DelegatedAdministrators =
41 $ListDelegatedAdministratorsResponse->DelegatedAdministrators;
42 my $NextToken = $ListDelegatedAdministratorsResponse->NextToken;
43  
44 # Returns a L<Paws::Organizations::ListDelegatedAdministratorsResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/organizations/ListDelegatedAdministrators>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 MaxResults => Int
53  
54 The total number of results that you want included on each page of the
55 response. If you do not include this parameter, it defaults to a value
56 that is specific to the operation. If additional items exist beyond the
57 maximum you specify, the C<NextToken> response element is present and
58 has a value (is not null). Include that value as the C<NextToken>
59 request parameter in the next call to the operation to get the next
60 part of the results. Note that Organizations might return fewer results
61 than the maximum even when there are more results available. You should
62 check C<NextToken> after every operation to ensure that you receive all
63 of the results.
64  
65  
66  
67 =head2 NextToken => Str
68  
69 The parameter for receiving additional results if you receive a
70 C<NextToken> response in a previous request. A C<NextToken> response
71 indicates that more output is available. Set this parameter to the
72 value of the previous call's C<NextToken> response to indicate where
73 the output should continue from.
74  
75  
76  
77 =head2 ServicePrincipal => Str
78  
79 Specifies a service principal name. If specified, then the operation
80 lists the delegated administrators only for the specified service.
81  
82 If you don't specify a service principal, the operation lists all
83 delegated administrators for all services in your organization.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method ListDelegatedAdministrators in L<Paws::Organizations>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99