Cognito.UserPoolResourceServer
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolresourceserver-resourceserverscopetype.html
type properties = {
user_pool_id : string;
identifier : string;
scopes : resource_server_scope_type list option;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolresourceserver.html;
val make_properties :
user_pool_id:string ->
identifier:string ->
?scopes:resource_server_scope_type list ->
name:string ->
unit ->
properties
val make_resource_server_scope_type :
scope_name:string ->
scope_description:string ->
unit ->
resource_server_scope_type
val yojson_of_resource_server_scope_type :
resource_server_scope_type ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes