AWS singlesignon documentation change
Summary
Added examples section with sample request/response for ListGroupMembershipsForMember API, removed introductory note about member account access
Security assessment
Change adds API usage examples but removes security context about member account access limitations. No evidence of addressing a specific vulnerability or adding security features.
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMembershipsForMember.md b/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMembershipsForMember.md index 2deea598d..7f0fa5731 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMembershipsForMember.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMembershipsForMember.md @@ -5 +5 @@ -Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsSee Also +Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsExamplesSee Also @@ -9,6 +8,0 @@ Request SyntaxRequest ParametersResponse SyntaxResponse ElementsErrorsSee Also -For the specified member in the specified identity store, returns the list of all `GroupMembership` objects and returns results in paginated form. - -###### Note - -If you have access to a member account, you can use this API operation from the member account. For more information, see [Limiting access to the identity store from member accounts](https://docs.aws.amazon.com/singlesignon/latest/userguide/manage-your-accounts.html#limiting-access-from-member-accounts) in the _AWS IAM Identity Center User Guide_. - @@ -156,0 +151,43 @@ HTTP Status Code: 400 +## Examples + +### Example + +This example lists the two group memberships for the specified user. + +#### Sample Request + + + { + "IdentityStoreId": "d-1234567890", + "MemberId": { + "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + "MaxResults": 100, + "NextToken": "" + } + + +#### Sample Response + + + { + "GroupMemberships": [ + { + "IdentityStoreId": "d-1234567890", + "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", + "GroupId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", + "MemberId": { + "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + } + }, + { + "IdentityStoreId": "d-1234567890", + "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", + "GroupId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", + "MemberId": { + "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + } + } + ] + } +