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 |
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.
UpdateSecurityHubConfiguration' | |
|
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.
UpdateSecurityHubConfigurationResponse' | |
|
Instances
Eq UpdateSecurityHubConfigurationResponse Source # | |
Read UpdateSecurityHubConfigurationResponse Source # | |
Show UpdateSecurityHubConfigurationResponse Source # | |
Generic UpdateSecurityHubConfigurationResponse Source # | |
Defined in Amazonka.SecurityHub.UpdateSecurityHubConfiguration type Rep UpdateSecurityHubConfigurationResponse :: Type -> Type # | |
NFData UpdateSecurityHubConfigurationResponse Source # | |
type Rep UpdateSecurityHubConfigurationResponse Source # | |
Defined in Amazonka.SecurityHub.UpdateSecurityHubConfiguration type Rep UpdateSecurityHubConfigurationResponse = D1 ('MetaData "UpdateSecurityHubConfigurationResponse" "Amazonka.SecurityHub.UpdateSecurityHubConfiguration" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "UpdateSecurityHubConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateSecurityHubConfigurationResponse Source #
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.