Class: Aws::AppSync::Types::SyncConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppSync::Types::SyncConfig
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb
Overview
When making an API call, you may pass SyncConfig data as a hash:
{
conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
conflict_detection: "VERSION", # accepts VERSION, NONE
lambda_conflict_handler_config: {
lambda_conflict_handler_arn: "String",
},
}
Describes a Sync configuration for a resolver.
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#conflict_detection ⇒ String
The Conflict Detection strategy to use.
-
#conflict_handler ⇒ String
The Conflict Resolution strategy to perform in the event of a conflict.
-
#lambda_conflict_handler_config ⇒ Types::LambdaConflictHandlerConfig
The
LambdaConflictHandlerConfig
when configuringLAMBDA
as the Conflict Handler.
Instance Attribute Details
#conflict_detection ⇒ String
The Conflict Detection strategy to use.
VERSION: Detect conflicts based on object versions for this resolver.
NONE: Do not detect conflicts when invoking this resolver.
3293 3294 3295 3296 3297 3298 3299 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3293 class SyncConfig < Struct.new( :conflict_handler, :conflict_detection, :lambda_conflict_handler_config) SENSITIVE = [] include Aws::Structure end |
#conflict_handler ⇒ String
The Conflict Resolution strategy to perform in the event of a conflict.
OPTIMISTIC_CONCURRENCY: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
AUTOMERGE: Resolve conflicts with the Automerge conflict resolution strategy.
LAMBDA: Resolve conflicts with an Lambda function supplied in the
LambdaConflictHandlerConfig
.
3293 3294 3295 3296 3297 3298 3299 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3293 class SyncConfig < Struct.new( :conflict_handler, :conflict_detection, :lambda_conflict_handler_config) SENSITIVE = [] include Aws::Structure end |
#lambda_conflict_handler_config ⇒ Types::LambdaConflictHandlerConfig
The LambdaConflictHandlerConfig
when configuring LAMBDA
as the
Conflict Handler.
3293 3294 3295 3296 3297 3298 3299 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 3293 class SyncConfig < Struct.new( :conflict_handler, :conflict_detection, :lambda_conflict_handler_config) SENSITIVE = [] include Aws::Structure end |