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: "__string", # required
  enable: false,
}

Update Detector Request

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

Returns:

  • (String)


2656
2657
2658
2659
2660
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2656

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

#enableBoolean

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

Returns:

  • (Boolean)


2656
2657
2658
2659
2660
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2656

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