Module Values.CreateRoomRequestSource

Creates a room that allows clients to connect and pass messages.

Sourcetype nonrec t = {
  1. name : RoomName.t option;
    (*

    Room name. The value does not need to be unique.

    *)
  2. maximumMessageRatePerSecond : RoomMaxMessageRatePerSecond.t option;
    (*

    Maximum number of messages per second that can be sent to the room (by all clients). Default: 10.

    *)
  3. maximumMessageLength : RoomMaxMessageLength.t option;
    (*

    Maximum number of characters in a single message. Messages are expected to be UTF-8 encoded and this limit applies specifically to rune/code-point count, not number of bytes. Default: 500.

    *)
  4. messageReviewHandler : MessageReviewHandler.t option;
    (*

    Configuration information for optional review of messages.

    *)
  5. tags : Tags.t option;
    (*

    Tags to attach to the resource. Array of maps, each of the form string:string (key:value). See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS Chat has no constraints beyond what is documented there.

    *)
  6. loggingConfigurationIdentifiers : LoggingConfigurationIdentifierList.t option;
    (*

    Array of logging-configuration identifiers attached to the room.

    *)
}
Sourceval make : ?name:??? -> ?maximumMessageRatePerSecond:??? -> ?maximumMessageLength:??? -> ?messageReviewHandler:??? -> ?tags:??? -> ?loggingConfigurationIdentifiers:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of RoomMaxMessageRatePerSecond.t | `List of [> `String of LoggingConfigurationIdentifier.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of RoomName.t | `Structure of (string * [> `Enum of string | `String of LambdaArn.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t