Boto3 sso-admin client not working ***SOLVED***

0

The documentation for Boto3 1.15.11 shows a client for sso-admin functions. When I try to use that client in a Lambda I get a "Unknown service: 'sso-admin' error. The list of services returned does not include sso-admin. Any idea why it is not recognized? My sample code is below:

ssoadmin_client = boto3.client('sso-admin')

UPDATE - I found out that the version of boto running by default was 1.14.48. I had to add a Layer with a newer version of boto to get it to work.

Edited by: P. Depratti on Oct 6, 2020 1:47 PM

已提問 4 年前檢視次數 420 次
1 個回答
0

I got back word from my TAM that a Layer was needed to pull in the latest version of boto.

已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南