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

DownloadTo() public method

Downloads the file from the S3Link's specified bucket and key then saves it in the given path. Creates directories and the file if they do not already exist.
public DownloadTo ( string downloadPath ) : void
downloadPath string Path to save the file.
return void
        public void DownloadTo(string downloadPath)
        {
            this.s3ClientCache.GetClient(this.RegionAsEndpoint).DownloadToFilePath(this.linker.s3.bucket, this.linker.s3.key, downloadPath, null);
        }