Lists insights for an Amazon OpenSearch Service domain or Amazon Web Services account¶
Description¶
Lists insights for an Amazon OpenSearch Service domain or Amazon Web Services account. Returns a paginated list of insights based on the specified entity, filters, time range, and sort order.
Usage¶
Arguments¶
-
Entity[required] 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.
-
TimeRangeThe time range for filtering insights, specified as epoch millisecond timestamps.
-
SortOrderThe sort order for the results. Possible values are
ASC(ascending) andDESC(descending). -
MaxResultsAn optional parameter that specifies the maximum number of results to return. You can use
NextTokento get the next page of results. Valid values are 1 to 500. -
NextTokenIf your initial
list_insightsoperation returns aNextToken, include the returnedNextTokenin subsequentlist_insightsoperations to retrieve the next page of results.
Value¶
A list with the following syntax:
list(
Insights = list(
list(
InsightId = "string",
DisplayName = "string",
Type = "EVENT"|"RECOMMENDATION",
Priority = "CRITICAL"|"HIGH"|"MEDIUM"|"LOW",
Status = "ACTIVE"|"RESOLVED"|"DISMISSED",
CreationTime = as.POSIXct(
"2015-01-01"
),
UpdateTime = as.POSIXct(
"2015-01-01"
),
IsExperimental = TRUE|FALSE
)
),
NextToken = "string"
)