package aws
Library
Module
Module type
Parameter
Class
Class type
All AWS api operations should have type Call. Runtime implementation should take as input modules of type Call.
val signature_version : Request.signature_version
The signing method to use for the Call.
The AWS service, for example, 'ec2'. This is used for request signing, and to determine the endpoint to send the request.
This function converts the native input into the HTTP request type. In particular, it is responsible for properly encoding the request type into query format. It also sets the Action and Version query parameters.
val of_http :
string ->
[ `Ok of output | `Error of error Error.error_response ]
This function converts from a HTTP response body to an output or an error if the response could not be decoded.
val parse_error : int -> string -> error option
This function parses an AWS error (which has been successfully deserialized from XML) into an API specific native error that could have been triggered by this call. It should fail to parse if the error it is given is not one of those listen in the specification, or if the passed HTTP status code does not match the specified one.