示例#1
0
    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));
    }
示例#2
0
 public Task <GetBucketLifecycleConfigurationResponse> GetBucketLifecycleConfigurationAsync(GetBucketLifecycleConfigurationRequest request, CancellationToken token = default)
 {
     return(_requestHandler.SendRequestAsync <GetBucketLifecycleConfigurationRequest, GetBucketLifecycleConfigurationResponse>(request, token));
 }