BREAKING: EndpointProvider rename #1025
aajtodd
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An upcoming release of the AWS SDK for Kotlin renames the service-specific
EndpointProvider
and associated types.If you do not override the
endpointProvider
of any service client this change should not affect you.Release date
This feature will ship with v0.31.0-beta release planned for 08/24/2023
What's changing
The service-specific endpoint provider types have been renamed to include the same prefix as the service client e.g.
EndpointProvider
->S3EndpointProvider
How to migrate
Only the names have changed, as such the fix is to update implementations to use the new name.
All endpoint providers and parameters were previously:
aws.sdk.kotlin.services.<service>.endpoints.EndpointProvider
aws.sdk.kotlin.services.<service>.endpoints.EndpointParameters
After this change the provider and parameters include the same service name prefix that the service client uses:
aws.sdk.kotlin.services.<service>.endpoints.<ServiceName>EndpointProvider
aws.sdk.kotlin.services.<service>.endpoints.<ServiceName>EndpointParameters
As a concrete example:
aws.sdk.kotlin.services.s3.endpoints.EndpointProvider
->aws.sdk.kotlin.services.s3.endpoints.S3EndpointProvider
Additional resources
If you have any questions concerning this change, please feel free to engage with us in this discussion. If you encounter a bug with these changes, please file an issue.
The AWS SDK for Kotlin Developer Guide will be updated to reflect this change.
Beta Was this translation helpful? Give feedback.
All reactions