Exemple #1
0
        public Task <GetBucketLockConfigurationResponse> GetBucketLockConfigurationAsync(string bucketName, Action <GetBucketLockConfigurationRequest>?config = null, CancellationToken token = default)
        {
            GetBucketLockConfigurationRequest request = new GetBucketLockConfigurationRequest(bucketName);

            config?.Invoke(request);

            return(BucketOperations.GetBucketLockConfigurationAsync(request, token));
        }
Exemple #2
0
 public Task <GetBucketLockConfigurationResponse> GetBucketLockConfigurationAsync(GetBucketLockConfigurationRequest request, CancellationToken token = default)
 {
     return(_requestHandler.SendRequestAsync <GetBucketLockConfigurationRequest, GetBucketLockConfigurationResponse>(request, token));
 }