public async Task PickupVaultInventoryRetrieval(string vaultName, string jobId, string outputFileName) { var result = await _glacier.GetJobOutputAsync(new GetJobOutputRequest { AccountId = _accountId, JobId = jobId, VaultName = vaultName }); using (var file = File.OpenWrite(outputFileName)) { result.Body.CopyTo(file); } }