Module AppSync.Resolver

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html

type lambda_conflict_handler_config = {
  1. lambda_conflict_handler_arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html

and pipeline_config = {
  1. functions : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html

and app_sync_runtime = {
  1. runtime_version : string;
  2. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html

and caching_config = {
  1. caching_keys : string list option;
  2. ttl : float;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html

and sync_config = {
  1. conflict_handler : string option;
  2. conflict_detection : string;
  3. lambda_conflict_handler_config : lambda_conflict_handler_config option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html

type properties = {
  1. type_name : string;
  2. pipeline_config : pipeline_config option;
  3. request_mapping_template : string option;
  4. response_mapping_template : string option;
  5. max_batch_size : int option;
  6. sync_config : sync_config option;
  7. code : string option;
  8. metrics_config : string option;
  9. response_mapping_template_s3_location : string option;
  10. runtime : app_sync_runtime option;
  11. code_s3_location : string option;
  12. data_source_name : string option;
  13. kind : string option;
  14. caching_config : caching_config option;
  15. request_mapping_template_s3_location : string option;
  16. api_id : string;
  17. field_name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html;

val make_properties : type_name:string -> ?pipeline_config:pipeline_config -> ?request_mapping_template:string -> ?response_mapping_template:string -> ?max_batch_size:int -> ?sync_config:sync_config -> ?code:string -> ?metrics_config:string -> ?response_mapping_template_s3_location:string -> ?runtime:app_sync_runtime -> ?code_s3_location:string -> ?data_source_name:string -> ?kind:string -> ?caching_config:caching_config -> ?request_mapping_template_s3_location:string -> api_id:string -> field_name:string -> unit -> properties
val make_lambda_conflict_handler_config : ?lambda_conflict_handler_arn:string -> unit -> lambda_conflict_handler_config
val make_pipeline_config : ?functions:string list -> unit -> pipeline_config
val make_app_sync_runtime : runtime_version:string -> name:string -> unit -> app_sync_runtime
val make_caching_config : ?caching_keys:string list -> ttl:float -> unit -> caching_config
val make_sync_config : ?conflict_handler:string -> conflict_detection:string -> ?lambda_conflict_handler_config:lambda_conflict_handler_config -> unit -> sync_config
val yojson_of_lambda_conflict_handler_config : lambda_conflict_handler_config -> Yojson.Safe.t
val yojson_of_pipeline_config : pipeline_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_app_sync_runtime : app_sync_runtime -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_caching_config : caching_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_sync_config : sync_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. type_name : string;
  3. resolver_arn : string;
  4. field_name : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string