@cdk8s/awscdk-resolver 0.0.242 → 0.0.243
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +40 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +782 -33
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +10 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +51 -55
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +55 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackRefactorActionsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackRefactorsPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +514 -24
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/index.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorCreateComplete.js +43 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorExecuteComplete.js +52 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +36 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +7 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackRefactorCommand.d.ts +91 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackRefactorCommand.d.ts +82 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteStackRefactorCommand.d.ts +69 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorActionsCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorsCommand.d.ts +85 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +968 -1147
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +770 -32
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorActionsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorsPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +45 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +86 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +30 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackRefactorCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackRefactorCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteStackRefactorCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorActionsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorsCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +130 -151
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +158 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackRefactorActionsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackRefactorsPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorCreateComplete.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorExecuteComplete.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorCreateComplete.d.ts +14 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorExecuteComplete.d.ts +14 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/client-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-node/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
- package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/package.json +5 -5
@@ -3,6 +3,8 @@ export * from "./waitForStackCreateComplete";
|
|
3
3
|
export * from "./waitForStackDeleteComplete";
|
4
4
|
export * from "./waitForStackExists";
|
5
5
|
export * from "./waitForStackImportComplete";
|
6
|
+
export * from "./waitForStackRefactorCreateComplete";
|
7
|
+
export * from "./waitForStackRefactorExecuteComplete";
|
6
8
|
export * from "./waitForStackRollbackComplete";
|
7
9
|
export * from "./waitForStackUpdateComplete";
|
8
10
|
export * from "./waitForTypeRegistrationComplete";
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
2
|
+
import { DescribeStackRefactorCommand, } from "../commands/DescribeStackRefactorCommand";
|
3
|
+
const checkState = async (client, input) => {
|
4
|
+
let reason;
|
5
|
+
try {
|
6
|
+
const result = await client.send(new DescribeStackRefactorCommand(input));
|
7
|
+
reason = result;
|
8
|
+
try {
|
9
|
+
const returnComparator = () => {
|
10
|
+
return result.Status;
|
11
|
+
};
|
12
|
+
if (returnComparator() === "CREATE_COMPLETE") {
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
14
|
+
}
|
15
|
+
}
|
16
|
+
catch (e) { }
|
17
|
+
try {
|
18
|
+
const returnComparator = () => {
|
19
|
+
return result.Status;
|
20
|
+
};
|
21
|
+
if (returnComparator() === "CREATE_FAILED") {
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
23
|
+
}
|
24
|
+
}
|
25
|
+
catch (e) { }
|
26
|
+
}
|
27
|
+
catch (exception) {
|
28
|
+
reason = exception;
|
29
|
+
if (exception.name && exception.name == "ValidationError") {
|
30
|
+
return { state: WaiterState.FAILURE, reason };
|
31
|
+
}
|
32
|
+
}
|
33
|
+
return { state: WaiterState.RETRY, reason };
|
34
|
+
};
|
35
|
+
export const waitForStackRefactorCreateComplete = async (params, input) => {
|
36
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
37
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
38
|
+
};
|
39
|
+
export const waitUntilStackRefactorCreateComplete = async (params, input) => {
|
40
|
+
const serviceDefaults = { minDelay: 5, maxDelay: 120 };
|
41
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
42
|
+
return checkExceptions(result);
|
43
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
|
2
|
+
import { DescribeStackRefactorCommand, } from "../commands/DescribeStackRefactorCommand";
|
3
|
+
const checkState = async (client, input) => {
|
4
|
+
let reason;
|
5
|
+
try {
|
6
|
+
const result = await client.send(new DescribeStackRefactorCommand(input));
|
7
|
+
reason = result;
|
8
|
+
try {
|
9
|
+
const returnComparator = () => {
|
10
|
+
return result.ExecutionStatus;
|
11
|
+
};
|
12
|
+
if (returnComparator() === "EXECUTE_COMPLETE") {
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
14
|
+
}
|
15
|
+
}
|
16
|
+
catch (e) { }
|
17
|
+
try {
|
18
|
+
const returnComparator = () => {
|
19
|
+
return result.ExecutionStatus;
|
20
|
+
};
|
21
|
+
if (returnComparator() === "EXECUTE_FAILED") {
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
23
|
+
}
|
24
|
+
}
|
25
|
+
catch (e) { }
|
26
|
+
try {
|
27
|
+
const returnComparator = () => {
|
28
|
+
return result.ExecutionStatus;
|
29
|
+
};
|
30
|
+
if (returnComparator() === "ROLLBACK_COMPLETE") {
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
32
|
+
}
|
33
|
+
}
|
34
|
+
catch (e) { }
|
35
|
+
}
|
36
|
+
catch (exception) {
|
37
|
+
reason = exception;
|
38
|
+
if (exception.name && exception.name == "ValidationError") {
|
39
|
+
return { state: WaiterState.FAILURE, reason };
|
40
|
+
}
|
41
|
+
}
|
42
|
+
return { state: WaiterState.RETRY, reason };
|
43
|
+
};
|
44
|
+
export const waitForStackRefactorExecuteComplete = async (params, input) => {
|
45
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
46
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
47
|
+
};
|
48
|
+
export const waitUntilStackRefactorExecuteComplete = async (params, input) => {
|
49
|
+
const serviceDefaults = { minDelay: 15, maxDelay: 120 };
|
50
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
51
|
+
return checkExceptions(result);
|
52
|
+
};
|
@@ -9,6 +9,7 @@ import { CreateChangeSetCommandInput, CreateChangeSetCommandOutput } from "./com
|
|
9
9
|
import { CreateGeneratedTemplateCommandInput, CreateGeneratedTemplateCommandOutput } from "./commands/CreateGeneratedTemplateCommand";
|
10
10
|
import { CreateStackCommandInput, CreateStackCommandOutput } from "./commands/CreateStackCommand";
|
11
11
|
import { CreateStackInstancesCommandInput, CreateStackInstancesCommandOutput } from "./commands/CreateStackInstancesCommand";
|
12
|
+
import { CreateStackRefactorCommandInput, CreateStackRefactorCommandOutput } from "./commands/CreateStackRefactorCommand";
|
12
13
|
import { CreateStackSetCommandInput, CreateStackSetCommandOutput } from "./commands/CreateStackSetCommand";
|
13
14
|
import { DeactivateOrganizationsAccessCommandInput, DeactivateOrganizationsAccessCommandOutput } from "./commands/DeactivateOrganizationsAccessCommand";
|
14
15
|
import { DeactivateTypeCommandInput, DeactivateTypeCommandOutput } from "./commands/DeactivateTypeCommand";
|
@@ -28,6 +29,7 @@ import { DescribeResourceScanCommandInput, DescribeResourceScanCommandOutput } f
|
|
28
29
|
import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "./commands/DescribeStackDriftDetectionStatusCommand";
|
29
30
|
import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "./commands/DescribeStackEventsCommand";
|
30
31
|
import { DescribeStackInstanceCommandInput, DescribeStackInstanceCommandOutput } from "./commands/DescribeStackInstanceCommand";
|
32
|
+
import { DescribeStackRefactorCommandInput, DescribeStackRefactorCommandOutput } from "./commands/DescribeStackRefactorCommand";
|
31
33
|
import { DescribeStackResourceCommandInput, DescribeStackResourceCommandOutput } from "./commands/DescribeStackResourceCommand";
|
32
34
|
import { DescribeStackResourceDriftsCommandInput, DescribeStackResourceDriftsCommandOutput } from "./commands/DescribeStackResourceDriftsCommand";
|
33
35
|
import { DescribeStackResourcesCommandInput, DescribeStackResourcesCommandOutput } from "./commands/DescribeStackResourcesCommand";
|
@@ -41,6 +43,7 @@ import { DetectStackResourceDriftCommandInput, DetectStackResourceDriftCommandOu
|
|
41
43
|
import { DetectStackSetDriftCommandInput, DetectStackSetDriftCommandOutput } from "./commands/DetectStackSetDriftCommand";
|
42
44
|
import { EstimateTemplateCostCommandInput, EstimateTemplateCostCommandOutput } from "./commands/EstimateTemplateCostCommand";
|
43
45
|
import { ExecuteChangeSetCommandInput, ExecuteChangeSetCommandOutput } from "./commands/ExecuteChangeSetCommand";
|
46
|
+
import { ExecuteStackRefactorCommandInput, ExecuteStackRefactorCommandOutput } from "./commands/ExecuteStackRefactorCommand";
|
44
47
|
import { GetGeneratedTemplateCommandInput, GetGeneratedTemplateCommandOutput } from "./commands/GetGeneratedTemplateCommand";
|
45
48
|
import { GetStackPolicyCommandInput, GetStackPolicyCommandOutput } from "./commands/GetStackPolicyCommand";
|
46
49
|
import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
|
@@ -56,6 +59,8 @@ import { ListResourceScanResourcesCommandInput, ListResourceScanResourcesCommand
|
|
56
59
|
import { ListResourceScansCommandInput, ListResourceScansCommandOutput } from "./commands/ListResourceScansCommand";
|
57
60
|
import { ListStackInstanceResourceDriftsCommandInput, ListStackInstanceResourceDriftsCommandOutput } from "./commands/ListStackInstanceResourceDriftsCommand";
|
58
61
|
import { ListStackInstancesCommandInput, ListStackInstancesCommandOutput } from "./commands/ListStackInstancesCommand";
|
62
|
+
import { ListStackRefactorActionsCommandInput, ListStackRefactorActionsCommandOutput } from "./commands/ListStackRefactorActionsCommand";
|
63
|
+
import { ListStackRefactorsCommandInput, ListStackRefactorsCommandOutput } from "./commands/ListStackRefactorsCommand";
|
59
64
|
import { ListStackResourcesCommandInput, ListStackResourcesCommandOutput } from "./commands/ListStackResourcesCommand";
|
60
65
|
import { ListStacksCommandInput, ListStacksCommandOutput } from "./commands/ListStacksCommand";
|
61
66
|
import { ListStackSetAutoDeploymentTargetsCommandInput, ListStackSetAutoDeploymentTargetsCommandOutput } from "./commands/ListStackSetAutoDeploymentTargetsCommand";
|
@@ -140,6 +145,12 @@ export interface CloudFormation {
|
|
140
145
|
createStackInstances(args: CreateStackInstancesCommandInput, options?: __HttpHandlerOptions): Promise<CreateStackInstancesCommandOutput>;
|
141
146
|
createStackInstances(args: CreateStackInstancesCommandInput, cb: (err: any, data?: CreateStackInstancesCommandOutput) => void): void;
|
142
147
|
createStackInstances(args: CreateStackInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStackInstancesCommandOutput) => void): void;
|
148
|
+
/**
|
149
|
+
* @see {@link CreateStackRefactorCommand}
|
150
|
+
*/
|
151
|
+
createStackRefactor(args: CreateStackRefactorCommandInput, options?: __HttpHandlerOptions): Promise<CreateStackRefactorCommandOutput>;
|
152
|
+
createStackRefactor(args: CreateStackRefactorCommandInput, cb: (err: any, data?: CreateStackRefactorCommandOutput) => void): void;
|
153
|
+
createStackRefactor(args: CreateStackRefactorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStackRefactorCommandOutput) => void): void;
|
143
154
|
/**
|
144
155
|
* @see {@link CreateStackSetCommand}
|
145
156
|
*/
|
@@ -261,6 +272,12 @@ export interface CloudFormation {
|
|
261
272
|
describeStackInstance(args: DescribeStackInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStackInstanceCommandOutput>;
|
262
273
|
describeStackInstance(args: DescribeStackInstanceCommandInput, cb: (err: any, data?: DescribeStackInstanceCommandOutput) => void): void;
|
263
274
|
describeStackInstance(args: DescribeStackInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStackInstanceCommandOutput) => void): void;
|
275
|
+
/**
|
276
|
+
* @see {@link DescribeStackRefactorCommand}
|
277
|
+
*/
|
278
|
+
describeStackRefactor(args: DescribeStackRefactorCommandInput, options?: __HttpHandlerOptions): Promise<DescribeStackRefactorCommandOutput>;
|
279
|
+
describeStackRefactor(args: DescribeStackRefactorCommandInput, cb: (err: any, data?: DescribeStackRefactorCommandOutput) => void): void;
|
280
|
+
describeStackRefactor(args: DescribeStackRefactorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeStackRefactorCommandOutput) => void): void;
|
264
281
|
/**
|
265
282
|
* @see {@link DescribeStackResourceCommand}
|
266
283
|
*/
|
@@ -343,6 +360,12 @@ export interface CloudFormation {
|
|
343
360
|
executeChangeSet(args: ExecuteChangeSetCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteChangeSetCommandOutput>;
|
344
361
|
executeChangeSet(args: ExecuteChangeSetCommandInput, cb: (err: any, data?: ExecuteChangeSetCommandOutput) => void): void;
|
345
362
|
executeChangeSet(args: ExecuteChangeSetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteChangeSetCommandOutput) => void): void;
|
363
|
+
/**
|
364
|
+
* @see {@link ExecuteStackRefactorCommand}
|
365
|
+
*/
|
366
|
+
executeStackRefactor(args: ExecuteStackRefactorCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStackRefactorCommandOutput>;
|
367
|
+
executeStackRefactor(args: ExecuteStackRefactorCommandInput, cb: (err: any, data?: ExecuteStackRefactorCommandOutput) => void): void;
|
368
|
+
executeStackRefactor(args: ExecuteStackRefactorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStackRefactorCommandOutput) => void): void;
|
346
369
|
/**
|
347
370
|
* @see {@link GetGeneratedTemplateCommand}
|
348
371
|
*/
|
@@ -438,6 +461,19 @@ export interface CloudFormation {
|
|
438
461
|
listStackInstances(args: ListStackInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListStackInstancesCommandOutput>;
|
439
462
|
listStackInstances(args: ListStackInstancesCommandInput, cb: (err: any, data?: ListStackInstancesCommandOutput) => void): void;
|
440
463
|
listStackInstances(args: ListStackInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStackInstancesCommandOutput) => void): void;
|
464
|
+
/**
|
465
|
+
* @see {@link ListStackRefactorActionsCommand}
|
466
|
+
*/
|
467
|
+
listStackRefactorActions(args: ListStackRefactorActionsCommandInput, options?: __HttpHandlerOptions): Promise<ListStackRefactorActionsCommandOutput>;
|
468
|
+
listStackRefactorActions(args: ListStackRefactorActionsCommandInput, cb: (err: any, data?: ListStackRefactorActionsCommandOutput) => void): void;
|
469
|
+
listStackRefactorActions(args: ListStackRefactorActionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStackRefactorActionsCommandOutput) => void): void;
|
470
|
+
/**
|
471
|
+
* @see {@link ListStackRefactorsCommand}
|
472
|
+
*/
|
473
|
+
listStackRefactors(): Promise<ListStackRefactorsCommandOutput>;
|
474
|
+
listStackRefactors(args: ListStackRefactorsCommandInput, options?: __HttpHandlerOptions): Promise<ListStackRefactorsCommandOutput>;
|
475
|
+
listStackRefactors(args: ListStackRefactorsCommandInput, cb: (err: any, data?: ListStackRefactorsCommandOutput) => void): void;
|
476
|
+
listStackRefactors(args: ListStackRefactorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStackRefactorsCommandOutput) => void): void;
|
441
477
|
/**
|
442
478
|
* @see {@link ListStackResourcesCommand}
|
443
479
|
*/
|
@@ -16,6 +16,7 @@ import { CreateChangeSetCommandInput, CreateChangeSetCommandOutput } from "./com
|
|
16
16
|
import { CreateGeneratedTemplateCommandInput, CreateGeneratedTemplateCommandOutput } from "./commands/CreateGeneratedTemplateCommand";
|
17
17
|
import { CreateStackCommandInput, CreateStackCommandOutput } from "./commands/CreateStackCommand";
|
18
18
|
import { CreateStackInstancesCommandInput, CreateStackInstancesCommandOutput } from "./commands/CreateStackInstancesCommand";
|
19
|
+
import { CreateStackRefactorCommandInput, CreateStackRefactorCommandOutput } from "./commands/CreateStackRefactorCommand";
|
19
20
|
import { CreateStackSetCommandInput, CreateStackSetCommandOutput } from "./commands/CreateStackSetCommand";
|
20
21
|
import { DeactivateOrganizationsAccessCommandInput, DeactivateOrganizationsAccessCommandOutput } from "./commands/DeactivateOrganizationsAccessCommand";
|
21
22
|
import { DeactivateTypeCommandInput, DeactivateTypeCommandOutput } from "./commands/DeactivateTypeCommand";
|
@@ -35,6 +36,7 @@ import { DescribeResourceScanCommandInput, DescribeResourceScanCommandOutput } f
|
|
35
36
|
import { DescribeStackDriftDetectionStatusCommandInput, DescribeStackDriftDetectionStatusCommandOutput } from "./commands/DescribeStackDriftDetectionStatusCommand";
|
36
37
|
import { DescribeStackEventsCommandInput, DescribeStackEventsCommandOutput } from "./commands/DescribeStackEventsCommand";
|
37
38
|
import { DescribeStackInstanceCommandInput, DescribeStackInstanceCommandOutput } from "./commands/DescribeStackInstanceCommand";
|
39
|
+
import { DescribeStackRefactorCommandInput, DescribeStackRefactorCommandOutput } from "./commands/DescribeStackRefactorCommand";
|
38
40
|
import { DescribeStackResourceCommandInput, DescribeStackResourceCommandOutput } from "./commands/DescribeStackResourceCommand";
|
39
41
|
import { DescribeStackResourceDriftsCommandInput, DescribeStackResourceDriftsCommandOutput } from "./commands/DescribeStackResourceDriftsCommand";
|
40
42
|
import { DescribeStackResourcesCommandInput, DescribeStackResourcesCommandOutput } from "./commands/DescribeStackResourcesCommand";
|
@@ -48,6 +50,7 @@ import { DetectStackResourceDriftCommandInput, DetectStackResourceDriftCommandOu
|
|
48
50
|
import { DetectStackSetDriftCommandInput, DetectStackSetDriftCommandOutput } from "./commands/DetectStackSetDriftCommand";
|
49
51
|
import { EstimateTemplateCostCommandInput, EstimateTemplateCostCommandOutput } from "./commands/EstimateTemplateCostCommand";
|
50
52
|
import { ExecuteChangeSetCommandInput, ExecuteChangeSetCommandOutput } from "./commands/ExecuteChangeSetCommand";
|
53
|
+
import { ExecuteStackRefactorCommandInput, ExecuteStackRefactorCommandOutput } from "./commands/ExecuteStackRefactorCommand";
|
51
54
|
import { GetGeneratedTemplateCommandInput, GetGeneratedTemplateCommandOutput } from "./commands/GetGeneratedTemplateCommand";
|
52
55
|
import { GetStackPolicyCommandInput, GetStackPolicyCommandOutput } from "./commands/GetStackPolicyCommand";
|
53
56
|
import { GetTemplateCommandInput, GetTemplateCommandOutput } from "./commands/GetTemplateCommand";
|
@@ -63,6 +66,8 @@ import { ListResourceScanResourcesCommandInput, ListResourceScanResourcesCommand
|
|
63
66
|
import { ListResourceScansCommandInput, ListResourceScansCommandOutput } from "./commands/ListResourceScansCommand";
|
64
67
|
import { ListStackInstanceResourceDriftsCommandInput, ListStackInstanceResourceDriftsCommandOutput } from "./commands/ListStackInstanceResourceDriftsCommand";
|
65
68
|
import { ListStackInstancesCommandInput, ListStackInstancesCommandOutput } from "./commands/ListStackInstancesCommand";
|
69
|
+
import { ListStackRefactorActionsCommandInput, ListStackRefactorActionsCommandOutput } from "./commands/ListStackRefactorActionsCommand";
|
70
|
+
import { ListStackRefactorsCommandInput, ListStackRefactorsCommandOutput } from "./commands/ListStackRefactorsCommand";
|
66
71
|
import { ListStackResourcesCommandInput, ListStackResourcesCommandOutput } from "./commands/ListStackResourcesCommand";
|
67
72
|
import { ListStacksCommandInput, ListStacksCommandOutput } from "./commands/ListStacksCommand";
|
68
73
|
import { ListStackSetAutoDeploymentTargetsCommandInput, ListStackSetAutoDeploymentTargetsCommandOutput } from "./commands/ListStackSetAutoDeploymentTargetsCommand";
|
@@ -96,11 +101,11 @@ export { __Client };
|
|
96
101
|
/**
|
97
102
|
* @public
|
98
103
|
*/
|
99
|
-
export type ServiceInputTypes = ActivateOrganizationsAccessCommandInput | ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateGeneratedTemplateCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateOrganizationsAccessCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteGeneratedTemplateCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribeChangeSetHooksCommandInput | DescribeGeneratedTemplateCommandInput | DescribeOrganizationsAccessCommandInput | DescribePublisherCommandInput | DescribeResourceScanCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetGeneratedTemplateCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListGeneratedTemplatesCommandInput | ListHookResultsCommandInput | ListImportsCommandInput | ListResourceScanRelatedResourcesCommandInput | ListResourceScanResourcesCommandInput | ListResourceScansCommandInput | ListStackInstanceResourceDriftsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetAutoDeploymentTargetsCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StartResourceScanCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateGeneratedTemplateCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
|
104
|
+
export type ServiceInputTypes = ActivateOrganizationsAccessCommandInput | ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateGeneratedTemplateCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackRefactorCommandInput | CreateStackSetCommandInput | DeactivateOrganizationsAccessCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteGeneratedTemplateCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribeChangeSetHooksCommandInput | DescribeGeneratedTemplateCommandInput | DescribeOrganizationsAccessCommandInput | DescribePublisherCommandInput | DescribeResourceScanCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackRefactorCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | ExecuteStackRefactorCommandInput | GetGeneratedTemplateCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListGeneratedTemplatesCommandInput | ListHookResultsCommandInput | ListImportsCommandInput | ListResourceScanRelatedResourcesCommandInput | ListResourceScanResourcesCommandInput | ListResourceScansCommandInput | ListStackInstanceResourceDriftsCommandInput | ListStackInstancesCommandInput | ListStackRefactorActionsCommandInput | ListStackRefactorsCommandInput | ListStackResourcesCommandInput | ListStackSetAutoDeploymentTargetsCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StartResourceScanCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateGeneratedTemplateCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
|
100
105
|
/**
|
101
106
|
* @public
|
102
107
|
*/
|
103
|
-
export type ServiceOutputTypes = ActivateOrganizationsAccessCommandOutput | ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateGeneratedTemplateCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateOrganizationsAccessCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteGeneratedTemplateCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribeChangeSetHooksCommandOutput | DescribeGeneratedTemplateCommandOutput | DescribeOrganizationsAccessCommandOutput | DescribePublisherCommandOutput | DescribeResourceScanCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetGeneratedTemplateCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListGeneratedTemplatesCommandOutput | ListHookResultsCommandOutput | ListImportsCommandOutput | ListResourceScanRelatedResourcesCommandOutput | ListResourceScanResourcesCommandOutput | ListResourceScansCommandOutput | ListStackInstanceResourceDriftsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetAutoDeploymentTargetsCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StartResourceScanCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateGeneratedTemplateCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
|
108
|
+
export type ServiceOutputTypes = ActivateOrganizationsAccessCommandOutput | ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateGeneratedTemplateCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackRefactorCommandOutput | CreateStackSetCommandOutput | DeactivateOrganizationsAccessCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteGeneratedTemplateCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribeChangeSetHooksCommandOutput | DescribeGeneratedTemplateCommandOutput | DescribeOrganizationsAccessCommandOutput | DescribePublisherCommandOutput | DescribeResourceScanCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackRefactorCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | ExecuteStackRefactorCommandOutput | GetGeneratedTemplateCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListGeneratedTemplatesCommandOutput | ListHookResultsCommandOutput | ListImportsCommandOutput | ListResourceScanRelatedResourcesCommandOutput | ListResourceScanResourcesCommandOutput | ListResourceScansCommandOutput | ListStackInstanceResourceDriftsCommandOutput | ListStackInstancesCommandOutput | ListStackRefactorActionsCommandOutput | ListStackRefactorsCommandOutput | ListStackResourcesCommandOutput | ListStackSetAutoDeploymentTargetsCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StartResourceScanCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateGeneratedTemplateCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
|
104
109
|
/**
|
105
110
|
* @public
|
106
111
|
*/
|
@@ -0,0 +1,91 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { CreateStackRefactorInput, CreateStackRefactorOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export type { __MetadataBearer };
|
9
|
+
export { $Command };
|
10
|
+
/**
|
11
|
+
* @public
|
12
|
+
*
|
13
|
+
* The input for {@link CreateStackRefactorCommand}.
|
14
|
+
*/
|
15
|
+
export interface CreateStackRefactorCommandInput extends CreateStackRefactorInput {
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @public
|
19
|
+
*
|
20
|
+
* The output of {@link CreateStackRefactorCommand}.
|
21
|
+
*/
|
22
|
+
export interface CreateStackRefactorCommandOutput extends CreateStackRefactorOutput, __MetadataBearer {
|
23
|
+
}
|
24
|
+
declare const CreateStackRefactorCommand_base: {
|
25
|
+
new (input: CreateStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStackRefactorCommandInput, CreateStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
+
new (__0_0: CreateStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateStackRefactorCommandInput, CreateStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* <p>Creates a refactor across multiple stacks, with the list of stacks and resources that are affected.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, CreateStackRefactorCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, CreateStackRefactorCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // CreateStackRefactorInput
|
38
|
+
* Description: "STRING_VALUE",
|
39
|
+
* EnableStackCreation: true || false,
|
40
|
+
* ResourceMappings: [ // ResourceMappings
|
41
|
+
* { // ResourceMapping
|
42
|
+
* Source: { // ResourceLocation
|
43
|
+
* StackName: "STRING_VALUE", // required
|
44
|
+
* LogicalResourceId: "STRING_VALUE", // required
|
45
|
+
* },
|
46
|
+
* Destination: {
|
47
|
+
* StackName: "STRING_VALUE", // required
|
48
|
+
* LogicalResourceId: "STRING_VALUE", // required
|
49
|
+
* },
|
50
|
+
* },
|
51
|
+
* ],
|
52
|
+
* StackDefinitions: [ // StackDefinitions // required
|
53
|
+
* { // StackDefinition
|
54
|
+
* StackName: "STRING_VALUE",
|
55
|
+
* TemplateBody: "STRING_VALUE",
|
56
|
+
* TemplateURL: "STRING_VALUE",
|
57
|
+
* },
|
58
|
+
* ],
|
59
|
+
* };
|
60
|
+
* const command = new CreateStackRefactorCommand(input);
|
61
|
+
* const response = await client.send(command);
|
62
|
+
* // { // CreateStackRefactorOutput
|
63
|
+
* // StackRefactorId: "STRING_VALUE", // required
|
64
|
+
* // };
|
65
|
+
*
|
66
|
+
* ```
|
67
|
+
*
|
68
|
+
* @param CreateStackRefactorCommandInput - {@link CreateStackRefactorCommandInput}
|
69
|
+
* @returns {@link CreateStackRefactorCommandOutput}
|
70
|
+
* @see {@link CreateStackRefactorCommandInput} for command's `input` shape.
|
71
|
+
* @see {@link CreateStackRefactorCommandOutput} for command's `response` shape.
|
72
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
73
|
+
*
|
74
|
+
* @throws {@link CloudFormationServiceException}
|
75
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
76
|
+
*
|
77
|
+
* @public
|
78
|
+
*/
|
79
|
+
export declare class CreateStackRefactorCommand extends CreateStackRefactorCommand_base {
|
80
|
+
/** @internal type navigation helper, not in runtime. */
|
81
|
+
protected static __types: {
|
82
|
+
api: {
|
83
|
+
input: CreateStackRefactorInput;
|
84
|
+
output: CreateStackRefactorOutput;
|
85
|
+
};
|
86
|
+
sdk: {
|
87
|
+
input: CreateStackRefactorCommandInput;
|
88
|
+
output: CreateStackRefactorCommandOutput;
|
89
|
+
};
|
90
|
+
};
|
91
|
+
}
|
@@ -56,7 +56,7 @@ declare const DescribeStackEventsCommand_base: {
|
|
56
56
|
* // PhysicalResourceId: "STRING_VALUE",
|
57
57
|
* // ResourceType: "STRING_VALUE",
|
58
58
|
* // Timestamp: new Date("TIMESTAMP"), // required
|
59
|
-
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED",
|
59
|
+
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "EXPORT_FAILED" || "EXPORT_COMPLETE" || "EXPORT_IN_PROGRESS" || "EXPORT_ROLLBACK_IN_PROGRESS" || "EXPORT_ROLLBACK_FAILED" || "EXPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED",
|
60
60
|
* // ResourceStatusReason: "STRING_VALUE",
|
61
61
|
* // ResourceProperties: "STRING_VALUE",
|
62
62
|
* // ClientRequestToken: "STRING_VALUE",
|
@@ -0,0 +1,82 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { DescribeStackRefactorInput, DescribeStackRefactorOutput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export type { __MetadataBearer };
|
9
|
+
export { $Command };
|
10
|
+
/**
|
11
|
+
* @public
|
12
|
+
*
|
13
|
+
* The input for {@link DescribeStackRefactorCommand}.
|
14
|
+
*/
|
15
|
+
export interface DescribeStackRefactorCommandInput extends DescribeStackRefactorInput {
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @public
|
19
|
+
*
|
20
|
+
* The output of {@link DescribeStackRefactorCommand}.
|
21
|
+
*/
|
22
|
+
export interface DescribeStackRefactorCommandOutput extends DescribeStackRefactorOutput, __MetadataBearer {
|
23
|
+
}
|
24
|
+
declare const DescribeStackRefactorCommand_base: {
|
25
|
+
new (input: DescribeStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStackRefactorCommandInput, DescribeStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
+
new (__0_0: DescribeStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeStackRefactorCommandInput, DescribeStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* <p>Describes the stack refactor status.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, DescribeStackRefactorCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, DescribeStackRefactorCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // DescribeStackRefactorInput
|
38
|
+
* StackRefactorId: "STRING_VALUE", // required
|
39
|
+
* };
|
40
|
+
* const command = new DescribeStackRefactorCommand(input);
|
41
|
+
* const response = await client.send(command);
|
42
|
+
* // { // DescribeStackRefactorOutput
|
43
|
+
* // Description: "STRING_VALUE",
|
44
|
+
* // StackRefactorId: "STRING_VALUE",
|
45
|
+
* // StackIds: [ // StackIds
|
46
|
+
* // "STRING_VALUE",
|
47
|
+
* // ],
|
48
|
+
* // ExecutionStatus: "UNAVAILABLE" || "AVAILABLE" || "OBSOLETE" || "EXECUTE_IN_PROGRESS" || "EXECUTE_COMPLETE" || "EXECUTE_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED",
|
49
|
+
* // ExecutionStatusReason: "STRING_VALUE",
|
50
|
+
* // Status: "CREATE_IN_PROGRESS" || "CREATE_COMPLETE" || "CREATE_FAILED" || "DELETE_IN_PROGRESS" || "DELETE_COMPLETE" || "DELETE_FAILED",
|
51
|
+
* // StatusReason: "STRING_VALUE",
|
52
|
+
* // };
|
53
|
+
*
|
54
|
+
* ```
|
55
|
+
*
|
56
|
+
* @param DescribeStackRefactorCommandInput - {@link DescribeStackRefactorCommandInput}
|
57
|
+
* @returns {@link DescribeStackRefactorCommandOutput}
|
58
|
+
* @see {@link DescribeStackRefactorCommandInput} for command's `input` shape.
|
59
|
+
* @see {@link DescribeStackRefactorCommandOutput} for command's `response` shape.
|
60
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
61
|
+
*
|
62
|
+
* @throws {@link StackRefactorNotFoundException} (client fault)
|
63
|
+
* <p>The specified stack refactor can't be found.</p>
|
64
|
+
*
|
65
|
+
* @throws {@link CloudFormationServiceException}
|
66
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
67
|
+
*
|
68
|
+
* @public
|
69
|
+
*/
|
70
|
+
export declare class DescribeStackRefactorCommand extends DescribeStackRefactorCommand_base {
|
71
|
+
/** @internal type navigation helper, not in runtime. */
|
72
|
+
protected static __types: {
|
73
|
+
api: {
|
74
|
+
input: DescribeStackRefactorInput;
|
75
|
+
output: DescribeStackRefactorOutput;
|
76
|
+
};
|
77
|
+
sdk: {
|
78
|
+
input: DescribeStackRefactorCommandInput;
|
79
|
+
output: DescribeStackRefactorCommandOutput;
|
80
|
+
};
|
81
|
+
};
|
82
|
+
}
|
@@ -50,7 +50,7 @@ declare const DescribeStackResourceCommand_base: {
|
|
50
50
|
* // PhysicalResourceId: "STRING_VALUE",
|
51
51
|
* // ResourceType: "STRING_VALUE", // required
|
52
52
|
* // LastUpdatedTimestamp: new Date("TIMESTAMP"), // required
|
53
|
-
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED", // required
|
53
|
+
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "EXPORT_FAILED" || "EXPORT_COMPLETE" || "EXPORT_IN_PROGRESS" || "EXPORT_ROLLBACK_IN_PROGRESS" || "EXPORT_ROLLBACK_FAILED" || "EXPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED", // required
|
54
54
|
* // ResourceStatusReason: "STRING_VALUE",
|
55
55
|
* // Description: "STRING_VALUE",
|
56
56
|
* // Metadata: "STRING_VALUE",
|
@@ -67,7 +67,7 @@ declare const DescribeStackResourcesCommand_base: {
|
|
67
67
|
* // PhysicalResourceId: "STRING_VALUE",
|
68
68
|
* // ResourceType: "STRING_VALUE", // required
|
69
69
|
* // Timestamp: new Date("TIMESTAMP"), // required
|
70
|
-
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED", // required
|
70
|
+
* // ResourceStatus: "CREATE_IN_PROGRESS" || "CREATE_FAILED" || "CREATE_COMPLETE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED" || "DELETE_COMPLETE" || "DELETE_SKIPPED" || "UPDATE_IN_PROGRESS" || "UPDATE_FAILED" || "UPDATE_COMPLETE" || "IMPORT_FAILED" || "IMPORT_COMPLETE" || "IMPORT_IN_PROGRESS" || "IMPORT_ROLLBACK_IN_PROGRESS" || "IMPORT_ROLLBACK_FAILED" || "IMPORT_ROLLBACK_COMPLETE" || "EXPORT_FAILED" || "EXPORT_COMPLETE" || "EXPORT_IN_PROGRESS" || "EXPORT_ROLLBACK_IN_PROGRESS" || "EXPORT_ROLLBACK_FAILED" || "EXPORT_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_IN_PROGRESS" || "UPDATE_ROLLBACK_COMPLETE" || "UPDATE_ROLLBACK_FAILED" || "ROLLBACK_IN_PROGRESS" || "ROLLBACK_COMPLETE" || "ROLLBACK_FAILED", // required
|
71
71
|
* // ResourceStatusReason: "STRING_VALUE",
|
72
72
|
* // Description: "STRING_VALUE",
|
73
73
|
* // DriftInformation: { // StackResourceDriftInformation
|
@@ -29,8 +29,8 @@ declare const DetectStackSetDriftCommand_base: {
|
|
29
29
|
/**
|
30
30
|
* <p>Detect drift on a stack set. When CloudFormation performs drift detection on a stack set, it
|
31
31
|
* performs drift detection on the stack associated with each stack instance in the stack set.
|
32
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">
|
33
|
-
*
|
32
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">Performing drift detection on
|
33
|
+
* CloudFormation StackSets</a>.</p>
|
34
34
|
* <p>
|
35
35
|
* <code>DetectStackSetDrift</code> returns the <code>OperationId</code> of the stack set
|
36
36
|
* drift detection operation. Use this operation id with <a>DescribeStackSetOperation</a> to monitor the progress of the drift detection
|
@@ -56,8 +56,6 @@ declare const DetectStackSetDriftCommand_base: {
|
|
56
56
|
* specific stack instance, including its drift status and last drift time checked.</p>
|
57
57
|
* </li>
|
58
58
|
* </ul>
|
59
|
-
* <p>For more information about performing a drift detection operation on a stack set, see
|
60
|
-
* <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/stacksets-drift.html">Detecting unmanaged changes in stack sets</a>.</p>
|
61
59
|
* <p>You can only run a single drift detection operation on a given stack set at one
|
62
60
|
* time.</p>
|
63
61
|
* <p>To stop a drift detection stack set operation, use <a>StopStackSetOperation</a>.</p>
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
3
|
+
import { CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFormationClient";
|
4
|
+
import { ExecuteStackRefactorInput } from "../models/models_0";
|
5
|
+
/**
|
6
|
+
* @public
|
7
|
+
*/
|
8
|
+
export type { __MetadataBearer };
|
9
|
+
export { $Command };
|
10
|
+
/**
|
11
|
+
* @public
|
12
|
+
*
|
13
|
+
* The input for {@link ExecuteStackRefactorCommand}.
|
14
|
+
*/
|
15
|
+
export interface ExecuteStackRefactorCommandInput extends ExecuteStackRefactorInput {
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* @public
|
19
|
+
*
|
20
|
+
* The output of {@link ExecuteStackRefactorCommand}.
|
21
|
+
*/
|
22
|
+
export interface ExecuteStackRefactorCommandOutput extends __MetadataBearer {
|
23
|
+
}
|
24
|
+
declare const ExecuteStackRefactorCommand_base: {
|
25
|
+
new (input: ExecuteStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStackRefactorCommandInput, ExecuteStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
26
|
+
new (__0_0: ExecuteStackRefactorCommandInput): import("@smithy/smithy-client").CommandImpl<ExecuteStackRefactorCommandInput, ExecuteStackRefactorCommandOutput, CloudFormationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
28
|
+
};
|
29
|
+
/**
|
30
|
+
* <p>Executes the stack refactor operation.</p>
|
31
|
+
* @example
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
33
|
+
* ```javascript
|
34
|
+
* import { CloudFormationClient, ExecuteStackRefactorCommand } from "@aws-sdk/client-cloudformation"; // ES Modules import
|
35
|
+
* // const { CloudFormationClient, ExecuteStackRefactorCommand } = require("@aws-sdk/client-cloudformation"); // CommonJS import
|
36
|
+
* const client = new CloudFormationClient(config);
|
37
|
+
* const input = { // ExecuteStackRefactorInput
|
38
|
+
* StackRefactorId: "STRING_VALUE", // required
|
39
|
+
* };
|
40
|
+
* const command = new ExecuteStackRefactorCommand(input);
|
41
|
+
* const response = await client.send(command);
|
42
|
+
* // {};
|
43
|
+
*
|
44
|
+
* ```
|
45
|
+
*
|
46
|
+
* @param ExecuteStackRefactorCommandInput - {@link ExecuteStackRefactorCommandInput}
|
47
|
+
* @returns {@link ExecuteStackRefactorCommandOutput}
|
48
|
+
* @see {@link ExecuteStackRefactorCommandInput} for command's `input` shape.
|
49
|
+
* @see {@link ExecuteStackRefactorCommandOutput} for command's `response` shape.
|
50
|
+
* @see {@link CloudFormationClientResolvedConfig | config} for CloudFormationClient's `config` shape.
|
51
|
+
*
|
52
|
+
* @throws {@link CloudFormationServiceException}
|
53
|
+
* <p>Base exception class for all service exceptions from CloudFormation service.</p>
|
54
|
+
*
|
55
|
+
* @public
|
56
|
+
*/
|
57
|
+
export declare class ExecuteStackRefactorCommand extends ExecuteStackRefactorCommand_base {
|
58
|
+
/** @internal type navigation helper, not in runtime. */
|
59
|
+
protected static __types: {
|
60
|
+
api: {
|
61
|
+
input: ExecuteStackRefactorInput;
|
62
|
+
output: {};
|
63
|
+
};
|
64
|
+
sdk: {
|
65
|
+
input: ExecuteStackRefactorCommandInput;
|
66
|
+
output: ExecuteStackRefactorCommandOutput;
|
67
|
+
};
|
68
|
+
};
|
69
|
+
}
|