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

demandé il y a 4 ans421 vues
1 réponse
0

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

répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions