updateSecurityHubConfiguration method
Updates configuration options for Security Hub.
May throw InternalException. May throw InvalidInputException. May throw InvalidAccessException. May throw LimitExceededException. May throw ResourceNotFoundException.
Parameter 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
.
Implementation
Future<void> updateSecurityHubConfiguration({
bool? autoEnableControls,
}) async {
final $payload = <String, dynamic>{
if (autoEnableControls != null) 'AutoEnableControls': autoEnableControls,
};
final response = await _protocol.send(
payload: $payload,
method: 'PATCH',
requestUri: '/accounts',
exceptionFnMap: _exceptionFns,
);
}