AppSync.GraphQLApi
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html
type log_config = {
cloud_watch_logs_role_arn : string option;
exclude_verbose_content : bool option;
field_log_level : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-logconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-cognitouserpoolconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
and enhanced_metrics_config = {
operation_level_metrics_config : string;
resolver_level_metrics_behavior : string;
data_source_level_metrics_behavior : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-enhancedmetricsconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-openidconnectconfig.html
and user_pool_config = {
app_id_client_regex : string option;
user_pool_id : string option;
aws_region : string option;
default_action : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-userpoolconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-lambdaauthorizerconfig.html
and additional_authentication_provider = {
open_id_connect_config : open_id_connect_config option;
user_pool_config : cognito_user_pool_config option;
authentication_type : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-graphqlapi-additionalauthenticationprovider.html
type properties = {
query_depth_limit : int option;
open_id_connect_config : open_id_connect_config option;
introspection_config : string option;
merged_api_execution_role_arn : string option;
enhanced_metrics_config : enhanced_metrics_config option;
owner_contact : string option;
resolver_count_limit : int option;
name : string;
additional_authentication_providers : additional_authentication_provider list
option;
environment_variables : Yojson.Safe.t option;
api_type : string option;
xray_enabled : bool option;
visibility : string option;
user_pool_config : user_pool_config option;
authentication_type : string;
log_config : log_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-graphqlapi.html;
val make_properties :
?query_depth_limit:int ->
?open_id_connect_config:open_id_connect_config ->
?introspection_config:string ->
?merged_api_execution_role_arn:string ->
?enhanced_metrics_config:enhanced_metrics_config ->
?owner_contact:string ->
?resolver_count_limit:int ->
name:string ->
?additional_authentication_providers:additional_authentication_provider list ->
?environment_variables:Yojson.Safe.t ->
?api_type:string ->
?lambda_authorizer_config:lambda_authorizer_config ->
?xray_enabled:bool ->
?visibility:string ->
?user_pool_config:user_pool_config ->
?tags:tag list ->
authentication_type:string ->
?log_config:log_config ->
unit ->
properties
val make_log_config :
?cloud_watch_logs_role_arn:string ->
?exclude_verbose_content:bool ->
?field_log_level:string ->
unit ->
log_config
val make_cognito_user_pool_config :
?app_id_client_regex:string ->
?user_pool_id:string ->
?aws_region:string ->
unit ->
cognito_user_pool_config
val make_tag : key:string -> value:string -> unit -> tag
val make_enhanced_metrics_config :
operation_level_metrics_config:string ->
resolver_level_metrics_behavior:string ->
data_source_level_metrics_behavior:string ->
unit ->
enhanced_metrics_config
val make_open_id_connect_config :
?issuer:string ->
?client_id:string ->
?auth_ttl:float ->
?iat_ttl:float ->
unit ->
open_id_connect_config
val make_user_pool_config :
?app_id_client_regex:string ->
?user_pool_id:string ->
?aws_region:string ->
?default_action:string ->
unit ->
user_pool_config
val make_lambda_authorizer_config :
?identity_validation_expression:string ->
?authorizer_uri:string ->
?authorizer_result_ttl_in_seconds:float ->
unit ->
lambda_authorizer_config
val make_additional_authentication_provider :
?open_id_connect_config:open_id_connect_config ->
?lambda_authorizer_config:lambda_authorizer_config ->
?user_pool_config:cognito_user_pool_config ->
authentication_type:string ->
unit ->
additional_authentication_provider
val yojson_of_log_config :
log_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_cognito_user_pool_config :
cognito_user_pool_config ->
Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_enhanced_metrics_config :
enhanced_metrics_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_open_id_connect_config : open_id_connect_config -> Yojson.Safe.t
val yojson_of_user_pool_config :
user_pool_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_lambda_authorizer_config :
lambda_authorizer_config ->
Yojson.Safe.t
val yojson_of_additional_authentication_provider :
additional_authentication_provider ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes