Class: Aws::GuardDuty::Types::UpdateDetectorRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb

Overview

Note:

When making an API call, you may pass UpdateDetectorRequest data as a hash:

{
  detector_id: "DetectorId", # required
  enable: false,
  finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
}

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

The unique ID of the detector to update.

Returns:

  • (String)


3327
3328
3329
3330
3331
3332
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3327

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end

#enableBoolean

Specifies whether the detector is enabled or not enabled.

Returns:

  • (Boolean)


3327
3328
3329
3330
3331
3332
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3327

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end

#finding_publishing_frequencyString

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

Returns:

  • (String)


3327
3328
3329
3330
3331
3332
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3327

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency)
  include Aws::Structure
end