UNPKG

aws-sdk-v3-nest

Version:
12 lines (11 loc) 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InjectAws = void 0; var common_1 = require("@nestjs/common"); var aws_sdk_v3_util_js_1 = require("./aws-sdk-v3.util.js"); var InjectAws = function (client, key) { if (key === void 0) { key = ""; } var providerToken = (0, aws_sdk_v3_util_js_1.getClientToken)(client, key); return (0, common_1.Inject)(providerToken); }; exports.InjectAws = InjectAws;