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)); }
public Task <PutBucketResponse> PutBucketAsync(string bucketName, Action <PutBucketRequest> config = null, CancellationToken token = default) { return(_bucketClient.PutBucketAsync(bucketName, config, token)); }