| 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.UpdateSecurityHubConfiguration
Description
Updates configuration options for Security Hub.
Synopsis
- data UpdateSecurityHubConfiguration = UpdateSecurityHubConfiguration' {}
- newUpdateSecurityHubConfiguration :: UpdateSecurityHubConfiguration
- updateSecurityHubConfiguration_autoEnableControls :: Lens' UpdateSecurityHubConfiguration (Maybe Bool)
- data UpdateSecurityHubConfigurationResponse = UpdateSecurityHubConfigurationResponse' {
- httpStatus :: Int
- newUpdateSecurityHubConfigurationResponse :: Int -> UpdateSecurityHubConfigurationResponse
- updateSecurityHubConfigurationResponse_httpStatus :: Lens' UpdateSecurityHubConfigurationResponse Int
Creating a Request
data UpdateSecurityHubConfiguration Source #
See: newUpdateSecurityHubConfiguration smart constructor.
Constructors
| UpdateSecurityHubConfiguration' | |
Fields
| |
Instances
newUpdateSecurityHubConfiguration :: UpdateSecurityHubConfiguration Source #
Create a value of UpdateSecurityHubConfiguration 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:autoEnableControls:UpdateSecurityHubConfiguration', updateSecurityHubConfiguration_autoEnableControls - Whether to automatically enable new controls when they are added to
standards that are enabled.
By default, this is set to true, and new controls are enabled
automatically. To not automatically enable new controls, set this to
false.
Request Lenses
updateSecurityHubConfiguration_autoEnableControls :: Lens' UpdateSecurityHubConfiguration (Maybe Bool) Source #
Whether to automatically enable new controls when they are added to standards that are enabled.
By default, this is set to true, and new controls are enabled
automatically. To not automatically enable new controls, set this to
false.
Destructuring the Response
data UpdateSecurityHubConfigurationResponse Source #
See: newUpdateSecurityHubConfigurationResponse smart constructor.
Constructors
| UpdateSecurityHubConfigurationResponse' | |
Fields
| |
Instances
newUpdateSecurityHubConfigurationResponse Source #
Arguments
| :: Int | |
| -> UpdateSecurityHubConfigurationResponse |
Create a value of UpdateSecurityHubConfigurationResponse 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:UpdateSecurityHubConfigurationResponse', updateSecurityHubConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
updateSecurityHubConfigurationResponse_httpStatus :: Lens' UpdateSecurityHubConfigurationResponse Int Source #
The response's http status code.