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.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException

  • GuardDuty.Client.exceptions.AccessDeniedException

  • GuardDuty.Client.exceptions.ResourceNotFoundException

  • GuardDuty.Client.exceptions.ConflictException