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

UploadFrom() public method

Uploads the specified file and stores it in the specified bucket with the provided key from construction.
public UploadFrom ( string sourcePath ) : void
sourcePath string Path of the file to be uploaded.
return void
        public void UploadFrom(string sourcePath)
        {
            this.s3ClientCache.GetClient(this.RegionAsEndpoint).UploadObjectFromFilePath(this.linker.s3.bucket, this.linker.s3.key, sourcePath, null);
        }