| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Inspector2.DisassociateMember
Description
Disassociates a member account from an Amazon Inspector delegated administrator.
Synopsis
- data DisassociateMember = DisassociateMember' {}
- newDisassociateMember :: Text -> DisassociateMember
- disassociateMember_accountId :: Lens' DisassociateMember Text
- data DisassociateMemberResponse = DisassociateMemberResponse' {
- httpStatus :: Int
- accountId :: Text
- newDisassociateMemberResponse :: Int -> Text -> DisassociateMemberResponse
- disassociateMemberResponse_httpStatus :: Lens' DisassociateMemberResponse Int
- disassociateMemberResponse_accountId :: Lens' DisassociateMemberResponse Text
Creating a Request
data DisassociateMember Source #
See: newDisassociateMember smart constructor.
Constructors
| DisassociateMember' | |
Instances
newDisassociateMember Source #
Arguments
| :: Text | |
| -> DisassociateMember |
Create a value of DisassociateMember 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:
DisassociateMember, disassociateMember_accountId - The Amazon Web Services account ID of the member account to
disassociate.
Request Lenses
disassociateMember_accountId :: Lens' DisassociateMember Text Source #
The Amazon Web Services account ID of the member account to disassociate.
Destructuring the Response
data DisassociateMemberResponse Source #
See: newDisassociateMemberResponse smart constructor.
Constructors
| DisassociateMemberResponse' | |
Fields
| |
Instances
newDisassociateMemberResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> DisassociateMemberResponse |
Create a value of DisassociateMemberResponse 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:DisassociateMemberResponse', disassociateMemberResponse_httpStatus - The response's http status code.
DisassociateMember, disassociateMemberResponse_accountId - The Amazon Web Services account ID of the successfully disassociated
member.
Response Lenses
disassociateMemberResponse_httpStatus :: Lens' DisassociateMemberResponse Int Source #
The response's http status code.
disassociateMemberResponse_accountId :: Lens' DisassociateMemberResponse Text Source #
The Amazon Web Services account ID of the successfully disassociated member.