SortAttribute
Defines the characteristics and rules for sorting by a specific attribute.
Contents
- Name
-
The name of the attribute to sort by.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
^[a-zA-Z0-9_.-]+$Required: Yes
- Order
-
The sort order for the attribute (ascending or descending).
Type: String
Valid Values:
ASC | DESCRequired: Yes
- DataType
-
The data type of the sort attribute (e.g., string, number, date).
Type: String
Valid Values:
STRING | NUMBER | DATERequired: No
- Type
-
The type of attribute (e.g., profile, calculated).
Type: String
Valid Values:
PROFILE | CALCULATEDRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: