AppSync.Resolver
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html
and sync_config = {
conflict_handler : string option;
conflict_detection : string;
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 = {
type_name : string;
pipeline_config : pipeline_config option;
request_mapping_template : string option;
response_mapping_template : string option;
max_batch_size : int option;
sync_config : sync_config option;
code : string option;
metrics_config : string option;
response_mapping_template_s3_location : string option;
runtime : app_sync_runtime option;
code_s3_location : string option;
data_source_name : string option;
kind : string option;
caching_config : caching_config option;
request_mapping_template_s3_location : string option;
api_id : string;
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 ]
val create_attributes : string -> attributes