Skip to content

Commit

Permalink
Fix broken S3 tests (#2203)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita committed Jul 25, 2023
1 parent 1b46a62 commit cd8f541
Show file tree
Hide file tree
Showing 98 changed files with 257 additions and 153 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,17 +194,20 @@ private GoWriter.Writable generateSigV4AResolution(ServiceShape serviceShape) {
if (serviceId.equalsIgnoreCase("S3")) {
writer.write(
"""
ctx = $T(ctx, v4aScheme.Name)
ctx = $T(ctx, $T)
""",
SymbolUtils.createValueSymbolBuilder("SetSignerVersion", AwsCustomGoDependency.S3_CUSTOMIZATION).build()
SymbolUtils.createValueSymbolBuilder("SetSignerVersion", AwsCustomGoDependency.S3_CUSTOMIZATION).build(),
SymbolUtils.createValueSymbolBuilder("Version", AwsGoDependency.INTERNAL_SIGV4A).build()
);
} else if (serviceId.equalsIgnoreCase("EventBridge")) {
writer.write(
"""
ctx = $T(ctx, v4aScheme.Name)
ctx = $T(ctx, $T)
""",
SymbolUtils.createValueSymbolBuilder("SetSignerVersion", AwsCustomGoDependency.EVENTBRIDGE_CUSTOMIZATION).build()
); } else {
SymbolUtils.createValueSymbolBuilder("SetSignerVersion", AwsCustomGoDependency.EVENTBRIDGE_CUSTOMIZATION).build(),
SymbolUtils.createValueSymbolBuilder("Version", AwsGoDependency.INTERNAL_SIGV4A).build()
);
} else {
writer.write("");
}
};
Expand Down
3 changes: 2 additions & 1 deletion service/s3/api_op_AbortMultipartUpload.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_CompleteMultipartUpload.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_CopyObject.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_CreateBucket.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_CreateMultipartUpload.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucket.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketAnalyticsConfiguration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketCors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketEncryption.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketInventoryConfiguration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketLifecycle.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketMetricsConfiguration.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketOwnershipControls.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketPolicy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketReplication.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketTagging.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteBucketWebsite.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteObject.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteObjectTagging.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeleteObjects.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion service/s3/api_op_DeletePublicAccessBlock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cd8f541

Please sign in to comment.