From 9b7d29fb456215c577c32d53b3264c4c531e9e97 Mon Sep 17 00:00:00 2001 From: RanVaknin <50976344+RanVaknin@users.noreply.github.com> Date: Thu, 30 Oct 2025 14:46:46 -0700 Subject: [PATCH] Modify javadoc to document limitation --- .../software/amazon/awssdk/services/s3/S3Utilities.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/services/s3/src/main/java/software/amazon/awssdk/services/s3/S3Utilities.java b/services/s3/src/main/java/software/amazon/awssdk/services/s3/S3Utilities.java index 26ed7e82e8c6..be6532fac420 100644 --- a/services/s3/src/main/java/software/amazon/awssdk/services/s3/S3Utilities.java +++ b/services/s3/src/main/java/software/amazon/awssdk/services/s3/S3Utilities.java @@ -262,10 +262,11 @@ public URL getUrl(GetUrlRequest getUrlRequest) { /** * Returns a parsed {@link S3Uri} with which a user can easily retrieve the bucket, key, region, style, and query * parameters of the URI. Only path-style and virtual-hosted-style URI parsing is supported, including CLI-style - * URIs, e.g., "s3://bucket/key". AccessPoints and Outposts URI parsing is not supported. If you work with object keys - * and/or query parameters with special characters, they must be URL-encoded, e.g., replace " " with "%20". If you work with - * virtual-hosted-style URIs with bucket names that contain a dot, i.e., ".", the dot must not be URL-encoded. Encoded - * buckets, keys, and query parameters will be returned decoded. + * URIs, e.g., "s3://bucket/key". AccessPoints and Outposts URI parsing, or parsing of endpoint modifiers such as FIPS or + * dualstack is not supported. If you work with object keys and/or query parameters with special characters, they must be + * URL-encoded, e.g., replace " " with "%20". + * If you work with virtual-hosted-style URIs with bucket names that contain a dot, i.e., ".", the dot must not be + * URL-encoded. Encoded buckets, keys, and query parameters will be returned decoded. * *
* For more information on path-style and virtual-hosted-style URIs, see