UNPKG

@cumulus/aws-client

Version:
17 lines 807 B
import { AWSClientTypes } from './types'; /** * Return a function which, when called, will return an AWS service object * * Note: The returned service objects are cached, so there will only be one * instance of each service object per process. * * @param {AWSClientTypes} Service - an AWS service object constructor function * @param {string} [version] - the API version to use * @param {string} [serviceOptions] - additional options to pass to the service * @returns {Function} a function which, when called, will return an instance of an AWS service * object * @private */ declare const awsClient: <T extends AWSClientTypes>(Service: new (params: object) => T, version?: string, serviceOptions?: object) => (params?: object) => T; export = awsClient; //# sourceMappingURL=client.d.ts.map