AWS singlesignon: DeleteGroupMembership: ARN support, wider ID patterns, updated error/enum docs
Summary
Documents that IdentityStoreId and MembershipId can now be supplied as ARNs (in addition to IDs), updates length constraints (36->93, 47->100) and regex patterns to accept ARN forms, rewrites the ConflictException reason description (removing the KMS-specific wording in favor of UNIQUENESS_CONSTRAINT_VIOLATION/CONCURRENT_MODIFICATION), adds GROUP_MEMBERSHIP and RESOURCE_POLICY to the resource-type enum, and fixes an example membership ID.
Security assessment
The change is API-surface documentation: it broadens accepted identifier formats to include ARNs and updates constraint/pattern metadata and enum values. No vulnerability, credential, encryption, or authorization behavior is described or fixed; the conflict-reason rewrite is descriptive only.
Evidence
+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})`
Diff
diff --git a/singlesignon/latest/IdentityStoreAPIReference/API_DeleteGroupMembership.md b/singlesignon/latest/IdentityStoreAPIReference/API_DeleteGroupMembership.md index e6e3c06..b04cacd 100644 --- a//singlesignon/latest/IdentityStoreAPIReference/API_DeleteGroupMembership.md +++ b//singlesignon/latest/IdentityStoreAPIReference/API_DeleteGroupMembership.md @@ -31,0 +32,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`. + @@ -34 +36 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 36. +Length Constraints: Minimum length of 1. Maximum length of 93. @@ -36 +38 @@ 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})` @@ -44,0 +47,2 @@ The identifier for a `GroupMembership` in an identity store. +You can specify the group membership by ID or by Amazon Resource Name (ARN). For example, membership ID `a1b2c3d4-5678-90ab-cdef-EXAMPLE33333` or membership ARN `arn:aws:identitystore:::membership/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333`. + @@ -47 +51 @@ Type: String -Length Constraints: Minimum length of 1. Maximum length of 47. +Length Constraints: Minimum length of 1. Maximum length of 100. @@ -49 +53 @@ 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}` @@ -93 +97 @@ This request cannot be completed for one of the following reasons: -Indicates the reason for a conflict error when the service is unable to access a Customer Managed KMS key. For non-KMS permission errors, this field is not included. +Indicates the reason for the conflict error. `UNIQUENESS_CONSTRAINT_VIOLATION` indicates that the request would violate an existing uniqueness constraint, such as a user name or other unique attribute that is already in use. `CONCURRENT_MODIFICATION` indicates that the resource was modified by another request during this operation. @@ -142 +146 @@ 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. @@ -196 +200 @@ This example removes the specified user from the group. - "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222" + "MembershipId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333"