Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .changelog/3BE795A2-340F-4D5A-B237-8CE604BCB8E9.json

This file was deleted.

8 changes: 8 additions & 0 deletions .changelog/470a22d1d8304095b12f990c45e9f951.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "470a22d1-d830-4095-b12f-990c45e9f951",
"type": "bugfix",
"description": "Add missing AccountIDEndpointMode binding to endpoint resolution.",
"modules": [
"service/dynamodb"
]
}
10 changes: 0 additions & 10 deletions .changelog/adfe779a-b5b4-44bd-8e23-5cdb4db5aef8.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public class AwsEndpointBuiltins implements GoIntegration {
goTemplate("$T(options.DisableMultiRegionAccessPoints)", SdkGoTypes.Aws.Bool);
private static final GoWriter.Writable BindAccountID =
goTemplate("resolveAccountID(getIdentity(ctx), options.AccountIDEndpointMode)");
private static final GoWriter.Writable BindAccountIDEndpointMode =
goTemplate("$T(string(options.AccountIDEndpointMode))", SdkGoTypes.Aws.String);

@Override
public List<RuntimeClientPlugin> getClientPlugins() {
Expand All @@ -55,6 +57,7 @@ public List<RuntimeClientPlugin> getClientPlugins() {
.addEndpointBuiltinBinding("AWS::S3::DisableMultiRegionAccessPoints", BindAwsS3DisableMultiRegionAccessPoints)
.addEndpointBuiltinBinding("AWS::S3Control::UseArnRegion", BindAwsS3UseArnRegion)
.addEndpointBuiltinBinding("AWS::Auth::AccountId", BindAccountID)
.addEndpointBuiltinBinding("AWS::Auth::AccountIdEndpointMode", BindAccountIDEndpointMode)
.build());
}

Expand Down
1 change: 1 addition & 0 deletions service/dynamodb/endpoints.go

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