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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠