ListInsightsRequest
¶
Source code in docs_src/capo_opensearch/types/list_insights_request.py
entity
instance-attribute
¶
entity: InsightEntity
The entity for which to list insights. Specifies the type and value of the entity, such as a domain name or Amazon Web Services account ID.
max_results
instance-attribute
¶
max_results: NotRequired[InsightPageSize]
An optional parameter that specifies the maximum number of results to return. You can use NextToken to get the next page of results. Valid values are 1 to 500.
next_token
instance-attribute
¶
next_token: NotRequired[String]
If your initial ListInsights operation returns a NextToken, include the returned NextToken in subsequent ListInsights operations to retrieve the next page of results.
sort_order
instance-attribute
¶
sort_order: NotRequired[InsightSortOrder]
The sort order for the results. Possible values are ASC (ascending) and DESC (descending).
time_range
instance-attribute
¶
time_range: NotRequired[InsightTimeRange]
The time range for filtering insights, specified as epoch millisecond timestamps.