libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.DisableSecurityHub

Description

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

Creating a Request

data DisableSecurityHub Source #

See: newDisableSecurityHub smart constructor.

Constructors

DisableSecurityHub' 

Instances

Instances details
Eq DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Read DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Show DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Generic DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Associated Types

type Rep DisableSecurityHub :: Type -> Type #

NFData DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Methods

rnf :: DisableSecurityHub -> () #

Hashable DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

AWSRequest DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Associated Types

type AWSResponse DisableSecurityHub #

ToHeaders DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

ToPath DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

ToQuery DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

type Rep DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

type Rep DisableSecurityHub = D1 ('MetaData "DisableSecurityHub" "Amazonka.SecurityHub.DisableSecurityHub" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DisableSecurityHub'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DisableSecurityHub Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

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.

Constructors

DisableSecurityHubResponse' 

Fields

Instances

Instances details
Eq DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Read DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Show DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Generic DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

Associated Types

type Rep DisableSecurityHubResponse :: Type -> Type #

NFData DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

type Rep DisableSecurityHubResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.DisableSecurityHub

type Rep DisableSecurityHubResponse = D1 ('MetaData "DisableSecurityHubResponse" "Amazonka.SecurityHub.DisableSecurityHub" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "DisableSecurityHubResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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