public Task <GetBucketLifecycleConfigurationResponse> GetBucketLifecycleConfigurationAsync(string bucketName, Action <GetBucketLifecycleConfigurationRequest>?config = null, CancellationToken token = default) { GetBucketLifecycleConfigurationRequest request = new GetBucketLifecycleConfigurationRequest(bucketName); config?.Invoke(request); return(_bucketOperations.GetBucketLifecycleConfigurationAsync(request, token)); }
public Task <GetBucketLifecycleConfigurationResponse> GetBucketLifecycleConfigurationAsync(GetBucketLifecycleConfigurationRequest request, CancellationToken token = default) { return(_requestHandler.SendRequestAsync <GetBucketLifecycleConfigurationRequest, GetBucketLifecycleConfigurationResponse>(request, token)); }