예제 #1
0
        public static Task <PutBucketResponse> PutBucketAsync(this IS3BucketClient client, string bucketName, AwsRegion region, CancellationToken token = default)
        {
            Validator.RequireNotNull(client);
            Validator.RequireNotNull(bucketName);

            return(client.PutBucketAsync(bucketName, req => req.Region = region, token));
        }
예제 #2
0
 public Task <PutBucketResponse> PutBucketAsync(string bucketName, Action <PutBucketRequest> config = null, CancellationToken token = default)
 {
     return(_bucketClient.PutBucketAsync(bucketName, config, token));
 }