Struct aws_sdk_cognitosync::model::Dataset [−][src]
#[non_exhaustive]pub struct Dataset {
pub identity_id: Option<String>,
pub dataset_name: Option<String>,
pub creation_date: Option<Instant>,
pub last_modified_date: Option<Instant>,
pub last_modified_by: Option<String>,
pub data_storage: Option<i64>,
pub num_records: Option<i64>,
}
Expand description
A collection of data for an identity pool. An identity pool can have multiple datasets. A dataset is per identity and can be general or associated with a particular entity in an application (like a saved game). Datasets are automatically created if they don’t exist. Data is synced by dataset, and a dataset can hold up to 1MB of key-value pairs.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.identity_id: Option<String>
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
dataset_name: Option<String>
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
creation_date: Option<Instant>
Date on which the dataset was created.
last_modified_date: Option<Instant>
Date when the dataset was last modified.
last_modified_by: Option<String>
The device that made the last change to this dataset.
data_storage: Option<i64>
Total size in bytes of the records in this dataset.
num_records: Option<i64>
Number of records in this dataset.
Implementations
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, ‘_’ (underscore), ‘-’ (dash), and ‘.’ (dot).
Date on which the dataset was created.
Date when the dataset was last modified.
The device that made the last change to this dataset.
Total size in bytes of the records in this dataset.
Number of records in this dataset.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Dataset
impl UnwindSafe for Dataset
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more