| 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 |
Network.AWS.WorkMail.AssociateMemberToGroup
Description
Adds a member to the group's set.
Synopsis
- associateMemberToGroup :: Text -> Text -> Text -> AssociateMemberToGroup
- data AssociateMemberToGroup
- amtgOrganizationId :: Lens' AssociateMemberToGroup Text
- amtgGroupId :: Lens' AssociateMemberToGroup Text
- amtgMemberId :: Lens' AssociateMemberToGroup Text
- associateMemberToGroupResponse :: Int -> AssociateMemberToGroupResponse
- data AssociateMemberToGroupResponse
- amtgrsResponseStatus :: Lens' AssociateMemberToGroupResponse Int
Creating a Request
associateMemberToGroup Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> AssociateMemberToGroup |
Creates a value of AssociateMemberToGroup with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
amtgOrganizationId- The organization under which the group exists.amtgGroupId- The group for which the member is associated.amtgMemberId- The member to associate to the group.
data AssociateMemberToGroup Source #
See: associateMemberToGroup smart constructor.
Instances
Request Lenses
amtgOrganizationId :: Lens' AssociateMemberToGroup Text Source #
The organization under which the group exists.
amtgGroupId :: Lens' AssociateMemberToGroup Text Source #
The group for which the member is associated.
amtgMemberId :: Lens' AssociateMemberToGroup Text Source #
The member to associate to the group.
Destructuring the Response
associateMemberToGroupResponse Source #
Arguments
| :: Int | |
| -> AssociateMemberToGroupResponse |
Creates a value of AssociateMemberToGroupResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
amtgrsResponseStatus- -- | The response status code.
data AssociateMemberToGroupResponse Source #
See: associateMemberToGroupResponse smart constructor.
Instances
Response Lenses
amtgrsResponseStatus :: Lens' AssociateMemberToGroupResponse Int Source #
- - | The response status code.