Skip to content

Implement support for new UpdateObjectEncryption API & bump Go to 1.25#2204

Open
rraulinio wants to merge 13 commits intominio:masterfrom
rraulinio:cli_#395
Open

Implement support for new UpdateObjectEncryption API & bump Go to 1.25#2204
rraulinio wants to merge 13 commits intominio:masterfrom
rraulinio:cli_#395

Conversation

@rraulinio
Copy link
Member

@rraulinio rraulinio commented Feb 12, 2026

Implement support for new UpdateObjectEncryption API in relation to the CLI.

Ref: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateObjectEncryption.html

@rraulinio rraulinio marked this pull request as draft February 12, 2026 12:13
@rraulinio rraulinio self-assigned this Feb 12, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Go SDK support for a new UpdateObjectEncryption operation by introducing a dedicated client API and accompanying unit tests.

Changes:

  • Introduce Client.UpdateObjectEncryption with request XML marshaling and request execution logic.
  • Add unit tests covering XML roundtrip, success path, optional versionId behavior, and error handling.
  • Update repo metadata (go.mod Go version, .gitignore vendor ignore).

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
go.mod Bumps the module go version directive.
api-update-object-encryption.go Adds the UpdateObjectEncryption API implementation and request/option types.
api-update-object-encryption_test.go Adds unit tests for request XML and HTTP behavior.
.gitignore Ignores vendor/ directory.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rraulinio rraulinio changed the title Implement CLI support for new UpdateObjectEncryption API Implement support for new UpdateObjectEncryption API Feb 12, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rraulinio rraulinio marked this pull request as ready for review February 19, 2026 12:25
@rraulinio
Copy link
Member Author

rraulinio commented Feb 19, 2026

Added a few small changes for some workflows also, getting them up to date.

@rraulinio rraulinio requested a review from klauspost February 19, 2026 15:01
@rraulinio rraulinio changed the title Implement support for new UpdateObjectEncryption API Implement support for new UpdateObjectEncryption API & bump Go to 1.25 Feb 19, 2026
@rraulinio rraulinio requested review from klauspost and removed request for klauspost February 24, 2026 12:28
Copy link
Contributor

@klauspost klauspost left a comment

Choose a reason for hiding this comment

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

lgtm

@rraulinio rraulinio requested review from harshavardhana and removed request for harshavardhana February 25, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants