public async Task <S3Object> GetObjectAsync(GetObjectRequest request) { var response = await SendAsync2(request).ConfigureAwait(false); return(new S3Object(request.ObjectName, response)); }
public async Task <IBlob> GetAsync(string name) { var request = new GetObjectRequest(client.Region, bucketName, key: name); return(await client.GetObjectAsync(request).ConfigureAwait(false)); }
public async Task <S3Object> GetObjectAsync(GetObjectRequest request, CancellationToken cancelationToken = default) { var response = await SendAsync2(request, request.CompletionOption, cancelationToken).ConfigureAwait(false); return(new S3Object(request.ObjectName !, response)); }