Skip to content

SortCriteria

Source code in docs_src/capo_macie2/types/sort_criteria.py
class SortCriteria(TypedDict, closed=True):
    attribute_name: NotRequired["capo_macie2.types.__string.__string"]
    """<p>The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.</p>"""
    order_by: NotRequired["capo_macie2.types.order_by.OrderBy"]
    """<p>The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.</p>"""

attribute_name instance-attribute

attribute_name: NotRequired[__string]

The name of the property to sort the results by. Valid values are: count, createdAt, policyDetails.action.apiCallDetails.firstSeen, policyDetails.action.apiCallDetails.lastSeen, resourcesAffected, severity.score, type, and updatedAt.

order_by instance-attribute

order_by: NotRequired[OrderBy]

The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.