File Coverage

blib/lib/Paws/CognitoSync/ListRecords.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::CognitoSync::ListRecords;
3 1     1   472 use Moose;
  1         3  
  1         10  
4             has DatasetName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DatasetName', required => 1);
5             has IdentityId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'IdentityId', required => 1);
6             has IdentityPoolId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'IdentityPoolId', required => 1);
7             has LastSyncCount => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'lastSyncCount');
8             has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
9             has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
10             has SyncSessionToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'syncSessionToken');
11              
12 1     1   7427 use MooseX::ClassAttribute;
  1         3  
  1         11  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListRecords');
15             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records');
16             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoSync::ListRecordsResponse');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::CognitoSync::ListRecords - Arguments for method ListRecords on Paws::CognitoSync
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method ListRecords on the
30             Amazon Cognito Sync service. Use the attributes of this class
31             as arguments to method ListRecords.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListRecords.
34              
35             As an example:
36              
37             $service_obj->ListRecords(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> DatasetName => Str
45              
46             A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
47             '_' (underscore), '-' (dash), and '.' (dot).
48              
49              
50              
51             =head2 B<REQUIRED> IdentityId => Str
52              
53             A name-spaced GUID (for example,
54             us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
55             Cognito. GUID generation is unique within a region.
56              
57              
58              
59             =head2 B<REQUIRED> IdentityPoolId => Str
60              
61             A name-spaced GUID (for example,
62             us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
63             Cognito. GUID generation is unique within a region.
64              
65              
66              
67             =head2 LastSyncCount => Int
68              
69             The last server sync count for this record.
70              
71              
72              
73             =head2 MaxResults => Int
74              
75             The maximum number of results to be returned.
76              
77              
78              
79             =head2 NextToken => Str
80              
81             A pagination token for obtaining the next page of results.
82              
83              
84              
85             =head2 SyncSessionToken => Str
86              
87             A token containing a session ID, identity ID, and expiration.
88              
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, documenting arguments for method ListRecords in L<Paws::CognitoSync>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103