Class: Aws::GuardDuty::Types::CreateDetectorRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::GuardDuty::Types::CreateDetectorRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-guardduty/types.rb
Overview
Note:
When making an API call, you may pass CreateDetectorRequest data as a hash:
{
client_token: "__stringMin0Max64",
enable: false, # required
finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
}
Create Detector Request
Instance Attribute Summary collapse
-
#client_token ⇒ String
The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally not need to pass this option.
-
#enable ⇒ Boolean
A boolean value that specifies whether the detector is to be enabled.
-
#finding_publishing_frequency ⇒ String
A enum value that specifies how frequently customer got Finding updates published.
Instance Attribute Details
#client_token ⇒ String
The idempotency token for the create request.**A suitable default value is auto-generated.** You should normally not need to pass this option.
316 317 318 319 320 321 |
# File 'lib/aws-sdk-guardduty/types.rb', line 316 class CreateDetectorRequest < Struct.new( :client_token, :enable, :finding_publishing_frequency) include Aws::Structure end |
#enable ⇒ Boolean
A boolean value that specifies whether the detector is to be enabled.
316 317 318 319 320 321 |
# File 'lib/aws-sdk-guardduty/types.rb', line 316 class CreateDetectorRequest < Struct.new( :client_token, :enable, :finding_publishing_frequency) include Aws::Structure end |
#finding_publishing_frequency ⇒ String
A enum value that specifies how frequently customer got Finding updates published.
316 317 318 319 320 321 |
# File 'lib/aws-sdk-guardduty/types.rb', line 316 class CreateDetectorRequest < Struct.new( :client_token, :enable, :finding_publishing_frequency) include Aws::Structure end |