Class: Aws::GuardDuty::Types::SortCriteria

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-guardduty/types.rb

Overview

Note:

When making an API call, you may pass SortCriteria data as a hash:

{
  attribute_name: "__string",
  order_by: "ASC", # accepts ASC, DESC
}

Represents the criteria used for sorting findings.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

Represents the finding attribute (for example, accountId) by which to sort findings.

Returns:

  • (String)


2518
2519
2520
2521
2522
# File 'lib/aws-sdk-guardduty/types.rb', line 2518

class SortCriteria < Struct.new(
  :attribute_name,
  :order_by)
  include Aws::Structure
end

#order_byString

Order by which the sorted findings are to be displayed.

Returns:

  • (String)


2518
2519
2520
2521
2522
# File 'lib/aws-sdk-guardduty/types.rb', line 2518

class SortCriteria < Struct.new(
  :attribute_name,
  :order_by)
  include Aws::Structure
end