The example on the AWS documentation uses InputStream
while the example SDK guide reads part of a file at a time.
What are the benefits and drawbacks over each approach when trying to upload files larger than 5GB? Is one approach inherently better than the other?