rittenhop-dev/versions/5.94.2/node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js
2024-09-23 19:40:12 -04:00

8 lines
201 B
JavaScript

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