Module Smaws_Client_AppStream.DrainSessionInstance

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.drain_session_instance_request -> (Types.drain_session_instance_result, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `OperationNotPermittedException of Types.operation_not_permitted_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result