line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::CognitoSync::UpdateRecords; |
3
|
1
|
|
|
1
|
|
399
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
4
|
|
|
|
|
|
|
has ClientContext => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'x-amz-Client-Context' ); |
5
|
|
|
|
|
|
|
has DatasetName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'DatasetName' , required => 1); |
6
|
|
|
|
|
|
|
has DeviceId => (is => 'ro', isa => 'Str'); |
7
|
|
|
|
|
|
|
has IdentityId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'IdentityId' , required => 1); |
8
|
|
|
|
|
|
|
has IdentityPoolId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'IdentityPoolId' , required => 1); |
9
|
|
|
|
|
|
|
has RecordPatches => (is => 'ro', isa => 'ArrayRef[Paws::CognitoSync::RecordPatch]'); |
10
|
|
|
|
|
|
|
has SyncSessionToken => (is => 'ro', isa => 'Str', required => 1); |
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
|
6132
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRecords'); |
15
|
|
|
|
|
|
|
class_has _api_uri => (isa => 'Str', is => 'ro', default => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}'); |
16
|
|
|
|
|
|
|
class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); |
17
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CognitoSync::UpdateRecordsResponse'); |
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::UpdateRecords - Arguments for method UpdateRecords on Paws::CognitoSync |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 DESCRIPTION |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
This class represents the parameters used for calling the method UpdateRecords on the |
30
|
|
|
|
|
|
|
Amazon Cognito Sync service. Use the attributes of this class |
31
|
|
|
|
|
|
|
as arguments to method UpdateRecords. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRecords. |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
As an example: |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
$service_obj->UpdateRecords(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 ClientContext => Str |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Intended to supply a device ID that will populate the lastModifiedBy |
47
|
|
|
|
|
|
|
field referenced in other methods. The ClientContext field is not yet |
48
|
|
|
|
|
|
|
implemented. |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 B<REQUIRED> DatasetName => Str |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, |
55
|
|
|
|
|
|
|
'_' (underscore), '-' (dash), and '.' (dot). |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head2 DeviceId => Str |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
The unique ID generated for this device by Cognito. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 B<REQUIRED> IdentityId => Str |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
A name-spaced GUID (for example, |
68
|
|
|
|
|
|
|
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon |
69
|
|
|
|
|
|
|
Cognito. GUID generation is unique within a region. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 B<REQUIRED> IdentityPoolId => Str |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
A name-spaced GUID (for example, |
76
|
|
|
|
|
|
|
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon |
77
|
|
|
|
|
|
|
Cognito. GUID generation is unique within a region. |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 RecordPatches => ArrayRef[L<Paws::CognitoSync::RecordPatch>] |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
A list of patch operations. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head2 B<REQUIRED> SyncSessionToken => Str |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
The SyncSessionToken returned by a previous call to ListRecords for |
90
|
|
|
|
|
|
|
this dataset and identity. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 SEE ALSO |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method UpdateRecords in L<Paws::CognitoSync> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|