Represents an S3 object returned by GetObject.
content_length is the size of body — the length of the range served,
not of the whole object. total_size is the size of the whole object and
is required whenever a range was applied, since the Content-Range
response header names the object's full length.
Summary
Types
@type t() :: %Firkin.Object{ body: iodata() | Enumerable.t(), content_length: non_neg_integer(), content_type: String.t(), etag: String.t(), last_modified: DateTime.t(), metadata: %{required(String.t()) => String.t()}, total_size: non_neg_integer() | nil }