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

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

Overview

Note:

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

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

Update Detector Request

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

Returns:

  • (String)


2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-guardduty/types.rb', line 2696

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

#enableBoolean

Updated boolean value for the detector that specifies whether the detector is enabled.

Returns:

  • (Boolean)


2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-guardduty/types.rb', line 2696

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

#finding_publishing_frequencyString

A enum value that specifies how frequently customer got Finding updates published.

Returns:

  • (String)


2696
2697
2698
2699
2700
2701
# File 'lib/aws-sdk-guardduty/types.rb', line 2696

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