ApiGateway.Stage
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
and method_setting = {
cache_ttl_in_seconds : int option;
logging_level : string option;
resource_path : string option;
cache_data_encrypted : bool option;
data_trace_enabled : bool option;
throttling_burst_limit : int option;
caching_enabled : bool option;
metrics_enabled : bool option;
http_method : string option;
throttling_rate_limit : float option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-methodsetting.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-accesslogsetting.html
and canary_setting = {
deployment_id : string option;
stage_variable_overrides : string Stdlib__Map.Make(Stdlib.String).t option;
percent_traffic : float option;
use_stage_cache : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-stage-canarysetting.html
type properties = {
deployment_id : string option;
description : string option;
stage_name : string option;
rest_api_id : string;
canary_setting : canary_setting option;
client_certificate_id : string option;
variables : string Stdlib__Map.Make(Stdlib.String).t option;
documentation_version : string option;
tracing_enabled : bool option;
method_settings : method_setting list option;
access_log_setting : access_log_setting option;
cache_cluster_size : string option;
cache_cluster_enabled : bool option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html;
val make_properties :
?deployment_id:string ->
?description:string ->
?stage_name:string ->
rest_api_id:string ->
?canary_setting:canary_setting ->
?client_certificate_id:string ->
?variables:string Stdlib__Map.Make(Stdlib.String).t ->
?documentation_version:string ->
?tracing_enabled:bool ->
?method_settings:method_setting list ->
?access_log_setting:access_log_setting ->
?cache_cluster_size:string ->
?tags:tag list ->
?cache_cluster_enabled:bool ->
unit ->
properties
val make_tag : value:string -> key:string -> unit -> tag
val make_method_setting :
?cache_ttl_in_seconds:int ->
?logging_level:string ->
?resource_path:string ->
?cache_data_encrypted:bool ->
?data_trace_enabled:bool ->
?throttling_burst_limit:int ->
?caching_enabled:bool ->
?metrics_enabled:bool ->
?http_method:string ->
?throttling_rate_limit:float ->
unit ->
method_setting
val make_access_log_setting :
?format:string ->
?destination_arn:string ->
unit ->
access_log_setting
val make_canary_setting :
?deployment_id:string ->
?stage_variable_overrides:string Stdlib__Map.Make(Stdlib.String).t ->
?percent_traffic:float ->
?use_stage_cache:bool ->
unit ->
canary_setting
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_method_setting :
method_setting ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_access_log_setting :
access_log_setting ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_canary_setting :
canary_setting ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes