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 |
Synopsis
- data Member = Member' {
- state :: Maybe EntityState
- disabledDate :: Maybe POSIX
- name :: Maybe Text
- id :: Maybe Text
- type' :: Maybe MemberType
- enabledDate :: Maybe POSIX
- newMember :: Member
- member_state :: Lens' Member (Maybe EntityState)
- member_disabledDate :: Lens' Member (Maybe UTCTime)
- member_name :: Lens' Member (Maybe Text)
- member_id :: Lens' Member (Maybe Text)
- member_type :: Lens' Member (Maybe MemberType)
- member_enabledDate :: Lens' Member (Maybe UTCTime)
Documentation
The representation of a user or group.
See: newMember
smart constructor.
Member' | |
|
Instances
Create a value of Member
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:state:Member'
, member_state
- The state of the member, which can be ENABLED, DISABLED, or DELETED.
$sel:disabledDate:Member'
, member_disabledDate
- The date indicating when the member was disabled from Amazon WorkMail
use.
$sel:name:Member'
, member_name
- The name of the member.
$sel:id:Member'
, member_id
- The identifier of the member.
$sel:type':Member'
, member_type
- A member can be a user or group.
$sel:enabledDate:Member'
, member_enabledDate
- The date indicating when the member was enabled for Amazon WorkMail use.
member_state :: Lens' Member (Maybe EntityState) Source #
The state of the member, which can be ENABLED, DISABLED, or DELETED.
member_disabledDate :: Lens' Member (Maybe UTCTime) Source #
The date indicating when the member was disabled from Amazon WorkMail use.
member_type :: Lens' Member (Maybe MemberType) Source #
A member can be a user or group.