| 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.SecurityHub.UpdateOrganizationConfiguration
Description
Used to update the configuration related to Organizations. Can only be called from a Security Hub administrator account.
Synopsis
- data UpdateOrganizationConfiguration = UpdateOrganizationConfiguration' {
- autoEnable :: Bool
- newUpdateOrganizationConfiguration :: Bool -> UpdateOrganizationConfiguration
- updateOrganizationConfiguration_autoEnable :: Lens' UpdateOrganizationConfiguration Bool
- data UpdateOrganizationConfigurationResponse = UpdateOrganizationConfigurationResponse' {
- httpStatus :: Int
- newUpdateOrganizationConfigurationResponse :: Int -> UpdateOrganizationConfigurationResponse
- updateOrganizationConfigurationResponse_httpStatus :: Lens' UpdateOrganizationConfigurationResponse Int
Creating a Request
data UpdateOrganizationConfiguration Source #
See: newUpdateOrganizationConfiguration smart constructor.
Constructors
| UpdateOrganizationConfiguration' | |
Fields
| |
Instances
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 #
See: newUpdateOrganizationConfigurationResponse smart constructor.
Constructors
| UpdateOrganizationConfigurationResponse' | |
Fields
| |
Instances
newUpdateOrganizationConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateOrganizationConfigurationResponse |
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
updateOrganizationConfigurationResponse_httpStatus :: Lens' UpdateOrganizationConfigurationResponse Int Source #
The response's http status code.