You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ja...@apache.org on 2022/08/26 15:28:59 UTC

[iceberg] branch master updated: AWS: Deprecate AwsClientFactories.s3Configuration() (#5592)

This is an automated email from the ASF dual-hosted git repository.

jackye pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new a40dbd2e8b AWS: Deprecate AwsClientFactories.s3Configuration() (#5592)
a40dbd2e8b is described below

commit a40dbd2e8bb09b4f7552970a17682fbb08ebccc1
Author: price-qian <10...@users.noreply.github.com>
AuthorDate: Fri Aug 26 08:28:52 2022 -0700

    AWS: Deprecate AwsClientFactories.s3Configuration() (#5592)
---
 aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java b/aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java
index 9c8f12c6f5..d45a53b312 100644
--- a/aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java
+++ b/aws/src/main/java/org/apache/iceberg/aws/AwsClientFactories.java
@@ -193,6 +193,13 @@ public class AwsClientFactories {
     }
   }
 
+  /**
+   * Build an S3Configuration object
+   *
+   * @deprecated Not for public use. To build an S3Configuration object, use
+   *     S3Configuration.builder() directly. It will be removed in 2.0.0
+   */
+  @Deprecated
   public static S3Configuration s3Configuration(
       Boolean pathStyleAccess, Boolean s3UseArnRegionEnabled) {
     return S3Configuration.builder()