Skip to content

refactor: sync types with IAM authentication changes - #626

Merged
awschristou merged 20 commits into
Amazon-Q-Developer:mainfrom
liramon1:iam-revision
Jul 29, 2025
Merged

awschristou merged 20 commits into
Amazon-Q-Developer:mainfrom
liramon1:iam-revision

Conversation

@liramon1

@liramon1 liramon1 commented Jul 18, 2025

Copy link
Copy Markdown

Problem

The IAM type changes are behind the changes in Amazon-Q-Developer/language-servers#1869 and Amazon-Q-Developer/language-servers#1846. As a result, the language-servers PRs are unable to compile.

Solution

This is part of #572.

  • Rename validatePermissions to permissionSets and make it accept a list of permissions instead of validating only 1 set of permissions
  • Wrap credentials from getIamCredentialResult into an intermediate object
  • Add credentials override and additional error codes to getIamCredentials
  • Add mfaSerial to GetMfaSerialResult and optionalize it in GetMfaSerialParams

License

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

@liramon1
liramon1 requested a review from a team as a code owner July 18, 2025 15:42
@liramon1 liramon1 changed the title refactor: rename fields on getIamCredential params and result refactor: sync types with IAM authentication changes Jul 28, 2025
@awschristou
awschristou merged commit 844b206 into Amazon-Q-Developer:main Jul 29, 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.

3 participants