How to list EKS PODS from AWS lambda SDK

Good day!

Is there any way to list the eks pods of a specific namespace from AWS lambda python using SDK?.

(Alternative of kubectl get pods -n namespace)

I tried searching in the following documentation. But I could not find. Any better idea?

Thanks in advance

To list the EKS pods of a specific namespace using the AWS SDK for Python (Boto3) from an AWS Lambda function, you can make use of the list_namespaced_pod method from the Kubernetes client library.

Some reasons may consider you to try to outsource tech support, this can really help a lot