package aws

  1. Overview
  2. Docs
Amazon Web Services SDK

Install

Dune Dependency

Authors

Maintainers

Sources

aws-1.0.2.tar.gz
sha256=684e3f8c5b0384f4329ca258ad3cb4aaa2ac9522401dc781163d0019cff2cec9
md5=21c8d70e4e95ccb4285ddef3cff8c230

doc/aws/Aws/Xml/index.html

Module Aws.Xml

This module contains helpers used for XML parsing. It wraps Ezxmlm and adds helpers.

exception RequiredFieldMissing of string

This is thrown when parsing XML responses. It will be caught in response handlers (M.of_http for api call M) and turned into an Error.t

val member : string -> Ezxmlm.nodes -> Ezxmlm.nodes option

This function is identical to Ezxmlm.member except that in the case of an Ezxmlm.Tag_not_found exception it returns None.

val members : string -> Ezxmlm.nodes -> Ezxmlm.nodes list

This function is identical to Ezxmlm.members except in the case of an Ezxmlm.Tag_not_found exception it returns .

val required : string -> 'a option -> 'a

This takes an error message and option time, and throws a RequiredFieldMissing exception (not exported) if the value is None.

OCaml

Innovation. Community. Security.