@aws-lite/cloudformation-types 0.0.8 → 0.1.1
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 +10 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
DescribeStacksCommandOutput as DescribeStacksResponse,
|
|
8
8
|
ListStackResourcesCommandOutput as ListStackResourcesResponse,
|
|
9
9
|
UpdateStackCommandOutput as UpdateStackResponse,
|
|
10
|
+
UpdateTerminationProtectionCommandOutput as UpdateTerminationProtectionResponse,
|
|
10
11
|
// $IMPORTS_END
|
|
11
12
|
} from "@aws-sdk/client-cloudformation";
|
|
12
13
|
|
|
@@ -36,19 +37,25 @@ declare interface AwsLiteCloudFormation {
|
|
|
36
37
|
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStacks.html CloudFormation: DescribeStacks}
|
|
37
38
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#DescribeStacks CloudFormation: DescribeStacks}
|
|
38
39
|
*/
|
|
39
|
-
DescribeStacks: (input: { StackName?: string, NextToken?: string, paginate?: boolean }) => Promise<DescribeStacksResponse>
|
|
40
|
+
DescribeStacks: (input: { StackName?: string, NextToken?: string, paginate?: boolean | string }) => Promise<DescribeStacksResponse>
|
|
40
41
|
/**
|
|
41
42
|
* @description
|
|
42
43
|
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ListStackResources.html CloudFormation: ListStackResources}
|
|
43
44
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#ListStackResources CloudFormation: ListStackResources}
|
|
44
45
|
*/
|
|
45
|
-
ListStackResources: (input: { StackName: string, NextToken?: string, paginate?: boolean }) => Promise<ListStackResourcesResponse>
|
|
46
|
+
ListStackResources: (input: { StackName: string, NextToken?: string, paginate?: boolean | string }) => Promise<ListStackResourcesResponse>
|
|
46
47
|
/**
|
|
47
48
|
* @description
|
|
48
49
|
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateStack.html CloudFormation: UpdateStack}
|
|
49
50
|
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#UpdateStack CloudFormation: UpdateStack}
|
|
50
51
|
*/
|
|
51
52
|
UpdateStack: (input: { StackName: string, Capabilities?: any[], ClientRequestToken?: string, DisableRollback?: boolean, NotificationARNs?: any[], Parameters?: any[], ResourceTypes?: any[], RetainExceptOnCreate?: boolean, RoleARN?: string, RollbackConfiguration?: Record<string, any>, StackPolicyBody?: string | Record<string, any>, StackPolicyURL?: string, Tags?: any[], TemplateBody?: string | Record<string, any>, TemplateURL?: string }) => Promise<UpdateStackResponse>
|
|
53
|
+
/**
|
|
54
|
+
* @description
|
|
55
|
+
* - AWS docs: {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_UpdateTerminationProtection.html CloudFormation: UpdateTerminationProtection}
|
|
56
|
+
* - aws-lite docs: {@link https://github.com/architect/aws-lite/blob/main/plugins/cloudformation/readme.md#UpdateTerminationProtection CloudFormation: UpdateTerminationProtection}
|
|
57
|
+
*/
|
|
58
|
+
UpdateTerminationProtection: (input: { StackName: string, EnableTerminationProtection: boolean }) => Promise<UpdateTerminationProtectionResponse>
|
|
52
59
|
// $METHODS_END
|
|
53
60
|
}
|
|
54
61
|
|
|
@@ -68,5 +75,6 @@ export type {
|
|
|
68
75
|
DescribeStacksResponse,
|
|
69
76
|
ListStackResourcesResponse,
|
|
70
77
|
UpdateStackResponse,
|
|
78
|
+
UpdateTerminationProtectionResponse,
|
|
71
79
|
// $EXPORT_END
|
|
72
80
|
}
|
package/package.json
CHANGED