Skip to content

Batch Delete Automation Rules

securityhub_batch_delete_automation_rules R Documentation

Deletes one or more automation rules

Description

Deletes one or more automation rules.

Usage

securityhub_batch_delete_automation_rules(AutomationRulesArns)

Arguments

AutomationRulesArns

[required] A list of Amazon Resource Names (ARNs) for the rules that are to be deleted.

Value

A list with the following syntax:

list(
  ProcessedAutomationRules = list(
    "string"
  ),
  UnprocessedAutomationRules = list(
    list(
      RuleArn = "string",
      ErrorCode = 123,
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$batch_delete_automation_rules(
  AutomationRulesArns = list(
    "string"
  )
)

Examples

## Not run: 
# The following example deletes the specified automation rules.
svc$batch_delete_automation_rules(
  AutomationRulesArns = list(
    "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-56...",
    "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-56..."
  )
)

## End(Not run)