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 |
Deregisters an account in Audit Manager.
Before you deregister, you can use the
UpdateSettings
API operation to set your preferred data retention policy. By default,
Audit Manager retains your data. If you want to delete your data, you
can use the DeregistrationPolicy
attribute to request the deletion of
your data.
For more information about data retention, see Data Protection in the Audit Manager User Guide.
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.
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.
DeregisterAccountResponse' | |
|
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:
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.