Files
Media-Coding-Web/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
2026-04-04 12:49:09 +08:00

8 lines
201 B
JavaScript

export const getReferenceValue = ({ ref }, options) => {
const referenceRecord = {
...options.endpointParams,
...options.referenceRecord,
};
return referenceRecord[ref];
};