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 |
Amazonka.SecurityHub.DisassociateMembers
Description
Disassociates the specified member accounts from the associated administrator account.
Can be used to disassociate both accounts that are managed using Organizations and accounts that were invited manually.
Synopsis
- data DisassociateMembers = DisassociateMembers' {
- accountIds :: [Text]
- newDisassociateMembers :: DisassociateMembers
- disassociateMembers_accountIds :: Lens' DisassociateMembers [Text]
- data DisassociateMembersResponse = DisassociateMembersResponse' {
- httpStatus :: Int
- newDisassociateMembersResponse :: Int -> DisassociateMembersResponse
- disassociateMembersResponse_httpStatus :: Lens' DisassociateMembersResponse Int
Creating a Request
data DisassociateMembers Source #
See: newDisassociateMembers
smart constructor.
Constructors
DisassociateMembers' | |
Fields
|
Instances
newDisassociateMembers :: DisassociateMembers Source #
Create a value of DisassociateMembers
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:accountIds:DisassociateMembers'
, disassociateMembers_accountIds
- The account IDs of the member accounts to disassociate from the
administrator account.
Request Lenses
disassociateMembers_accountIds :: Lens' DisassociateMembers [Text] Source #
The account IDs of the member accounts to disassociate from the administrator account.
Destructuring the Response
data DisassociateMembersResponse Source #
See: newDisassociateMembersResponse
smart constructor.
Constructors
DisassociateMembersResponse' | |
Fields
|
Instances
newDisassociateMembersResponse Source #
Create a value of DisassociateMembersResponse
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:DisassociateMembersResponse'
, disassociateMembersResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateMembersResponse_httpStatus :: Lens' DisassociateMembersResponse Int Source #
The response's http status code.