EKS / Client / list_addons
list_addons#
- EKS.Client.list_addons(**kwargs)#
Lists the available add-ons.
See also: AWS API Documentation
Request Syntax
response = client.list_addons( clusterName='string', maxResults=123, nextToken='string' )
- Parameters:
clusterName (string) –
[REQUIRED]
The name of the cluster.
maxResults (integer) – The maximum number of add-on results returned by
ListAddonsRequestin paginated output. When you use this parameter,ListAddonsRequestreturns onlymaxResultsresults in a single page along with anextTokenresponse element. You can see the remaining results of the initial request by sending anotherListAddonsRequestrequest with the returnednextTokenvalue. This value can be between 1 and 100. If you don’t use this parameter,ListAddonsRequestreturns up to 100 results and anextTokenvalue, if applicable.nextToken (string) –
The
nextTokenvalue returned from a previous paginatedListAddonsRequestwheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.Note
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
- Return type:
dict
- Returns:
Response Syntax
{ 'addons': [ 'string', ], 'nextToken': 'string' }
Response Structure
(dict) –
addons (list) –
A list of available add-ons.
(string) –
nextToken (string) –
The
nextTokenvalue returned from a previous paginatedListAddonsResponsewheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.Note
This token should be treated as an opaque identifier that is used only to retrieve the next items in a list and not for other programmatic purposes.
Exceptions
EKS.Client.exceptions.InvalidParameterExceptionEKS.Client.exceptions.InvalidRequestExceptionEKS.Client.exceptions.ClientExceptionEKS.Client.exceptions.ResourceNotFoundExceptionEKS.Client.exceptions.ServerException