Endpoint Resolution Upgrade Guidance #755
rcoh
announced in
Change Log
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Endpoint resolution has been overhauled to support virtual addressing, dynamic endpoint resolver generation, and parameterized endpoints.
Changes
Remove deprecated
ResolveAwsEndpointinterfaces.In general, the path forward is to either:
endpoint_urleither onSdkConfig,ConfigLoaderor<service>::config::Builder::endpoint_url.The following APIs have been removed:
SdkConfig::endpoint_resolver(): This getter referred a field that has been removed.sdk_config::Builder::set_endpoint_resolver(resolver): This setter has been removed.ConfigLoader::endpoint_resolver(resolver): This previously deprecated setter has been removed.aws-endpointcrate:AwsEndpoint,CredentialScope, andResolveAwsEndpoint.Endpointhas been removed from generated services. Useendpoint_urlwhich accepts a string directly instead. Alternatively,&'static strprovides an automatic implementation ofResolveEndpoint.Endpointinaws-smithy-httphas been deprecatedEndpointwill be removed at a later date. Instead of usingEndpoint, you can:SdkConfig::endpoint_urlor<service>::Config::endpoint_urlaws_smithy_types::EndpointBeta Was this translation helpful? Give feedback.
All reactions