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 |
Returns the data available for the group.
Synopsis
- data DescribeGroup = DescribeGroup' {
- organizationId :: Text
- groupId :: Text
- newDescribeGroup :: Text -> Text -> DescribeGroup
- describeGroup_organizationId :: Lens' DescribeGroup Text
- describeGroup_groupId :: Lens' DescribeGroup Text
- data DescribeGroupResponse = DescribeGroupResponse' {
- email :: Maybe Text
- state :: Maybe EntityState
- disabledDate :: Maybe POSIX
- name :: Maybe Text
- groupId :: Maybe Text
- enabledDate :: Maybe POSIX
- httpStatus :: Int
- newDescribeGroupResponse :: Int -> DescribeGroupResponse
- describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState)
- describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int
Creating a Request
data DescribeGroup Source #
See: newDescribeGroup
smart constructor.
DescribeGroup' | |
|
Instances
Create a value of DescribeGroup
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:organizationId:DescribeGroup'
, describeGroup_organizationId
- The identifier for the organization under which the group exists.
$sel:groupId:DescribeGroup'
, describeGroup_groupId
- The identifier for the group to be described.
Request Lenses
describeGroup_organizationId :: Lens' DescribeGroup Text Source #
The identifier for the organization under which the group exists.
describeGroup_groupId :: Lens' DescribeGroup Text Source #
The identifier for the group to be described.
Destructuring the Response
data DescribeGroupResponse Source #
See: newDescribeGroupResponse
smart constructor.
DescribeGroupResponse' | |
|
Instances
newDescribeGroupResponse Source #
Create a value of DescribeGroupResponse
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:email:DescribeGroupResponse'
, describeGroupResponse_email
- The email of the described group.
$sel:state:DescribeGroupResponse'
, describeGroupResponse_state
- The state of the user: enabled (registered to Amazon WorkMail) or
disabled (deregistered or never registered to WorkMail).
$sel:disabledDate:DescribeGroupResponse'
, describeGroupResponse_disabledDate
- The date and time when a user was deregistered from WorkMail, in UNIX
epoch time format.
$sel:name:DescribeGroupResponse'
, describeGroupResponse_name
- The name of the described group.
$sel:groupId:DescribeGroup'
, describeGroupResponse_groupId
- The identifier of the described group.
$sel:enabledDate:DescribeGroupResponse'
, describeGroupResponse_enabledDate
- The date and time when a user was registered to WorkMail, in UNIX epoch
time format.
$sel:httpStatus:DescribeGroupResponse'
, describeGroupResponse_httpStatus
- The response's http status code.
Response Lenses
describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text) Source #
The email of the described group.
describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState) Source #
The state of the user: enabled (registered to Amazon WorkMail) or disabled (deregistered or never registered to WorkMail).
describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #
The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.
describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text) Source #
The name of the described group.
describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text) Source #
The identifier of the described group.
describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #
The date and time when a user was registered to WorkMail, in UNIX epoch time format.
describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int Source #
The response's http status code.