Module Values.GetRoomResponseSource

Gets the specified room.

Sourcetype nonrec t = {
  1. arn : RoomArn.t option;
    (*

    Room ARN, from the request (if identifier was an ARN).

    *)
  2. id : RoomID.t option;
    (*

    Room ID, generated by the system. This is a relative identifier, the part of the ARN that uniquely identifies the room.

    *)
  3. name : RoomName.t option;
    (*

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

    *)
  4. createTime : Time.t option;
    (*

    Time when the room was created. This is an ISO 8601 timestamp; note that this is returned as a string.

    *)
  5. updateTime : Time.t option;
    (*

    Time of the room’s last update. This is an ISO 8601 timestamp; note that this is returned as a string.

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

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

    *)
  7. 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.

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

    Configuration information for optional review of messages.

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

    Tags attached to the resource. Array of maps, each of the form string:string (key:value).

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

    Array of logging configurations attached to the room.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ValidationException of ValidationException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?id:??? -> ?name:??? -> ?createTime:??? -> ?updateTime:??? -> ?maximumMessageRatePerSecond:??? -> ?maximumMessageLength:??? -> ?messageReviewHandler:??? -> ?tags:??? -> ?loggingConfigurationIdentifiers:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.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 RoomArn.t | `Structure of (string * [> `Enum of string | `String of LambdaArn.t ]) list | `Timestamp of Time.t ]) 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