Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.
- createGroup :: Text -> Text -> CreateGroup
- data CreateGroup
- cgOrganizationId :: Lens' CreateGroup Text
- cgName :: Lens' CreateGroup Text
- createGroupResponse :: Int -> CreateGroupResponse
- data CreateGroupResponse
- cgrsGroupId :: Lens' CreateGroupResponse (Maybe Text)
- cgrsResponseStatus :: Lens' CreateGroupResponse Int
Creating a Request
Creates a value of CreateGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgOrganizationId
- The organization under which the group is to be created.cgName
- The name of the group.
data CreateGroup Source #
See: createGroup
smart constructor.
Request Lenses
cgOrganizationId :: Lens' CreateGroup Text Source #
The organization under which the group is to be created.
Destructuring the Response
Creates a value of CreateGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgrsGroupId
- The ID of the group.cgrsResponseStatus
- -- | The response status code.
data CreateGroupResponse Source #
See: createGroupResponse
smart constructor.
Response Lenses
cgrsGroupId :: Lens' CreateGroupResponse (Maybe Text) Source #
The ID of the group.
cgrsResponseStatus :: Lens' CreateGroupResponse Int Source #
- - | The response status code.