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