SecurityHub / Client / disable_security_hub_feature_v2
disable_security_hub_feature_v2¶
- SecurityHub.Client.disable_security_hub_feature_v2(**kwargs)¶
Disables an opt-in feature for the calling account in the current Amazon Web Services Region. The operation is idempotent. If the feature is already disabled, no changes are made. You cannot disable a feature that is managed by an organization policy.
See also: AWS API Documentation
Request Syntax
response = client.disable_security_hub_feature_v2( FeatureName='NETWORK_SCANNING' )
- Parameters:
FeatureName (string) –
[REQUIRED]
The name of the feature to disable.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
SecurityHub.Client.exceptions.AccessDeniedExceptionSecurityHub.Client.exceptions.InternalServerExceptionSecurityHub.Client.exceptions.ThrottlingExceptionSecurityHub.Client.exceptions.ResourceNotFoundExceptionSecurityHub.Client.exceptions.ValidationException