@aws-lite/ssm-types 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +21 -0
- package/package.json +16 -3
package/index.d.ts
CHANGED
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
/* ! Do not remove IMPORTS_START / IMPORTS_END ! */
|
|
3
3
|
// $IMPORTS_START
|
|
4
|
+
DeleteParameterCommandOutput as DeleteParameterResponse,
|
|
5
|
+
DeleteParametersCommandOutput as DeleteParametersResponse,
|
|
4
6
|
GetParameterCommandOutput as GetParameterResponse,
|
|
5
7
|
GetParametersCommandOutput as GetParametersResponse,
|
|
6
8
|
GetParametersByPathCommandOutput as GetParametersByPathResponse,
|
|
9
|
+
PutParameterCommandOutput as PutParameterResponse,
|
|
7
10
|
// $IMPORTS_END
|
|
8
11
|
} from "@aws-sdk/client-ssm";
|
|
9
12
|
|
|
10
13
|
declare interface AwsLiteSSM {
|
|
11
14
|
/* ! Do not remove METHODS_START / METHODS_END ! */
|
|
12
15
|
// $METHODS_START
|
|
16
|
+
/**
|
|
17
|
+
* @description
|
|
18
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DeleteParameter SSM: DeleteParameter}
|
|
19
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/ssm/readme.md#DeleteParameter SSM: DeleteParameter}
|
|
20
|
+
*/
|
|
21
|
+
DeleteParameter: (input: { Name: string }) => Promise<DeleteParameterResponse>
|
|
22
|
+
/**
|
|
23
|
+
* @description
|
|
24
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_DeleteParameters SSM: DeleteParameters}
|
|
25
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/ssm/readme.md#DeleteParameters SSM: DeleteParameters}
|
|
26
|
+
*/
|
|
27
|
+
DeleteParameters: (input: { Names: any[] }) => Promise<DeleteParametersResponse>
|
|
13
28
|
/**
|
|
14
29
|
* @description
|
|
15
30
|
* - AWS docs: {@link https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_GetParameter.html SSM: GetParameter}
|
|
@@ -28,6 +43,12 @@ declare interface AwsLiteSSM {
|
|
|
28
43
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/ssm/readme.md#GetParametersByPath SSM: GetParametersByPath}
|
|
29
44
|
*/
|
|
30
45
|
GetParametersByPath: (input: { Path: string, MaxResults?: number, NextToken?: string, ParameterFilters?: any[], Recursive?: boolean, WithDecryption?: boolean, paginate?: boolean }) => Promise<GetParametersByPathResponse>
|
|
46
|
+
/**
|
|
47
|
+
* @description
|
|
48
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_PutParameter SSM: PutParameter}
|
|
49
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/ssm/readme.md#PutParameter SSM: PutParameter}
|
|
50
|
+
*/
|
|
51
|
+
PutParameter: (input: { Name: string, Value: string, AllowedPattern?: string, DataType?: string, Description?: string, KeyId?: string, Overwrite?: boolean, Policies?: any[], Tags?: any[], Tier?: string, Type?: string }) => Promise<PutParameterResponse>
|
|
31
52
|
// $METHODS_END
|
|
32
53
|
}
|
|
33
54
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-lite/ssm-types",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "Type definitions for the `@aws-lite/ssm` plugin",
|
|
5
|
+
"homepage": "https://aws-lite.org/services/ssm",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/architect/aws-lite.git",
|
|
9
|
+
"directory": "plugins/ssm/types"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/architect/aws-lite/issues",
|
|
5
12
|
"main": "",
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=16"
|
|
15
|
+
},
|
|
16
|
+
"author": "@architect",
|
|
17
|
+
"license": "Apache-2.0",
|
|
6
18
|
"types": "index.d.ts",
|
|
7
19
|
"files": [
|
|
8
20
|
"index.d.ts"
|
|
9
21
|
],
|
|
10
22
|
"dependencies": {
|
|
11
23
|
"@aws-sdk/client-ssm": "3"
|
|
12
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"scripts": {}
|
|
13
26
|
}
|