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

feita há 4 anos424 visualizações
1 Resposta
0

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

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas