Lightweight S3 XML response parser using :xmerl.
Parses standard S3 XML responses into Elixir maps.
Summary
Functions
Parses an S3 Error XML response.
Parses a ListAllMyBucketsResult XML response.
Parses a ListBucketResult (V2) XML response.
Functions
Parses an S3 Error XML response.
Returns {:ok, %{code: String, message: String}} or :error.
Parses a ListAllMyBucketsResult XML response.
Returns a list of bucket maps with :name and :creation_date keys.
Parses a ListBucketResult (V2) XML response.
Returns a map with:
:contents- list of object maps:common_prefixes- list of prefix strings:is_truncated- boolean:next_continuation_token- string or nil:key_count- integer