@@ -17,7 +17,7 @@ type UseFIPSEndpointProvider interface {
1717}
1818
1919// Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go
20- func ResolveUseFIPSEndpoint (ctx context.Context , configSources []interface {} ) (value aws.FIPSEndpointState , found bool , err error ) {
20+ func ResolveUseFIPSEndpoint (ctx context.Context , configSources []any ) (value aws.FIPSEndpointState , found bool , err error ) {
2121 for _ , cfg := range configSources {
2222 if p , ok := cfg .(UseFIPSEndpointProvider ); ok {
2323 value , found , err = p .GetUseFIPSEndpoint (ctx )
@@ -47,7 +47,7 @@ type UseDualStackEndpointProvider interface {
4747}
4848
4949// Copied from https://github.com/aws/aws-sdk-go-v2/blob/main/internal/configsources/config.go
50- func ResolveUseDualStackEndpoint (ctx context.Context , configSources []interface {} ) (value aws.DualStackEndpointState , found bool , err error ) {
50+ func ResolveUseDualStackEndpoint (ctx context.Context , configSources []any ) (value aws.DualStackEndpointState , found bool , err error ) {
5151 for _ , cfg := range configSources {
5252 if p , ok := cfg .(UseDualStackEndpointProvider ); ok {
5353 value , found , err = p .GetUseDualStackEndpoint (ctx )
@@ -77,7 +77,7 @@ type EC2IMDSClientEnableStateResolver interface {
7777}
7878
7979// Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go
80- func ResolveEC2IMDSClientEnableState (sources []interface {} ) (value imds.ClientEnableState , found bool , err error ) {
80+ func ResolveEC2IMDSClientEnableState (sources []any ) (value imds.ClientEnableState , found bool , err error ) {
8181 for _ , source := range sources {
8282 if resolver , ok := source .(EC2IMDSClientEnableStateResolver ); ok {
8383 value , found , err = resolver .GetEC2IMDSClientEnableState ()
@@ -107,7 +107,7 @@ type EC2IMDSEndpointResolver interface {
107107}
108108
109109// Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go
110- func ResolveEC2IMDSEndpointConfig (configSources []interface {} ) (value string , found bool , err error ) {
110+ func ResolveEC2IMDSEndpointConfig (configSources []any ) (value string , found bool , err error ) {
111111 for _ , cfg := range configSources {
112112 if p , ok := cfg .(EC2IMDSEndpointResolver ); ok {
113113 value , found , err = p .GetEC2IMDSEndpoint ()
@@ -125,7 +125,7 @@ type EC2IMDSEndpointModeResolver interface {
125125}
126126
127127// Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/feature/ec2/imds/internal/config/resolvers.go
128- func ResolveEC2IMDSEndpointModeConfig (sources []interface {} ) (value imds.EndpointModeState , found bool , err error ) {
128+ func ResolveEC2IMDSEndpointModeConfig (sources []any ) (value imds.EndpointModeState , found bool , err error ) {
129129 for _ , source := range sources {
130130 if resolver , ok := source .(EC2IMDSEndpointModeResolver ); ok {
131131 value , found , err = resolver .GetEC2IMDSEndpointMode ()
@@ -155,7 +155,7 @@ type RetryMaxAttemptsProvider interface {
155155}
156156
157157// Copied and renamed from https://github.com/aws/aws-sdk-go-v2/blob/main/config/provider.go
158- func GetRetryMaxAttempts (ctx context.Context , sources []interface {} ) (v int , found bool , err error ) {
158+ func GetRetryMaxAttempts (ctx context.Context , sources []any ) (v int , found bool , err error ) {
159159 for _ , c := range sources {
160160 if p , ok := c .(RetryMaxAttemptsProvider ); ok {
161161 v , found , err = p .GetRetryMaxAttempts (ctx )
0 commit comments