Closed
Description
Acknowledgements
- I have searched (https://github.com/aws/aws-sdk/issues?q=is%3Aissue) for past instances of this issue
- I have verified all of my SDK modules are up-to-date (you can perform a bulk update with
go get -u github.com/aws/aws-sdk-go-v2/...
)
Describe the bug
Changes to the ecrpublic
service in Release 2024-12-23
, in particular this commit, have broken the client endpoint resolution contract described here -- the ecrpublic.EndpointParameters.Endpoint
field has been removed.
This is a breaking change for code that was written to this contract.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Code using ecrpublic.EndpointParameters.Endpoint
compiles.
Current Behavior
Code using ecrpublic.EndpointParameters.Endpoint
fails to compile.
Reproduction Steps
func (r resolverV2) ResolveEndpoint(ctx context.Context, params ecrpublic.EndpointParameters) (endpoint smithyendpoints.Endpoint, err error) {
params = params.WithDefaults()
useFIPS := aws.ToBool(params.UseFIPS)
if eps := params.Endpoint; aws.ToString(eps) != "" {
Possible Solution
n/a
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
% grep ecrpublic go.mod
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.28.0
Compiler and Version used
go version go1.23.3 darwin/arm64
Operating System and version
macos