[][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 Clone for UpdateRecordsRequest[src]

impl Debug for UpdateRecordsRequest[src]

impl Default for UpdateRecordsRequest[src]

impl PartialEq<UpdateRecordsRequest> for UpdateRecordsRequest[src]

impl Serialize for UpdateRecordsRequest[src]

impl StructuralPartialEq for UpdateRecordsRequest[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.