'AWS Javascript SDK V3 with Typescript

Has anyone used AWS javascript sdk v3 with typescript. I am trying to figure out how to use types in my lambda function. For example in this code snippet what should I use for the return type and how do I get/import type declations? Thank you

getAllIamUsers(): ?? {
        
        const input = {
            MaxItems: 100,
            Marker: null
        };     
        
       const command = new ListUsersCommand(input);
       const usersResponse = await client.send(command); 
       return usersResponse.Users;       

    }


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source