dragonroll/backend/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js

8 lines
201 B
JavaScript
Raw Normal View History

2024-09-21 17:08:36 +00:00
export const getReferenceValue = ({ ref }, options) => {
const referenceRecord = {
...options.endpointParams,
...options.referenceRecord,
};
return referenceRecord[ref];
};