Skip to content

/AWS1/CL_EKS=>LISTINSIGHTS()

About ListInsights

Returns a list of all insights checked for against the specified cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.

Method Signature

IMPORTING

Required arguments:

IV_CLUSTERNAME TYPE /AWS1/EKSSTRING /AWS1/EKSSTRING

The name of the Amazon EKS cluster associated with the insights.

Optional arguments:

IO_FILTER TYPE REF TO /AWS1/CL_EKSINSIGHTSFILTER /AWS1/CL_EKSINSIGHTSFILTER

The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.

IV_MAXRESULTS TYPE /AWS1/EKSLISTINSIGHTSMAXRSLTS /AWS1/EKSLISTINSIGHTSMAXRSLTS

The maximum number of identity provider configurations returned by ListInsights in paginated output. When you use this parameter, ListInsights returns only maxResults results in a single page along with a nextToken response element. You can see the remaining results of the initial request by sending another ListInsights request with the returned nextToken value. This value can be between 1 and 100. If you don't use this parameter, ListInsights returns up to 100 results and a nextToken value, if applicable.

IV_NEXTTOKEN TYPE /AWS1/EKSSTRING /AWS1/EKSSTRING

The nextToken value returned from a previous paginated ListInsights request. When the results of a ListInsights request exceed maxResults, you can use this value to retrieve the next page of results. This value is null when there are no more results to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EKSLISTINSIGHTSRSP /AWS1/CL_EKSLISTINSIGHTSRSP