list_updates
async
¶
list_updates(
name: String,
*,
config_overrides: Optional[AsyncEKSClientConfig] = None,
nodegroup_name: Optional[String] = None,
addon_name: Optional[String] = None,
capability_name: Optional[String] = None,
next_token: Optional[String] = None,
max_results: Optional[ListUpdatesRequestMaxResults] = None,
) -> ListUpdatesResponse
Lists the updates associated with an Amazon EKS resource in your Amazon Web Services account, in the specified Amazon Web Services Region.
Parameters:
-
name(String) –The name of the Amazon EKS cluster to list updates for.
-
nodegroup_name(Optional[String], default:None) –The name of the Amazon EKS managed node group to list updates for.
-
addon_name(Optional[String], default:None) –The names of the installed add-ons that have available updates.
-
capability_name(Optional[String], default:None) –The name of the capability for which you want to list updates.
-
next_token(Optional[String], default:None) –The
nextTokenvalue returned from a previous paginated request, wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value is null when there are no more results to return.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.
-
max_results(Optional[ListUpdatesRequestMaxResults], default:None) –The maximum number of results, returned in paginated output. You receive
maxResultsin a single page, along with anextTokenresponse element. You can see the remaining results of the initial request by sending another request with the returnednextTokenvalue. This value can be between 1 and 100. If you don't use this parameter, 100 results and anextTokenvalue, if applicable, are returned.
Raises:
-
ClientException–These errors are usually caused by a client action. Actions can include using an action or resource on behalf of an IAM principal that doesn't have permissions to use the action or resource or specifying an identifier that is not valid.
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
ResourceNotFoundException–The specified resource could not be found. You can view your available clusters with
ListClusters. You can view your available managed node groups withListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific. -
ServerException–These errors are usually caused by a server-side issue.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eks/_services/async_eks.py
4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 | |