Skip to content

Commit ba5a08f

Browse files
authored
fix: S3 HeadObject NotFound error never being returned (#2139)
1 parent 9fd4e02 commit ba5a08f

File tree

5 files changed

+15
-61
lines changed

5 files changed

+15
-61
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "d9de6f3d-d7c1-46c9-9666-48ecda1fa2a8",
3+
"type": "bugfix",
4+
"description": "Fix HeadObject to return types.Nound when an object does not exist. Fixes [2084](https://github.com/aws/aws-sdk-go-v2/issues/2084)",
5+
"modules": [
6+
"service/s3"
7+
]
8+
}

codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/customization/S3HeadObjectCustomizations.java

-45
This file was deleted.

codegen/smithy-aws-go-codegen/src/main/resources/META-INF/services/software.amazon.smithy.go.codegen.integration.GoIntegration

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ software.amazon.smithy.aws.go.codegen.customization.S3AcceptEncodingGzip
3232
software.amazon.smithy.aws.go.codegen.customization.KinesisCustomizations
3333
software.amazon.smithy.aws.go.codegen.customization.S3ErrorWith200Status
3434
software.amazon.smithy.aws.go.codegen.customization.Route53Customizations
35-
software.amazon.smithy.aws.go.codegen.customization.S3HeadObjectCustomizations
3635
software.amazon.smithy.aws.go.codegen.customization.PresignURLAutoFill
3736
software.amazon.smithy.aws.go.codegen.customization.S3ExportInternalFeatures
3837
software.amazon.smithy.aws.go.codegen.customization.S3ControlEndpointResolver

service/s3/api_op_HeadObject.go

+4-15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

service/s3/deserializers.go

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)