1
- import type { GetParameterCommandInput , GetParametersByPathCommandInput } from '@aws-sdk/client-ssm' ;
1
+ import type {
2
+ SSMClientConfig ,
3
+ GetParameterCommandInput ,
4
+ GetParametersByPathCommandInput
5
+ } from '@aws-sdk/client-ssm' ;
2
6
import type { GetOptionsInterface , GetMultipleOptionsInterface , TransformOptions } from './BaseProvider' ;
3
7
8
+ interface SSMProviderOptionsInterface {
9
+ clientConfig : SSMClientConfig
10
+ }
11
+
4
12
/**
5
13
* Options for the SSMProvider get method.
6
14
*
@@ -31,7 +39,7 @@ interface SSMGetParametersByNameOptionsInterface {
31
39
type SSMSplitBatchAndDecryptParametersOutputType = {
32
40
parametersToFetchInBatch : Record < string , SSMGetParametersByNameOptionsInterface >
33
41
parametersToDecrypt : Record < string , SSMGetParametersByNameOptionsInterface >
34
- } & { [ key : string ] : SSMGetParametersByNameOptionsInterface } ;
42
+ } ;
35
43
36
44
interface SSMGetParametersByNameOutputInterface {
37
45
response : Record < string , unknown >
@@ -41,9 +49,10 @@ interface SSMGetParametersByNameOutputInterface {
41
49
type SSMGetParametersByNameFromCacheOutputType = {
42
50
cached : Record < string , string | Record < string , unknown > >
43
51
toFetch : Record < string , SSMGetParametersByNameOptionsInterface >
44
- } & { [ key : string ] : SSMGetParametersByNameOptionsInterface } ;
52
+ } ;
45
53
46
54
export {
55
+ SSMProviderOptionsInterface ,
47
56
SSMGetOptionsInterface ,
48
57
SSMGetMultipleOptionsInterface ,
49
58
SSMGetParametersByNameOptionsInterface ,
0 commit comments