Learn R Programming

paws.security.identity (version 0.1.12)

guardduty_update_detector: Updates the Amazon GuardDuty detector specified by the detectorId

Description

Updates the Amazon GuardDuty detector specified by the detectorId.

Usage

guardduty_update_detector(DetectorId, Enable,
  FindingPublishingFrequency, DataSources)

Value

An empty list.

Arguments

DetectorId

[required] The unique ID of the detector to update.

Enable

Specifies whether the detector is enabled or not enabled.

FindingPublishingFrequency

An enum value that specifies how frequently findings are exported, such as to CloudWatch Events.

DataSources

Describes which data sources will be updated.

Request syntax

svc$update_detector(
  DetectorId = "string",
  Enable = TRUE|FALSE,
  FindingPublishingFrequency = "FIFTEEN_MINUTES"|"ONE_HOUR"|"SIX_HOURS",
  DataSources = list(
    S3Logs = list(
      Enable = TRUE|FALSE
    )
  )
)