Protocols.AwsJson
AwsJson_1.0 and AwsJson_1.1 protocol support (over eio-based httpun client)
include sig ... end
type http = Http.Client.t
module Errors : sig ... end
type error = [
| `AWSServiceError of AwsErrors.aws_service_error
| `HttpError of Http.http_failure
| `JsonParseError of Json.DeserializeHelpers.jsonParseError
]
val request :
shape_name:string ->
service:Service.descriptor ->
config:Config.t ->
input:json_type ->
output_deserializer:(json_type -> string list -> 'res) ->
http:Http.Client.t ->
error_deserializer:
(json_type ->
string list ->
[> `HttpError of Smaws_Lib__Http.http_failure
| `JsonParseError of Json.DeserializeHelpers.jsonParseError ] as 'a) ->
('res, 'a) Stdlib.result