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.UpdateOrganizationConfiguration

Description

Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.

Synopsis

Creating a Request

data UpdateOrganizationConfiguration Source #

See: newUpdateOrganizationConfiguration smart constructor.

Constructors

UpdateOrganizationConfiguration' 

Fields

  • autoEnable :: Bool

    Whether to automatically enable Security Hub for new accounts in the organization.

    By default, this is false, and new accounts are not added automatically.

    To automatically enable Security Hub for new accounts, set this to true.

Instances

Instances details
Eq UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Read UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Show UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Generic UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Associated Types

type Rep UpdateOrganizationConfiguration :: Type -> Type #

NFData UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Hashable UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

ToJSON UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

AWSRequest UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

ToHeaders UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

ToPath UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

ToQuery UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

type Rep UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

type Rep UpdateOrganizationConfiguration = D1 ('MetaData "UpdateOrganizationConfiguration" "Amazonka.SecurityHub.UpdateOrganizationConfiguration" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateOrganizationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoEnable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))
type AWSResponse UpdateOrganizationConfiguration Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

newUpdateOrganizationConfiguration Source #

Create a value of UpdateOrganizationConfiguration 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:autoEnable:UpdateOrganizationConfiguration', updateOrganizationConfiguration_autoEnable - Whether to automatically enable Security Hub for new accounts in the organization.

By default, this is false, and new accounts are not added automatically.

To automatically enable Security Hub for new accounts, set this to true.

Request Lenses

updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration Bool Source #

Whether to automatically enable Security Hub for new accounts in the organization.

By default, this is false, and new accounts are not added automatically.

To automatically enable Security Hub for new accounts, set this to true.

Destructuring the Response

data UpdateOrganizationConfigurationResponse Source #

Constructors

UpdateOrganizationConfigurationResponse' 

Fields

Instances

Instances details
Eq UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Read UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Show UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

Generic UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

NFData UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

type Rep UpdateOrganizationConfigurationResponse Source # 
Instance details

Defined in Amazonka.SecurityHub.UpdateOrganizationConfiguration

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

newUpdateOrganizationConfigurationResponse Source #

Create a value of UpdateOrganizationConfigurationResponse 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:UpdateOrganizationConfigurationResponse', updateOrganizationConfigurationResponse_httpStatus - The response's http status code.

Response Lenses