This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AWS.S3
Uploads the contents of the specified stream. For large uploads, the file will be divided and uploaded in parts
using Amazon S3's multipart API. The parts will be reassembled as one object in Amazon S3.
public Task Upload(Stream stream, string key, UploadSettings settings, CancellationToken cancellationToken = null)
||The stream to read to obtain the content to upload.
||The key under which the Amazon S3 object is stored.
UploadSettings required to upload to Amazon S3.
||A cancellation token that can be used by other objects or threads to receive notice of cancellation.