UNPKG

aws-sdk-js-codemod

Version:

Collection of codemod scripts that help update AWS SDK for JavaScript APIs

10 lines (9 loc) 581 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getClientIdentifiersRecord = void 0; const getClientIdentifiers_1 = require("./getClientIdentifiers"); const getClientIdentifiersRecord = (j, source, { v2GlobalName, v2ClientNamesRecord }) => Object.fromEntries(Object.entries(v2ClientNamesRecord).map(([v2ClientName, v2ClientLocalName]) => [ v2ClientName, (0, getClientIdentifiers_1.getClientIdentifiers)(j, source, { v2ClientName, v2ClientLocalName, v2GlobalName }), ])); exports.getClientIdentifiersRecord = getClientIdentifiersRecord;