scripts/generateNewClientTests/getServiceImportInput.ts (9 lines of code) (raw):

import { CLIENTS_TO_TEST } from "./config"; import { getV2ClientsNewExpressionCode } from "./getV2ClientsNewExpressionCode"; export const getServiceImportInput = (path?: string) => { let content = ""; content += `import { ${CLIENTS_TO_TEST.join(", ")} } from "${path ? path : "aws-sdk"}";\n`; content += "\n"; content += getV2ClientsNewExpressionCode(CLIENTS_TO_TEST); return content; };