-
Notifications
You must be signed in to change notification settings - Fork 656
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
identitystore: missing Active
attribute using ListUsers
#2320
Comments
AWS SDKs are generated from models owned by service teams. In effect, the list of supported operations and their inputs/outputs (including how response fields are deserialized) are moderated externally to the SDKs. Console- and internal- only operations/fields exist, I'm not familiar with these APIs but that is potentially the cause of the missing field here. |
hello @lucix-aws , thanks for your answer Indeed checking on the CLI Maybe I can try a ticket to the support then? (we never know, Christmas isn't that far) |
Hi @optplx , Just to add to what @lucix-aws have mentioned. From the looks of it, the https://up.sso.eu-west-1.amazonaws.com/identitystore/ is an endpoint owned by the SSO (IAM identity center) not the IdentityStore team. Additionally, after digging internally I can see a model that is somewhat corresponds with this shape you shared here:
Unfortunately this model is not available under the IdentityStore namespace and even if the IdentityStore team updates their model, that particular team does not have service side support. This will have to be a feature request opened with the SSO / identityStore service teams. You can try to use AWS console to open a support ticket and file this feature request. Since this is not actionable by the SDK team, Im inclined to close this. If you decide to open the feature request please refer the support person to this thread. All the best, |
|
Describe the bug
I can't find a way to determine if a SSO user is active or not
Expected Behavior
In the
User
struct of thegithub.com/aws/aws-sdk-go-v2/service/identitystore
package, I expected to find a boolean for theActive
attribute.In the console, there is a call to https://up.sso.eu-west-1.amazonaws.com/identitystore/ returning a list of users with this boolean for each user
Current Behavior
Currently I can't find any way to check this attribute with this SDK (I am maybe missing something here)
Reproduction Steps
using this snippet, line 13 would not work
Possible Solution
If possible, marshall this attribute in the json struct. I don't know the codebase well but I can have a look if you give me some pointers here
Additional Information/Context
willing to contribute if this helps
AWS Go SDK V2 Module Versions Used
v1.18.3
Compiler and Version used
go version go1.19.3
Operating System and version
darwin/amd64
The text was updated successfully, but these errors were encountered: