GuardDuty / Client / delete_custom_detection_rule_org_configuration
delete_custom_detection_rule_org_configuration¶
- GuardDuty.Client.delete_custom_detection_rule_org_configuration(**kwargs)¶
Deletes the organization-level configuration for a custom detection rule. This operation is available only to the delegated administrator account.
See also: AWS API Documentation
Request Syntax
response = client.delete_custom_detection_rule_org_configuration( RuleId='string', Mode='LIVE'|'DRY_RUN' )
- Parameters:
RuleId (string) –
[REQUIRED]
The unique identifier for the custom detection rule.
Mode (string) –
[REQUIRED]
The execution mode of the organization configuration to delete. Valid values:
LIVE|DRY_RUN.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
GuardDuty.Client.exceptions.BadRequestExceptionGuardDuty.Client.exceptions.InternalServerErrorExceptionGuardDuty.Client.exceptions.AccessDeniedExceptionGuardDuty.Client.exceptions.ResourceNotFoundExceptionGuardDuty.Client.exceptions.ConflictException