You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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)


3294
3295
3296
3297
3298
3299
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3294

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)


3294
3295
3296
3297
3298
3299
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3294

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)


3294
3295
3296
3297
3298
3299
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 3294

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