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

Class: Aws::GuardDuty::Types::CreateSampleFindingsRequest

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 CreateSampleFindingsRequest data as a hash:

{
  detector_id: "DetectorId", # required
  finding_types: ["FindingType"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#detector_idString

The ID of the detector to create sample findings for.

Returns:

  • (String)


690
691
692
693
694
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 690

class CreateSampleFindingsRequest < Struct.new(
  :detector_id,
  :finding_types)
  include Aws::Structure
end

#finding_typesArray<String>

Types of sample findings to generate.

Returns:

  • (Array<String>)


690
691
692
693
694
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 690

class CreateSampleFindingsRequest < Struct.new(
  :detector_id,
  :finding_types)
  include Aws::Structure
end