AWS singlesignon: Identity Store ListGroupMemberships: ARN identifiers and MembershipArn field
Summary
Documents that GroupId and IdentityStoreId may be given as IDs or ARNs (with updated length limits and regex patterns), adds the MembershipArn field to the GroupMembership response example, expands the ResourceType enum with GROUP_MEMBERSHIP and RESOURCE_POLICY, and rewords the pagination token description.
Security assessment
The diff adds ARN-form identifiers and a new MembershipArn response attribute plus enum values and example/pagination wording. This is API reference surface documentation (identifier formats and response fields), not a description of a vulnerability, credential exposure, or a security best practice, so no security issue or security documentation is evidenced.
Evidence
+ "MembershipArn": "arn:aws:identitystore:::membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333",
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md b/singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md index 64bf4f5..316e55d 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_ListGroupMemberships.md @@ -37,0 +38,2 @@ The identifier for a group in the identity store. +You can specify the group by ID or by Amazon Resource Name (ARN). For example, group ID `a1b2c3d4-5678-90ab-cdef-EXAMPLE22222` or group ARN `arn:aws:identitystore:::group/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222`. + @@ -40 +42 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 47. +Length Constraints: Minimum length of 1. Maximum length of 100. @@ -42 +44 @@ Length Constraints: Minimum length of 1. Maximum length of 47. -Pattern: `([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` +Pattern: `(arn:aws[a-z-]*:identitystore:::(user|group|membership)/)?([0-9a-f]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}` @@ -50,0 +53,2 @@ The globally unique identifier for the identity store. +You can specify the identity store by ID or by Amazon Resource Name (ARN). For example, identity store ID `d-1234567890` or identity store ARN `arn:aws:identitystore::111122223333:identitystore/d-1234567890`. + @@ -53 +57 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 36. +Length Constraints: Minimum length of 1. Maximum length of 93. @@ -55 +59 @@ Length Constraints: Minimum length of 1. Maximum length of 36. -Pattern: `d-[0-9a-f]{10}$|^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}` +Pattern: `(arn:aws[a-z-]*:identitystore::\d{12}:identitystore/)?(d-[0-9a-f]{10}|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})` @@ -73 +77 @@ Required: No -The pagination token used for the `ListUsers`, `ListGroups` and ` ListGroupMemberships` API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page. +The pagination token used for the `ListUsers`, `ListGroups` and ` ListGroupMemberships` API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to retrieve the next page of results. @@ -93,0 +98 @@ Required: No + "[MembershipArn](./API_GroupMembership.html#singlesignon-Type-GroupMembership-MembershipArn)": "**_string_** ", @@ -118 +123 @@ Type: Array of [GroupMembership](./API_GroupMembership.html) objects -The pagination token used for the `ListUsers`, `ListGroups`, and ` ListGroupMemberships` API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to search for the next page. +The pagination token used for the `ListUsers`, `ListGroups`, and ` ListGroupMemberships` API operations. This value is generated by the identity store service. It is returned in the API response if the total results are more than the size of one page. This token is also returned when it is used in the API request to retrieve the next page of results. @@ -187 +192 @@ The identifier for a resource in the identity store that can be used as `UserId` -An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, and IDENTITY_STORE. +An enum object indicating the type of resource in the identity store service. Valid values include USER, GROUP, GROUP_MEMBERSHIP, RESOURCE_POLICY, and IDENTITY_STORE. @@ -240 +245 @@ This example lists the two users who are members of the specified group. - "IdentityStoreId": "d-9067f85685", + "IdentityStoreId": "d-1234567890", @@ -254,0 +260 @@ This example lists the two users who are members of the specified group. + "MembershipArn": "arn:aws:identitystore:::membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", @@ -262 +268,2 @@ This example lists the two users who are members of the specified group. - "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333", + "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE66666", + "MembershipArn": "arn:aws:identitystore:::membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE66666", @@ -265 +272 @@ This example lists the two users who are members of the specified group. - "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + "UserId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE44444"