Skip to content
Open
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
3 changes: 2 additions & 1 deletion generator/ServiceClientGeneratorLib/ServiceModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,8 @@ public List<Operation> S3AllowListOperations
new Operation(this, "CreateBucketMetadataConfiguration",DocumentRoot[OperationsKey]["CreateBucketMetadataConfiguration"]),
new Operation(this, "GetBucketMetadataConfiguration", DocumentRoot[OperationsKey]["GetBucketMetadataConfiguration"]),
new Operation(this, "DeleteBucketMetadataConfiguration", DocumentRoot[OperationsKey]["DeleteBucketMetadataConfiguration"]),
new Operation(this, "ListObjects", DocumentRoot[OperationsKey]["ListObjects"])
new Operation(this, "ListObjects", DocumentRoot[OperationsKey]["ListObjects"]),
new Operation(this,"UpdateBucketMetadataJournalTableConfiguration", DocumentRoot[OperationsKey]["UpdateBucketMetadataJournalTableConfiguration"])
Comment on lines +579 to +580
Copy link

Copilot AI Dec 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is missing a required dev config file. According to CONTRIBUTING.md, all pull requests that modify code MUST include a DevConfig file in generator/.DevConfigs/ directory. This is essential for the release process and changelog generation.

For this change, you should create a dev config with a "major" type (breaking change) since the AssemblyComparer output shows removed methods (ConfigurationState, EncryptionConfiguration) and the operation signature has changed. Example structure:

{
  "services": [
    {
      "serviceName": "S3",
      "type": "major",
      "changeLogMessages": [
        "**Breaking Change** Fixed UpdateBucketMetadataJournalTableConfiguration operation to use correct API shape. Previous implementation used incorrect properties and did not work. Update code to use RecordExpiration property instead of ConfigurationState and EncryptionConfiguration."
      ],
      "backwardIncompatibilitiesToIgnore": [
        "Amazon.S3.Model.JournalTableConfigurationUpdates/MethodRemoved"
      ]
    }
  ]
}

See https://github.com/aws/aws-sdk-net/blob/main/CONTRIBUTING.md for details.

Copilot generated this review using guidance from repository custom instructions.
};
}
return _s3AllowListOperations.Where(operation => operation.data != null).ToList();
Expand Down
11 changes: 11 additions & 0 deletions generator/ServiceModels/s3/s3.customizations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1255,6 +1255,17 @@
"EncodingType":{"emitPropertyName":"Encoding"}
}
]
},
"UpdateBucketMetadataJournalTableConfigurationRequest":{
"modify":[
{
"ContentMD5":{"injectXmlIsSet":["return !String.IsNullOrEmpty(this._contentMD5);"]}
},
{
"ExpectedBucketOwner":{"injectXmlIsSet":["return !String.IsNullOrEmpty(this._expectedBucketOwner);"]}
}

]
}

},
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading