blib/lib/Paws/AlexaForBusiness/SearchUsers.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::AlexaForBusiness::SearchUsers;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Filter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has SortCriteria => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::Sort]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'SearchUsers');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::SearchUsersResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::AlexaForBusiness::SearchUsers - Arguments for method SearchUsers on L<Paws::AlexaForBusiness>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method SearchUsers on the
25 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
26 as arguments to method SearchUsers.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SearchUsers.
29  
30 =head1 SYNOPSIS
31  
32 my $a4b = Paws->service('AlexaForBusiness');
33 my $SearchUsersResponse = $a4b->SearchUsers(
34 Filters => [
35 {
36 Key => 'MyFilterKey', # min: 1, max: 500
37 Values => [
38 'MyFilterValue', ... # min: 1, max: 500
39 ], # max: 50
40  
41 },
42 ...
43 ], # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NextToken => 'MyNextToken', # OPTIONAL
46 SortCriteria => [
47 {
48 Key => 'MySortKey', # min: 1, max: 500
49 Value => 'ASC', # values: ASC, DESC
50  
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 # Results:
57 my $NextToken = $SearchUsersResponse->NextToken;
58 my $TotalCount = $SearchUsersResponse->TotalCount;
59 my $Users = $SearchUsersResponse->Users;
60  
61 # Returns a L<Paws::AlexaForBusiness::SearchUsersResponse> object.
62  
63 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.
64 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/SearchUsers>
65  
66 =head1 ATTRIBUTES
67  
68  
69 =head2 Filters => ArrayRef[L<Paws::AlexaForBusiness::Filter>]
70  
71 The filters to use for listing a specific set of users. Required.
72 Supported filter keys are UserId, FirstName, LastName, Email, and
73 EnrollmentStatus.
74  
75  
76  
77 =head2 MaxResults => Int
78  
79 The maximum number of results to include in the response. If more
80 results exist than the specified C<MaxResults> value, a token is
81 included in the response so that the remaining results can be
82 retrieved. Required.
83  
84  
85  
86 =head2 NextToken => Str
87  
88 An optional token returned from a prior request. Use this token for
89 pagination of results from this action. If this parameter is specified,
90 the response includes only results beyond the token, up to the value
91 specified by C<MaxResults>. Required.
92  
93  
94  
95 =head2 SortCriteria => ArrayRef[L<Paws::AlexaForBusiness::Sort>]
96  
97 The sort order to use in listing the filtered set of users. Required.
98 Supported sort keys are UserId, FirstName, LastName, Email, and
99 EnrollmentStatus.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method SearchUsers in L<Paws::AlexaForBusiness>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115