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
  data_sources: {
    s3_logs: {
      enable: false, # required
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_sourcesTypes::DataSourceConfigurations

Describes which data sources will be updated.



4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4398

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency,
  :data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#detector_idString

The unique ID of the detector to update.

Returns:

  • (String)


4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4398

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency,
  :data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#enableBoolean

Specifies whether the detector is enabled or not enabled.

Returns:

  • (Boolean)


4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4398

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency,
  :data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#finding_publishing_frequencyString

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

Returns:

  • (String)


4398
4399
4400
4401
4402
4403
4404
4405
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 4398

class UpdateDetectorRequest < Struct.new(
  :detector_id,
  :enable,
  :finding_publishing_frequency,
  :data_sources)
  SENSITIVE = []
  include Aws::Structure
end