Class: Aws::GuardDuty::Types::ListDetectorsRequest

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

{
  max_results: 1,
  next_token: "String",
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

You can use this parameter to indicate the maximum number of items you want in the response. The default value is 50. The maximum value is 50.

Returns:

  • (Integer)


2016
2017
2018
2019
2020
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2016

class ListDetectorsRequest < Struct.new(
  :max_results,
  :next_token)
  include Aws::Structure
end

#next_tokenString

You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the list action. For subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.

Returns:

  • (String)


2016
2017
2018
2019
2020
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2016

class ListDetectorsRequest < Struct.new(
  :max_results,
  :next_token)
  include Aws::Structure
end