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 |
Adds a member (user or group) to the group's set.
Synopsis
- data AssociateMemberToGroup = AssociateMemberToGroup' {}
- newAssociateMemberToGroup :: Text -> Text -> Text -> AssociateMemberToGroup
- associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text
- associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text
- associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text
- data AssociateMemberToGroupResponse = AssociateMemberToGroupResponse' {
- httpStatus :: Int
- newAssociateMemberToGroupResponse :: Int -> AssociateMemberToGroupResponse
- associateMemberToGroupResponse_httpStatus :: Lens' AssociateMemberToGroupResponse Int
Creating a Request
data AssociateMemberToGroup Source #
See: newAssociateMemberToGroup
smart constructor.
Instances
newAssociateMemberToGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> AssociateMemberToGroup |
Create a value of AssociateMemberToGroup
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:AssociateMemberToGroup'
, associateMemberToGroup_organizationId
- The organization under which the group exists.
$sel:groupId:AssociateMemberToGroup'
, associateMemberToGroup_groupId
- The group to which the member (user or group) is associated.
$sel:memberId:AssociateMemberToGroup'
, associateMemberToGroup_memberId
- The member (user or group) to associate to the group.
Request Lenses
associateMemberToGroup_organizationId :: Lens' AssociateMemberToGroup Text Source #
The organization under which the group exists.
associateMemberToGroup_groupId :: Lens' AssociateMemberToGroup Text Source #
The group to which the member (user or group) is associated.
associateMemberToGroup_memberId :: Lens' AssociateMemberToGroup Text Source #
The member (user or group) to associate to the group.
Destructuring the Response
data AssociateMemberToGroupResponse Source #
See: newAssociateMemberToGroupResponse
smart constructor.
AssociateMemberToGroupResponse' | |
|
Instances
Eq AssociateMemberToGroupResponse Source # | |
Read AssociateMemberToGroupResponse Source # | |
Show AssociateMemberToGroupResponse Source # | |
Defined in Amazonka.WorkMail.AssociateMemberToGroup | |
Generic AssociateMemberToGroupResponse Source # | |
NFData AssociateMemberToGroupResponse Source # | |
Defined in Amazonka.WorkMail.AssociateMemberToGroup rnf :: AssociateMemberToGroupResponse -> () # | |
type Rep AssociateMemberToGroupResponse Source # | |
Defined in Amazonka.WorkMail.AssociateMemberToGroup type Rep AssociateMemberToGroupResponse = D1 ('MetaData "AssociateMemberToGroupResponse" "Amazonka.WorkMail.AssociateMemberToGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "AssociateMemberToGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociateMemberToGroupResponse Source #
Create a value of AssociateMemberToGroupResponse
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:httpStatus:AssociateMemberToGroupResponse'
, associateMemberToGroupResponse_httpStatus
- The response's http status code.
Response Lenses
associateMemberToGroupResponse_httpStatus :: Lens' AssociateMemberToGroupResponse Int Source #
The response's http status code.