-
Interfaces Interface Description software.amazon.awssdk.core.checksums.SdkChecksum this class is deprecated and will not be updated.software.amazon.awssdk.core.retry.backoff.BackoffStrategy Use insteadBackoffStrategysoftware.amazon.awssdk.core.retry.conditions.RetryCondition Use insteadRetryStrategy.Builder.retryOnException(Predicate).software.amazon.awssdk.core.signer.AsyncRequestBodySigner Replaced bysoftware.amazon.awssdk.http.auth.spi.signer.HttpSignerin 'http-auth-spi'.software.amazon.awssdk.core.signer.AsyncSigner Replaced bysoftware.amazon.awssdk.http.auth.spi.signer.HttpSignerin 'http-auth-spi'.software.amazon.awssdk.core.signer.Presigner Replaced bysoftware.amazon.awssdk.http.auth.spi.signer.HttpSignerin 'http-auth-spi'.software.amazon.awssdk.core.signer.Signer Replaced bysoftware.amazon.awssdk.http.auth.spi.signer.HttpSignerin 'http-auth-spi'.Migration Guide:
- For custom signing logic: Implement
HttpSignerand configure viaAuthScheme. See example 1 below. - For overriding signing properties only: Use custom
AuthSchemeProviderinstead. See example 2 below.
Example 1 - Custom signer implementation:
{@snippet : S3AsyncClient s3 = S3AsyncClient.builder() .region(Region.US_WEST_2) .credentialsProvider(CREDENTIALS) .putAuthScheme(new CustomSigV4AuthScheme()) .build(); public class CustomSigV4AuthScheme implements AwsV4AuthScheme {
- For custom signing logic: Implement
-
Enums Enum Description software.amazon.awssdk.core.checksums.Algorithm this class is deprecated and will not be updated.
-
Fields Field Description software.amazon.awssdk.core.client.config.SdkAdvancedClientOption.SIGNER Replaced byHttpSigner.Migration options:
- To customize signing logic: Configure via
SdkClientBuilder.putAuthScheme(AuthScheme). SeeSignerfor examples. - To override signing properties only: Use custom
AuthSchemeProvider. SeeAuthSchemeProviderfor examples.
software.amazon.awssdk.core.client.config.SdkAdvancedClientOption.TOKEN_SIGNER Replaced byHttpSigner.Migration options:
- To customize signing logic: Configure via
SdkClientBuilder.putAuthScheme(AuthScheme). SeeSignerfor examples. - To override signing properties only: Use custom
AuthSchemeProvider. SeeAuthSchemeProviderfor examples.
software.amazon.awssdk.core.client.config.SdkClientOption.ENDPOINT UseSdkClientOption.CLIENT_ENDPOINT_PROVIDERfor client-level endpoint configuration, orSdkClientOption.ENDPOINT_PROVIDERfor deriving the request-level endpoint.software.amazon.awssdk.core.client.config.SdkClientOption.ENDPOINT_OVERRIDDEN software.amazon.awssdk.core.client.config.SdkClientOption.PROFILE_FILE This option was used to: - Read configuration options in profile files in aws-core, sdk-core - Build service configuration objects from profile files in codegen, s3control - Build service configuration objects from profile files, set endpoint options in s3 - Set retry mode in dynamodb, kinesis This has been replaced withPROFILE_FILE_SUPPLIER.get().software.amazon.awssdk.core.interceptor.SdkExecutionAttribute.CLIENT_ENDPOINT This value is not usually accurate, now that the endpoint is almost entirely determined by the service's endpoint rules. UseSdkHttpRequest.getUri()from interceptors, to get or modify the actual endpoint.software.amazon.awssdk.core.interceptor.SdkExecutionAttribute.ENDPOINT_OVERRIDDEN This value should not be trusted. To modify the endpoint used for requests, you should decorate theEndpointProviderof the client. This value can be determined there, by checking for the existence of an override endpoint.software.amazon.awssdk.core.interceptor.SdkExecutionAttribute.HTTP_CHECKSUM_VALIDATION_ALGORITHM software.amazon.awssdk.core.interceptor.SdkExecutionAttribute.PROFILE_FILE This attribute is used for: - Set profile file of service endpoint builder docdb, nepture, rds This has been replaced withPROFILE_FILE_SUPPLIER.get(). - To customize signing logic: Configure via
-
Enum Constants Enum Constant Description software.amazon.awssdk.core.retry.RetryMode.ADAPTIVE As of 2.25.xx, replaced byRetryMode.ADAPTIVE_V2. The ADAPTIVE implementation has a bug that prevents it from remembering its state across requests which is needed to correctly estimate its sending rate. Given that this bug has been present since its introduction and that correct version might change the traffic patterns of the SDK we deemed too risky to fix this implementation.