[][src]Struct rusoto_appsync::SyncConfig

pub struct SyncConfig {
    pub conflict_detection: Option<String>,
    pub conflict_handler: Option<String>,
    pub lambda_conflict_handler_config: Option<LambdaConflictHandlerConfig>,
}

Describes a Sync configuration for a resolver.

Contains information on which Conflict Detection as well as Resolution strategy should be performed when the resolver is invoked.

Fields

conflict_detection: Option<String>

The Conflict Detection strategy to use.

  • VERSION: Detect conflicts based on object versions for this resolver.

  • NONE: Do not detect conflicts when executing this resolver.

conflict_handler: Option<String>

The Conflict Resolution strategy to perform in the event of a conflict.

  • OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions do not match the latest version at the server.

  • AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.

  • LAMBDA: Resolve conflicts with a Lambda function supplied in the LambdaConflictHandlerConfig.

lambda_conflict_handler_config: Option<LambdaConflictHandlerConfig>

The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.

Trait Implementations

impl Clone for SyncConfig[src]

impl Debug for SyncConfig[src]

impl Default for SyncConfig[src]

impl<'de> Deserialize<'de> for SyncConfig[src]

impl PartialEq<SyncConfig> for SyncConfig[src]

impl Serialize for SyncConfig[src]

impl StructuralPartialEq for SyncConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument 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.