AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Changes the list of users that belong to the user group.
For .NET Core this operation is only available in asynchronous form. Please refer to ModifyUserGroupAsync.
Namespace: Amazon.ElastiCache
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z
public abstract ModifyUserGroupResponse ModifyUserGroup( ModifyUserGroupRequest request )
Container for the necessary parameters to execute the ModifyUserGroup service method.
Exception | Condition |
---|---|
DefaultUserRequiredException | You must add default user to a user group. |
DuplicateUserNameException | A user with this username already exists. |
InvalidParameterCombinationException | Two or more incompatible parameters were specified. |
InvalidParameterValueException | The value for a parameter is invalid. |
InvalidUserGroupStateException | The user group is not in an active state. |
ServiceLinkedRoleNotFoundException | The specified service linked role (SLR) was not found. |
UserGroupNotFoundException | The user group was not found or does not exist |
UserNotFoundException | The user does not exist or could not be found. |
.NET Framework:
Supported in: 4.5 and newer, 3.5