diff --git a/service/s3/api_op_AbortMultipartUpload.go b/service/s3/api_op_AbortMultipartUpload.go index c809ae47337..5dd0b063578 100644 --- a/service/s3/api_op_AbortMultipartUpload.go +++ b/service/s3/api_op_AbortMultipartUpload.go @@ -242,7 +242,7 @@ func addAbortMultipartUploadUpdateEndpoint(stack *middleware.Stack, options Opti type opAbortMultipartUploadResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opAbortMultipartUploadResolveEndpointMiddleware) ID() string { @@ -297,7 +297,7 @@ func (m *opAbortMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -323,7 +323,7 @@ func (m *opAbortMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -363,7 +363,7 @@ func (m *opAbortMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx co func addAbortMultipartUploadResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opAbortMultipartUploadResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_CompleteMultipartUpload.go b/service/s3/api_op_CompleteMultipartUpload.go index 59662c3b824..5efecdbcb04 100644 --- a/service/s3/api_op_CompleteMultipartUpload.go +++ b/service/s3/api_op_CompleteMultipartUpload.go @@ -415,7 +415,7 @@ func addCompleteMultipartUploadUpdateEndpoint(stack *middleware.Stack, options O type opCompleteMultipartUploadResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCompleteMultipartUploadResolveEndpointMiddleware) ID() string { @@ -470,7 +470,7 @@ func (m *opCompleteMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -496,7 +496,7 @@ func (m *opCompleteMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -536,7 +536,7 @@ func (m *opCompleteMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx func addCompleteMultipartUploadResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCompleteMultipartUploadResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_CopyObject.go b/service/s3/api_op_CopyObject.go index 10083a7dd92..60872821b6d 100644 --- a/service/s3/api_op_CopyObject.go +++ b/service/s3/api_op_CopyObject.go @@ -584,7 +584,7 @@ func addCopyObjectUpdateEndpoint(stack *middleware.Stack, options Options) error type opCopyObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCopyObjectResolveEndpointMiddleware) ID() string { @@ -639,7 +639,7 @@ func (m *opCopyObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -665,7 +665,7 @@ func (m *opCopyObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -705,7 +705,7 @@ func (m *opCopyObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont func addCopyObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCopyObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_CreateBucket.go b/service/s3/api_op_CreateBucket.go index 08c76af0731..0f2b7cee666 100644 --- a/service/s3/api_op_CreateBucket.go +++ b/service/s3/api_op_CreateBucket.go @@ -308,7 +308,7 @@ func addCreateBucketUpdateEndpoint(stack *middleware.Stack, options Options) err type opCreateBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateBucketResolveEndpointMiddleware) ID() string { @@ -365,7 +365,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -391,7 +391,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -431,7 +431,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addCreateBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_CreateMultipartUpload.go b/service/s3/api_op_CreateMultipartUpload.go index c56cb21ff42..feaa1288c77 100644 --- a/service/s3/api_op_CreateMultipartUpload.go +++ b/service/s3/api_op_CreateMultipartUpload.go @@ -565,7 +565,7 @@ func addCreateMultipartUploadUpdateEndpoint(stack *middleware.Stack, options Opt type opCreateMultipartUploadResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateMultipartUploadResolveEndpointMiddleware) ID() string { @@ -620,7 +620,7 @@ func (m *opCreateMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx c if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -646,7 +646,7 @@ func (m *opCreateMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx c signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -686,7 +686,7 @@ func (m *opCreateMultipartUploadResolveEndpointMiddleware) HandleSerialize(ctx c func addCreateMultipartUploadResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateMultipartUploadResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucket.go b/service/s3/api_op_DeleteBucket.go index 858cf59784c..cc6b0d1c467 100644 --- a/service/s3/api_op_DeleteBucket.go +++ b/service/s3/api_op_DeleteBucket.go @@ -224,7 +224,7 @@ func addDeleteBucketPayloadAsUnsigned(stack *middleware.Stack, options Options) type opDeleteBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketResolveEndpointMiddleware) ID() string { @@ -279,7 +279,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -305,7 +305,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -345,7 +345,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addDeleteBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go index 7ecfb390ac8..3fc1627da90 100644 --- a/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_DeleteBucketAnalyticsConfiguration.go @@ -206,7 +206,7 @@ func addDeleteBucketAnalyticsConfigurationUpdateEndpoint(stack *middleware.Stack type opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware) ID() string { @@ -261,7 +261,7 @@ func (m *opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -287,7 +287,7 @@ func (m *opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -327,7 +327,7 @@ func (m *opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSe func addDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketAnalyticsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketCors.go b/service/s3/api_op_DeleteBucketCors.go index bcbe43b01b3..7b44c5d96cb 100644 --- a/service/s3/api_op_DeleteBucketCors.go +++ b/service/s3/api_op_DeleteBucketCors.go @@ -196,7 +196,7 @@ func addDeleteBucketCorsUpdateEndpoint(stack *middleware.Stack, options Options) type opDeleteBucketCorsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketCorsResolveEndpointMiddleware) ID() string { @@ -251,7 +251,7 @@ func (m *opDeleteBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -277,7 +277,7 @@ func (m *opDeleteBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -317,7 +317,7 @@ func (m *opDeleteBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx contex func addDeleteBucketCorsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketCorsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketEncryption.go b/service/s3/api_op_DeleteBucketEncryption.go index ccfa5cfd2b8..51f26686745 100644 --- a/service/s3/api_op_DeleteBucketEncryption.go +++ b/service/s3/api_op_DeleteBucketEncryption.go @@ -203,7 +203,7 @@ func addDeleteBucketEncryptionUpdateEndpoint(stack *middleware.Stack, options Op type opDeleteBucketEncryptionResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketEncryptionResolveEndpointMiddleware) ID() string { @@ -258,7 +258,7 @@ func (m *opDeleteBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -284,7 +284,7 @@ func (m *opDeleteBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -324,7 +324,7 @@ func (m *opDeleteBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx func addDeleteBucketEncryptionResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketEncryptionResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go index 416d1440d8a..c81af57b879 100644 --- a/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_DeleteBucketIntelligentTieringConfiguration.go @@ -207,7 +207,7 @@ func addDeleteBucketIntelligentTieringConfigurationUpdateEndpoint(stack *middlew type opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware) ID() string { @@ -262,7 +262,7 @@ func (m *opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware) if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -288,7 +288,7 @@ func (m *opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware) signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -328,7 +328,7 @@ func (m *opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware) func addDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketIntelligentTieringConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketInventoryConfiguration.go b/service/s3/api_op_DeleteBucketInventoryConfiguration.go index d5c845f6458..623fd28e01f 100644 --- a/service/s3/api_op_DeleteBucketInventoryConfiguration.go +++ b/service/s3/api_op_DeleteBucketInventoryConfiguration.go @@ -205,7 +205,7 @@ func addDeleteBucketInventoryConfigurationUpdateEndpoint(stack *middleware.Stack type opDeleteBucketInventoryConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketInventoryConfigurationResolveEndpointMiddleware) ID() string { @@ -260,7 +260,7 @@ func (m *opDeleteBucketInventoryConfigurationResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -286,7 +286,7 @@ func (m *opDeleteBucketInventoryConfigurationResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -326,7 +326,7 @@ func (m *opDeleteBucketInventoryConfigurationResolveEndpointMiddleware) HandleSe func addDeleteBucketInventoryConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketInventoryConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketLifecycle.go b/service/s3/api_op_DeleteBucketLifecycle.go index b1fc7569880..6422dea4fcf 100644 --- a/service/s3/api_op_DeleteBucketLifecycle.go +++ b/service/s3/api_op_DeleteBucketLifecycle.go @@ -201,7 +201,7 @@ func addDeleteBucketLifecycleUpdateEndpoint(stack *middleware.Stack, options Opt type opDeleteBucketLifecycleResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketLifecycleResolveEndpointMiddleware) ID() string { @@ -256,7 +256,7 @@ func (m *opDeleteBucketLifecycleResolveEndpointMiddleware) HandleSerialize(ctx c if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -282,7 +282,7 @@ func (m *opDeleteBucketLifecycleResolveEndpointMiddleware) HandleSerialize(ctx c signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -322,7 +322,7 @@ func (m *opDeleteBucketLifecycleResolveEndpointMiddleware) HandleSerialize(ctx c func addDeleteBucketLifecycleResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketLifecycleResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketMetricsConfiguration.go b/service/s3/api_op_DeleteBucketMetricsConfiguration.go index 45927bb44ed..85d25e5032a 100644 --- a/service/s3/api_op_DeleteBucketMetricsConfiguration.go +++ b/service/s3/api_op_DeleteBucketMetricsConfiguration.go @@ -209,7 +209,7 @@ func addDeleteBucketMetricsConfigurationUpdateEndpoint(stack *middleware.Stack, type opDeleteBucketMetricsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketMetricsConfigurationResolveEndpointMiddleware) ID() string { @@ -264,7 +264,7 @@ func (m *opDeleteBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeri if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -290,7 +290,7 @@ func (m *opDeleteBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeri signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -330,7 +330,7 @@ func (m *opDeleteBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeri func addDeleteBucketMetricsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketMetricsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketOwnershipControls.go b/service/s3/api_op_DeleteBucketOwnershipControls.go index 49cca449665..d455d281f78 100644 --- a/service/s3/api_op_DeleteBucketOwnershipControls.go +++ b/service/s3/api_op_DeleteBucketOwnershipControls.go @@ -195,7 +195,7 @@ func addDeleteBucketOwnershipControlsUpdateEndpoint(stack *middleware.Stack, opt type opDeleteBucketOwnershipControlsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketOwnershipControlsResolveEndpointMiddleware) ID() string { @@ -250,7 +250,7 @@ func (m *opDeleteBucketOwnershipControlsResolveEndpointMiddleware) HandleSeriali if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -276,7 +276,7 @@ func (m *opDeleteBucketOwnershipControlsResolveEndpointMiddleware) HandleSeriali signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -316,7 +316,7 @@ func (m *opDeleteBucketOwnershipControlsResolveEndpointMiddleware) HandleSeriali func addDeleteBucketOwnershipControlsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketOwnershipControlsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketPolicy.go b/service/s3/api_op_DeleteBucketPolicy.go index 61dbe9c992f..b3c7aba0ccd 100644 --- a/service/s3/api_op_DeleteBucketPolicy.go +++ b/service/s3/api_op_DeleteBucketPolicy.go @@ -207,7 +207,7 @@ func addDeleteBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Option type opDeleteBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketPolicyResolveEndpointMiddleware) ID() string { @@ -262,7 +262,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -288,7 +288,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -328,7 +328,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont func addDeleteBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketReplication.go b/service/s3/api_op_DeleteBucketReplication.go index ab3ae3447b6..e0d8b9d5a4c 100644 --- a/service/s3/api_op_DeleteBucketReplication.go +++ b/service/s3/api_op_DeleteBucketReplication.go @@ -200,7 +200,7 @@ func addDeleteBucketReplicationUpdateEndpoint(stack *middleware.Stack, options O type opDeleteBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketReplicationResolveEndpointMiddleware) ID() string { @@ -255,7 +255,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -281,7 +281,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -321,7 +321,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx func addDeleteBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketTagging.go b/service/s3/api_op_DeleteBucketTagging.go index 631c51a1254..68fd6d0703f 100644 --- a/service/s3/api_op_DeleteBucketTagging.go +++ b/service/s3/api_op_DeleteBucketTagging.go @@ -194,7 +194,7 @@ func addDeleteBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Optio type opDeleteBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketTaggingResolveEndpointMiddleware) ID() string { @@ -249,7 +249,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -275,7 +275,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -315,7 +315,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con func addDeleteBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteBucketWebsite.go b/service/s3/api_op_DeleteBucketWebsite.go index 0a248d34705..248f26b9bc2 100644 --- a/service/s3/api_op_DeleteBucketWebsite.go +++ b/service/s3/api_op_DeleteBucketWebsite.go @@ -202,7 +202,7 @@ func addDeleteBucketWebsiteUpdateEndpoint(stack *middleware.Stack, options Optio type opDeleteBucketWebsiteResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketWebsiteResolveEndpointMiddleware) ID() string { @@ -257,7 +257,7 @@ func (m *opDeleteBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -283,7 +283,7 @@ func (m *opDeleteBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -323,7 +323,7 @@ func (m *opDeleteBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx con func addDeleteBucketWebsiteResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketWebsiteResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteObject.go b/service/s3/api_op_DeleteObject.go index d05bc56ddfb..4787e97449e 100644 --- a/service/s3/api_op_DeleteObject.go +++ b/service/s3/api_op_DeleteObject.go @@ -292,7 +292,7 @@ func addDeleteObjectPayloadAsUnsigned(stack *middleware.Stack, options Options) type opDeleteObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteObjectResolveEndpointMiddleware) ID() string { @@ -347,7 +347,7 @@ func (m *opDeleteObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -373,7 +373,7 @@ func (m *opDeleteObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -413,7 +413,7 @@ func (m *opDeleteObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addDeleteObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteObjectTagging.go b/service/s3/api_op_DeleteObjectTagging.go index fa520ed09a4..7c64e9c9168 100644 --- a/service/s3/api_op_DeleteObjectTagging.go +++ b/service/s3/api_op_DeleteObjectTagging.go @@ -223,7 +223,7 @@ func addDeleteObjectTaggingUpdateEndpoint(stack *middleware.Stack, options Optio type opDeleteObjectTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteObjectTaggingResolveEndpointMiddleware) ID() string { @@ -278,7 +278,7 @@ func (m *opDeleteObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -304,7 +304,7 @@ func (m *opDeleteObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -344,7 +344,7 @@ func (m *opDeleteObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx con func addDeleteObjectTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteObjectTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeleteObjects.go b/service/s3/api_op_DeleteObjects.go index 8fb7fc1ac08..398f3f34d35 100644 --- a/service/s3/api_op_DeleteObjects.go +++ b/service/s3/api_op_DeleteObjects.go @@ -305,7 +305,7 @@ func addDeleteObjectsUpdateEndpoint(stack *middleware.Stack, options Options) er type opDeleteObjectsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteObjectsResolveEndpointMiddleware) ID() string { @@ -360,7 +360,7 @@ func (m *opDeleteObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -386,7 +386,7 @@ func (m *opDeleteObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -426,7 +426,7 @@ func (m *opDeleteObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.C func addDeleteObjectsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteObjectsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_DeletePublicAccessBlock.go b/service/s3/api_op_DeletePublicAccessBlock.go index 565130a76ee..04036129993 100644 --- a/service/s3/api_op_DeletePublicAccessBlock.go +++ b/service/s3/api_op_DeletePublicAccessBlock.go @@ -198,7 +198,7 @@ func addDeletePublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options O type opDeletePublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeletePublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -253,7 +253,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -279,7 +279,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -319,7 +319,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx func addDeletePublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeletePublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketAccelerateConfiguration.go b/service/s3/api_op_GetBucketAccelerateConfiguration.go index 1a35e2d6062..093afe97d0d 100644 --- a/service/s3/api_op_GetBucketAccelerateConfiguration.go +++ b/service/s3/api_op_GetBucketAccelerateConfiguration.go @@ -212,7 +212,7 @@ func addGetBucketAccelerateConfigurationUpdateEndpoint(stack *middleware.Stack, type opGetBucketAccelerateConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketAccelerateConfigurationResolveEndpointMiddleware) ID() string { @@ -267,7 +267,7 @@ func (m *opGetBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -293,7 +293,7 @@ func (m *opGetBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -333,7 +333,7 @@ func (m *opGetBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri func addGetBucketAccelerateConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketAccelerateConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketAcl.go b/service/s3/api_op_GetBucketAcl.go index c994daa503a..40d1ed10248 100644 --- a/service/s3/api_op_GetBucketAcl.go +++ b/service/s3/api_op_GetBucketAcl.go @@ -222,7 +222,7 @@ func addGetBucketAclUpdateEndpoint(stack *middleware.Stack, options Options) err type opGetBucketAclResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketAclResolveEndpointMiddleware) ID() string { @@ -277,7 +277,7 @@ func (m *opGetBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -303,7 +303,7 @@ func (m *opGetBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -343,7 +343,7 @@ func (m *opGetBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addGetBucketAclResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketAclResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketAnalyticsConfiguration.go b/service/s3/api_op_GetBucketAnalyticsConfiguration.go index ac1c0651eb9..df9fb3b4c64 100644 --- a/service/s3/api_op_GetBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_GetBucketAnalyticsConfiguration.go @@ -212,7 +212,7 @@ func addGetBucketAnalyticsConfigurationUpdateEndpoint(stack *middleware.Stack, o type opGetBucketAnalyticsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketAnalyticsConfigurationResolveEndpointMiddleware) ID() string { @@ -267,7 +267,7 @@ func (m *opGetBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -293,7 +293,7 @@ func (m *opGetBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -333,7 +333,7 @@ func (m *opGetBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria func addGetBucketAnalyticsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketAnalyticsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketCors.go b/service/s3/api_op_GetBucketCors.go index 0dbca576753..4ac30cfa7e6 100644 --- a/service/s3/api_op_GetBucketCors.go +++ b/service/s3/api_op_GetBucketCors.go @@ -215,7 +215,7 @@ func addGetBucketCorsUpdateEndpoint(stack *middleware.Stack, options Options) er type opGetBucketCorsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketCorsResolveEndpointMiddleware) ID() string { @@ -270,7 +270,7 @@ func (m *opGetBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -296,7 +296,7 @@ func (m *opGetBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -336,7 +336,7 @@ func (m *opGetBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C func addGetBucketCorsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketCorsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketEncryption.go b/service/s3/api_op_GetBucketEncryption.go index 9e6e94d4a41..0ab0095eb83 100644 --- a/service/s3/api_op_GetBucketEncryption.go +++ b/service/s3/api_op_GetBucketEncryption.go @@ -208,7 +208,7 @@ func addGetBucketEncryptionUpdateEndpoint(stack *middleware.Stack, options Optio type opGetBucketEncryptionResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketEncryptionResolveEndpointMiddleware) ID() string { @@ -263,7 +263,7 @@ func (m *opGetBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -289,7 +289,7 @@ func (m *opGetBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -329,7 +329,7 @@ func (m *opGetBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con func addGetBucketEncryptionResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketEncryptionResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go index f3cdd55c754..2f0f898c501 100644 --- a/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_GetBucketIntelligentTieringConfiguration.go @@ -212,7 +212,7 @@ func addGetBucketIntelligentTieringConfigurationUpdateEndpoint(stack *middleware type opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware) ID() string { @@ -267,7 +267,7 @@ func (m *opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -293,7 +293,7 @@ func (m *opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -333,7 +333,7 @@ func (m *opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha func addGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketIntelligentTieringConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketInventoryConfiguration.go b/service/s3/api_op_GetBucketInventoryConfiguration.go index dd5473fbdaf..3acf2d42942 100644 --- a/service/s3/api_op_GetBucketInventoryConfiguration.go +++ b/service/s3/api_op_GetBucketInventoryConfiguration.go @@ -209,7 +209,7 @@ func addGetBucketInventoryConfigurationUpdateEndpoint(stack *middleware.Stack, o type opGetBucketInventoryConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketInventoryConfigurationResolveEndpointMiddleware) ID() string { @@ -264,7 +264,7 @@ func (m *opGetBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -290,7 +290,7 @@ func (m *opGetBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -330,7 +330,7 @@ func (m *opGetBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria func addGetBucketInventoryConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketInventoryConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketLifecycleConfiguration.go b/service/s3/api_op_GetBucketLifecycleConfiguration.go index b1d1071c78a..6ee835f5ff8 100644 --- a/service/s3/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3/api_op_GetBucketLifecycleConfiguration.go @@ -218,7 +218,7 @@ func addGetBucketLifecycleConfigurationUpdateEndpoint(stack *middleware.Stack, o type opGetBucketLifecycleConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketLifecycleConfigurationResolveEndpointMiddleware) ID() string { @@ -273,7 +273,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -299,7 +299,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -339,7 +339,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria func addGetBucketLifecycleConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketLifecycleConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketLocation.go b/service/s3/api_op_GetBucketLocation.go index ea4b52fbb53..0794e26026b 100644 --- a/service/s3/api_op_GetBucketLocation.go +++ b/service/s3/api_op_GetBucketLocation.go @@ -283,7 +283,7 @@ func addGetBucketLocationUpdateEndpoint(stack *middleware.Stack, options Options type opGetBucketLocationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketLocationResolveEndpointMiddleware) ID() string { @@ -338,7 +338,7 @@ func (m *opGetBucketLocationResolveEndpointMiddleware) HandleSerialize(ctx conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -364,7 +364,7 @@ func (m *opGetBucketLocationResolveEndpointMiddleware) HandleSerialize(ctx conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -404,7 +404,7 @@ func (m *opGetBucketLocationResolveEndpointMiddleware) HandleSerialize(ctx conte func addGetBucketLocationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketLocationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketLogging.go b/service/s3/api_op_GetBucketLogging.go index 4fa15066655..4704f81b9fa 100644 --- a/service/s3/api_op_GetBucketLogging.go +++ b/service/s3/api_op_GetBucketLogging.go @@ -200,7 +200,7 @@ func addGetBucketLoggingUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketLoggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketLoggingResolveEndpointMiddleware) ID() string { @@ -255,7 +255,7 @@ func (m *opGetBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -281,7 +281,7 @@ func (m *opGetBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -321,7 +321,7 @@ func (m *opGetBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetBucketLoggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketLoggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketMetricsConfiguration.go b/service/s3/api_op_GetBucketMetricsConfiguration.go index b113cd590bb..8aef20d94e9 100644 --- a/service/s3/api_op_GetBucketMetricsConfiguration.go +++ b/service/s3/api_op_GetBucketMetricsConfiguration.go @@ -214,7 +214,7 @@ func addGetBucketMetricsConfigurationUpdateEndpoint(stack *middleware.Stack, opt type opGetBucketMetricsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketMetricsConfigurationResolveEndpointMiddleware) ID() string { @@ -269,7 +269,7 @@ func (m *opGetBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -295,7 +295,7 @@ func (m *opGetBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -335,7 +335,7 @@ func (m *opGetBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali func addGetBucketMetricsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketMetricsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketNotificationConfiguration.go b/service/s3/api_op_GetBucketNotificationConfiguration.go index 00ea6f5c5cb..20f0418e57c 100644 --- a/service/s3/api_op_GetBucketNotificationConfiguration.go +++ b/service/s3/api_op_GetBucketNotificationConfiguration.go @@ -231,7 +231,7 @@ func addGetBucketNotificationConfigurationUpdateEndpoint(stack *middleware.Stack type opGetBucketNotificationConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketNotificationConfigurationResolveEndpointMiddleware) ID() string { @@ -286,7 +286,7 @@ func (m *opGetBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -312,7 +312,7 @@ func (m *opGetBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -352,7 +352,7 @@ func (m *opGetBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe func addGetBucketNotificationConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketNotificationConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketOwnershipControls.go b/service/s3/api_op_GetBucketOwnershipControls.go index 2f9b9f35374..24b3780d29e 100644 --- a/service/s3/api_op_GetBucketOwnershipControls.go +++ b/service/s3/api_op_GetBucketOwnershipControls.go @@ -201,7 +201,7 @@ func addGetBucketOwnershipControlsUpdateEndpoint(stack *middleware.Stack, option type opGetBucketOwnershipControlsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketOwnershipControlsResolveEndpointMiddleware) ID() string { @@ -256,7 +256,7 @@ func (m *opGetBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -282,7 +282,7 @@ func (m *opGetBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -322,7 +322,7 @@ func (m *opGetBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( func addGetBucketOwnershipControlsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketOwnershipControlsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketPolicy.go b/service/s3/api_op_GetBucketPolicy.go index 0d16d6e76c4..a5800974a29 100644 --- a/service/s3/api_op_GetBucketPolicy.go +++ b/service/s3/api_op_GetBucketPolicy.go @@ -223,7 +223,7 @@ func addGetBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketPolicyResolveEndpointMiddleware) ID() string { @@ -278,7 +278,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -304,7 +304,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -344,7 +344,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context func addGetBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketPolicyStatus.go b/service/s3/api_op_GetBucketPolicyStatus.go index 5d2ca9e5645..540e62e7dad 100644 --- a/service/s3/api_op_GetBucketPolicyStatus.go +++ b/service/s3/api_op_GetBucketPolicyStatus.go @@ -204,7 +204,7 @@ func addGetBucketPolicyStatusUpdateEndpoint(stack *middleware.Stack, options Opt type opGetBucketPolicyStatusResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketPolicyStatusResolveEndpointMiddleware) ID() string { @@ -259,7 +259,7 @@ func (m *opGetBucketPolicyStatusResolveEndpointMiddleware) HandleSerialize(ctx c if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -285,7 +285,7 @@ func (m *opGetBucketPolicyStatusResolveEndpointMiddleware) HandleSerialize(ctx c signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -325,7 +325,7 @@ func (m *opGetBucketPolicyStatusResolveEndpointMiddleware) HandleSerialize(ctx c func addGetBucketPolicyStatusResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketPolicyStatusResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketReplication.go b/service/s3/api_op_GetBucketReplication.go index 43673039d41..1508f85cc38 100644 --- a/service/s3/api_op_GetBucketReplication.go +++ b/service/s3/api_op_GetBucketReplication.go @@ -208,7 +208,7 @@ func addGetBucketReplicationUpdateEndpoint(stack *middleware.Stack, options Opti type opGetBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketReplicationResolveEndpointMiddleware) ID() string { @@ -263,7 +263,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -289,7 +289,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -329,7 +329,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co func addGetBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketRequestPayment.go b/service/s3/api_op_GetBucketRequestPayment.go index 29b4ee6b300..48b0295ccf3 100644 --- a/service/s3/api_op_GetBucketRequestPayment.go +++ b/service/s3/api_op_GetBucketRequestPayment.go @@ -198,7 +198,7 @@ func addGetBucketRequestPaymentUpdateEndpoint(stack *middleware.Stack, options O type opGetBucketRequestPaymentResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketRequestPaymentResolveEndpointMiddleware) ID() string { @@ -253,7 +253,7 @@ func (m *opGetBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -279,7 +279,7 @@ func (m *opGetBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -319,7 +319,7 @@ func (m *opGetBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx func addGetBucketRequestPaymentResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketRequestPaymentResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketTagging.go b/service/s3/api_op_GetBucketTagging.go index 2aa17a81427..a4d3f9515db 100644 --- a/service/s3/api_op_GetBucketTagging.go +++ b/service/s3/api_op_GetBucketTagging.go @@ -205,7 +205,7 @@ func addGetBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketTaggingResolveEndpointMiddleware) ID() string { @@ -260,7 +260,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -286,7 +286,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -326,7 +326,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketVersioning.go b/service/s3/api_op_GetBucketVersioning.go index 14d72df11c4..33ee2b2db07 100644 --- a/service/s3/api_op_GetBucketVersioning.go +++ b/service/s3/api_op_GetBucketVersioning.go @@ -206,7 +206,7 @@ func addGetBucketVersioningUpdateEndpoint(stack *middleware.Stack, options Optio type opGetBucketVersioningResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketVersioningResolveEndpointMiddleware) ID() string { @@ -261,7 +261,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -287,7 +287,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -327,7 +327,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con func addGetBucketVersioningResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketVersioningResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetBucketWebsite.go b/service/s3/api_op_GetBucketWebsite.go index f5440a14e82..e556cbfc0f2 100644 --- a/service/s3/api_op_GetBucketWebsite.go +++ b/service/s3/api_op_GetBucketWebsite.go @@ -213,7 +213,7 @@ func addGetBucketWebsiteUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketWebsiteResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketWebsiteResolveEndpointMiddleware) ID() string { @@ -268,7 +268,7 @@ func (m *opGetBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -294,7 +294,7 @@ func (m *opGetBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -334,7 +334,7 @@ func (m *opGetBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetBucketWebsiteResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketWebsiteResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObject.go b/service/s3/api_op_GetObject.go index f9e26b16caa..50546a8a621 100644 --- a/service/s3/api_op_GetObject.go +++ b/service/s3/api_op_GetObject.go @@ -581,7 +581,7 @@ func addGetObjectPayloadAsUnsigned(stack *middleware.Stack, options Options) err type opGetObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectResolveEndpointMiddleware) ID() string { @@ -636,7 +636,7 @@ func (m *opGetObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -662,7 +662,7 @@ func (m *opGetObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -702,7 +702,7 @@ func (m *opGetObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte func addGetObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectAcl.go b/service/s3/api_op_GetObjectAcl.go index ba7ee370635..34d8d79dee6 100644 --- a/service/s3/api_op_GetObjectAcl.go +++ b/service/s3/api_op_GetObjectAcl.go @@ -239,7 +239,7 @@ func addGetObjectAclUpdateEndpoint(stack *middleware.Stack, options Options) err type opGetObjectAclResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectAclResolveEndpointMiddleware) ID() string { @@ -294,7 +294,7 @@ func (m *opGetObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -320,7 +320,7 @@ func (m *opGetObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -360,7 +360,7 @@ func (m *opGetObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addGetObjectAclResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectAclResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectAttributes.go b/service/s3/api_op_GetObjectAttributes.go index 17c641b359c..1dfe5137760 100644 --- a/service/s3/api_op_GetObjectAttributes.go +++ b/service/s3/api_op_GetObjectAttributes.go @@ -341,7 +341,7 @@ func addGetObjectAttributesUpdateEndpoint(stack *middleware.Stack, options Optio type opGetObjectAttributesResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectAttributesResolveEndpointMiddleware) ID() string { @@ -396,7 +396,7 @@ func (m *opGetObjectAttributesResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -422,7 +422,7 @@ func (m *opGetObjectAttributesResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -462,7 +462,7 @@ func (m *opGetObjectAttributesResolveEndpointMiddleware) HandleSerialize(ctx con func addGetObjectAttributesResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectAttributesResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectLegalHold.go b/service/s3/api_op_GetObjectLegalHold.go index fceeb9483a7..a6607e47571 100644 --- a/service/s3/api_op_GetObjectLegalHold.go +++ b/service/s3/api_op_GetObjectLegalHold.go @@ -220,7 +220,7 @@ func addGetObjectLegalHoldUpdateEndpoint(stack *middleware.Stack, options Option type opGetObjectLegalHoldResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectLegalHoldResolveEndpointMiddleware) ID() string { @@ -275,7 +275,7 @@ func (m *opGetObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -301,7 +301,7 @@ func (m *opGetObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -341,7 +341,7 @@ func (m *opGetObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont func addGetObjectLegalHoldResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectLegalHoldResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectLockConfiguration.go b/service/s3/api_op_GetObjectLockConfiguration.go index 7e6d349ca11..3cb2fcde9e5 100644 --- a/service/s3/api_op_GetObjectLockConfiguration.go +++ b/service/s3/api_op_GetObjectLockConfiguration.go @@ -205,7 +205,7 @@ func addGetObjectLockConfigurationUpdateEndpoint(stack *middleware.Stack, option type opGetObjectLockConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectLockConfigurationResolveEndpointMiddleware) ID() string { @@ -260,7 +260,7 @@ func (m *opGetObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -286,7 +286,7 @@ func (m *opGetObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -326,7 +326,7 @@ func (m *opGetObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( func addGetObjectLockConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectLockConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectRetention.go b/service/s3/api_op_GetObjectRetention.go index fbc417a4979..a264f713849 100644 --- a/service/s3/api_op_GetObjectRetention.go +++ b/service/s3/api_op_GetObjectRetention.go @@ -220,7 +220,7 @@ func addGetObjectRetentionUpdateEndpoint(stack *middleware.Stack, options Option type opGetObjectRetentionResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectRetentionResolveEndpointMiddleware) ID() string { @@ -275,7 +275,7 @@ func (m *opGetObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -301,7 +301,7 @@ func (m *opGetObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -341,7 +341,7 @@ func (m *opGetObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont func addGetObjectRetentionResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectRetentionResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectTagging.go b/service/s3/api_op_GetObjectTagging.go index cad13d06017..8d1ce50d2a8 100644 --- a/service/s3/api_op_GetObjectTagging.go +++ b/service/s3/api_op_GetObjectTagging.go @@ -240,7 +240,7 @@ func addGetObjectTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opGetObjectTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectTaggingResolveEndpointMiddleware) ID() string { @@ -295,7 +295,7 @@ func (m *opGetObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -321,7 +321,7 @@ func (m *opGetObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -361,7 +361,7 @@ func (m *opGetObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetObjectTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetObjectTorrent.go b/service/s3/api_op_GetObjectTorrent.go index c5087cd9610..cd625c5dde6 100644 --- a/service/s3/api_op_GetObjectTorrent.go +++ b/service/s3/api_op_GetObjectTorrent.go @@ -214,7 +214,7 @@ func addGetObjectTorrentUpdateEndpoint(stack *middleware.Stack, options Options) type opGetObjectTorrentResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetObjectTorrentResolveEndpointMiddleware) ID() string { @@ -269,7 +269,7 @@ func (m *opGetObjectTorrentResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -295,7 +295,7 @@ func (m *opGetObjectTorrentResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -335,7 +335,7 @@ func (m *opGetObjectTorrentResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetObjectTorrentResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetObjectTorrentResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_GetPublicAccessBlock.go b/service/s3/api_op_GetPublicAccessBlock.go index 93ddaae6a6b..513d1af5286 100644 --- a/service/s3/api_op_GetPublicAccessBlock.go +++ b/service/s3/api_op_GetPublicAccessBlock.go @@ -211,7 +211,7 @@ func addGetPublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options Opti type opGetPublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetPublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -266,7 +266,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -292,7 +292,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -332,7 +332,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co func addGetPublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetPublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_HeadBucket.go b/service/s3/api_op_HeadBucket.go index 4e46cf45bb5..d2f5edb5fbb 100644 --- a/service/s3/api_op_HeadBucket.go +++ b/service/s3/api_op_HeadBucket.go @@ -574,7 +574,7 @@ func addHeadBucketPayloadAsUnsigned(stack *middleware.Stack, options Options) er type opHeadBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opHeadBucketResolveEndpointMiddleware) ID() string { @@ -629,7 +629,7 @@ func (m *opHeadBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -655,7 +655,7 @@ func (m *opHeadBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -695,7 +695,7 @@ func (m *opHeadBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Cont func addHeadBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opHeadBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_HeadObject.go b/service/s3/api_op_HeadObject.go index b56ae81a15f..6618eaf3017 100644 --- a/service/s3/api_op_HeadObject.go +++ b/service/s3/api_op_HeadObject.go @@ -864,7 +864,7 @@ func addHeadObjectPayloadAsUnsigned(stack *middleware.Stack, options Options) er type opHeadObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opHeadObjectResolveEndpointMiddleware) ID() string { @@ -919,7 +919,7 @@ func (m *opHeadObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -945,7 +945,7 @@ func (m *opHeadObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -985,7 +985,7 @@ func (m *opHeadObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Cont func addHeadObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opHeadObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListBucketAnalyticsConfigurations.go b/service/s3/api_op_ListBucketAnalyticsConfigurations.go index 984a13e4e4f..69efb2af97d 100644 --- a/service/s3/api_op_ListBucketAnalyticsConfigurations.go +++ b/service/s3/api_op_ListBucketAnalyticsConfigurations.go @@ -231,7 +231,7 @@ func addListBucketAnalyticsConfigurationsUpdateEndpoint(stack *middleware.Stack, type opListBucketAnalyticsConfigurationsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListBucketAnalyticsConfigurationsResolveEndpointMiddleware) ID() string { @@ -286,7 +286,7 @@ func (m *opListBucketAnalyticsConfigurationsResolveEndpointMiddleware) HandleSer if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -312,7 +312,7 @@ func (m *opListBucketAnalyticsConfigurationsResolveEndpointMiddleware) HandleSer signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -352,7 +352,7 @@ func (m *opListBucketAnalyticsConfigurationsResolveEndpointMiddleware) HandleSer func addListBucketAnalyticsConfigurationsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListBucketAnalyticsConfigurationsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go index 8993723da28..071f1e24176 100644 --- a/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go +++ b/service/s3/api_op_ListBucketIntelligentTieringConfigurations.go @@ -225,7 +225,7 @@ func addListBucketIntelligentTieringConfigurationsUpdateEndpoint(stack *middlewa type opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware) ID() string { @@ -280,7 +280,7 @@ func (m *opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware) if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -306,7 +306,7 @@ func (m *opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware) signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -346,7 +346,7 @@ func (m *opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware) func addListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListBucketIntelligentTieringConfigurationsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListBucketInventoryConfigurations.go b/service/s3/api_op_ListBucketInventoryConfigurations.go index 09e3d3ffcc6..8172b7e7a2f 100644 --- a/service/s3/api_op_ListBucketInventoryConfigurations.go +++ b/service/s3/api_op_ListBucketInventoryConfigurations.go @@ -232,7 +232,7 @@ func addListBucketInventoryConfigurationsUpdateEndpoint(stack *middleware.Stack, type opListBucketInventoryConfigurationsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListBucketInventoryConfigurationsResolveEndpointMiddleware) ID() string { @@ -287,7 +287,7 @@ func (m *opListBucketInventoryConfigurationsResolveEndpointMiddleware) HandleSer if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -313,7 +313,7 @@ func (m *opListBucketInventoryConfigurationsResolveEndpointMiddleware) HandleSer signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -353,7 +353,7 @@ func (m *opListBucketInventoryConfigurationsResolveEndpointMiddleware) HandleSer func addListBucketInventoryConfigurationsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListBucketInventoryConfigurationsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListBucketMetricsConfigurations.go b/service/s3/api_op_ListBucketMetricsConfigurations.go index c6af645f5b3..e65cf683fca 100644 --- a/service/s3/api_op_ListBucketMetricsConfigurations.go +++ b/service/s3/api_op_ListBucketMetricsConfigurations.go @@ -235,7 +235,7 @@ func addListBucketMetricsConfigurationsUpdateEndpoint(stack *middleware.Stack, o type opListBucketMetricsConfigurationsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListBucketMetricsConfigurationsResolveEndpointMiddleware) ID() string { @@ -290,7 +290,7 @@ func (m *opListBucketMetricsConfigurationsResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -316,7 +316,7 @@ func (m *opListBucketMetricsConfigurationsResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -356,7 +356,7 @@ func (m *opListBucketMetricsConfigurationsResolveEndpointMiddleware) HandleSeria func addListBucketMetricsConfigurationsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListBucketMetricsConfigurationsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListBuckets.go b/service/s3/api_op_ListBuckets.go index 95e91afc3ef..919bdcd092b 100644 --- a/service/s3/api_op_ListBuckets.go +++ b/service/s3/api_op_ListBuckets.go @@ -170,7 +170,7 @@ func addListBucketsUpdateEndpoint(stack *middleware.Stack, options Options) erro type opListBucketsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListBucketsResolveEndpointMiddleware) ID() string { @@ -218,7 +218,7 @@ func (m *opListBucketsResolveEndpointMiddleware) HandleSerialize(ctx context.Con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -244,7 +244,7 @@ func (m *opListBucketsResolveEndpointMiddleware) HandleSerialize(ctx context.Con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -284,7 +284,7 @@ func (m *opListBucketsResolveEndpointMiddleware) HandleSerialize(ctx context.Con func addListBucketsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListBucketsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListMultipartUploads.go b/service/s3/api_op_ListMultipartUploads.go index 996c24ded6b..524a227d3c2 100644 --- a/service/s3/api_op_ListMultipartUploads.go +++ b/service/s3/api_op_ListMultipartUploads.go @@ -321,7 +321,7 @@ func addListMultipartUploadsUpdateEndpoint(stack *middleware.Stack, options Opti type opListMultipartUploadsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListMultipartUploadsResolveEndpointMiddleware) ID() string { @@ -376,7 +376,7 @@ func (m *opListMultipartUploadsResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -402,7 +402,7 @@ func (m *opListMultipartUploadsResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -442,7 +442,7 @@ func (m *opListMultipartUploadsResolveEndpointMiddleware) HandleSerialize(ctx co func addListMultipartUploadsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListMultipartUploadsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListObjectVersions.go b/service/s3/api_op_ListObjectVersions.go index ff3b6ed1a66..25ccfebd9e1 100644 --- a/service/s3/api_op_ListObjectVersions.go +++ b/service/s3/api_op_ListObjectVersions.go @@ -294,7 +294,7 @@ func addListObjectVersionsUpdateEndpoint(stack *middleware.Stack, options Option type opListObjectVersionsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListObjectVersionsResolveEndpointMiddleware) ID() string { @@ -349,7 +349,7 @@ func (m *opListObjectVersionsResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -375,7 +375,7 @@ func (m *opListObjectVersionsResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -415,7 +415,7 @@ func (m *opListObjectVersionsResolveEndpointMiddleware) HandleSerialize(ctx cont func addListObjectVersionsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListObjectVersionsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListObjects.go b/service/s3/api_op_ListObjects.go index c9669e50a15..303eced66fb 100644 --- a/service/s3/api_op_ListObjects.go +++ b/service/s3/api_op_ListObjects.go @@ -295,7 +295,7 @@ func addListObjectsUpdateEndpoint(stack *middleware.Stack, options Options) erro type opListObjectsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListObjectsResolveEndpointMiddleware) ID() string { @@ -350,7 +350,7 @@ func (m *opListObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.Con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -376,7 +376,7 @@ func (m *opListObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.Con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -416,7 +416,7 @@ func (m *opListObjectsResolveEndpointMiddleware) HandleSerialize(ctx context.Con func addListObjectsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListObjectsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListObjectsV2.go b/service/s3/api_op_ListObjectsV2.go index c500e41182e..80a05805c88 100644 --- a/service/s3/api_op_ListObjectsV2.go +++ b/service/s3/api_op_ListObjectsV2.go @@ -420,7 +420,7 @@ func addListObjectsV2UpdateEndpoint(stack *middleware.Stack, options Options) er type opListObjectsV2ResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListObjectsV2ResolveEndpointMiddleware) ID() string { @@ -475,7 +475,7 @@ func (m *opListObjectsV2ResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -501,7 +501,7 @@ func (m *opListObjectsV2ResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -541,7 +541,7 @@ func (m *opListObjectsV2ResolveEndpointMiddleware) HandleSerialize(ctx context.C func addListObjectsV2ResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListObjectsV2ResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_ListParts.go b/service/s3/api_op_ListParts.go index 9a8a44b19bc..d62bf7cef63 100644 --- a/service/s3/api_op_ListParts.go +++ b/service/s3/api_op_ListParts.go @@ -425,7 +425,7 @@ func addListPartsUpdateEndpoint(stack *middleware.Stack, options Options) error type opListPartsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListPartsResolveEndpointMiddleware) ID() string { @@ -480,7 +480,7 @@ func (m *opListPartsResolveEndpointMiddleware) HandleSerialize(ctx context.Conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -506,7 +506,7 @@ func (m *opListPartsResolveEndpointMiddleware) HandleSerialize(ctx context.Conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -546,7 +546,7 @@ func (m *opListPartsResolveEndpointMiddleware) HandleSerialize(ctx context.Conte func addListPartsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListPartsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketAccelerateConfiguration.go b/service/s3/api_op_PutBucketAccelerateConfiguration.go index 20bc7bf7987..3e86ee47e6f 100644 --- a/service/s3/api_op_PutBucketAccelerateConfiguration.go +++ b/service/s3/api_op_PutBucketAccelerateConfiguration.go @@ -251,7 +251,7 @@ func addPutBucketAccelerateConfigurationUpdateEndpoint(stack *middleware.Stack, type opPutBucketAccelerateConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketAccelerateConfigurationResolveEndpointMiddleware) ID() string { @@ -306,7 +306,7 @@ func (m *opPutBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -332,7 +332,7 @@ func (m *opPutBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -372,7 +372,7 @@ func (m *opPutBucketAccelerateConfigurationResolveEndpointMiddleware) HandleSeri func addPutBucketAccelerateConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketAccelerateConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketAcl.go b/service/s3/api_op_PutBucketAcl.go index 83df851fd7b..f16f7f45f45 100644 --- a/service/s3/api_op_PutBucketAcl.go +++ b/service/s3/api_op_PutBucketAcl.go @@ -336,7 +336,7 @@ func addPutBucketAclUpdateEndpoint(stack *middleware.Stack, options Options) err type opPutBucketAclResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketAclResolveEndpointMiddleware) ID() string { @@ -391,7 +391,7 @@ func (m *opPutBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -417,7 +417,7 @@ func (m *opPutBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -457,7 +457,7 @@ func (m *opPutBucketAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addPutBucketAclResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketAclResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketAnalyticsConfiguration.go b/service/s3/api_op_PutBucketAnalyticsConfiguration.go index c5b0dc6d138..9b1f5d78204 100644 --- a/service/s3/api_op_PutBucketAnalyticsConfiguration.go +++ b/service/s3/api_op_PutBucketAnalyticsConfiguration.go @@ -238,7 +238,7 @@ func addPutBucketAnalyticsConfigurationUpdateEndpoint(stack *middleware.Stack, o type opPutBucketAnalyticsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketAnalyticsConfigurationResolveEndpointMiddleware) ID() string { @@ -293,7 +293,7 @@ func (m *opPutBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -319,7 +319,7 @@ func (m *opPutBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -359,7 +359,7 @@ func (m *opPutBucketAnalyticsConfigurationResolveEndpointMiddleware) HandleSeria func addPutBucketAnalyticsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketAnalyticsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketCors.go b/service/s3/api_op_PutBucketCors.go index a050423388e..821e3022807 100644 --- a/service/s3/api_op_PutBucketCors.go +++ b/service/s3/api_op_PutBucketCors.go @@ -265,7 +265,7 @@ func addPutBucketCorsUpdateEndpoint(stack *middleware.Stack, options Options) er type opPutBucketCorsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketCorsResolveEndpointMiddleware) ID() string { @@ -320,7 +320,7 @@ func (m *opPutBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -346,7 +346,7 @@ func (m *opPutBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -386,7 +386,7 @@ func (m *opPutBucketCorsResolveEndpointMiddleware) HandleSerialize(ctx context.C func addPutBucketCorsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketCorsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketEncryption.go b/service/s3/api_op_PutBucketEncryption.go index ff92c17a61b..17217679543 100644 --- a/service/s3/api_op_PutBucketEncryption.go +++ b/service/s3/api_op_PutBucketEncryption.go @@ -264,7 +264,7 @@ func addPutBucketEncryptionUpdateEndpoint(stack *middleware.Stack, options Optio type opPutBucketEncryptionResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketEncryptionResolveEndpointMiddleware) ID() string { @@ -319,7 +319,7 @@ func (m *opPutBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -345,7 +345,7 @@ func (m *opPutBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -385,7 +385,7 @@ func (m *opPutBucketEncryptionResolveEndpointMiddleware) HandleSerialize(ctx con func addPutBucketEncryptionResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketEncryptionResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go index 81476e64e92..3d548765841 100644 --- a/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go +++ b/service/s3/api_op_PutBucketIntelligentTieringConfiguration.go @@ -225,7 +225,7 @@ func addPutBucketIntelligentTieringConfigurationUpdateEndpoint(stack *middleware type opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware) ID() string { @@ -280,7 +280,7 @@ func (m *opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -306,7 +306,7 @@ func (m *opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -346,7 +346,7 @@ func (m *opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware) Ha func addPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketIntelligentTieringConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketInventoryConfiguration.go b/service/s3/api_op_PutBucketInventoryConfiguration.go index 5c24d52cb96..1991e2f6ea1 100644 --- a/service/s3/api_op_PutBucketInventoryConfiguration.go +++ b/service/s3/api_op_PutBucketInventoryConfiguration.go @@ -241,7 +241,7 @@ func addPutBucketInventoryConfigurationUpdateEndpoint(stack *middleware.Stack, o type opPutBucketInventoryConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketInventoryConfigurationResolveEndpointMiddleware) ID() string { @@ -296,7 +296,7 @@ func (m *opPutBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -322,7 +322,7 @@ func (m *opPutBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -362,7 +362,7 @@ func (m *opPutBucketInventoryConfigurationResolveEndpointMiddleware) HandleSeria func addPutBucketInventoryConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketInventoryConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketLifecycleConfiguration.go b/service/s3/api_op_PutBucketLifecycleConfiguration.go index d0e4c5e5a44..5db08de250c 100644 --- a/service/s3/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3/api_op_PutBucketLifecycleConfiguration.go @@ -276,7 +276,7 @@ func addPutBucketLifecycleConfigurationUpdateEndpoint(stack *middleware.Stack, o type opPutBucketLifecycleConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketLifecycleConfigurationResolveEndpointMiddleware) ID() string { @@ -331,7 +331,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -357,7 +357,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -397,7 +397,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria func addPutBucketLifecycleConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketLifecycleConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketLogging.go b/service/s3/api_op_PutBucketLogging.go index 808e234dc57..e68b11f6aaf 100644 --- a/service/s3/api_op_PutBucketLogging.go +++ b/service/s3/api_op_PutBucketLogging.go @@ -266,7 +266,7 @@ func addPutBucketLoggingUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketLoggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketLoggingResolveEndpointMiddleware) ID() string { @@ -321,7 +321,7 @@ func (m *opPutBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -347,7 +347,7 @@ func (m *opPutBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -387,7 +387,7 @@ func (m *opPutBucketLoggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addPutBucketLoggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketLoggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketMetricsConfiguration.go b/service/s3/api_op_PutBucketMetricsConfiguration.go index ac453a3851c..e8ccbfea9b7 100644 --- a/service/s3/api_op_PutBucketMetricsConfiguration.go +++ b/service/s3/api_op_PutBucketMetricsConfiguration.go @@ -222,7 +222,7 @@ func addPutBucketMetricsConfigurationUpdateEndpoint(stack *middleware.Stack, opt type opPutBucketMetricsConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketMetricsConfigurationResolveEndpointMiddleware) ID() string { @@ -277,7 +277,7 @@ func (m *opPutBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -303,7 +303,7 @@ func (m *opPutBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -343,7 +343,7 @@ func (m *opPutBucketMetricsConfigurationResolveEndpointMiddleware) HandleSeriali func addPutBucketMetricsConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketMetricsConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketNotificationConfiguration.go b/service/s3/api_op_PutBucketNotificationConfiguration.go index 911c42f040e..520b0142b0b 100644 --- a/service/s3/api_op_PutBucketNotificationConfiguration.go +++ b/service/s3/api_op_PutBucketNotificationConfiguration.go @@ -233,7 +233,7 @@ func addPutBucketNotificationConfigurationUpdateEndpoint(stack *middleware.Stack type opPutBucketNotificationConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketNotificationConfigurationResolveEndpointMiddleware) ID() string { @@ -288,7 +288,7 @@ func (m *opPutBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -314,7 +314,7 @@ func (m *opPutBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -354,7 +354,7 @@ func (m *opPutBucketNotificationConfigurationResolveEndpointMiddleware) HandleSe func addPutBucketNotificationConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketNotificationConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketOwnershipControls.go b/service/s3/api_op_PutBucketOwnershipControls.go index 450f3341623..a56839fa8b0 100644 --- a/service/s3/api_op_PutBucketOwnershipControls.go +++ b/service/s3/api_op_PutBucketOwnershipControls.go @@ -221,7 +221,7 @@ func addPutBucketOwnershipControlsUpdateEndpoint(stack *middleware.Stack, option type opPutBucketOwnershipControlsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketOwnershipControlsResolveEndpointMiddleware) ID() string { @@ -276,7 +276,7 @@ func (m *opPutBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -302,7 +302,7 @@ func (m *opPutBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -342,7 +342,7 @@ func (m *opPutBucketOwnershipControlsResolveEndpointMiddleware) HandleSerialize( func addPutBucketOwnershipControlsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketOwnershipControlsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketPolicy.go b/service/s3/api_op_PutBucketPolicy.go index df959737f66..b14c93f0218 100644 --- a/service/s3/api_op_PutBucketPolicy.go +++ b/service/s3/api_op_PutBucketPolicy.go @@ -255,7 +255,7 @@ func addPutBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketPolicyResolveEndpointMiddleware) ID() string { @@ -310,7 +310,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -336,7 +336,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -376,7 +376,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context func addPutBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketReplication.go b/service/s3/api_op_PutBucketReplication.go index c1014813796..e3fe250684a 100644 --- a/service/s3/api_op_PutBucketReplication.go +++ b/service/s3/api_op_PutBucketReplication.go @@ -278,7 +278,7 @@ func addPutBucketReplicationUpdateEndpoint(stack *middleware.Stack, options Opti type opPutBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketReplicationResolveEndpointMiddleware) ID() string { @@ -333,7 +333,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -359,7 +359,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -399,7 +399,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co func addPutBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketRequestPayment.go b/service/s3/api_op_PutBucketRequestPayment.go index 48793c16f65..6b8d64211d5 100644 --- a/service/s3/api_op_PutBucketRequestPayment.go +++ b/service/s3/api_op_PutBucketRequestPayment.go @@ -242,7 +242,7 @@ func addPutBucketRequestPaymentUpdateEndpoint(stack *middleware.Stack, options O type opPutBucketRequestPaymentResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketRequestPaymentResolveEndpointMiddleware) ID() string { @@ -297,7 +297,7 @@ func (m *opPutBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -323,7 +323,7 @@ func (m *opPutBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -363,7 +363,7 @@ func (m *opPutBucketRequestPaymentResolveEndpointMiddleware) HandleSerialize(ctx func addPutBucketRequestPaymentResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketRequestPaymentResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketTagging.go b/service/s3/api_op_PutBucketTagging.go index 75df74ef889..7dad9d7e039 100644 --- a/service/s3/api_op_PutBucketTagging.go +++ b/service/s3/api_op_PutBucketTagging.go @@ -270,7 +270,7 @@ func addPutBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketTaggingResolveEndpointMiddleware) ID() string { @@ -325,7 +325,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -351,7 +351,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -391,7 +391,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addPutBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketVersioning.go b/service/s3/api_op_PutBucketVersioning.go index fd86ec8c015..e33030bc562 100644 --- a/service/s3/api_op_PutBucketVersioning.go +++ b/service/s3/api_op_PutBucketVersioning.go @@ -260,7 +260,7 @@ func addPutBucketVersioningUpdateEndpoint(stack *middleware.Stack, options Optio type opPutBucketVersioningResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketVersioningResolveEndpointMiddleware) ID() string { @@ -315,7 +315,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -341,7 +341,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -381,7 +381,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con func addPutBucketVersioningResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketVersioningResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutBucketWebsite.go b/service/s3/api_op_PutBucketWebsite.go index 980023a6285..f1ee83f9305 100644 --- a/service/s3/api_op_PutBucketWebsite.go +++ b/service/s3/api_op_PutBucketWebsite.go @@ -278,7 +278,7 @@ func addPutBucketWebsiteUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketWebsiteResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketWebsiteResolveEndpointMiddleware) ID() string { @@ -333,7 +333,7 @@ func (m *opPutBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -359,7 +359,7 @@ func (m *opPutBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -399,7 +399,7 @@ func (m *opPutBucketWebsiteResolveEndpointMiddleware) HandleSerialize(ctx contex func addPutBucketWebsiteResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketWebsiteResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObject.go b/service/s3/api_op_PutObject.go index 978fe30c72d..391955b5ba3 100644 --- a/service/s3/api_op_PutObject.go +++ b/service/s3/api_op_PutObject.go @@ -614,7 +614,7 @@ func addPutObjectPayloadAsUnsigned(stack *middleware.Stack, options Options) err type opPutObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectResolveEndpointMiddleware) ID() string { @@ -669,7 +669,7 @@ func (m *opPutObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -695,7 +695,7 @@ func (m *opPutObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -735,7 +735,7 @@ func (m *opPutObjectResolveEndpointMiddleware) HandleSerialize(ctx context.Conte func addPutObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObjectAcl.go b/service/s3/api_op_PutObjectAcl.go index c421c740fed..c3962bf1136 100644 --- a/service/s3/api_op_PutObjectAcl.go +++ b/service/s3/api_op_PutObjectAcl.go @@ -380,7 +380,7 @@ func addPutObjectAclUpdateEndpoint(stack *middleware.Stack, options Options) err type opPutObjectAclResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectAclResolveEndpointMiddleware) ID() string { @@ -435,7 +435,7 @@ func (m *opPutObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -461,7 +461,7 @@ func (m *opPutObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -501,7 +501,7 @@ func (m *opPutObjectAclResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addPutObjectAclResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectAclResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObjectLegalHold.go b/service/s3/api_op_PutObjectLegalHold.go index 08a23548c7e..dc20ec66926 100644 --- a/service/s3/api_op_PutObjectLegalHold.go +++ b/service/s3/api_op_PutObjectLegalHold.go @@ -262,7 +262,7 @@ func addPutObjectLegalHoldUpdateEndpoint(stack *middleware.Stack, options Option type opPutObjectLegalHoldResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectLegalHoldResolveEndpointMiddleware) ID() string { @@ -317,7 +317,7 @@ func (m *opPutObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -343,7 +343,7 @@ func (m *opPutObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -383,7 +383,7 @@ func (m *opPutObjectLegalHoldResolveEndpointMiddleware) HandleSerialize(ctx cont func addPutObjectLegalHoldResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectLegalHoldResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObjectLockConfiguration.go b/service/s3/api_op_PutObjectLockConfiguration.go index 5bb4c0f541b..c83022ee58e 100644 --- a/service/s3/api_op_PutObjectLockConfiguration.go +++ b/service/s3/api_op_PutObjectLockConfiguration.go @@ -255,7 +255,7 @@ func addPutObjectLockConfigurationUpdateEndpoint(stack *middleware.Stack, option type opPutObjectLockConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectLockConfigurationResolveEndpointMiddleware) ID() string { @@ -310,7 +310,7 @@ func (m *opPutObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -336,7 +336,7 @@ func (m *opPutObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -376,7 +376,7 @@ func (m *opPutObjectLockConfigurationResolveEndpointMiddleware) HandleSerialize( func addPutObjectLockConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectLockConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObjectRetention.go b/service/s3/api_op_PutObjectRetention.go index 5681e710a86..e57bb3b56d4 100644 --- a/service/s3/api_op_PutObjectRetention.go +++ b/service/s3/api_op_PutObjectRetention.go @@ -269,7 +269,7 @@ func addPutObjectRetentionUpdateEndpoint(stack *middleware.Stack, options Option type opPutObjectRetentionResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectRetentionResolveEndpointMiddleware) ID() string { @@ -324,7 +324,7 @@ func (m *opPutObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -350,7 +350,7 @@ func (m *opPutObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -390,7 +390,7 @@ func (m *opPutObjectRetentionResolveEndpointMiddleware) HandleSerialize(ctx cont func addPutObjectRetentionResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectRetentionResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutObjectTagging.go b/service/s3/api_op_PutObjectTagging.go index c51b131dc12..6a5356fc1db 100644 --- a/service/s3/api_op_PutObjectTagging.go +++ b/service/s3/api_op_PutObjectTagging.go @@ -296,7 +296,7 @@ func addPutObjectTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opPutObjectTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutObjectTaggingResolveEndpointMiddleware) ID() string { @@ -351,7 +351,7 @@ func (m *opPutObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -377,7 +377,7 @@ func (m *opPutObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -417,7 +417,7 @@ func (m *opPutObjectTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addPutObjectTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutObjectTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_PutPublicAccessBlock.go b/service/s3/api_op_PutPublicAccessBlock.go index 205df76a4de..8b8b5b4a40c 100644 --- a/service/s3/api_op_PutPublicAccessBlock.go +++ b/service/s3/api_op_PutPublicAccessBlock.go @@ -254,7 +254,7 @@ func addPutPublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options Opti type opPutPublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutPublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -309,7 +309,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -335,7 +335,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -375,7 +375,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co func addPutPublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutPublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_RestoreObject.go b/service/s3/api_op_RestoreObject.go index 5dadb0e3992..7d52a61ec41 100644 --- a/service/s3/api_op_RestoreObject.go +++ b/service/s3/api_op_RestoreObject.go @@ -411,7 +411,7 @@ func addRestoreObjectUpdateEndpoint(stack *middleware.Stack, options Options) er type opRestoreObjectResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opRestoreObjectResolveEndpointMiddleware) ID() string { @@ -466,7 +466,7 @@ func (m *opRestoreObjectResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -492,7 +492,7 @@ func (m *opRestoreObjectResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -532,7 +532,7 @@ func (m *opRestoreObjectResolveEndpointMiddleware) HandleSerialize(ctx context.C func addRestoreObjectResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opRestoreObjectResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_SelectObjectContent.go b/service/s3/api_op_SelectObjectContent.go index a766cc8b773..4817ddf5ad5 100644 --- a/service/s3/api_op_SelectObjectContent.go +++ b/service/s3/api_op_SelectObjectContent.go @@ -416,7 +416,7 @@ func (es *SelectObjectContentEventStream) waitStreamClose() { type opSelectObjectContentResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opSelectObjectContentResolveEndpointMiddleware) ID() string { @@ -471,7 +471,7 @@ func (m *opSelectObjectContentResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -497,7 +497,7 @@ func (m *opSelectObjectContentResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -537,7 +537,7 @@ func (m *opSelectObjectContentResolveEndpointMiddleware) HandleSerialize(ctx con func addSelectObjectContentResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opSelectObjectContentResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_UploadPart.go b/service/s3/api_op_UploadPart.go index 4c3c9e666bd..5495422274a 100644 --- a/service/s3/api_op_UploadPart.go +++ b/service/s3/api_op_UploadPart.go @@ -491,7 +491,7 @@ func addUploadPartPayloadAsUnsigned(stack *middleware.Stack, options Options) er type opUploadPartResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opUploadPartResolveEndpointMiddleware) ID() string { @@ -546,7 +546,7 @@ func (m *opUploadPartResolveEndpointMiddleware) HandleSerialize(ctx context.Cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -572,7 +572,7 @@ func (m *opUploadPartResolveEndpointMiddleware) HandleSerialize(ctx context.Cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -612,7 +612,7 @@ func (m *opUploadPartResolveEndpointMiddleware) HandleSerialize(ctx context.Cont func addUploadPartResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opUploadPartResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_UploadPartCopy.go b/service/s3/api_op_UploadPartCopy.go index 8543d25d0ac..b710e43d421 100644 --- a/service/s3/api_op_UploadPartCopy.go +++ b/service/s3/api_op_UploadPartCopy.go @@ -420,7 +420,7 @@ func addUploadPartCopyUpdateEndpoint(stack *middleware.Stack, options Options) e type opUploadPartCopyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opUploadPartCopyResolveEndpointMiddleware) ID() string { @@ -475,7 +475,7 @@ func (m *opUploadPartCopyResolveEndpointMiddleware) HandleSerialize(ctx context. if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -501,7 +501,7 @@ func (m *opUploadPartCopyResolveEndpointMiddleware) HandleSerialize(ctx context. signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -541,7 +541,7 @@ func (m *opUploadPartCopyResolveEndpointMiddleware) HandleSerialize(ctx context. func addUploadPartCopyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opUploadPartCopyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/api_op_WriteGetObjectResponse.go b/service/s3/api_op_WriteGetObjectResponse.go index b31943ae091..892a2e98357 100644 --- a/service/s3/api_op_WriteGetObjectResponse.go +++ b/service/s3/api_op_WriteGetObjectResponse.go @@ -455,7 +455,7 @@ func addWriteGetObjectResponseUpdateEndpoint(stack *middleware.Stack, options Op type opWriteGetObjectResponseResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opWriteGetObjectResponseResolveEndpointMiddleware) ID() string { @@ -505,7 +505,7 @@ func (m *opWriteGetObjectResponseResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) ctx = s3cust.SetSignerVersion(ctx, internalauth.SigV4) @@ -531,7 +531,7 @@ func (m *opWriteGetObjectResponseResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -571,7 +571,7 @@ func (m *opWriteGetObjectResponseResolveEndpointMiddleware) HandleSerialize(ctx func addWriteGetObjectResponseResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opWriteGetObjectResponseResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3/endpoints.go b/service/s3/endpoints.go index e9059f785bf..53b4ede5dc3 100644 --- a/service/s3/endpoints.go +++ b/service/s3/endpoints.go @@ -224,15 +224,15 @@ func mapPseudoRegion(pr string) (region string, fips aws.FIPSEndpointState) { return region, fips } -// BuiltInParameterResolver is the interface responsible for resolving BuiltIn +// builtInParameterResolver is the interface responsible for resolving BuiltIn // values during the sourcing of EndpointParameters -type BuiltInParameterResolver interface { +type builtInParameterResolver interface { ResolveBuiltIns(*EndpointParameters) error } -// BuiltInResolver resolves modeled BuiltIn values using only the members defined +// builtInResolver resolves modeled BuiltIn values using only the members defined // below. -type BuiltInResolver struct { +type builtInResolver struct { // The AWS region used to dispatch the request. Region string @@ -267,7 +267,7 @@ type BuiltInResolver struct { // Invoked at runtime to resolve BuiltIn Values. Only resolution code specific to // each BuiltIn value is generated. -func (b *BuiltInResolver) ResolveBuiltIns(params *EndpointParameters) error { +func (b *builtInResolver) ResolveBuiltIns(params *EndpointParameters) error { region, _ := mapPseudoRegion(b.Region) if len(region) == 0 { diff --git a/service/s3control/api_op_CreateAccessPoint.go b/service/s3control/api_op_CreateAccessPoint.go index 8afd40b58a9..97225aec3e9 100644 --- a/service/s3control/api_op_CreateAccessPoint.go +++ b/service/s3control/api_op_CreateAccessPoint.go @@ -301,7 +301,7 @@ func addCreateAccessPointUpdateEndpoint(stack *middleware.Stack, options Options type opCreateAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateAccessPointResolveEndpointMiddleware) ID() string { @@ -360,7 +360,7 @@ func (m *opCreateAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -386,7 +386,7 @@ func (m *opCreateAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -426,7 +426,7 @@ func (m *opCreateAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte func addCreateAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_CreateAccessPointForObjectLambda.go b/service/s3control/api_op_CreateAccessPointForObjectLambda.go index d4abaad8029..c3e6a143b19 100644 --- a/service/s3control/api_op_CreateAccessPointForObjectLambda.go +++ b/service/s3control/api_op_CreateAccessPointForObjectLambda.go @@ -249,7 +249,7 @@ func addCreateAccessPointForObjectLambdaUpdateEndpoint(stack *middleware.Stack, type opCreateAccessPointForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateAccessPointForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -306,7 +306,7 @@ func (m *opCreateAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -332,7 +332,7 @@ func (m *opCreateAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -372,7 +372,7 @@ func (m *opCreateAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri func addCreateAccessPointForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateAccessPointForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_CreateBucket.go b/service/s3control/api_op_CreateBucket.go index 346bb53dfc9..b49142717a0 100644 --- a/service/s3control/api_op_CreateBucket.go +++ b/service/s3control/api_op_CreateBucket.go @@ -266,7 +266,7 @@ func addCreateBucketUpdateEndpoint(stack *middleware.Stack, options Options) err type opCreateBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateBucketResolveEndpointMiddleware) ID() string { @@ -323,7 +323,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -349,7 +349,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -387,7 +387,7 @@ func (m *opCreateBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addCreateBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_CreateJob.go b/service/s3control/api_op_CreateJob.go index 40f77c64249..1067b7e62dd 100644 --- a/service/s3control/api_op_CreateJob.go +++ b/service/s3control/api_op_CreateJob.go @@ -324,7 +324,7 @@ func addCreateJobUpdateEndpoint(stack *middleware.Stack, options Options) error type opCreateJobResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateJobResolveEndpointMiddleware) ID() string { @@ -381,7 +381,7 @@ func (m *opCreateJobResolveEndpointMiddleware) HandleSerialize(ctx context.Conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -407,7 +407,7 @@ func (m *opCreateJobResolveEndpointMiddleware) HandleSerialize(ctx context.Conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -447,7 +447,7 @@ func (m *opCreateJobResolveEndpointMiddleware) HandleSerialize(ctx context.Conte func addCreateJobResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateJobResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_CreateMultiRegionAccessPoint.go b/service/s3control/api_op_CreateMultiRegionAccessPoint.go index ef295a30da7..f7564c7450b 100644 --- a/service/s3control/api_op_CreateMultiRegionAccessPoint.go +++ b/service/s3control/api_op_CreateMultiRegionAccessPoint.go @@ -297,7 +297,7 @@ func addCreateMultiRegionAccessPointUpdateEndpoint(stack *middleware.Stack, opti type opCreateMultiRegionAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateMultiRegionAccessPointResolveEndpointMiddleware) ID() string { @@ -354,7 +354,7 @@ func (m *opCreateMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -380,7 +380,7 @@ func (m *opCreateMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -420,7 +420,7 @@ func (m *opCreateMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ func addCreateMultiRegionAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateMultiRegionAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteAccessPoint.go b/service/s3control/api_op_DeleteAccessPoint.go index 7f38295aa1c..c980e96df4e 100644 --- a/service/s3control/api_op_DeleteAccessPoint.go +++ b/service/s3control/api_op_DeleteAccessPoint.go @@ -271,7 +271,7 @@ func addDeleteAccessPointUpdateEndpoint(stack *middleware.Stack, options Options type opDeleteAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteAccessPointResolveEndpointMiddleware) ID() string { @@ -330,7 +330,7 @@ func (m *opDeleteAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -356,7 +356,7 @@ func (m *opDeleteAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -396,7 +396,7 @@ func (m *opDeleteAccessPointResolveEndpointMiddleware) HandleSerialize(ctx conte func addDeleteAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go index 9bda0aa903c..ded2129fc49 100644 --- a/service/s3control/api_op_DeleteAccessPointForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointForObjectLambda.go @@ -234,7 +234,7 @@ func addDeleteAccessPointForObjectLambdaUpdateEndpoint(stack *middleware.Stack, type opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -291,7 +291,7 @@ func (m *opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -317,7 +317,7 @@ func (m *opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -357,7 +357,7 @@ func (m *opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeri func addDeleteAccessPointForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteAccessPointForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteAccessPointPolicy.go b/service/s3control/api_op_DeleteAccessPointPolicy.go index b2cb535651e..73aa88c0e35 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicy.go +++ b/service/s3control/api_op_DeleteAccessPointPolicy.go @@ -271,7 +271,7 @@ func addDeleteAccessPointPolicyUpdateEndpoint(stack *middleware.Stack, options O type opDeleteAccessPointPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteAccessPointPolicyResolveEndpointMiddleware) ID() string { @@ -330,7 +330,7 @@ func (m *opDeleteAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -356,7 +356,7 @@ func (m *opDeleteAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -396,7 +396,7 @@ func (m *opDeleteAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx func addDeleteAccessPointPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteAccessPointPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go index 23e9ba3b2c3..ee4396ceac6 100644 --- a/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_DeleteAccessPointPolicyForObjectLambda.go @@ -233,7 +233,7 @@ func addDeleteAccessPointPolicyForObjectLambdaUpdateEndpoint(stack *middleware.S type opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -290,7 +290,7 @@ func (m *opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) Hand if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -316,7 +316,7 @@ func (m *opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) Hand signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -356,7 +356,7 @@ func (m *opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) Hand func addDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteAccessPointPolicyForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteBucket.go b/service/s3control/api_op_DeleteBucket.go index e484dfc12ab..c713a5351c7 100644 --- a/service/s3control/api_op_DeleteBucket.go +++ b/service/s3control/api_op_DeleteBucket.go @@ -276,7 +276,7 @@ func addDeleteBucketUpdateEndpoint(stack *middleware.Stack, options Options) err type opDeleteBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketResolveEndpointMiddleware) ID() string { @@ -335,7 +335,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -361,7 +361,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -401,7 +401,7 @@ func (m *opDeleteBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Co func addDeleteBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go index e0713ecd6e1..8935feacf95 100644 --- a/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_DeleteBucketLifecycleConfiguration.go @@ -282,7 +282,7 @@ func addDeleteBucketLifecycleConfigurationUpdateEndpoint(stack *middleware.Stack type opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware) ID() string { @@ -341,7 +341,7 @@ func (m *opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -367,7 +367,7 @@ func (m *opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -407,7 +407,7 @@ func (m *opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSe func addDeleteBucketLifecycleConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketLifecycleConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteBucketPolicy.go b/service/s3control/api_op_DeleteBucketPolicy.go index c2bf04a716e..4d6cf5d0057 100644 --- a/service/s3control/api_op_DeleteBucketPolicy.go +++ b/service/s3control/api_op_DeleteBucketPolicy.go @@ -286,7 +286,7 @@ func addDeleteBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Option type opDeleteBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketPolicyResolveEndpointMiddleware) ID() string { @@ -345,7 +345,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -371,7 +371,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -411,7 +411,7 @@ func (m *opDeleteBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx cont func addDeleteBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteBucketReplication.go b/service/s3control/api_op_DeleteBucketReplication.go index 411969e52a2..e9657db9062 100644 --- a/service/s3control/api_op_DeleteBucketReplication.go +++ b/service/s3control/api_op_DeleteBucketReplication.go @@ -289,7 +289,7 @@ func addDeleteBucketReplicationUpdateEndpoint(stack *middleware.Stack, options O type opDeleteBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketReplicationResolveEndpointMiddleware) ID() string { @@ -348,7 +348,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -374,7 +374,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -414,7 +414,7 @@ func (m *opDeleteBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx func addDeleteBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteBucketTagging.go b/service/s3control/api_op_DeleteBucketTagging.go index de6f24d4301..6aa706ae8bf 100644 --- a/service/s3control/api_op_DeleteBucketTagging.go +++ b/service/s3control/api_op_DeleteBucketTagging.go @@ -275,7 +275,7 @@ func addDeleteBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Optio type opDeleteBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteBucketTaggingResolveEndpointMiddleware) ID() string { @@ -334,7 +334,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -360,7 +360,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -400,7 +400,7 @@ func (m *opDeleteBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx con func addDeleteBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteJobTagging.go b/service/s3control/api_op_DeleteJobTagging.go index 448fe58fd74..ae65eaa6d62 100644 --- a/service/s3control/api_op_DeleteJobTagging.go +++ b/service/s3control/api_op_DeleteJobTagging.go @@ -236,7 +236,7 @@ func addDeleteJobTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opDeleteJobTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteJobTaggingResolveEndpointMiddleware) ID() string { @@ -293,7 +293,7 @@ func (m *opDeleteJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -319,7 +319,7 @@ func (m *opDeleteJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -359,7 +359,7 @@ func (m *opDeleteJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addDeleteJobTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteJobTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go index 6919f274814..1dae6a7a5cc 100644 --- a/service/s3control/api_op_DeleteMultiRegionAccessPoint.go +++ b/service/s3control/api_op_DeleteMultiRegionAccessPoint.go @@ -295,7 +295,7 @@ func addDeleteMultiRegionAccessPointUpdateEndpoint(stack *middleware.Stack, opti type opDeleteMultiRegionAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteMultiRegionAccessPointResolveEndpointMiddleware) ID() string { @@ -352,7 +352,7 @@ func (m *opDeleteMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -378,7 +378,7 @@ func (m *opDeleteMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -418,7 +418,7 @@ func (m *opDeleteMultiRegionAccessPointResolveEndpointMiddleware) HandleSerializ func addDeleteMultiRegionAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteMultiRegionAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeletePublicAccessBlock.go b/service/s3control/api_op_DeletePublicAccessBlock.go index bcfee7a7e1a..5f1e432a278 100644 --- a/service/s3control/api_op_DeletePublicAccessBlock.go +++ b/service/s3control/api_op_DeletePublicAccessBlock.go @@ -229,7 +229,7 @@ func addDeletePublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options O type opDeletePublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeletePublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -286,7 +286,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -312,7 +312,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -352,7 +352,7 @@ func (m *opDeletePublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx func addDeletePublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeletePublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteStorageLensConfiguration.go b/service/s3control/api_op_DeleteStorageLensConfiguration.go index 51064c686d9..d493abe256b 100644 --- a/service/s3control/api_op_DeleteStorageLensConfiguration.go +++ b/service/s3control/api_op_DeleteStorageLensConfiguration.go @@ -235,7 +235,7 @@ func addDeleteStorageLensConfigurationUpdateEndpoint(stack *middleware.Stack, op type opDeleteStorageLensConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteStorageLensConfigurationResolveEndpointMiddleware) ID() string { @@ -292,7 +292,7 @@ func (m *opDeleteStorageLensConfigurationResolveEndpointMiddleware) HandleSerial if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -318,7 +318,7 @@ func (m *opDeleteStorageLensConfigurationResolveEndpointMiddleware) HandleSerial signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -358,7 +358,7 @@ func (m *opDeleteStorageLensConfigurationResolveEndpointMiddleware) HandleSerial func addDeleteStorageLensConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteStorageLensConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go index 67f252a1365..c9bbf3ac481 100644 --- a/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_DeleteStorageLensConfigurationTagging.go @@ -235,7 +235,7 @@ func addDeleteStorageLensConfigurationTaggingUpdateEndpoint(stack *middleware.St type opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware) ID() string { @@ -292,7 +292,7 @@ func (m *opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware) Handl if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -318,7 +318,7 @@ func (m *opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware) Handl signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -358,7 +358,7 @@ func (m *opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware) Handl func addDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteStorageLensConfigurationTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DescribeJob.go b/service/s3control/api_op_DescribeJob.go index b638b146055..026bce6d3cf 100644 --- a/service/s3control/api_op_DescribeJob.go +++ b/service/s3control/api_op_DescribeJob.go @@ -241,7 +241,7 @@ func addDescribeJobUpdateEndpoint(stack *middleware.Stack, options Options) erro type opDescribeJobResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDescribeJobResolveEndpointMiddleware) ID() string { @@ -298,7 +298,7 @@ func (m *opDescribeJobResolveEndpointMiddleware) HandleSerialize(ctx context.Con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -324,7 +324,7 @@ func (m *opDescribeJobResolveEndpointMiddleware) HandleSerialize(ctx context.Con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -364,7 +364,7 @@ func (m *opDescribeJobResolveEndpointMiddleware) HandleSerialize(ctx context.Con func addDescribeJobResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDescribeJobResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go index 065b121f499..f5945fcd1a3 100644 --- a/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go +++ b/service/s3control/api_op_DescribeMultiRegionAccessPointOperation.go @@ -249,7 +249,7 @@ func addDescribeMultiRegionAccessPointOperationUpdateEndpoint(stack *middleware. type opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware) ID() string { @@ -306,7 +306,7 @@ func (m *opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware) Han if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -332,7 +332,7 @@ func (m *opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware) Han signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -372,7 +372,7 @@ func (m *opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware) Han func addDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDescribeMultiRegionAccessPointOperationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPoint.go b/service/s3control/api_op_GetAccessPoint.go index d27fbf5678e..3ca5e8475cf 100644 --- a/service/s3control/api_op_GetAccessPoint.go +++ b/service/s3control/api_op_GetAccessPoint.go @@ -319,7 +319,7 @@ func addGetAccessPointUpdateEndpoint(stack *middleware.Stack, options Options) e type opGetAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointResolveEndpointMiddleware) ID() string { @@ -378,7 +378,7 @@ func (m *opGetAccessPointResolveEndpointMiddleware) HandleSerialize(ctx context. if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -404,7 +404,7 @@ func (m *opGetAccessPointResolveEndpointMiddleware) HandleSerialize(ctx context. signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -444,7 +444,7 @@ func (m *opGetAccessPointResolveEndpointMiddleware) HandleSerialize(ctx context. func addGetAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go index abbdd00eee3..19719f60ce9 100644 --- a/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointConfigurationForObjectLambda.go @@ -238,7 +238,7 @@ func addGetAccessPointConfigurationForObjectLambdaUpdateEndpoint(stack *middlewa type opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -295,7 +295,7 @@ func (m *opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -321,7 +321,7 @@ func (m *opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -361,7 +361,7 @@ func (m *opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) func addGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointForObjectLambda.go b/service/s3control/api_op_GetAccessPointForObjectLambda.go index 9abcdb35208..a4fa4ef4314 100644 --- a/service/s3control/api_op_GetAccessPointForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointForObjectLambda.go @@ -250,7 +250,7 @@ func addGetAccessPointForObjectLambdaUpdateEndpoint(stack *middleware.Stack, opt type opGetAccessPointForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -307,7 +307,7 @@ func (m *opGetAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeriali if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -333,7 +333,7 @@ func (m *opGetAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeriali signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -373,7 +373,7 @@ func (m *opGetAccessPointForObjectLambdaResolveEndpointMiddleware) HandleSeriali func addGetAccessPointForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointPolicy.go b/service/s3control/api_op_GetAccessPointPolicy.go index c99ddceaecf..c386d984eb9 100644 --- a/service/s3control/api_op_GetAccessPointPolicy.go +++ b/service/s3control/api_op_GetAccessPointPolicy.go @@ -269,7 +269,7 @@ func addGetAccessPointPolicyUpdateEndpoint(stack *middleware.Stack, options Opti type opGetAccessPointPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointPolicyResolveEndpointMiddleware) ID() string { @@ -328,7 +328,7 @@ func (m *opGetAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -354,7 +354,7 @@ func (m *opGetAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -394,7 +394,7 @@ func (m *opGetAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co func addGetAccessPointPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go index ecaa1bd83df..8ad1ccec132 100644 --- a/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyForObjectLambda.go @@ -237,7 +237,7 @@ func addGetAccessPointPolicyForObjectLambdaUpdateEndpoint(stack *middleware.Stac type opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -294,7 +294,7 @@ func (m *opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -320,7 +320,7 @@ func (m *opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -360,7 +360,7 @@ func (m *opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS func addGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointPolicyForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointPolicyStatus.go b/service/s3control/api_op_GetAccessPointPolicyStatus.go index 224f422fb23..7066514f78f 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatus.go @@ -237,7 +237,7 @@ func addGetAccessPointPolicyStatusUpdateEndpoint(stack *middleware.Stack, option type opGetAccessPointPolicyStatusResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointPolicyStatusResolveEndpointMiddleware) ID() string { @@ -296,7 +296,7 @@ func (m *opGetAccessPointPolicyStatusResolveEndpointMiddleware) HandleSerialize( if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -322,7 +322,7 @@ func (m *opGetAccessPointPolicyStatusResolveEndpointMiddleware) HandleSerialize( signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -362,7 +362,7 @@ func (m *opGetAccessPointPolicyStatusResolveEndpointMiddleware) HandleSerialize( func addGetAccessPointPolicyStatusResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointPolicyStatusResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go index c1c6de967e1..d82866de434 100644 --- a/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go +++ b/service/s3control/api_op_GetAccessPointPolicyStatusForObjectLambda.go @@ -239,7 +239,7 @@ func addGetAccessPointPolicyStatusForObjectLambdaUpdateEndpoint(stack *middlewar type opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -296,7 +296,7 @@ func (m *opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware) H if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -322,7 +322,7 @@ func (m *opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware) H signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -362,7 +362,7 @@ func (m *opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware) H func addGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetAccessPointPolicyStatusForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucket.go b/service/s3control/api_op_GetBucket.go index 4e080f4596f..d78e0854a5d 100644 --- a/service/s3control/api_op_GetBucket.go +++ b/service/s3control/api_op_GetBucket.go @@ -292,7 +292,7 @@ func addGetBucketUpdateEndpoint(stack *middleware.Stack, options Options) error type opGetBucketResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketResolveEndpointMiddleware) ID() string { @@ -351,7 +351,7 @@ func (m *opGetBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -377,7 +377,7 @@ func (m *opGetBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -417,7 +417,7 @@ func (m *opGetBucketResolveEndpointMiddleware) HandleSerialize(ctx context.Conte func addGetBucketResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucketLifecycleConfiguration.go b/service/s3control/api_op_GetBucketLifecycleConfiguration.go index 8e936cbaa58..860a0ddc7f2 100644 --- a/service/s3control/api_op_GetBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_GetBucketLifecycleConfiguration.go @@ -293,7 +293,7 @@ func addGetBucketLifecycleConfigurationUpdateEndpoint(stack *middleware.Stack, o type opGetBucketLifecycleConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketLifecycleConfigurationResolveEndpointMiddleware) ID() string { @@ -352,7 +352,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -378,7 +378,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -418,7 +418,7 @@ func (m *opGetBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria func addGetBucketLifecycleConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketLifecycleConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucketPolicy.go b/service/s3control/api_op_GetBucketPolicy.go index 6c5782e5e4f..f0b61310537 100644 --- a/service/s3control/api_op_GetBucketPolicy.go +++ b/service/s3control/api_op_GetBucketPolicy.go @@ -290,7 +290,7 @@ func addGetBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketPolicyResolveEndpointMiddleware) ID() string { @@ -349,7 +349,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -375,7 +375,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -415,7 +415,7 @@ func (m *opGetBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context func addGetBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucketReplication.go b/service/s3control/api_op_GetBucketReplication.go index 97b31183faf..8bf10b97ecb 100644 --- a/service/s3control/api_op_GetBucketReplication.go +++ b/service/s3control/api_op_GetBucketReplication.go @@ -299,7 +299,7 @@ func addGetBucketReplicationUpdateEndpoint(stack *middleware.Stack, options Opti type opGetBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketReplicationResolveEndpointMiddleware) ID() string { @@ -358,7 +358,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -384,7 +384,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -424,7 +424,7 @@ func (m *opGetBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co func addGetBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucketTagging.go b/service/s3control/api_op_GetBucketTagging.go index 0e62c41d9c4..e8bd4fd3f2f 100644 --- a/service/s3control/api_op_GetBucketTagging.go +++ b/service/s3control/api_op_GetBucketTagging.go @@ -287,7 +287,7 @@ func addGetBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opGetBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketTaggingResolveEndpointMiddleware) ID() string { @@ -346,7 +346,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -372,7 +372,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -412,7 +412,7 @@ func (m *opGetBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addGetBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetBucketVersioning.go b/service/s3control/api_op_GetBucketVersioning.go index 09b318e0ce2..eec3ad6399e 100644 --- a/service/s3control/api_op_GetBucketVersioning.go +++ b/service/s3control/api_op_GetBucketVersioning.go @@ -282,7 +282,7 @@ func addGetBucketVersioningUpdateEndpoint(stack *middleware.Stack, options Optio type opGetBucketVersioningResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetBucketVersioningResolveEndpointMiddleware) ID() string { @@ -341,7 +341,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -367,7 +367,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -407,7 +407,7 @@ func (m *opGetBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con func addGetBucketVersioningResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetBucketVersioningResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetJobTagging.go b/service/s3control/api_op_GetJobTagging.go index a193320d090..6cdb92e2fa8 100644 --- a/service/s3control/api_op_GetJobTagging.go +++ b/service/s3control/api_op_GetJobTagging.go @@ -240,7 +240,7 @@ func addGetJobTaggingUpdateEndpoint(stack *middleware.Stack, options Options) er type opGetJobTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetJobTaggingResolveEndpointMiddleware) ID() string { @@ -297,7 +297,7 @@ func (m *opGetJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -323,7 +323,7 @@ func (m *opGetJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -363,7 +363,7 @@ func (m *opGetJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C func addGetJobTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetJobTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetMultiRegionAccessPoint.go b/service/s3control/api_op_GetMultiRegionAccessPoint.go index 5e4397f95b8..e94874ec7a0 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPoint.go +++ b/service/s3control/api_op_GetMultiRegionAccessPoint.go @@ -252,7 +252,7 @@ func addGetMultiRegionAccessPointUpdateEndpoint(stack *middleware.Stack, options type opGetMultiRegionAccessPointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetMultiRegionAccessPointResolveEndpointMiddleware) ID() string { @@ -309,7 +309,7 @@ func (m *opGetMultiRegionAccessPointResolveEndpointMiddleware) HandleSerialize(c if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -335,7 +335,7 @@ func (m *opGetMultiRegionAccessPointResolveEndpointMiddleware) HandleSerialize(c signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -375,7 +375,7 @@ func (m *opGetMultiRegionAccessPointResolveEndpointMiddleware) HandleSerialize(c func addGetMultiRegionAccessPointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetMultiRegionAccessPointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go index cf1d022be2d..16f21dee457 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicy.go @@ -249,7 +249,7 @@ func addGetMultiRegionAccessPointPolicyUpdateEndpoint(stack *middleware.Stack, o type opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware) ID() string { @@ -306,7 +306,7 @@ func (m *opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -332,7 +332,7 @@ func (m *opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -372,7 +372,7 @@ func (m *opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria func addGetMultiRegionAccessPointPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetMultiRegionAccessPointPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go index c8954f40803..5954fd75825 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointPolicyStatus.go @@ -252,7 +252,7 @@ func addGetMultiRegionAccessPointPolicyStatusUpdateEndpoint(stack *middleware.St type opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware) ID() string { @@ -309,7 +309,7 @@ func (m *opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware) Handl if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -335,7 +335,7 @@ func (m *opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware) Handl signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -375,7 +375,7 @@ func (m *opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware) Handl func addGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetMultiRegionAccessPointPolicyStatusResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go index 233d38608dd..a5302b92f8d 100644 --- a/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_GetMultiRegionAccessPointRoutes.go @@ -252,7 +252,7 @@ func addGetMultiRegionAccessPointRoutesUpdateEndpoint(stack *middleware.Stack, o type opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware) ID() string { @@ -309,7 +309,7 @@ func (m *opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -335,7 +335,7 @@ func (m *opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -375,7 +375,7 @@ func (m *opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSeria func addGetMultiRegionAccessPointRoutesResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetMultiRegionAccessPointRoutesResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetPublicAccessBlock.go b/service/s3control/api_op_GetPublicAccessBlock.go index 9ebd8aef5ed..8c79ae5cce9 100644 --- a/service/s3control/api_op_GetPublicAccessBlock.go +++ b/service/s3control/api_op_GetPublicAccessBlock.go @@ -235,7 +235,7 @@ func addGetPublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options Opti type opGetPublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetPublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -292,7 +292,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -318,7 +318,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -358,7 +358,7 @@ func (m *opGetPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co func addGetPublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetPublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetStorageLensConfiguration.go b/service/s3control/api_op_GetStorageLensConfiguration.go index db117d63719..4c78011133f 100644 --- a/service/s3control/api_op_GetStorageLensConfiguration.go +++ b/service/s3control/api_op_GetStorageLensConfiguration.go @@ -241,7 +241,7 @@ func addGetStorageLensConfigurationUpdateEndpoint(stack *middleware.Stack, optio type opGetStorageLensConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetStorageLensConfigurationResolveEndpointMiddleware) ID() string { @@ -298,7 +298,7 @@ func (m *opGetStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -324,7 +324,7 @@ func (m *opGetStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -364,7 +364,7 @@ func (m *opGetStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize func addGetStorageLensConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetStorageLensConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_GetStorageLensConfigurationTagging.go b/service/s3control/api_op_GetStorageLensConfigurationTagging.go index f661e3013d8..0d031eea89f 100644 --- a/service/s3control/api_op_GetStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_GetStorageLensConfigurationTagging.go @@ -240,7 +240,7 @@ func addGetStorageLensConfigurationTaggingUpdateEndpoint(stack *middleware.Stack type opGetStorageLensConfigurationTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opGetStorageLensConfigurationTaggingResolveEndpointMiddleware) ID() string { @@ -297,7 +297,7 @@ func (m *opGetStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -323,7 +323,7 @@ func (m *opGetStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -363,7 +363,7 @@ func (m *opGetStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe func addGetStorageLensConfigurationTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opGetStorageLensConfigurationTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListAccessPoints.go b/service/s3control/api_op_ListAccessPoints.go index a02faa9b2f8..3e46be7fe9d 100644 --- a/service/s3control/api_op_ListAccessPoints.go +++ b/service/s3control/api_op_ListAccessPoints.go @@ -385,7 +385,7 @@ func addListAccessPointsUpdateEndpoint(stack *middleware.Stack, options Options) type opListAccessPointsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListAccessPointsResolveEndpointMiddleware) ID() string { @@ -444,7 +444,7 @@ func (m *opListAccessPointsResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -470,7 +470,7 @@ func (m *opListAccessPointsResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -510,7 +510,7 @@ func (m *opListAccessPointsResolveEndpointMiddleware) HandleSerialize(ctx contex func addListAccessPointsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListAccessPointsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListAccessPointsForObjectLambda.go b/service/s3control/api_op_ListAccessPointsForObjectLambda.go index 71ae8372f7b..5521836d679 100644 --- a/service/s3control/api_op_ListAccessPointsForObjectLambda.go +++ b/service/s3control/api_op_ListAccessPointsForObjectLambda.go @@ -347,7 +347,7 @@ func addListAccessPointsForObjectLambdaUpdateEndpoint(stack *middleware.Stack, o type opListAccessPointsForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListAccessPointsForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -404,7 +404,7 @@ func (m *opListAccessPointsForObjectLambdaResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -430,7 +430,7 @@ func (m *opListAccessPointsForObjectLambdaResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -470,7 +470,7 @@ func (m *opListAccessPointsForObjectLambdaResolveEndpointMiddleware) HandleSeria func addListAccessPointsForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListAccessPointsForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListJobs.go b/service/s3control/api_op_ListJobs.go index 0b33bec8b01..4ac0f1cb8f9 100644 --- a/service/s3control/api_op_ListJobs.go +++ b/service/s3control/api_op_ListJobs.go @@ -348,7 +348,7 @@ func addListJobsUpdateEndpoint(stack *middleware.Stack, options Options) error { type opListJobsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListJobsResolveEndpointMiddleware) ID() string { @@ -405,7 +405,7 @@ func (m *opListJobsResolveEndpointMiddleware) HandleSerialize(ctx context.Contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -431,7 +431,7 @@ func (m *opListJobsResolveEndpointMiddleware) HandleSerialize(ctx context.Contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -471,7 +471,7 @@ func (m *opListJobsResolveEndpointMiddleware) HandleSerialize(ctx context.Contex func addListJobsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListJobsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListMultiRegionAccessPoints.go b/service/s3control/api_op_ListMultiRegionAccessPoints.go index afbeb698118..061b37c2a0c 100644 --- a/service/s3control/api_op_ListMultiRegionAccessPoints.go +++ b/service/s3control/api_op_ListMultiRegionAccessPoints.go @@ -346,7 +346,7 @@ func addListMultiRegionAccessPointsUpdateEndpoint(stack *middleware.Stack, optio type opListMultiRegionAccessPointsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListMultiRegionAccessPointsResolveEndpointMiddleware) ID() string { @@ -403,7 +403,7 @@ func (m *opListMultiRegionAccessPointsResolveEndpointMiddleware) HandleSerialize if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -429,7 +429,7 @@ func (m *opListMultiRegionAccessPointsResolveEndpointMiddleware) HandleSerialize signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -469,7 +469,7 @@ func (m *opListMultiRegionAccessPointsResolveEndpointMiddleware) HandleSerialize func addListMultiRegionAccessPointsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListMultiRegionAccessPointsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListRegionalBuckets.go b/service/s3control/api_op_ListRegionalBuckets.go index d6848c097c3..044103c992d 100644 --- a/service/s3control/api_op_ListRegionalBuckets.go +++ b/service/s3control/api_op_ListRegionalBuckets.go @@ -348,7 +348,7 @@ func addListRegionalBucketsUpdateEndpoint(stack *middleware.Stack, options Optio type opListRegionalBucketsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListRegionalBucketsResolveEndpointMiddleware) ID() string { @@ -407,7 +407,7 @@ func (m *opListRegionalBucketsResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -433,7 +433,7 @@ func (m *opListRegionalBucketsResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -473,7 +473,7 @@ func (m *opListRegionalBucketsResolveEndpointMiddleware) HandleSerialize(ctx con func addListRegionalBucketsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListRegionalBucketsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_ListStorageLensConfigurations.go b/service/s3control/api_op_ListStorageLensConfigurations.go index 3105a91176d..254b7c972b6 100644 --- a/service/s3control/api_op_ListStorageLensConfigurations.go +++ b/service/s3control/api_op_ListStorageLensConfigurations.go @@ -324,7 +324,7 @@ func addListStorageLensConfigurationsUpdateEndpoint(stack *middleware.Stack, opt type opListStorageLensConfigurationsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListStorageLensConfigurationsResolveEndpointMiddleware) ID() string { @@ -381,7 +381,7 @@ func (m *opListStorageLensConfigurationsResolveEndpointMiddleware) HandleSeriali if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -407,7 +407,7 @@ func (m *opListStorageLensConfigurationsResolveEndpointMiddleware) HandleSeriali signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -447,7 +447,7 @@ func (m *opListStorageLensConfigurationsResolveEndpointMiddleware) HandleSeriali func addListStorageLensConfigurationsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListStorageLensConfigurationsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go index 794c729f1c2..75e51d67128 100644 --- a/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointConfigurationForObjectLambda.go @@ -238,7 +238,7 @@ func addPutAccessPointConfigurationForObjectLambdaUpdateEndpoint(stack *middlewa type opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -295,7 +295,7 @@ func (m *opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -321,7 +321,7 @@ func (m *opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -361,7 +361,7 @@ func (m *opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware) func addPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutAccessPointConfigurationForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutAccessPointPolicy.go b/service/s3control/api_op_PutAccessPointPolicy.go index 8352c975599..dd9882c5dac 100644 --- a/service/s3control/api_op_PutAccessPointPolicy.go +++ b/service/s3control/api_op_PutAccessPointPolicy.go @@ -282,7 +282,7 @@ func addPutAccessPointPolicyUpdateEndpoint(stack *middleware.Stack, options Opti type opPutAccessPointPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutAccessPointPolicyResolveEndpointMiddleware) ID() string { @@ -341,7 +341,7 @@ func (m *opPutAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -367,7 +367,7 @@ func (m *opPutAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -407,7 +407,7 @@ func (m *opPutAccessPointPolicyResolveEndpointMiddleware) HandleSerialize(ctx co func addPutAccessPointPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutAccessPointPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go index bdf1403b076..f4e7820e9f7 100644 --- a/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go +++ b/service/s3control/api_op_PutAccessPointPolicyForObjectLambda.go @@ -240,7 +240,7 @@ func addPutAccessPointPolicyForObjectLambdaUpdateEndpoint(stack *middleware.Stac type opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) ID() string { @@ -297,7 +297,7 @@ func (m *opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -323,7 +323,7 @@ func (m *opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -363,7 +363,7 @@ func (m *opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware) HandleS func addPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutAccessPointPolicyForObjectLambdaResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutBucketLifecycleConfiguration.go b/service/s3control/api_op_PutBucketLifecycleConfiguration.go index c558e0ff05e..65a361535a7 100644 --- a/service/s3control/api_op_PutBucketLifecycleConfiguration.go +++ b/service/s3control/api_op_PutBucketLifecycleConfiguration.go @@ -275,7 +275,7 @@ func addPutBucketLifecycleConfigurationUpdateEndpoint(stack *middleware.Stack, o type opPutBucketLifecycleConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketLifecycleConfigurationResolveEndpointMiddleware) ID() string { @@ -334,7 +334,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -360,7 +360,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -400,7 +400,7 @@ func (m *opPutBucketLifecycleConfigurationResolveEndpointMiddleware) HandleSeria func addPutBucketLifecycleConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketLifecycleConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutBucketPolicy.go b/service/s3control/api_op_PutBucketPolicy.go index 70239611ba0..fe22eb693db 100644 --- a/service/s3control/api_op_PutBucketPolicy.go +++ b/service/s3control/api_op_PutBucketPolicy.go @@ -298,7 +298,7 @@ func addPutBucketPolicyUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketPolicyResolveEndpointMiddleware) ID() string { @@ -357,7 +357,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -383,7 +383,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -423,7 +423,7 @@ func (m *opPutBucketPolicyResolveEndpointMiddleware) HandleSerialize(ctx context func addPutBucketPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutBucketReplication.go b/service/s3control/api_op_PutBucketReplication.go index 3340d0ce575..736aba0efd5 100644 --- a/service/s3control/api_op_PutBucketReplication.go +++ b/service/s3control/api_op_PutBucketReplication.go @@ -325,7 +325,7 @@ func addPutBucketReplicationUpdateEndpoint(stack *middleware.Stack, options Opti type opPutBucketReplicationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketReplicationResolveEndpointMiddleware) ID() string { @@ -384,7 +384,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -410,7 +410,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -450,7 +450,7 @@ func (m *opPutBucketReplicationResolveEndpointMiddleware) HandleSerialize(ctx co func addPutBucketReplicationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketReplicationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutBucketTagging.go b/service/s3control/api_op_PutBucketTagging.go index cfd674acfad..4901f8f7867 100644 --- a/service/s3control/api_op_PutBucketTagging.go +++ b/service/s3control/api_op_PutBucketTagging.go @@ -315,7 +315,7 @@ func addPutBucketTaggingUpdateEndpoint(stack *middleware.Stack, options Options) type opPutBucketTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketTaggingResolveEndpointMiddleware) ID() string { @@ -374,7 +374,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -400,7 +400,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -440,7 +440,7 @@ func (m *opPutBucketTaggingResolveEndpointMiddleware) HandleSerialize(ctx contex func addPutBucketTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutBucketVersioning.go b/service/s3control/api_op_PutBucketVersioning.go index 884e5ad862b..073fbe5555b 100644 --- a/service/s3control/api_op_PutBucketVersioning.go +++ b/service/s3control/api_op_PutBucketVersioning.go @@ -300,7 +300,7 @@ func addPutBucketVersioningUpdateEndpoint(stack *middleware.Stack, options Optio type opPutBucketVersioningResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutBucketVersioningResolveEndpointMiddleware) ID() string { @@ -359,7 +359,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -385,7 +385,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -425,7 +425,7 @@ func (m *opPutBucketVersioningResolveEndpointMiddleware) HandleSerialize(ctx con func addPutBucketVersioningResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutBucketVersioningResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutJobTagging.go b/service/s3control/api_op_PutJobTagging.go index 09271c29b32..e9348b13363 100644 --- a/service/s3control/api_op_PutJobTagging.go +++ b/service/s3control/api_op_PutJobTagging.go @@ -267,7 +267,7 @@ func addPutJobTaggingUpdateEndpoint(stack *middleware.Stack, options Options) er type opPutJobTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutJobTaggingResolveEndpointMiddleware) ID() string { @@ -324,7 +324,7 @@ func (m *opPutJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -350,7 +350,7 @@ func (m *opPutJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -390,7 +390,7 @@ func (m *opPutJobTaggingResolveEndpointMiddleware) HandleSerialize(ctx context.C func addPutJobTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutJobTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go index 06e7e078ad6..4e6b050606f 100644 --- a/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go +++ b/service/s3control/api_op_PutMultiRegionAccessPointPolicy.go @@ -292,7 +292,7 @@ func addPutMultiRegionAccessPointPolicyUpdateEndpoint(stack *middleware.Stack, o type opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware) ID() string { @@ -349,7 +349,7 @@ func (m *opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -375,7 +375,7 @@ func (m *opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -415,7 +415,7 @@ func (m *opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware) HandleSeria func addPutMultiRegionAccessPointPolicyResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutMultiRegionAccessPointPolicyResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutPublicAccessBlock.go b/service/s3control/api_op_PutPublicAccessBlock.go index 9b7a132dd19..17089fb8788 100644 --- a/service/s3control/api_op_PutPublicAccessBlock.go +++ b/service/s3control/api_op_PutPublicAccessBlock.go @@ -238,7 +238,7 @@ func addPutPublicAccessBlockUpdateEndpoint(stack *middleware.Stack, options Opti type opPutPublicAccessBlockResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutPublicAccessBlockResolveEndpointMiddleware) ID() string { @@ -295,7 +295,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -321,7 +321,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -361,7 +361,7 @@ func (m *opPutPublicAccessBlockResolveEndpointMiddleware) HandleSerialize(ctx co func addPutPublicAccessBlockResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutPublicAccessBlockResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutStorageLensConfiguration.go b/service/s3control/api_op_PutStorageLensConfiguration.go index 06cf4280df1..ce3fdd1593a 100644 --- a/service/s3control/api_op_PutStorageLensConfiguration.go +++ b/service/s3control/api_op_PutStorageLensConfiguration.go @@ -246,7 +246,7 @@ func addPutStorageLensConfigurationUpdateEndpoint(stack *middleware.Stack, optio type opPutStorageLensConfigurationResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutStorageLensConfigurationResolveEndpointMiddleware) ID() string { @@ -303,7 +303,7 @@ func (m *opPutStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -329,7 +329,7 @@ func (m *opPutStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -369,7 +369,7 @@ func (m *opPutStorageLensConfigurationResolveEndpointMiddleware) HandleSerialize func addPutStorageLensConfigurationResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutStorageLensConfigurationResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_PutStorageLensConfigurationTagging.go b/service/s3control/api_op_PutStorageLensConfigurationTagging.go index 91042df272c..1c6565eb8b3 100644 --- a/service/s3control/api_op_PutStorageLensConfigurationTagging.go +++ b/service/s3control/api_op_PutStorageLensConfigurationTagging.go @@ -242,7 +242,7 @@ func addPutStorageLensConfigurationTaggingUpdateEndpoint(stack *middleware.Stack type opPutStorageLensConfigurationTaggingResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opPutStorageLensConfigurationTaggingResolveEndpointMiddleware) ID() string { @@ -299,7 +299,7 @@ func (m *opPutStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -325,7 +325,7 @@ func (m *opPutStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -365,7 +365,7 @@ func (m *opPutStorageLensConfigurationTaggingResolveEndpointMiddleware) HandleSe func addPutStorageLensConfigurationTaggingResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opPutStorageLensConfigurationTaggingResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go index d8dca5d5a80..a58c93538c7 100644 --- a/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go +++ b/service/s3control/api_op_SubmitMultiRegionAccessPointRoutes.go @@ -260,7 +260,7 @@ func addSubmitMultiRegionAccessPointRoutesUpdateEndpoint(stack *middleware.Stack type opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware) ID() string { @@ -317,7 +317,7 @@ func (m *opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSe if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -343,7 +343,7 @@ func (m *opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSe signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -383,7 +383,7 @@ func (m *opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware) HandleSe func addSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opSubmitMultiRegionAccessPointRoutesResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_UpdateJobPriority.go b/service/s3control/api_op_UpdateJobPriority.go index eb7a3cf3ee2..1e84bea927e 100644 --- a/service/s3control/api_op_UpdateJobPriority.go +++ b/service/s3control/api_op_UpdateJobPriority.go @@ -251,7 +251,7 @@ func addUpdateJobPriorityUpdateEndpoint(stack *middleware.Stack, options Options type opUpdateJobPriorityResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opUpdateJobPriorityResolveEndpointMiddleware) ID() string { @@ -308,7 +308,7 @@ func (m *opUpdateJobPriorityResolveEndpointMiddleware) HandleSerialize(ctx conte if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -334,7 +334,7 @@ func (m *opUpdateJobPriorityResolveEndpointMiddleware) HandleSerialize(ctx conte signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -374,7 +374,7 @@ func (m *opUpdateJobPriorityResolveEndpointMiddleware) HandleSerialize(ctx conte func addUpdateJobPriorityResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opUpdateJobPriorityResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/api_op_UpdateJobStatus.go b/service/s3control/api_op_UpdateJobStatus.go index ccef818b615..4dd0ce2bc9d 100644 --- a/service/s3control/api_op_UpdateJobStatus.go +++ b/service/s3control/api_op_UpdateJobStatus.go @@ -256,7 +256,7 @@ func addUpdateJobStatusUpdateEndpoint(stack *middleware.Stack, options Options) type opUpdateJobStatusResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opUpdateJobStatusResolveEndpointMiddleware) ID() string { @@ -313,7 +313,7 @@ func (m *opUpdateJobStatusResolveEndpointMiddleware) HandleSerialize(ctx context if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -339,7 +339,7 @@ func (m *opUpdateJobStatusResolveEndpointMiddleware) HandleSerialize(ctx context signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -379,7 +379,7 @@ func (m *opUpdateJobStatusResolveEndpointMiddleware) HandleSerialize(ctx context func addUpdateJobStatusResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opUpdateJobStatusResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, diff --git a/service/s3control/endpoints.go b/service/s3control/endpoints.go index 14b94393ef5..7d17e549e61 100644 --- a/service/s3control/endpoints.go +++ b/service/s3control/endpoints.go @@ -224,15 +224,15 @@ func mapPseudoRegion(pr string) (region string, fips aws.FIPSEndpointState) { return region, fips } -// BuiltInParameterResolver is the interface responsible for resolving BuiltIn +// builtInParameterResolver is the interface responsible for resolving BuiltIn // values during the sourcing of EndpointParameters -type BuiltInParameterResolver interface { +type builtInParameterResolver interface { ResolveBuiltIns(*EndpointParameters) error } -// BuiltInResolver resolves modeled BuiltIn values using only the members defined +// builtInResolver resolves modeled BuiltIn values using only the members defined // below. -type BuiltInResolver struct { +type builtInResolver struct { // The AWS region used to dispatch the request. Region string @@ -253,7 +253,7 @@ type BuiltInResolver struct { // Invoked at runtime to resolve BuiltIn Values. Only resolution code specific to // each BuiltIn value is generated. -func (b *BuiltInResolver) ResolveBuiltIns(params *EndpointParameters) error { +func (b *builtInResolver) ResolveBuiltIns(params *EndpointParameters) error { region, _ := mapPseudoRegion(b.Region) if len(region) == 0 { diff --git a/service/s3outposts/api_op_CreateEndpoint.go b/service/s3outposts/api_op_CreateEndpoint.go index 48a69dde821..de432d138c7 100644 --- a/service/s3outposts/api_op_CreateEndpoint.go +++ b/service/s3outposts/api_op_CreateEndpoint.go @@ -164,7 +164,7 @@ func newServiceMetadataMiddleware_opCreateEndpoint(region string) *awsmiddleware type opCreateEndpointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opCreateEndpointResolveEndpointMiddleware) ID() string { @@ -212,7 +212,7 @@ func (m *opCreateEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3-outposts" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -238,7 +238,7 @@ func (m *opCreateEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -276,7 +276,7 @@ func (m *opCreateEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. func addCreateEndpointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opCreateEndpointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, diff --git a/service/s3outposts/api_op_DeleteEndpoint.go b/service/s3outposts/api_op_DeleteEndpoint.go index b6764d1ba5b..3319350b609 100644 --- a/service/s3outposts/api_op_DeleteEndpoint.go +++ b/service/s3outposts/api_op_DeleteEndpoint.go @@ -142,7 +142,7 @@ func newServiceMetadataMiddleware_opDeleteEndpoint(region string) *awsmiddleware type opDeleteEndpointResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opDeleteEndpointResolveEndpointMiddleware) ID() string { @@ -190,7 +190,7 @@ func (m *opDeleteEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3-outposts" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -216,7 +216,7 @@ func (m *opDeleteEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -254,7 +254,7 @@ func (m *opDeleteEndpointResolveEndpointMiddleware) HandleSerialize(ctx context. func addDeleteEndpointResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opDeleteEndpointResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, diff --git a/service/s3outposts/api_op_ListEndpoints.go b/service/s3outposts/api_op_ListEndpoints.go index 1c642c5622d..8d8c7a28574 100644 --- a/service/s3outposts/api_op_ListEndpoints.go +++ b/service/s3outposts/api_op_ListEndpoints.go @@ -230,7 +230,7 @@ func newServiceMetadataMiddleware_opListEndpoints(region string) *awsmiddleware. type opListEndpointsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListEndpointsResolveEndpointMiddleware) ID() string { @@ -278,7 +278,7 @@ func (m *opListEndpointsResolveEndpointMiddleware) HandleSerialize(ctx context.C if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3-outposts" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -304,7 +304,7 @@ func (m *opListEndpointsResolveEndpointMiddleware) HandleSerialize(ctx context.C signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -342,7 +342,7 @@ func (m *opListEndpointsResolveEndpointMiddleware) HandleSerialize(ctx context.C func addListEndpointsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListEndpointsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, diff --git a/service/s3outposts/api_op_ListOutpostsWithS3.go b/service/s3outposts/api_op_ListOutpostsWithS3.go index ebe25b221a7..bde5c9d0877 100644 --- a/service/s3outposts/api_op_ListOutpostsWithS3.go +++ b/service/s3outposts/api_op_ListOutpostsWithS3.go @@ -235,7 +235,7 @@ func newServiceMetadataMiddleware_opListOutpostsWithS3(region string) *awsmiddle type opListOutpostsWithS3ResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListOutpostsWithS3ResolveEndpointMiddleware) ID() string { @@ -283,7 +283,7 @@ func (m *opListOutpostsWithS3ResolveEndpointMiddleware) HandleSerialize(ctx cont if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3-outposts" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -309,7 +309,7 @@ func (m *opListOutpostsWithS3ResolveEndpointMiddleware) HandleSerialize(ctx cont signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -347,7 +347,7 @@ func (m *opListOutpostsWithS3ResolveEndpointMiddleware) HandleSerialize(ctx cont func addListOutpostsWithS3ResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListOutpostsWithS3ResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, diff --git a/service/s3outposts/api_op_ListSharedEndpoints.go b/service/s3outposts/api_op_ListSharedEndpoints.go index ceb49abf2ba..6b4de2a7b6c 100644 --- a/service/s3outposts/api_op_ListSharedEndpoints.go +++ b/service/s3outposts/api_op_ListSharedEndpoints.go @@ -242,7 +242,7 @@ func newServiceMetadataMiddleware_opListSharedEndpoints(region string) *awsmiddl type opListSharedEndpointsResolveEndpointMiddleware struct { EndpointResolver EndpointResolverV2 - BuiltInResolver BuiltInParameterResolver + BuiltInResolver builtInParameterResolver } func (*opListSharedEndpointsResolveEndpointMiddleware) ID() string { @@ -290,7 +290,7 @@ func (m *opListSharedEndpointsResolveEndpointMiddleware) HandleSerialize(ctx con if errors.As(err, &nfe) { // if no auth scheme is found, default to sigv4 signingName := "s3-outposts" - signingRegion := m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion := m.BuiltInResolver.(*builtInResolver).Region ctx = awsmiddleware.SetSigningName(ctx, signingName) ctx = awsmiddleware.SetSigningRegion(ctx, signingRegion) @@ -316,7 +316,7 @@ func (m *opListSharedEndpointsResolveEndpointMiddleware) HandleSerialize(ctx con signingName = *v4Scheme.SigningName } if v4Scheme.SigningRegion == nil { - signingRegion = m.BuiltInResolver.(*BuiltInResolver).Region + signingRegion = m.BuiltInResolver.(*builtInResolver).Region } else { signingRegion = *v4Scheme.SigningRegion } @@ -354,7 +354,7 @@ func (m *opListSharedEndpointsResolveEndpointMiddleware) HandleSerialize(ctx con func addListSharedEndpointsResolveEndpointMiddleware(stack *middleware.Stack, options Options) error { return stack.Serialize.Insert(&opListSharedEndpointsResolveEndpointMiddleware{ EndpointResolver: options.EndpointResolverV2, - BuiltInResolver: &BuiltInResolver{ + BuiltInResolver: &builtInResolver{ Region: options.Region, UseDualStack: options.EndpointOptions.UseDualStackEndpoint, UseFIPS: options.EndpointOptions.UseFIPSEndpoint, diff --git a/service/s3outposts/endpoints.go b/service/s3outposts/endpoints.go index 0b3dedfc490..173b7e8e6bd 100644 --- a/service/s3outposts/endpoints.go +++ b/service/s3outposts/endpoints.go @@ -214,15 +214,15 @@ func mapPseudoRegion(pr string) (region string, fips aws.FIPSEndpointState) { return region, fips } -// BuiltInParameterResolver is the interface responsible for resolving BuiltIn +// builtInParameterResolver is the interface responsible for resolving BuiltIn // values during the sourcing of EndpointParameters -type BuiltInParameterResolver interface { +type builtInParameterResolver interface { ResolveBuiltIns(*EndpointParameters) error } -// BuiltInResolver resolves modeled BuiltIn values using only the members defined +// builtInResolver resolves modeled BuiltIn values using only the members defined // below. -type BuiltInResolver struct { +type builtInResolver struct { // The AWS region used to dispatch the request. Region string @@ -238,7 +238,7 @@ type BuiltInResolver struct { // Invoked at runtime to resolve BuiltIn Values. Only resolution code specific to // each BuiltIn value is generated. -func (b *BuiltInResolver) ResolveBuiltIns(params *EndpointParameters) error { +func (b *builtInResolver) ResolveBuiltIns(params *EndpointParameters) error { region, _ := mapPseudoRegion(b.Region) if len(region) == 0 {