1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.fromStatic = void 0;
|
4 | const property_provider_1 = require("@aws-sdk/property-provider");
|
5 | const isFunction = (func) => typeof func === "function";
|
6 | const fromStatic = (defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, property_provider_1.fromStatic)(defaultValue);
|
7 | exports.fromStatic = fromStatic;
|