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

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

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 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)


2246
2247
2248
2249
2250
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2246

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)


2246
2247
2248
2249
2250
# File 'gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb', line 2246

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