public Task <GetObjectResponse> GetObjectAsync(string bucketName, string resource, Action <GetObjectRequest> config = null, CancellationToken token = default) { GetObjectRequest req = new GetObjectRequest(bucketName, resource); config?.Invoke(req); return(_operations.GetAsync(req, token)); }
public Task <GetObjectResponse> ExecuteAsync(CancellationToken token = default) { return(_objectOperations.GetAsync(_request, token)); }