libZSservicesZSamazonka-elasticacheZSamazonka-elasticache
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElastiCache.ModifyUserGroup

Description

Changes the list of users that belong to the user group.

Synopsis

Creating a Request

data ModifyUserGroup Source #

See: newModifyUserGroup smart constructor.

Constructors

ModifyUserGroup' 

Fields

Instances

Instances details
Eq ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Read ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Show ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Generic ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Associated Types

type Rep ModifyUserGroup :: Type -> Type #

NFData ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Methods

rnf :: ModifyUserGroup -> () #

Hashable ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

AWSRequest ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

Associated Types

type AWSResponse ModifyUserGroup #

ToHeaders ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

ToPath ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

ToQuery ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

type Rep ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

type Rep ModifyUserGroup = D1 ('MetaData "ModifyUserGroup" "Amazonka.ElastiCache.ModifyUserGroup" "libZSservicesZSamazonka-elasticacheZSamazonka-elasticache" 'False) (C1 ('MetaCons "ModifyUserGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userIdsToAdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "userIdsToRemove") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "userGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ModifyUserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.ModifyUserGroup

newModifyUserGroup Source #

Create a value of ModifyUserGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:userIdsToAdd:ModifyUserGroup', modifyUserGroup_userIdsToAdd - The list of user IDs to add to the user group.

$sel:userIdsToRemove:ModifyUserGroup', modifyUserGroup_userIdsToRemove - The list of user IDs to remove from the user group.

$sel:userGroupId:ModifyUserGroup', modifyUserGroup_userGroupId - The ID of the user group.

Request Lenses

modifyUserGroup_userIdsToAdd :: Lens' ModifyUserGroup (Maybe (NonEmpty Text)) Source #

The list of user IDs to add to the user group.

modifyUserGroup_userIdsToRemove :: Lens' ModifyUserGroup (Maybe (NonEmpty Text)) Source #

The list of user IDs to remove from the user group.

Destructuring the Response

data UserGroup Source #

See: newUserGroup smart constructor.

Constructors

UserGroup' 

Fields

Instances

Instances details
Eq UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

Read UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

Show UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

Generic UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

Associated Types

type Rep UserGroup :: Type -> Type #

NFData UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

Methods

rnf :: UserGroup -> () #

Hashable UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

FromXML UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

type Rep UserGroup Source # 
Instance details

Defined in Amazonka.ElastiCache.Types.UserGroup

newUserGroup :: UserGroup Source #

Create a value of UserGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:UserGroup', userGroup_status - Indicates user group status. Can be "creating", "active", "modifying", "deleting".

$sel:userIds:UserGroup', userGroup_userIds - The list of user IDs that belong to the user group.

$sel:arn:UserGroup', userGroup_arn - The Amazon Resource Name (ARN) of the user group.

$sel:userGroupId:UserGroup', userGroup_userGroupId - The ID of the user group.

$sel:engine:UserGroup', userGroup_engine - The current supported value is Redis.

$sel:pendingChanges:UserGroup', userGroup_pendingChanges - A list of updates being applied to the user group.

$sel:replicationGroups:UserGroup', userGroup_replicationGroups - A list of replication groups that the user group can access.

Response Lenses

userGroup_status :: Lens' UserGroup (Maybe Text) Source #

Indicates user group status. Can be "creating", "active", "modifying", "deleting".

userGroup_userIds :: Lens' UserGroup (Maybe [Text]) Source #

The list of user IDs that belong to the user group.

userGroup_arn :: Lens' UserGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the user group.

userGroup_userGroupId :: Lens' UserGroup (Maybe Text) Source #

The ID of the user group.

userGroup_engine :: Lens' UserGroup (Maybe Text) Source #

The current supported value is Redis.

userGroup_pendingChanges :: Lens' UserGroup (Maybe UserGroupPendingChanges) Source #

A list of updates being applied to the user group.

userGroup_replicationGroups :: Lens' UserGroup (Maybe [Text]) Source #

A list of replication groups that the user group can access.