(roleName)
| 13 | * @param {string} roleName |
| 14 | */ |
| 15 | export const getRole = (roleName) => { |
| 16 | const command = new GetRoleCommand({ |
| 17 | RoleName: roleName, |
| 18 | }); |
| 19 | |
| 20 | return client.send(command); |
| 21 | }; |
| 22 | // snippet-end:[iam.JavaScript.getRoleV3] |
| 23 | |
| 24 | // Invoke main function if this file was run directly. |
no test coverage detected