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年前422ビュー
1回答
0

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

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ