Skip to content

Conversation

liramon1
Copy link
Contributor

@liramon1 liramon1 commented Jul 18, 2025

Problem

The IAM type changes are behind the changes in aws/language-servers#1869 and aws/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 aws:main Jul 29, 2025
4 checks passed
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