Amazon.DynamoDBv2.DataModel.S3Link.UploadStreamAsync C# (CSharp) Метод

UploadStreamAsync() публичный Метод

Uploads the stream and stores it in the specified bucket with the provided key from construction.
public UploadStreamAsync ( Stream stream, CancellationToken cancellationToken = default(CancellationToken) ) : Task
stream Stream Stream to be uploaded to Amazon S3.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.
Результат Task
        public Task UploadStreamAsync(Stream stream, CancellationToken cancellationToken = default(CancellationToken))
        {
            return this.s3ClientCache.GetClient(this.RegionAsEndpoint).UploadObjectFromStreamAsync(this.linker.s3.bucket, this.linker.s3.key, stream, null, cancellationToken);
        }