File Coverage

blib/lib/Paws/CognitoSync/Dataset.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CognitoSync::Dataset;
2 1     1   432 use Moose;
  1         3  
  1         10  
3             has CreationDate => (is => 'ro', isa => 'Str');
4             has DatasetName => (is => 'ro', isa => 'Str');
5             has DataStorage => (is => 'ro', isa => 'Int');
6             has IdentityId => (is => 'ro', isa => 'Str');
7             has LastModifiedBy => (is => 'ro', isa => 'Str');
8             has LastModifiedDate => (is => 'ro', isa => 'Str');
9             has NumRecords => (is => 'ro', isa => 'Int');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::CognitoSync::Dataset
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::CognitoSync::Dataset object:
28              
29             $service_obj->Method(Att1 => { CreationDate => $value, ..., NumRecords => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoSync::Dataset object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->CreationDate
37              
38             =head1 DESCRIPTION
39              
40             A collection of data for an identity pool. An identity pool can have
41             multiple datasets. A dataset is per identity and can be general or
42             associated with a particular entity in an application (like a saved
43             game). Datasets are automatically created if they don't exist. Data is
44             synced by dataset, and a dataset can hold up to 1MB of key-value pairs.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 CreationDate => Str
50              
51             Date on which the dataset was created.
52              
53              
54             =head2 DatasetName => Str
55              
56             A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9,
57             '_' (underscore), '-' (dash), and '.' (dot).
58              
59              
60             =head2 DataStorage => Int
61              
62             Total size in bytes of the records in this dataset.
63              
64              
65             =head2 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             =head2 LastModifiedBy => Str
73              
74             The device that made the last change to this dataset.
75              
76              
77             =head2 LastModifiedDate => Str
78              
79             Date when the dataset was last modified.
80              
81              
82             =head2 NumRecords => Int
83              
84             Number of records in this dataset.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::CognitoSync>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99