ApiGateway.UsagePlan
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-throttlesettings.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-quotasettings.html
and api_stage = {
stage : string option;
api_id : string option;
throttle : throttle_settings Stdlib__Map.Make(Stdlib.String).t option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigateway-usageplan-apistage.html
type properties = {
description : string option;
quota : quota_settings option;
api_stages : api_stage list option;
throttle : throttle_settings option;
usage_plan_name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html;
val make_properties :
?description:string ->
?quota:quota_settings ->
?api_stages:api_stage list ->
?tags:tag list ->
?throttle:throttle_settings ->
?usage_plan_name:string ->
unit ->
properties
val make_tag : value:string -> key:string -> unit -> tag
val make_throttle_settings :
?burst_limit:int ->
?rate_limit:float ->
unit ->
throttle_settings
val make_quota_settings :
?period:string ->
?limit:int ->
?offset:int ->
unit ->
quota_settings
val make_api_stage :
?stage:string ->
?api_id:string ->
?throttle:throttle_settings Stdlib__Map.Make(Stdlib.String).t ->
unit ->
api_stage
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_throttle_settings : throttle_settings -> Yojson.Safe.t
val yojson_of_quota_settings :
quota_settings ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_api_stage :
api_stage ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes