[][src]Struct rusoto_cognito_sync::UpdateRecordsRequest

pub struct UpdateRecordsRequest {
    pub client_context: Option<String>,
    pub dataset_name: String,
    pub device_id: Option<String>,
    pub identity_id: String,
    pub identity_pool_id: String,
    pub record_patches: Option<Vec<RecordPatch>>,
    pub sync_session_token: String,
}

A request to post updates to records or add and delete records for a dataset and user.

Fields

client_context: Option<String>

Intended to supply a device ID that will populate the lastModifiedBy field referenced in other methods. The ClientContext field is not yet implemented.

dataset_name: String

A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and '.' (dot).

device_id: Option<String>

The unique ID generated for this device by Cognito.

identity_id: 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.

identity_pool_id: 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.

record_patches: Option<Vec<RecordPatch>>

A list of patch operations.

sync_session_token: String

The SyncSessionToken returned by a previous call to ListRecords for this dataset and identity.

Trait Implementations

impl PartialEq<UpdateRecordsRequest> for UpdateRecordsRequest[src]

impl Default for UpdateRecordsRequest[src]

impl Clone for UpdateRecordsRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateRecordsRequest[src]

impl Serialize for UpdateRecordsRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self