diff --git a/core/sdk-core/src/main/java/software/amazon/awssdk/core/client/config/SdkClientOptionValidation.java b/core/sdk-core/src/main/java/software/amazon/awssdk/core/client/config/SdkClientOptionValidation.java index aab55738c82..bf46b137990 100644 --- a/core/sdk-core/src/main/java/software/amazon/awssdk/core/client/config/SdkClientOptionValidation.java +++ b/core/sdk-core/src/main/java/software/amazon/awssdk/core/client/config/SdkClientOptionValidation.java @@ -45,11 +45,6 @@ private static void validateClientOptions(SdkClientConfiguration c) { require("overrideConfiguration.additionalHttpHeaders", c.option(SdkClientOption.ADDITIONAL_HTTP_HEADERS)); require("overrideConfiguration.executionInterceptors", c.option(SdkClientOption.EXECUTION_INTERCEPTORS)); require("overrideConfiguration.retryStrategy", c.option(SdkClientOption.RETRY_STRATEGY)); - - require("overrideConfiguration.advancedOption[USER_AGENT_PREFIX]", - c.option(SdkAdvancedClientOption.USER_AGENT_PREFIX)); - require("overrideConfiguration.advancedOption[USER_AGENT_SUFFIX]", - c.option(SdkAdvancedClientOption.USER_AGENT_SUFFIX)); require("overrideConfiguration.advancedOption[CRC32_FROM_COMPRESSED_DATA_ENABLED]", c.option(SdkClientOption.CRC32_FROM_COMPRESSED_DATA_ENABLED)); }