Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
For Redis engine version 6.x onwards: Creates a Redis user group. For more information, see Using Role Based Access Control (RBAC)
Synopsis
- data CreateUserGroup = CreateUserGroup' {}
- newCreateUserGroup :: Text -> Text -> CreateUserGroup
- createUserGroup_userIds :: Lens' CreateUserGroup (Maybe (NonEmpty Text))
- createUserGroup_tags :: Lens' CreateUserGroup (Maybe [Tag])
- createUserGroup_userGroupId :: Lens' CreateUserGroup Text
- createUserGroup_engine :: Lens' CreateUserGroup Text
- data UserGroup = UserGroup' {}
- newUserGroup :: UserGroup
- userGroup_status :: Lens' UserGroup (Maybe Text)
- userGroup_userIds :: Lens' UserGroup (Maybe [Text])
- userGroup_arn :: Lens' UserGroup (Maybe Text)
- userGroup_userGroupId :: Lens' UserGroup (Maybe Text)
- userGroup_engine :: Lens' UserGroup (Maybe Text)
- userGroup_pendingChanges :: Lens' UserGroup (Maybe UserGroupPendingChanges)
- userGroup_replicationGroups :: Lens' UserGroup (Maybe [Text])
Creating a Request
data CreateUserGroup Source #
See: newCreateUserGroup
smart constructor.
CreateUserGroup' | |
|
Instances
Create a value of CreateUserGroup
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:userIds:CreateUserGroup'
, createUserGroup_userIds
- The list of user IDs that belong to the user group.
$sel:tags:CreateUserGroup'
, createUserGroup_tags
- A list of tags to be added to this resource. A tag is a key-value pair.
A tag key must be accompanied by a tag value, although null is accepted.
$sel:userGroupId:CreateUserGroup'
, createUserGroup_userGroupId
- The ID of the user group.
$sel:engine:CreateUserGroup'
, createUserGroup_engine
- The current supported value is Redis.
Request Lenses
createUserGroup_userIds :: Lens' CreateUserGroup (Maybe (NonEmpty Text)) Source #
The list of user IDs that belong to the user group.
createUserGroup_tags :: Lens' CreateUserGroup (Maybe [Tag]) Source #
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
createUserGroup_userGroupId :: Lens' CreateUserGroup Text Source #
The ID of the user group.
createUserGroup_engine :: Lens' CreateUserGroup Text Source #
The current supported value is Redis.
Destructuring the Response
See: newUserGroup
smart constructor.
UserGroup' | |
|
Instances
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_pendingChanges :: Lens' UserGroup (Maybe UserGroupPendingChanges) Source #
A list of updates being applied to the user group.