AWS singlesignon documentation change
Summary
Added examples section with sample request/response for ListGroupMemberships API, removed introductory note about member account access
Security assessment
Change adds API usage examples but removes a security-related note about limiting access from member accounts. However, there's no evidence this addresses an active security vulnerability or adds new security documentation.
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md b/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md index 8a03d6f63..349da50d7 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.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 group 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_. - @@ -158,0 +153,42 @@ HTTP Status Code: 400 +## Examples + +### Example + +This example lists the two users who are members of the specified group. + +#### Sample Request + + + { + "IdentityStoreId": "d-9067f85685", + "GroupId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", + "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" + } + } + ] + } + +