package awso-async
Module Awso_apigatewaymanagementapi_asyncSource
Source
val delete_connection :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_apigatewaymanagementapi.Values.DeleteConnectionRequest.t ->
(unit, unit) Result.t Async.Deferred.tSource
val get_connection :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_apigatewaymanagementapi.Values.GetConnectionRequest.t ->
(Awso_apigatewaymanagementapi.Values.GetConnectionResponse.t,
Awso_apigatewaymanagementapi.Values.GetConnectionResponse.error)
Result.t
Async.Deferred.tSource
val post_to_connection :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_apigatewaymanagementapi.Values.PostToConnectionRequest.t ->
(unit, unit) Result.t Async.Deferred.tinclude module type of struct include Awso_apigatewaymanagementapi.Values end
Source
val structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]Source
val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]The data to be sent to the client specified by its connection id.
The caller is not authorized to invoke this operation.
The connection with the provided id no longer exists.
The client is sending more than the allowed number of requests per unit of time or the WebSocket client side buffer is full.
Sends the provided data to the specified connection.
Source
module PayloadTooLargeException =
Awso_apigatewaymanagementapi.Values.PayloadTooLargeExceptionThe data has exceeded the maximum size allowed.
Get information about the connection with the provided id.
Get information about the connection with the provided id.
Delete the connection with the provided id.