Module Values.DrainSessionInstanceResultSource

Drains the instance hosting the specified streaming session. The instance stops accepting new sessions while existing sessions continue uninterrupted. Once all sessions end, the instance is reclaimed and replaced. This only applies to multi-session fleets.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `ConcurrentModificationException of ConcurrentModificationException.t
  2. | `OperationNotPermittedException of OperationNotPermittedException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConcurrentModificationException of ConcurrentModificationException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConcurrentModificationException of ConcurrentModificationException.t | `OperationNotPermittedException of OperationNotPermittedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t