Skip to content

feat: Credential feature IDs #945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 21, 2025
Merged

feat: Credential feature IDs #945

merged 6 commits into from
Jul 21, 2025

Conversation

sichanyoo
Copy link
Contributor

@sichanyoo sichanyoo commented Jul 2, 2025

Corresponding PR:

Issue #

2302

Description of changes

  • Adds properties field to identity types.

Scope

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@@ -6,8 +6,10 @@
//

import struct Foundation.Date
import struct Smithy.Attributes
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adds grab-bag property called properties to AWSCredentialIdentity. For now it's only used for business metrics feature IDs for credentials. Feature IDs are AWS specific and so this property bag acts as a way to keep smithy-swift generic. Not to mention it allows maximum flexibility for miscellaneous values not fundamental to credential object itself, in case SDK needs to store even more misc. AWS specific values with credential objects down the line.

All the other changes in this PR is just to accommodate this addition to the protocol.

@jbelkins jbelkins self-requested a review July 7, 2025 20:49
@sichanyoo sichanyoo merged commit fcae2a1 into main Jul 21, 2025
33 checks passed
@sichanyoo sichanyoo deleted the feat/creds-feature-metrics branch July 21, 2025 16:24
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.

2 participants