Class: Aws::MarketplaceCatalog::Types::Sort

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/types.rb

Overview

Note:

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

{
  sort_by: "SortBy",
  sort_order: "ASCENDING", # accepts ASCENDING, DESCENDING
}

An object that contains two attributes, SortBy and SortOrder.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#sort_byString

For ListEntities, supported attributes include LastModifiedDate (default), Visibility, EntityId, and Name.

For ListChangeSets, supported attributes include StartTime and EndTime.

Returns:

  • (String)


723
724
725
726
727
728
# File 'gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/types.rb', line 723

class Sort < Struct.new(
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The sorting order. Can be ASCENDING or DESCENDING. The default value is DESCENDING.

Returns:

  • (String)


723
724
725
726
727
728
# File 'gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/types.rb', line 723

class Sort < Struct.new(
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end