| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.DescribeGroup
Description
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' {
- disabledDate :: Maybe POSIX
- email :: Maybe Text
- enabledDate :: Maybe POSIX
- groupId :: Maybe Text
- name :: Maybe Text
- state :: Maybe EntityState
- httpStatus :: Int
- newDescribeGroupResponse :: Int -> DescribeGroupResponse
- describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_enabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime)
- describeGroupResponse_groupId :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text)
- describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState)
- describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int
Creating a Request
data DescribeGroup Source #
See: newDescribeGroup smart constructor.
Constructors
| DescribeGroup' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DescribeGroup |
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:
DescribeGroup, describeGroup_organizationId - The identifier for the organization under which the group exists.
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.
Constructors
| DescribeGroupResponse' | |
Fields
| |
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:
DescribeGroupResponse, describeGroupResponse_disabledDate - The date and time when a user was deregistered from WorkMail, in UNIX
epoch time format.
DescribeGroupResponse, describeGroupResponse_email - The email of the described group.
DescribeGroupResponse, describeGroupResponse_enabledDate - The date and time when a user was registered to WorkMail, in UNIX epoch
time format.
DescribeGroup, describeGroupResponse_groupId - The identifier of the described group.
DescribeGroupResponse, describeGroupResponse_name - The name of the described group.
DescribeGroupResponse, describeGroupResponse_state - The state of the user: enabled (registered to WorkMail) or disabled
(deregistered or never registered to WorkMail).
$sel:httpStatus:DescribeGroupResponse', describeGroupResponse_httpStatus - The response's http status code.
Response Lenses
describeGroupResponse_disabledDate :: Lens' DescribeGroupResponse (Maybe UTCTime) Source #
The date and time when a user was deregistered from WorkMail, in UNIX epoch time format.
describeGroupResponse_email :: Lens' DescribeGroupResponse (Maybe Text) Source #
The email 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_groupId :: Lens' DescribeGroupResponse (Maybe Text) Source #
The identifier of the described group.
describeGroupResponse_name :: Lens' DescribeGroupResponse (Maybe Text) Source #
The name of the described group.
describeGroupResponse_state :: Lens' DescribeGroupResponse (Maybe EntityState) Source #
The state of the user: enabled (registered to WorkMail) or disabled (deregistered or never registered to WorkMail).
describeGroupResponse_httpStatus :: Lens' DescribeGroupResponse Int Source #
The response's http status code.