| 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.AuditManager.DeregisterAccount
Description
Deregisters an account in Audit Manager.
Synopsis
- data DeregisterAccount = DeregisterAccount' {
- newDeregisterAccount :: DeregisterAccount
- data DeregisterAccountResponse = DeregisterAccountResponse' {}
- newDeregisterAccountResponse :: Int -> DeregisterAccountResponse
- deregisterAccountResponse_status :: Lens' DeregisterAccountResponse (Maybe AccountStatus)
- deregisterAccountResponse_httpStatus :: Lens' DeregisterAccountResponse Int
Creating a Request
data DeregisterAccount Source #
See: newDeregisterAccount smart constructor.
Constructors
| DeregisterAccount' | |
Instances
newDeregisterAccount :: DeregisterAccount Source #
Create a value of DeregisterAccount with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DeregisterAccountResponse Source #
See: newDeregisterAccountResponse smart constructor.
Constructors
| DeregisterAccountResponse' | |
Fields
| |
Instances
newDeregisterAccountResponse Source #
Create a value of DeregisterAccountResponse 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:status:DeregisterAccountResponse', deregisterAccountResponse_status - The registration status of the account.
$sel:httpStatus:DeregisterAccountResponse', deregisterAccountResponse_httpStatus - The response's http status code.
Response Lenses
deregisterAccountResponse_status :: Lens' DeregisterAccountResponse (Maybe AccountStatus) Source #
The registration status of the account.
deregisterAccountResponse_httpStatus :: Lens' DeregisterAccountResponse Int Source #
The response's http status code.