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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Sort as input to an Aws::Client method, you can use a vanilla Hash:

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

An object that contains two attributes, SortBy and SortOrder.

Returned by:

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)

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

#sort_orderString

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

Possible values:

  • ASCENDING
  • DESCENDING

Returns:

  • (String)

    The sorting order.