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 |
Disables Security Hub in your account only in the current Region. To disable Security Hub in all Regions, you must submit one request per Region where you have enabled Security Hub.
When you disable Security Hub for an administrator account, it doesn't disable Security Hub for any associated member accounts.
When you disable Security Hub, your existing findings and insights and any Security Hub configuration settings are deleted after 90 days and cannot be recovered. Any standards that were enabled are disabled, and your administrator and member account associations are removed.
If you want to save your existing findings, you must export them before you disable Security Hub.
Synopsis
- data DisableSecurityHub = DisableSecurityHub' {
- newDisableSecurityHub :: DisableSecurityHub
- data DisableSecurityHubResponse = DisableSecurityHubResponse' {
- httpStatus :: Int
- newDisableSecurityHubResponse :: Int -> DisableSecurityHubResponse
- disableSecurityHubResponse_httpStatus :: Lens' DisableSecurityHubResponse Int
Creating a Request
data DisableSecurityHub Source #
See: newDisableSecurityHub
smart constructor.
Instances
newDisableSecurityHub :: DisableSecurityHub Source #
Create a value of DisableSecurityHub
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DisableSecurityHubResponse Source #
See: newDisableSecurityHubResponse
smart constructor.
DisableSecurityHubResponse' | |
|
Instances
newDisableSecurityHubResponse Source #
Create a value of DisableSecurityHubResponse
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:DisableSecurityHubResponse'
, disableSecurityHubResponse_httpStatus
- The response's http status code.
Response Lenses
disableSecurityHubResponse_httpStatus :: Lens' DisableSecurityHubResponse Int Source #
The response's http status code.