1 | import { SecretsManager } from 'aws-sdk'
|
2 | import middy from '@middy/core'
|
3 | import { Options as MiddyOptions } from '@middy/util'
|
4 |
|
5 | interface Options<SM = SecretsManager> extends MiddyOptions<SM, SecretsManager.Types.ClientConfiguration> {}
|
6 |
|
7 | declare function secretsManager (options?: Options): middy.MiddlewareObj
|
8 |
|
9 | export default secretsManager
|
10 |
|
\ | No newline at end of file |