You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWSCredentialIdentityResolver currently requires that the developer import SmithyIdentity. There is benefit in encouraging developers to write code that's flexible about credential identity resolvers, both for current utility but also to better support future credential identity provider types that may be added.
Use Case
I'm writing library code that wants to accept input parameters of type any AWSCredentialIdentityResolver, so the program can use any credential identity resolver type from the same function.
Proposed Solution
Since we are trying to avoid requiring developers to import any of the Smithy modules directly, we should add a typealias for this type in AWSSDKIdentity.
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
The text was updated successfully, but these errors were encountered:
shepazon
changed the title
Add type alias for SmithyIdentity.AWSCredentialIdentityResolver
Add typealias for SmithyIdentity.AWSCredentialIdentityResolver
Oct 14, 2024
Describe the feature
AWSCredentialIdentityResolver
currently requires that the developerimport SmithyIdentity
. There is benefit in encouraging developers to write code that's flexible about credential identity resolvers, both for current utility but also to better support future credential identity provider types that may be added.Use Case
I'm writing library code that wants to accept input parameters of type
any AWSCredentialIdentityResolver
, so the program can use any credential identity resolver type from the same function.Proposed Solution
Since we are trying to avoid requiring developers to import any of the Smithy modules directly, we should add a
typealias
for this type inAWSSDKIdentity
.Other Information
No response
Acknowledgements
The text was updated successfully, but these errors were encountered: