cletus/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js
2025-05-09 15:53:19 -05:00

1 line
169 B
JavaScript

export const getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws";