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 |
Removes a member from a group.
Synopsis
- data DisassociateMemberFromGroup = DisassociateMemberFromGroup' {}
- newDisassociateMemberFromGroup :: Text -> Text -> Text -> DisassociateMemberFromGroup
- disassociateMemberFromGroup_organizationId :: Lens' DisassociateMemberFromGroup Text
- disassociateMemberFromGroup_groupId :: Lens' DisassociateMemberFromGroup Text
- disassociateMemberFromGroup_memberId :: Lens' DisassociateMemberFromGroup Text
- data DisassociateMemberFromGroupResponse = DisassociateMemberFromGroupResponse' {
- httpStatus :: Int
- newDisassociateMemberFromGroupResponse :: Int -> DisassociateMemberFromGroupResponse
- disassociateMemberFromGroupResponse_httpStatus :: Lens' DisassociateMemberFromGroupResponse Int
Creating a Request
data DisassociateMemberFromGroup Source #
See: newDisassociateMemberFromGroup
smart constructor.
Instances
newDisassociateMemberFromGroup Source #
:: Text | |
-> Text | |
-> Text | |
-> DisassociateMemberFromGroup |
Create a value of DisassociateMemberFromGroup
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:DisassociateMemberFromGroup'
, disassociateMemberFromGroup_organizationId
- The identifier for the organization under which the group exists.
$sel:groupId:DisassociateMemberFromGroup'
, disassociateMemberFromGroup_groupId
- The identifier for the group from which members are removed.
$sel:memberId:DisassociateMemberFromGroup'
, disassociateMemberFromGroup_memberId
- The identifier for the member to be removed to the group.
Request Lenses
disassociateMemberFromGroup_organizationId :: Lens' DisassociateMemberFromGroup Text Source #
The identifier for the organization under which the group exists.
disassociateMemberFromGroup_groupId :: Lens' DisassociateMemberFromGroup Text Source #
The identifier for the group from which members are removed.
disassociateMemberFromGroup_memberId :: Lens' DisassociateMemberFromGroup Text Source #
The identifier for the member to be removed to the group.
Destructuring the Response
data DisassociateMemberFromGroupResponse Source #
See: newDisassociateMemberFromGroupResponse
smart constructor.
DisassociateMemberFromGroupResponse' | |
|
Instances
Eq DisassociateMemberFromGroupResponse Source # | |
Read DisassociateMemberFromGroupResponse Source # | |
Show DisassociateMemberFromGroupResponse Source # | |
Generic DisassociateMemberFromGroupResponse Source # | |
NFData DisassociateMemberFromGroupResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateMemberFromGroup rnf :: DisassociateMemberFromGroupResponse -> () # | |
type Rep DisassociateMemberFromGroupResponse Source # | |
Defined in Amazonka.WorkMail.DisassociateMemberFromGroup type Rep DisassociateMemberFromGroupResponse = D1 ('MetaData "DisassociateMemberFromGroupResponse" "Amazonka.WorkMail.DisassociateMemberFromGroup" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "DisassociateMemberFromGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateMemberFromGroupResponse Source #
Create a value of DisassociateMemberFromGroupResponse
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:DisassociateMemberFromGroupResponse'
, disassociateMemberFromGroupResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateMemberFromGroupResponse_httpStatus :: Lens' DisassociateMemberFromGroupResponse Int Source #
The response's http status code.