Use ListUpdates with an AWS SDK or CLI - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Use ListUpdates with an AWS SDK or CLI

The following code examples show how to use ListUpdates.

CLI
AWS CLI

To list the updates for a cluster

This example command lists the current updates for a cluster named example in your default region.

Command:

aws eks list-updates --name example

Output:

{ "updateIds": [ "10bddb13-a71b-425a-b0a6-71cd03e59161" ] }
  • For API details, see ListUpdates in AWS CLI Command Reference.

PowerShell
Tools for PowerShell

Example 1: This cmdlet lists the updates associated with an Amazon EKS cluster or managed node group in your AWS account, in the specified Region.

Get-EKSUpdateList -Name "PROD"

Output:

ee708232-7d2e-4ed7-9270-d0b5176f0726
  • For API details, see ListUpdates in AWS Tools for PowerShell Cmdlet Reference.