Amazon.DynamoDBv2.DataModel.S3Link.OpenStreamAsync C# (CSharp) Method

OpenStreamAsync() public method

Opens a stream to object stored in Amazon S3.
public OpenStreamAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.
return Task
        public Task<Stream> OpenStreamAsync(CancellationToken cancellationToken = default(CancellationToken))
        {
            return this.s3ClientCache.GetClient(this.RegionAsEndpoint).GetObjectStreamAsync(this.linker.s3.bucket, this.linker.s3.key, null, cancellationToken);
        }
    }