AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract ModifyUserGroupResponse ModifyUserGroup(
         ModifyUserGroupRequest request
)

Parameters

request
Type: Amazon.ElastiCache.Model.ModifyUserGroupRequest

Container for the necessary parameters to execute the ModifyUserGroup service method.

Return Value


The response from the ModifyUserGroup service method, as returned by ElastiCache.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also