Skip to content

/AWS1/CL_KFK=>LISTCLUSTERSV2()

About ListClustersV2

Returns a list of all the MSK clusters in the current Region.

Method Signature

IMPORTING

Optional arguments:

IV_CLUSTERNAMEFILTER TYPE /AWS1/KFK__STRING /AWS1/KFK__STRING

Specify a prefix of the names of the clusters that you want to list. The service lists all the clusters whose names start with this prefix.

IV_CLUSTERTYPEFILTER TYPE /AWS1/KFK__STRING /AWS1/KFK__STRING

Specify either PROVISIONED or SERVERLESS.

IV_MAXRESULTS TYPE /AWS1/KFKMAXRESULTS /AWS1/KFKMAXRESULTS

The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.

IV_NEXTTOKEN TYPE /AWS1/KFK__STRING /AWS1/KFK__STRING

The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KFKLISTCLUSTERSV2RSP /AWS1/CL_KFKLISTCLUSTERSV2RSP