Skip to content

Conversation

@peterrsongg
Copy link
Contributor

@peterrsongg peterrsongg commented Dec 9, 2025

Description

Generates PutBucketTagging

Assembly Comparison Output (MpuObject size changed to a nulalble int) will call this out in changelog


Motivation and Context

Testing

DRY RUN: DRY_RUN-e581806f-264b-46d0-a331-1318e27c2273

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have read the README document
  • I have added tests to cover my changes
  • All new and existing tests passed

License

  • I confirm that this pull request can be released under the Apache 2 license

stack-info: PR: #4210, branch: peterrsongg/petesong/phase-3-pr5-rebased-2/7
@peterrsongg peterrsongg force-pushed the peterrsongg/petesong/phase-3-pr5-rebased-2/7 branch from 1591b62 to e3669ed Compare December 9, 2025 01:47
@peterrsongg peterrsongg force-pushed the peterrsongg/petesong/phase-3-pr5-rebased-2/6 branch from 8302e87 to 749a49d Compare December 9, 2025 01:47
peterrsongg added a commit that referenced this pull request Dec 9, 2025
stack-info: PR: #4210, branch: peterrsongg/petesong/phase-3-pr5-rebased-2/7
xmlWriter.WriteStartElement("TagSet");
foreach (var publicRequestTaggingTagSetValue in publicRequestTaggingTagSet)
{
if (publicRequestTaggingTagSetValue != null)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this change is intentional. I tested that the behavior is the same service side if a null value is set for TagSet but the original custom code uses this custom method

https://github.com/aws/aws-sdk-net/blob/4.0.0.0/sdk/src/Services/S3/Custom/Model/Internal/MarshallTransformations/PutObjectTaggingRequestMarshaller.cs#L70

which eventually also does this same thing. Behavior wise, nothing changed but since PutBucketTagging also needs to do the same thing and it shares this shape. Adding the customization skipXmlIsSet affects other operations too.

xmlWriter.WriteStartElement("TagSet");
foreach (var publicRequestOutputLocationS3TaggingTagSetValue in publicRequestOutputLocationS3TaggingTagSet)
{
if (publicRequestOutputLocationS3TaggingTagSetValue != null)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

same comment as above. behavior is the same

@peterrsongg peterrsongg closed this Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant